diff --git a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go
index 472ba1e5b92..7d4425bb4cc 100644
--- a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go
+++ b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/abusive-experience-report/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/abusiveexperiencereport/v1"
-// ...
-// ctx := context.Background()
-// abusiveexperiencereportService, err := abusiveexperiencereport.NewService(ctx)
+// import "google.golang.org/api/abusiveexperiencereport/v1"
+// ...
+// ctx := context.Background()
+// abusiveexperiencereportService, err := abusiveexperiencereport.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// abusiveexperiencereportService, err := abusiveexperiencereport.NewService(ctx, option.WithAPIKey("AIza..."))
+// abusiveexperiencereportService, err := abusiveexperiencereport.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// abusiveexperiencereportService, err := abusiveexperiencereport.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// abusiveexperiencereportService, err := abusiveexperiencereport.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package abusiveexperiencereport // import "google.golang.org/api/abusiveexperiencereport/v1"
@@ -261,8 +261,8 @@ type SitesGetCall struct {
// Get: Gets a site's Abusive Experience Report summary.
//
-// - name: The name of the site whose summary to get, e.g.
-// `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}`.
+// - name: The name of the site whose summary to get, e.g.
+// `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}`.
func (r *SitesService) Get(name string) *SitesGetCall {
c := &SitesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go
index 86037425059..6b7aa3df0e0 100644
--- a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go
+++ b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/amp/cache/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/acceleratedmobilepageurl/v1"
-// ...
-// ctx := context.Background()
-// acceleratedmobilepageurlService, err := acceleratedmobilepageurl.NewService(ctx)
+// import "google.golang.org/api/acceleratedmobilepageurl/v1"
+// ...
+// ctx := context.Background()
+// acceleratedmobilepageurlService, err := acceleratedmobilepageurl.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// acceleratedmobilepageurlService, err := acceleratedmobilepageurl.NewService(ctx, option.WithAPIKey("AIza..."))
+// acceleratedmobilepageurlService, err := acceleratedmobilepageurl.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// acceleratedmobilepageurlService, err := acceleratedmobilepageurl.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// acceleratedmobilepageurlService, err := acceleratedmobilepageurl.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package acceleratedmobilepageurl // import "google.golang.org/api/acceleratedmobilepageurl/v1"
diff --git a/accessapproval/v1/accessapproval-gen.go b/accessapproval/v1/accessapproval-gen.go
index 75e840f142a..27035bffe61 100644
--- a/accessapproval/v1/accessapproval-gen.go
+++ b/accessapproval/v1/accessapproval-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/cloud-provider-access-management/access-approval/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/accessapproval/v1"
-// ...
-// ctx := context.Background()
-// accessapprovalService, err := accessapproval.NewService(ctx)
+// import "google.golang.org/api/accessapproval/v1"
+// ...
+// ctx := context.Background()
+// accessapprovalService, err := accessapproval.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// accessapprovalService, err := accessapproval.NewService(ctx, option.WithAPIKey("AIza..."))
+// accessapprovalService, err := accessapproval.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// accessapprovalService, err := accessapproval.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// accessapprovalService, err := accessapproval.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package accessapproval // import "google.golang.org/api/accessapproval/v1"
@@ -947,8 +947,8 @@ type FoldersGetAccessApprovalSettingsCall struct {
// GetAccessApprovalSettings: Gets the settings associated with a
// project, folder, or organization.
//
-// - name: The name of the AccessApprovalSettings to retrieve. Format:
-// "{projects|folders|organizations}/{id}/accessApprovalSettings".
+// - name: The name of the AccessApprovalSettings to retrieve. Format:
+// "{projects|folders|organizations}/{id}/accessApprovalSettings".
func (r *FoldersService) GetAccessApprovalSettings(name string) *FoldersGetAccessApprovalSettingsCall {
c := &FoldersGetAccessApprovalSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1244,10 +1244,10 @@ type FoldersUpdateAccessApprovalSettingsCall struct {
// project, folder, or organization. Settings to update are determined
// by the value of field_mask.
//
-// - name: The resource name of the settings. Format is one of: *
-// "projects/{project}/accessApprovalSettings" *
-// "folders/{folder}/accessApprovalSettings" *
-// "organizations/{organization}/accessApprovalSettings".
+// - name: The resource name of the settings. Format is one of: *
+// "projects/{project}/accessApprovalSettings" *
+// "folders/{folder}/accessApprovalSettings" *
+// "organizations/{organization}/accessApprovalSettings".
func (r *FoldersService) UpdateAccessApprovalSettings(name string, accessapprovalsettings *AccessApprovalSettings) *FoldersUpdateAccessApprovalSettingsCall {
c := &FoldersUpdateAccessApprovalSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1702,9 +1702,9 @@ type FoldersApprovalRequestsGetCall struct {
// Get: Gets an approval request. Returns NOT_FOUND if the request does
// not exist.
//
-// - name: The name of the approval request to retrieve. Format:
-// "{projects|folders|organizations}/{id}/approvalRequests/{approval_re
-// quest}".
+// - name: The name of the approval request to retrieve. Format:
+// "{projects|folders|organizations}/{id}/approvalRequests/{approval_re
+// quest}".
func (r *FoldersApprovalRequestsService) Get(name string) *FoldersApprovalRequestsGetCall {
c := &FoldersApprovalRequestsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1998,8 +1998,8 @@ type FoldersApprovalRequestsListCall struct {
// organization. Approval requests can be filtered by state (pending,
// active, dismissed). The order is reverse chronological.
//
-// - parent: The parent resource. This may be "projects/{project}",
-// "folders/{folder}", or "organizations/{organization}".
+// - parent: The parent resource. This may be "projects/{project}",
+// "folders/{folder}", or "organizations/{organization}".
func (r *FoldersApprovalRequestsService) List(parent string) *FoldersApprovalRequestsListCall {
c := &FoldersApprovalRequestsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2348,8 +2348,8 @@ type OrganizationsGetAccessApprovalSettingsCall struct {
// GetAccessApprovalSettings: Gets the settings associated with a
// project, folder, or organization.
//
-// - name: The name of the AccessApprovalSettings to retrieve. Format:
-// "{projects|folders|organizations}/{id}/accessApprovalSettings".
+// - name: The name of the AccessApprovalSettings to retrieve. Format:
+// "{projects|folders|organizations}/{id}/accessApprovalSettings".
func (r *OrganizationsService) GetAccessApprovalSettings(name string) *OrganizationsGetAccessApprovalSettingsCall {
c := &OrganizationsGetAccessApprovalSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2645,10 +2645,10 @@ type OrganizationsUpdateAccessApprovalSettingsCall struct {
// project, folder, or organization. Settings to update are determined
// by the value of field_mask.
//
-// - name: The resource name of the settings. Format is one of: *
-// "projects/{project}/accessApprovalSettings" *
-// "folders/{folder}/accessApprovalSettings" *
-// "organizations/{organization}/accessApprovalSettings".
+// - name: The resource name of the settings. Format is one of: *
+// "projects/{project}/accessApprovalSettings" *
+// "folders/{folder}/accessApprovalSettings" *
+// "organizations/{organization}/accessApprovalSettings".
func (r *OrganizationsService) UpdateAccessApprovalSettings(name string, accessapprovalsettings *AccessApprovalSettings) *OrganizationsUpdateAccessApprovalSettingsCall {
c := &OrganizationsUpdateAccessApprovalSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3103,9 +3103,9 @@ type OrganizationsApprovalRequestsGetCall struct {
// Get: Gets an approval request. Returns NOT_FOUND if the request does
// not exist.
//
-// - name: The name of the approval request to retrieve. Format:
-// "{projects|folders|organizations}/{id}/approvalRequests/{approval_re
-// quest}".
+// - name: The name of the approval request to retrieve. Format:
+// "{projects|folders|organizations}/{id}/approvalRequests/{approval_re
+// quest}".
func (r *OrganizationsApprovalRequestsService) Get(name string) *OrganizationsApprovalRequestsGetCall {
c := &OrganizationsApprovalRequestsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3399,8 +3399,8 @@ type OrganizationsApprovalRequestsListCall struct {
// organization. Approval requests can be filtered by state (pending,
// active, dismissed). The order is reverse chronological.
//
-// - parent: The parent resource. This may be "projects/{project}",
-// "folders/{folder}", or "organizations/{organization}".
+// - parent: The parent resource. This may be "projects/{project}",
+// "folders/{folder}", or "organizations/{organization}".
func (r *OrganizationsApprovalRequestsService) List(parent string) *OrganizationsApprovalRequestsListCall {
c := &OrganizationsApprovalRequestsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3749,8 +3749,8 @@ type ProjectsGetAccessApprovalSettingsCall struct {
// GetAccessApprovalSettings: Gets the settings associated with a
// project, folder, or organization.
//
-// - name: The name of the AccessApprovalSettings to retrieve. Format:
-// "{projects|folders|organizations}/{id}/accessApprovalSettings".
+// - name: The name of the AccessApprovalSettings to retrieve. Format:
+// "{projects|folders|organizations}/{id}/accessApprovalSettings".
func (r *ProjectsService) GetAccessApprovalSettings(name string) *ProjectsGetAccessApprovalSettingsCall {
c := &ProjectsGetAccessApprovalSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4046,10 +4046,10 @@ type ProjectsUpdateAccessApprovalSettingsCall struct {
// project, folder, or organization. Settings to update are determined
// by the value of field_mask.
//
-// - name: The resource name of the settings. Format is one of: *
-// "projects/{project}/accessApprovalSettings" *
-// "folders/{folder}/accessApprovalSettings" *
-// "organizations/{organization}/accessApprovalSettings".
+// - name: The resource name of the settings. Format is one of: *
+// "projects/{project}/accessApprovalSettings" *
+// "folders/{folder}/accessApprovalSettings" *
+// "organizations/{organization}/accessApprovalSettings".
func (r *ProjectsService) UpdateAccessApprovalSettings(name string, accessapprovalsettings *AccessApprovalSettings) *ProjectsUpdateAccessApprovalSettingsCall {
c := &ProjectsUpdateAccessApprovalSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4504,9 +4504,9 @@ type ProjectsApprovalRequestsGetCall struct {
// Get: Gets an approval request. Returns NOT_FOUND if the request does
// not exist.
//
-// - name: The name of the approval request to retrieve. Format:
-// "{projects|folders|organizations}/{id}/approvalRequests/{approval_re
-// quest}".
+// - name: The name of the approval request to retrieve. Format:
+// "{projects|folders|organizations}/{id}/approvalRequests/{approval_re
+// quest}".
func (r *ProjectsApprovalRequestsService) Get(name string) *ProjectsApprovalRequestsGetCall {
c := &ProjectsApprovalRequestsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4800,8 +4800,8 @@ type ProjectsApprovalRequestsListCall struct {
// organization. Approval requests can be filtered by state (pending,
// active, dismissed). The order is reverse chronological.
//
-// - parent: The parent resource. This may be "projects/{project}",
-// "folders/{folder}", or "organizations/{organization}".
+// - parent: The parent resource. This may be "projects/{project}",
+// "folders/{folder}", or "organizations/{organization}".
func (r *ProjectsApprovalRequestsService) List(parent string) *ProjectsApprovalRequestsListCall {
c := &ProjectsApprovalRequestsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/accessapproval/v1beta1/accessapproval-gen.go b/accessapproval/v1beta1/accessapproval-gen.go
index 43827188878..55417d90ee2 100644
--- a/accessapproval/v1beta1/accessapproval-gen.go
+++ b/accessapproval/v1beta1/accessapproval-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/access-approval/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/accessapproval/v1beta1"
-// ...
-// ctx := context.Background()
-// accessapprovalService, err := accessapproval.NewService(ctx)
+// import "google.golang.org/api/accessapproval/v1beta1"
+// ...
+// ctx := context.Background()
+// accessapprovalService, err := accessapproval.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// accessapprovalService, err := accessapproval.NewService(ctx, option.WithAPIKey("AIza..."))
+// accessapprovalService, err := accessapproval.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// accessapprovalService, err := accessapproval.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// accessapprovalService, err := accessapproval.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package accessapproval // import "google.golang.org/api/accessapproval/v1beta1"
@@ -587,10 +587,12 @@ func (s *DismissDecision) MarshalJSON() ([]byte, error) {
// request
// or the response type of an API method. For instance:
//
-// service Foo {
-// rpc Bar(google.protobuf.Empty) returns
+// service Foo {
+// rpc Bar(google.protobuf.Empty) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// The JSON representation for `Empty` is empty JSON object `{}`.
type Empty struct {
@@ -1637,13 +1639,17 @@ func (r *FoldersApprovalRequestsService) List(parent string) *FoldersApprovalReq
// approval requests to retrieve. Must be one of the
// following values:
//
-// - [not set]: Requests that are pending or have active
+//
+//
- [not set]: Requests that are pending or have active
+//
// approvals.
-// - ALL: All requests.
-// - PENDING: Only pending requests.
-// - ACTIVE: Only active (i.e. currently approved) requests.
-// - DISMISSED: Only dismissed (including expired) requests.
-// - HISTORY: Active and dismissed (including expired)
+//
+//
- ALL: All requests.
+// - PENDING: Only pending requests.
+// - ACTIVE: Only active (i.e. currently approved) requests.
+// - DISMISSED: Only dismissed (including expired) requests.
+// - HISTORY: Active and dismissed (including expired)
+//
// requests.
//
func (c *FoldersApprovalRequestsListCall) Filter(filter string) *FoldersApprovalRequestsListCall {
@@ -2743,13 +2749,17 @@ func (r *OrganizationsApprovalRequestsService) List(parent string) *Organization
// approval requests to retrieve. Must be one of the
// following values:
//
-// - [not set]: Requests that are pending or have active
+//
+//
- [not set]: Requests that are pending or have active
+//
// approvals.
-// - ALL: All requests.
-// - PENDING: Only pending requests.
-// - ACTIVE: Only active (i.e. currently approved) requests.
-// - DISMISSED: Only dismissed (including expired) requests.
-// - HISTORY: Active and dismissed (including expired)
+//
+//
- ALL: All requests.
+// - PENDING: Only pending requests.
+// - ACTIVE: Only active (i.e. currently approved) requests.
+// - DISMISSED: Only dismissed (including expired) requests.
+// - HISTORY: Active and dismissed (including expired)
+//
// requests.
//
func (c *OrganizationsApprovalRequestsListCall) Filter(filter string) *OrganizationsApprovalRequestsListCall {
@@ -3849,13 +3859,17 @@ func (r *ProjectsApprovalRequestsService) List(parent string) *ProjectsApprovalR
// approval requests to retrieve. Must be one of the
// following values:
//
-// - [not set]: Requests that are pending or have active
+//
+//
- [not set]: Requests that are pending or have active
+//
// approvals.
-// - ALL: All requests.
-// - PENDING: Only pending requests.
-// - ACTIVE: Only active (i.e. currently approved) requests.
-// - DISMISSED: Only dismissed (including expired) requests.
-// - HISTORY: Active and dismissed (including expired)
+//
+//
- ALL: All requests.
+// - PENDING: Only pending requests.
+// - ACTIVE: Only active (i.e. currently approved) requests.
+// - DISMISSED: Only dismissed (including expired) requests.
+// - HISTORY: Active and dismissed (including expired)
+//
// requests.
//
func (c *ProjectsApprovalRequestsListCall) Filter(filter string) *ProjectsApprovalRequestsListCall {
diff --git a/accesscontextmanager/v1/accesscontextmanager-gen.go b/accesscontextmanager/v1/accesscontextmanager-gen.go
index 8b1bafbf5b0..ccdaf63cfba 100644
--- a/accesscontextmanager/v1/accesscontextmanager-gen.go
+++ b/accesscontextmanager/v1/accesscontextmanager-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/access-context-manager/docs/reference/rest/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/accesscontextmanager/v1"
-// ...
-// ctx := context.Background()
-// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx)
+// import "google.golang.org/api/accesscontextmanager/v1"
+// ...
+// ctx := context.Background()
+// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package accesscontextmanager // import "google.golang.org/api/accesscontextmanager/v1"
@@ -2430,8 +2430,8 @@ type AccessPoliciesDeleteCall struct {
// long-running operation has a successful status after the access
// policy is removed from long-lasting storage.
//
-// - name: Resource name for the access policy to delete. Format
-// `accessPolicies/{policy_id}`.
+// - name: Resource name for the access policy to delete. Format
+// `accessPolicies/{policy_id}`.
func (r *AccessPoliciesService) Delete(name string) *AccessPoliciesDeleteCall {
c := &AccessPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2564,8 +2564,8 @@ type AccessPoliciesGetCall struct {
// Get: Returns an access policy based on the name.
//
-// - name: Resource name for the access policy to get. Format
-// `accessPolicies/{policy_id}`.
+// - name: Resource name for the access policy to get. Format
+// `accessPolicies/{policy_id}`.
func (r *AccessPoliciesService) Get(name string) *AccessPoliciesGetCall {
c := &AccessPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2712,10 +2712,10 @@ type AccessPoliciesGetIamPolicyCall struct {
// GetIamPolicy: Gets the IAM policy for the specified Access Context
// Manager access policy.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *AccessPoliciesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *AccessPoliciesGetIamPolicyCall {
c := &AccessPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3049,8 +3049,8 @@ type AccessPoliciesPatchCall struct {
// RPC has a successful status after the changes to the access policy
// propagate to long-lasting storage.
//
-// - name: Output only. Resource name of the `AccessPolicy`. Format:
-// `accessPolicies/{access_policy}`.
+// - name: Output only. Resource name of the `AccessPolicy`. Format:
+// `accessPolicies/{access_policy}`.
func (r *AccessPoliciesService) Patch(name string, accesspolicy *AccessPolicy) *AccessPoliciesPatchCall {
c := &AccessPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3209,10 +3209,10 @@ type AccessPoliciesSetIamPolicyCall struct {
// can perform specific operations on the Access Context Manager access
// policy.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *AccessPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *AccessPoliciesSetIamPolicyCall {
c := &AccessPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3357,10 +3357,10 @@ type AccessPoliciesTestIamPermissionsCall struct {
// an AccessPolicy, AccessLevel, or ServicePerimeter. This method does
// not support other resources.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *AccessPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *AccessPoliciesTestIamPermissionsCall {
c := &AccessPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3505,8 +3505,8 @@ type AccessPoliciesAccessLevelsCreateCall struct {
// long-lasting storage. If access levels contain errors, an error
// response is returned for the first error encountered.
//
-// - parent: Resource name for the access policy which owns this Access
-// Level. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy which owns this Access
+// Level. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesAccessLevelsService) Create(parent string, accesslevel *AccessLevel) *AccessPoliciesAccessLevelsCreateCall {
c := &AccessPoliciesAccessLevelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3649,8 +3649,8 @@ type AccessPoliciesAccessLevelsDeleteCall struct {
// long-running operation from this RPC has a successful status after
// the access level has been removed from long-lasting storage.
//
-// - name: Resource name for the Access Level. Format:
-// `accessPolicies/{policy_id}/accessLevels/{access_level_id}`.
+// - name: Resource name for the Access Level. Format:
+// `accessPolicies/{policy_id}/accessLevels/{access_level_id}`.
func (r *AccessPoliciesAccessLevelsService) Delete(name string) *AccessPoliciesAccessLevelsDeleteCall {
c := &AccessPoliciesAccessLevelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3783,8 +3783,8 @@ type AccessPoliciesAccessLevelsGetCall struct {
// Get: Gets an access level based on the resource name.
//
-// - name: Resource name for the Access Level. Format:
-// `accessPolicies/{policy_id}/accessLevels/{access_level_id}`.
+// - name: Resource name for the Access Level. Format:
+// `accessPolicies/{policy_id}/accessLevels/{access_level_id}`.
func (r *AccessPoliciesAccessLevelsService) Get(name string) *AccessPoliciesAccessLevelsGetCall {
c := &AccessPoliciesAccessLevelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3800,11 +3800,15 @@ func (r *AccessPoliciesAccessLevelsService) Get(name string) *AccessPoliciesAcce
// translated to equivalent `CustomLevels`.
//
// Possible values:
-// "LEVEL_FORMAT_UNSPECIFIED" - The format was not specified.
-// "AS_DEFINED" - Uses the format the resource was defined in.
+//
+// "LEVEL_FORMAT_UNSPECIFIED" - The format was not specified.
+// "AS_DEFINED" - Uses the format the resource was defined in.
+//
// BasicLevels are returned as BasicLevels, CustomLevels are returned as
// CustomLevels.
-// "CEL" - Use Cloud Common Expression Language when returning the
+//
+// "CEL" - Use Cloud Common Expression Language when returning the
+//
// resource. Both BasicLevels and CustomLevels are returned as
// CustomLevels.
func (c *AccessPoliciesAccessLevelsGetCall) AccessLevelFormat(accessLevelFormat string) *AccessPoliciesAccessLevelsGetCall {
@@ -3966,8 +3970,8 @@ type AccessPoliciesAccessLevelsListCall struct {
// List: Lists all access levels for an access policy.
//
-// - parent: Resource name for the access policy to list Access Levels
-// from. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy to list Access Levels
+// from. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesAccessLevelsService) List(parent string) *AccessPoliciesAccessLevelsListCall {
c := &AccessPoliciesAccessLevelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3980,11 +3984,15 @@ func (r *AccessPoliciesAccessLevelsService) List(parent string) *AccessPoliciesA
// to returning `AccessLevels` in the format they were defined.
//
// Possible values:
-// "LEVEL_FORMAT_UNSPECIFIED" - The format was not specified.
-// "AS_DEFINED" - Uses the format the resource was defined in.
+//
+// "LEVEL_FORMAT_UNSPECIFIED" - The format was not specified.
+// "AS_DEFINED" - Uses the format the resource was defined in.
+//
// BasicLevels are returned as BasicLevels, CustomLevels are returned as
// CustomLevels.
-// "CEL" - Use Cloud Common Expression Language when returning the
+//
+// "CEL" - Use Cloud Common Expression Language when returning the
+//
// resource. Both BasicLevels and CustomLevels are returned as
// CustomLevels.
func (c *AccessPoliciesAccessLevelsListCall) AccessLevelFormat(accessLevelFormat string) *AccessPoliciesAccessLevelsListCall {
@@ -4196,11 +4204,11 @@ type AccessPoliciesAccessLevelsPatchCall struct {
// propagate to long-lasting storage. If access levels contain errors,
// an error response is returned for the first error encountered.
//
-// - name: Resource name for the Access Level. The `short_name`
-// component must begin with a letter and only include alphanumeric
-// and '_'. Format:
-// `accessPolicies/{access_policy}/accessLevels/{access_level}`. The
-// maximum length of the `access_level` component is 50 characters.
+// - name: Resource name for the Access Level. The `short_name`
+// component must begin with a letter and only include alphanumeric
+// and '_'. Format:
+// `accessPolicies/{access_policy}/accessLevels/{access_level}`. The
+// maximum length of the `access_level` component is 50 characters.
func (r *AccessPoliciesAccessLevelsService) Patch(name string, accesslevel *AccessLevel) *AccessPoliciesAccessLevelsPatchCall {
c := &AccessPoliciesAccessLevelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4363,8 +4371,8 @@ type AccessPoliciesAccessLevelsReplaceAllCall struct {
// field contains ReplaceAccessLevelsResponse. Removing access levels
// contained in existing service perimeters result in an error.
//
-// - parent: Resource name for the access policy which owns these Access
-// Levels. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy which owns these Access
+// Levels. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesAccessLevelsService) ReplaceAll(parent string, replaceaccesslevelsrequest *ReplaceAccessLevelsRequest) *AccessPoliciesAccessLevelsReplaceAllCall {
c := &AccessPoliciesAccessLevelsReplaceAllCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4509,10 +4517,10 @@ type AccessPoliciesAccessLevelsTestIamPermissionsCall struct {
// an AccessPolicy, AccessLevel, or ServicePerimeter. This method does
// not support other resources.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *AccessPoliciesAccessLevelsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *AccessPoliciesAccessLevelsTestIamPermissionsCall {
c := &AccessPoliciesAccessLevelsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4666,9 +4674,9 @@ type AccessPoliciesServicePerimetersCommitCall struct {
// The `dry_run` and the `spec` fields are cleared after a successful
// commit operation.
//
-// - parent: Resource name for the parent Access Policy which owns all
-// Service Perimeters in scope for the commit operation. Format:
-// `accessPolicies/{policy_id}`.
+// - parent: Resource name for the parent Access Policy which owns all
+// Service Perimeters in scope for the commit operation. Format:
+// `accessPolicies/{policy_id}`.
func (r *AccessPoliciesServicePerimetersService) Commit(parent string, commitserviceperimetersrequest *CommitServicePerimetersRequest) *AccessPoliciesServicePerimetersCommitCall {
c := &AccessPoliciesServicePerimetersCommitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4814,8 +4822,8 @@ type AccessPoliciesServicePerimetersCreateCall struct {
// errors, an error response is returned for the first error
// encountered.
//
-// - parent: Resource name for the access policy which owns this Service
-// Perimeter. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy which owns this Service
+// Perimeter. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesServicePerimetersService) Create(parent string, serviceperimeter *ServicePerimeter) *AccessPoliciesServicePerimetersCreateCall {
c := &AccessPoliciesServicePerimetersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4958,9 +4966,9 @@ type AccessPoliciesServicePerimetersDeleteCall struct {
// long-running operation from this RPC has a successful status after
// the service perimeter is removed from long-lasting storage.
//
-// - name: Resource name for the Service Perimeter. Format:
-// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}
-// `.
+// - name: Resource name for the Service Perimeter. Format:
+// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}
+// `.
func (r *AccessPoliciesServicePerimetersService) Delete(name string) *AccessPoliciesServicePerimetersDeleteCall {
c := &AccessPoliciesServicePerimetersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5093,9 +5101,9 @@ type AccessPoliciesServicePerimetersGetCall struct {
// Get: Gets a service perimeter based on the resource name.
//
-// - name: Resource name for the Service Perimeter. Format:
-// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id
-// }`.
+// - name: Resource name for the Service Perimeter. Format:
+// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id
+// }`.
func (r *AccessPoliciesServicePerimetersService) Get(name string) *AccessPoliciesServicePerimetersGetCall {
c := &AccessPoliciesServicePerimetersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5241,8 +5249,8 @@ type AccessPoliciesServicePerimetersListCall struct {
// List: Lists all service perimeters for an access policy.
//
-// - parent: Resource name for the access policy to list Service
-// Perimeters from. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy to list Service
+// Perimeters from. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesServicePerimetersService) List(parent string) *AccessPoliciesServicePerimetersListCall {
c := &AccessPoliciesServicePerimetersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5439,11 +5447,11 @@ type AccessPoliciesServicePerimetersPatchCall struct {
// errors, an error response is returned for the first error
// encountered.
//
-// - name: Resource name for the ServicePerimeter. The `short_name`
-// component must begin with a letter and only include alphanumeric
-// and '_'. Format:
-// `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter
-// }`.
+// - name: Resource name for the ServicePerimeter. The `short_name`
+// component must begin with a letter and only include alphanumeric
+// and '_'. Format:
+// `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter
+// }`.
func (r *AccessPoliciesServicePerimetersService) Patch(name string, serviceperimeter *ServicePerimeter) *AccessPoliciesServicePerimetersPatchCall {
c := &AccessPoliciesServicePerimetersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5605,8 +5613,8 @@ type AccessPoliciesServicePerimetersReplaceAllCall struct {
// existing service perimeters are not affected. The Operation.response
// field contains ReplaceServicePerimetersResponse.
//
-// - parent: Resource name for the access policy which owns these
-// Service Perimeters. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy which owns these
+// Service Perimeters. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesServicePerimetersService) ReplaceAll(parent string, replaceserviceperimetersrequest *ReplaceServicePerimetersRequest) *AccessPoliciesServicePerimetersReplaceAllCall {
c := &AccessPoliciesServicePerimetersReplaceAllCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5751,10 +5759,10 @@ type AccessPoliciesServicePerimetersTestIamPermissionsCall struct {
// an AccessPolicy, AccessLevel, or ServicePerimeter. This method does
// not support other resources.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *AccessPoliciesServicePerimetersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *AccessPoliciesServicePerimetersTestIamPermissionsCall {
c := &AccessPoliciesServicePerimetersTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6691,8 +6699,8 @@ type OrganizationsGcpUserAccessBindingsDeleteCall struct {
// deletion is deployed onto all affected users, which may take more
// time.
//
-// - name: Example:
-// "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N".
+// - name: Example:
+// "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N".
func (r *OrganizationsGcpUserAccessBindingsService) Delete(name string) *OrganizationsGcpUserAccessBindingsDeleteCall {
c := &OrganizationsGcpUserAccessBindingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6825,8 +6833,8 @@ type OrganizationsGcpUserAccessBindingsGetCall struct {
// Get: Gets the GcpUserAccessBinding with the given name.
//
-// - name: Example:
-// "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N".
+// - name: Example:
+// "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N".
func (r *OrganizationsGcpUserAccessBindingsService) Get(name string) *OrganizationsGcpUserAccessBindingsGetCall {
c := &OrganizationsGcpUserAccessBindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7171,12 +7179,12 @@ type OrganizationsGcpUserAccessBindingsPatchCall struct {
// binding is deployed onto all affected users, which may take more
// time.
//
-// - name: Immutable. Assigned by the server during creation. The last
-// segment has an arbitrary length and has only URI unreserved
-// characters (as defined by RFC 3986 Section 2.3
-// (https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be
-// specified by the client during creation. Example:
-// "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N".
+// - name: Immutable. Assigned by the server during creation. The last
+// segment has an arbitrary length and has only URI unreserved
+// characters (as defined by RFC 3986 Section 2.3
+// (https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be
+// specified by the client during creation. Example:
+// "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N".
func (r *OrganizationsGcpUserAccessBindingsService) Patch(name string, gcpuseraccessbinding *GcpUserAccessBinding) *OrganizationsGcpUserAccessBindingsPatchCall {
c := &OrganizationsGcpUserAccessBindingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/accesscontextmanager/v1beta/accesscontextmanager-gen.go b/accesscontextmanager/v1beta/accesscontextmanager-gen.go
index 8a4b0582e45..5b1ccff4276 100644
--- a/accesscontextmanager/v1beta/accesscontextmanager-gen.go
+++ b/accesscontextmanager/v1beta/accesscontextmanager-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/access-context-manager/docs/reference/rest/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/accesscontextmanager/v1beta"
-// ...
-// ctx := context.Background()
-// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx)
+// import "google.golang.org/api/accesscontextmanager/v1beta"
+// ...
+// ctx := context.Background()
+// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// accesscontextmanagerService, err := accesscontextmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package accesscontextmanager // import "google.golang.org/api/accesscontextmanager/v1beta"
@@ -1144,8 +1144,8 @@ type AccessPoliciesDeleteCall struct {
// Operation will have a successful status once the AccessPolicy has
// been removed from long-lasting storage.
//
-// - name: Resource name for the access policy to delete. Format
-// `accessPolicies/{policy_id}`.
+// - name: Resource name for the access policy to delete. Format
+// `accessPolicies/{policy_id}`.
func (r *AccessPoliciesService) Delete(name string) *AccessPoliciesDeleteCall {
c := &AccessPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1278,8 +1278,8 @@ type AccessPoliciesGetCall struct {
// Get: Get an AccessPolicy by name.
//
-// - name: Resource name for the access policy to get. Format
-// `accessPolicies/{policy_id}`.
+// - name: Resource name for the access policy to get. Format
+// `accessPolicies/{policy_id}`.
func (r *AccessPoliciesService) Get(name string) *AccessPoliciesGetCall {
c := &AccessPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1619,8 +1619,8 @@ type AccessPoliciesPatchCall struct {
// basic semantic errors will be returned in `metadata` as a BadRequest
// proto.
//
-// - name: Output only. Resource name of the `AccessPolicy`. Format:
-// `accessPolicies/{policy_id}`.
+// - name: Output only. Resource name of the `AccessPolicy`. Format:
+// `accessPolicies/{policy_id}`.
func (r *AccessPoliciesService) Patch(name string, accesspolicy *AccessPolicy) *AccessPoliciesPatchCall {
c := &AccessPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1778,8 +1778,8 @@ type AccessPoliciesAccessLevelsCreateCall struct {
// propagated to long-lasting storage. Access Levels containing errors
// will result in an error response for the first error encountered.
//
-// - parent: Resource name for the access policy which owns this Access
-// Level. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy which owns this Access
+// Level. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesAccessLevelsService) Create(parent string, accesslevel *AccessLevel) *AccessPoliciesAccessLevelsCreateCall {
c := &AccessPoliciesAccessLevelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1922,8 +1922,8 @@ type AccessPoliciesAccessLevelsDeleteCall struct {
// operation from this RPC will have a successful status once the Access
// Level has been removed from long-lasting storage.
//
-// - name: Resource name for the Access Level. Format:
-// `accessPolicies/{policy_id}/accessLevels/{access_level_id}`.
+// - name: Resource name for the Access Level. Format:
+// `accessPolicies/{policy_id}/accessLevels/{access_level_id}`.
func (r *AccessPoliciesAccessLevelsService) Delete(name string) *AccessPoliciesAccessLevelsDeleteCall {
c := &AccessPoliciesAccessLevelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2056,8 +2056,8 @@ type AccessPoliciesAccessLevelsGetCall struct {
// Get: Get an Access Level by resource name.
//
-// - name: Resource name for the Access Level. Format:
-// `accessPolicies/{policy_id}/accessLevels/{access_level_id}`.
+// - name: Resource name for the Access Level. Format:
+// `accessPolicies/{policy_id}/accessLevels/{access_level_id}`.
func (r *AccessPoliciesAccessLevelsService) Get(name string) *AccessPoliciesAccessLevelsGetCall {
c := &AccessPoliciesAccessLevelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2073,11 +2073,15 @@ func (r *AccessPoliciesAccessLevelsService) Get(name string) *AccessPoliciesAcce
// translated to equivalent `CustomLevels`.
//
// Possible values:
-// "LEVEL_FORMAT_UNSPECIFIED" - The format was not specified.
-// "AS_DEFINED" - Uses the format the resource was defined in.
+//
+// "LEVEL_FORMAT_UNSPECIFIED" - The format was not specified.
+// "AS_DEFINED" - Uses the format the resource was defined in.
+//
// BasicLevels are returned as BasicLevels, CustomLevels are returned as
// CustomLevels.
-// "CEL" - Use Cloud Common Expression Language when returning the
+//
+// "CEL" - Use Cloud Common Expression Language when returning the
+//
// resource. Both BasicLevels and CustomLevels are returned as
// CustomLevels.
func (c *AccessPoliciesAccessLevelsGetCall) AccessLevelFormat(accessLevelFormat string) *AccessPoliciesAccessLevelsGetCall {
@@ -2239,8 +2243,8 @@ type AccessPoliciesAccessLevelsListCall struct {
// List: List all Access Levels for an access policy.
//
-// - parent: Resource name for the access policy to list Access Levels
-// from. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy to list Access Levels
+// from. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesAccessLevelsService) List(parent string) *AccessPoliciesAccessLevelsListCall {
c := &AccessPoliciesAccessLevelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2253,11 +2257,15 @@ func (r *AccessPoliciesAccessLevelsService) List(parent string) *AccessPoliciesA
// to returning `AccessLevels` in the format they were defined.
//
// Possible values:
-// "LEVEL_FORMAT_UNSPECIFIED" - The format was not specified.
-// "AS_DEFINED" - Uses the format the resource was defined in.
+//
+// "LEVEL_FORMAT_UNSPECIFIED" - The format was not specified.
+// "AS_DEFINED" - Uses the format the resource was defined in.
+//
// BasicLevels are returned as BasicLevels, CustomLevels are returned as
// CustomLevels.
-// "CEL" - Use Cloud Common Expression Language when returning the
+//
+// "CEL" - Use Cloud Common Expression Language when returning the
+//
// resource. Both BasicLevels and CustomLevels are returned as
// CustomLevels.
func (c *AccessPoliciesAccessLevelsListCall) AccessLevelFormat(accessLevelFormat string) *AccessPoliciesAccessLevelsListCall {
@@ -2470,11 +2478,11 @@ type AccessPoliciesAccessLevelsPatchCall struct {
// containing errors will result in an error response for the first
// error encountered.
//
-// - name: Resource name for the Access Level. The `short_name`
-// component must begin with a letter and only include alphanumeric
-// and '_'. Format:
-// `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum
-// length // of the `short_name` component is 50 characters.
+// - name: Resource name for the Access Level. The `short_name`
+// component must begin with a letter and only include alphanumeric
+// and '_'. Format:
+// `accessPolicies/{policy_id}/accessLevels/{short_name}`. The maximum
+// length // of the `short_name` component is 50 characters.
func (r *AccessPoliciesAccessLevelsService) Patch(name string, accesslevel *AccessLevel) *AccessPoliciesAccessLevelsPatchCall {
c := &AccessPoliciesAccessLevelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2633,8 +2641,8 @@ type AccessPoliciesServicePerimetersCreateCall struct {
// errors will result in an error response for the first error
// encountered.
//
-// - parent: Resource name for the access policy which owns this Service
-// Perimeter. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy which owns this Service
+// Perimeter. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesServicePerimetersService) Create(parent string, serviceperimeter *ServicePerimeter) *AccessPoliciesServicePerimetersCreateCall {
c := &AccessPoliciesServicePerimetersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2777,9 +2785,9 @@ type AccessPoliciesServicePerimetersDeleteCall struct {
// operation from this RPC will have a successful status once the
// Service Perimeter has been removed from long-lasting storage.
//
-// - name: Resource name for the Service Perimeter. Format:
-// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}
-// `.
+// - name: Resource name for the Service Perimeter. Format:
+// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}
+// `.
func (r *AccessPoliciesServicePerimetersService) Delete(name string) *AccessPoliciesServicePerimetersDeleteCall {
c := &AccessPoliciesServicePerimetersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2912,9 +2920,9 @@ type AccessPoliciesServicePerimetersGetCall struct {
// Get: Get a Service Perimeter by resource name.
//
-// - name: Resource name for the Service Perimeter. Format:
-// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id
-// }`.
+// - name: Resource name for the Service Perimeter. Format:
+// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id
+// }`.
func (r *AccessPoliciesServicePerimetersService) Get(name string) *AccessPoliciesServicePerimetersGetCall {
c := &AccessPoliciesServicePerimetersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3060,8 +3068,8 @@ type AccessPoliciesServicePerimetersListCall struct {
// List: List all Service Perimeters for an access policy.
//
-// - parent: Resource name for the access policy to list Service
-// Perimeters from. Format: `accessPolicies/{policy_id}`.
+// - parent: Resource name for the access policy to list Service
+// Perimeters from. Format: `accessPolicies/{policy_id}`.
func (r *AccessPoliciesServicePerimetersService) List(parent string) *AccessPoliciesServicePerimetersListCall {
c := &AccessPoliciesServicePerimetersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3258,10 +3266,10 @@ type AccessPoliciesServicePerimetersPatchCall struct {
// Perimeter containing errors will result in an error response for the
// first error encountered.
//
-// - name: Resource name for the ServicePerimeter. The `short_name`
-// component must begin with a letter and only include alphanumeric
-// and '_'. Format:
-// `accessPolicies/{policy_id}/servicePerimeters/{short_name}`.
+// - name: Resource name for the ServicePerimeter. The `short_name`
+// component must begin with a letter and only include alphanumeric
+// and '_'. Format:
+// `accessPolicies/{policy_id}/servicePerimeters/{short_name}`.
func (r *AccessPoliciesServicePerimetersService) Patch(name string, serviceperimeter *ServicePerimeter) *AccessPoliciesServicePerimetersPatchCall {
c := &AccessPoliciesServicePerimetersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/adexchangebuyer/v1.2/adexchangebuyer-gen.go b/adexchangebuyer/v1.2/adexchangebuyer-gen.go
index 3da67b9037f..fdfb6295205 100644
--- a/adexchangebuyer/v1.2/adexchangebuyer-gen.go
+++ b/adexchangebuyer/v1.2/adexchangebuyer-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/ad-exchange/buyer-rest
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/adexchangebuyer/v1.2"
-// ...
-// ctx := context.Background()
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx)
+// import "google.golang.org/api/adexchangebuyer/v1.2"
+// ...
+// ctx := context.Background()
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithAPIKey("AIza..."))
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package adexchangebuyer // import "google.golang.org/api/adexchangebuyer/v1.2"
@@ -1453,9 +1453,10 @@ func (c *CreativesListCall) PageToken(pageToken string) *CreativesListCall {
// specified, only creatives having the given status are returned.
//
// Possible values:
-// "approved" - Creatives which have been approved.
-// "disapproved" - Creatives which have been disapproved.
-// "not_checked" - Creatives whose status is not yet checked.
+//
+// "approved" - Creatives which have been approved.
+// "disapproved" - Creatives which have been disapproved.
+// "not_checked" - Creatives whose status is not yet checked.
func (c *CreativesListCall) StatusFilter(statusFilter string) *CreativesListCall {
c.urlParams_.Set("statusFilter", statusFilter)
return c
diff --git a/adexchangebuyer/v1.3/adexchangebuyer-gen.go b/adexchangebuyer/v1.3/adexchangebuyer-gen.go
index 8cfdf53ebc8..90f20826780 100644
--- a/adexchangebuyer/v1.3/adexchangebuyer-gen.go
+++ b/adexchangebuyer/v1.3/adexchangebuyer-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/ad-exchange/buyer-rest
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/adexchangebuyer/v1.3"
-// ...
-// ctx := context.Background()
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx)
+// import "google.golang.org/api/adexchangebuyer/v1.3"
+// ...
+// ctx := context.Background()
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithAPIKey("AIza..."))
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package adexchangebuyer // import "google.golang.org/api/adexchangebuyer/v1.3"
@@ -3202,9 +3202,10 @@ func (c *CreativesListCall) PageToken(pageToken string) *CreativesListCall {
// specified, only creatives having the given status are returned.
//
// Possible values:
-// "approved" - Creatives which have been approved.
-// "disapproved" - Creatives which have been disapproved.
-// "not_checked" - Creatives whose status is not yet checked.
+//
+// "approved" - Creatives which have been approved.
+// "disapproved" - Creatives which have been disapproved.
+// "not_checked" - Creatives whose status is not yet checked.
func (c *CreativesListCall) StatusFilter(statusFilter string) *CreativesListCall {
c.urlParams_.Set("statusFilter", statusFilter)
return c
@@ -3667,11 +3668,11 @@ type PerformanceReportListCall struct {
// List: Retrieves the authenticated user's list of performance metrics.
//
-// - accountId: The account id to get the reports.
-// - endDateTime: The end time of the report in ISO 8601 timestamp
-// format using UTC.
-// - startDateTime: The start time of the report in ISO 8601 timestamp
-// format using UTC.
+// - accountId: The account id to get the reports.
+// - endDateTime: The end time of the report in ISO 8601 timestamp
+// format using UTC.
+// - startDateTime: The start time of the report in ISO 8601 timestamp
+// format using UTC.
func (r *PerformanceReportService) List(accountId int64, endDateTime string, startDateTime string) *PerformanceReportListCall {
c := &PerformanceReportListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("accountId", fmt.Sprint(accountId))
diff --git a/adexchangebuyer/v1.4/adexchangebuyer-gen.go b/adexchangebuyer/v1.4/adexchangebuyer-gen.go
index 0d6b37425fd..15cc07e940f 100644
--- a/adexchangebuyer/v1.4/adexchangebuyer-gen.go
+++ b/adexchangebuyer/v1.4/adexchangebuyer-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/ad-exchange/buyer-rest
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/adexchangebuyer/v1.4"
-// ...
-// ctx := context.Background()
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx)
+// import "google.golang.org/api/adexchangebuyer/v1.4"
+// ...
+// ctx := context.Background()
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithAPIKey("AIza..."))
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package adexchangebuyer // import "google.golang.org/api/adexchangebuyer/v1.4"
@@ -5805,13 +5805,20 @@ func (c *CreativesListCall) BuyerCreativeId(buyerCreativeId ...string) *Creative
// returned.
//
// Possible values:
-// "approved" - Creatives which have been approved for serving on
+//
+// "approved" - Creatives which have been approved for serving on
+//
// deals.
-// "conditionally_approved" - Creatives which have been conditionally
+//
+// "conditionally_approved" - Creatives which have been conditionally
+//
// approved for serving on deals.
-// "disapproved" - Creatives which have been disapproved for serving
+//
+// "disapproved" - Creatives which have been disapproved for serving
+//
// on deals.
-// "not_checked" - Creatives whose deals status is not yet checked.
+//
+// "not_checked" - Creatives whose deals status is not yet checked.
func (c *CreativesListCall) DealsStatusFilter(dealsStatusFilter string) *CreativesListCall {
c.urlParams_.Set("dealsStatusFilter", dealsStatusFilter)
return c
@@ -5830,13 +5837,21 @@ func (c *CreativesListCall) MaxResults(maxResults int64) *CreativesListCall {
// given open auction status are returned.
//
// Possible values:
-// "approved" - Creatives which have been approved for serving on the
+//
+// "approved" - Creatives which have been approved for serving on the
+//
// open auction.
-// "conditionally_approved" - Creatives which have been conditionally
+//
+// "conditionally_approved" - Creatives which have been conditionally
+//
// approved for serving on the open auction.
-// "disapproved" - Creatives which have been disapproved for serving
+//
+// "disapproved" - Creatives which have been disapproved for serving
+//
// on the open auction.
-// "not_checked" - Creatives whose open auction status is not yet
+//
+// "not_checked" - Creatives whose open auction status is not yet
+//
// checked.
func (c *CreativesListCall) OpenAuctionStatusFilter(openAuctionStatusFilter string) *CreativesListCall {
c.urlParams_.Set("openAuctionStatusFilter", openAuctionStatusFilter)
@@ -6620,8 +6635,8 @@ type MarketplacedealsListCall struct {
// List: List all the deals for a given proposal
//
-// - proposalId: The proposalId to get deals for. To search across all
-// proposals specify order_id = '-' as part of the URL.
+// - proposalId: The proposalId to get deals for. To search across all
+// proposals specify order_id = '-' as part of the URL.
func (r *MarketplacedealsService) List(proposalId string) *MarketplacedealsListCall {
c := &MarketplacedealsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.proposalId = proposalId
@@ -7058,8 +7073,8 @@ type MarketplacenotesListCall struct {
// List: Get all the notes associated with a proposal
//
-// - proposalId: The proposalId to get notes for. To search across all
-// proposals specify order_id = '-' as part of the URL.
+// - proposalId: The proposalId to get notes for. To search across all
+// proposals specify order_id = '-' as part of the URL.
func (r *MarketplacenotesService) List(proposalId string) *MarketplacenotesListCall {
c := &MarketplacenotesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.proposalId = proposalId
@@ -7328,11 +7343,11 @@ type PerformanceReportListCall struct {
// List: Retrieves the authenticated user's list of performance metrics.
//
-// - accountId: The account id to get the reports.
-// - endDateTime: The end time of the report in ISO 8601 timestamp
-// format using UTC.
-// - startDateTime: The start time of the report in ISO 8601 timestamp
-// format using UTC.
+// - accountId: The account id to get the reports.
+// - endDateTime: The end time of the report in ISO 8601 timestamp
+// format using UTC.
+// - startDateTime: The start time of the report in ISO 8601 timestamp
+// format using UTC.
func (r *PerformanceReportService) List(accountId int64, endDateTime string, startDateTime string) *PerformanceReportListCall {
c := &PerformanceReportListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("accountId", fmt.Sprint(accountId))
@@ -8939,13 +8954,13 @@ type ProposalsPatchCall struct {
// Patch: Update the given proposal. This method supports patch
// semantics.
//
-// - proposalId: The proposal id to update.
-// - revisionNumber: The last known revision number to update. If the
-// head revision in the marketplace database has since changed, an
-// error will be thrown. The caller should then fetch the latest
-// proposal at head revision and retry the update at that revision.
-// - updateAction: The proposed action to take on the proposal. This
-// field is required and it must be set when updating a proposal.
+// - proposalId: The proposal id to update.
+// - revisionNumber: The last known revision number to update. If the
+// head revision in the marketplace database has since changed, an
+// error will be thrown. The caller should then fetch the latest
+// proposal at head revision and retry the update at that revision.
+// - updateAction: The proposed action to take on the proposal. This
+// field is required and it must be set when updating a proposal.
func (r *ProposalsService) Patch(proposalId string, revisionNumber int64, updateAction string, proposal *Proposal) *ProposalsPatchCall {
c := &ProposalsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.proposalId = proposalId
@@ -9365,13 +9380,13 @@ type ProposalsUpdateCall struct {
// Update: Update the given proposal
//
-// - proposalId: The proposal id to update.
-// - revisionNumber: The last known revision number to update. If the
-// head revision in the marketplace database has since changed, an
-// error will be thrown. The caller should then fetch the latest
-// proposal at head revision and retry the update at that revision.
-// - updateAction: The proposed action to take on the proposal. This
-// field is required and it must be set when updating a proposal.
+// - proposalId: The proposal id to update.
+// - revisionNumber: The last known revision number to update. If the
+// head revision in the marketplace database has since changed, an
+// error will be thrown. The caller should then fetch the latest
+// proposal at head revision and retry the update at that revision.
+// - updateAction: The proposed action to take on the proposal. This
+// field is required and it must be set when updating a proposal.
func (r *ProposalsService) Update(proposalId string, revisionNumber int64, updateAction string, proposal *Proposal) *ProposalsUpdateCall {
c := &ProposalsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.proposalId = proposalId
diff --git a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go
index c8cc35553d7..4c070c0ad5b 100644
--- a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go
+++ b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/authorized-buyers/apis/reference/rest/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/adexchangebuyer2/v2beta1"
-// ...
-// ctx := context.Background()
-// adexchangebuyer2Service, err := adexchangebuyer2.NewService(ctx)
+// import "google.golang.org/api/adexchangebuyer2/v2beta1"
+// ...
+// ctx := context.Background()
+// adexchangebuyer2Service, err := adexchangebuyer2.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adexchangebuyer2Service, err := adexchangebuyer2.NewService(ctx, option.WithAPIKey("AIza..."))
+// adexchangebuyer2Service, err := adexchangebuyer2.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adexchangebuyer2Service, err := adexchangebuyer2.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adexchangebuyer2Service, err := adexchangebuyer2.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package adexchangebuyer2 // import "google.golang.org/api/adexchangebuyer2/v2beta1"
@@ -5778,9 +5778,9 @@ type AccountsClientsCreateCall struct {
// Create: Creates a new client buyer.
//
-// - accountId: Unique numerical account ID for the buyer of which the
-// client buyer is a customer; the sponsor buyer to create a client
-// for. (required).
+// - accountId: Unique numerical account ID for the buyer of which the
+// client buyer is a customer; the sponsor buyer to create a client
+// for. (required).
func (r *AccountsClientsService) Create(accountId int64, client *Client) *AccountsClientsCreateCall {
c := &AccountsClientsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -5923,10 +5923,10 @@ type AccountsClientsGetCall struct {
// Get: Gets a client buyer with a given client account ID.
//
-// - accountId: Numerical account ID of the client's sponsor buyer.
-// (required).
-// - clientAccountId: Numerical account ID of the client buyer to
-// retrieve. (required).
+// - accountId: Numerical account ID of the client's sponsor buyer.
+// (required).
+// - clientAccountId: Numerical account ID of the client buyer to
+// retrieve. (required).
func (r *AccountsClientsService) Get(accountId int64, clientAccountId int64) *AccountsClientsGetCall {
c := &AccountsClientsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -6082,8 +6082,8 @@ type AccountsClientsListCall struct {
// List: Lists all the clients for the current sponsor buyer.
//
-// - accountId: Unique numerical account ID of the sponsor buyer to list
-// the clients for.
+// - accountId: Unique numerical account ID of the sponsor buyer to list
+// the clients for.
func (r *AccountsClientsService) List(accountId int64) *AccountsClientsListCall {
c := &AccountsClientsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -6293,11 +6293,11 @@ type AccountsClientsUpdateCall struct {
// Update: Updates an existing client buyer.
//
-// - accountId: Unique numerical account ID for the buyer of which the
-// client buyer is a customer; the sponsor buyer to update a client
-// for. (required).
-// - clientAccountId: Unique numerical account ID of the client to
-// update. (required).
+// - accountId: Unique numerical account ID for the buyer of which the
+// client buyer is a customer; the sponsor buyer to update a client
+// for. (required).
+// - clientAccountId: Unique numerical account ID of the client to
+// update. (required).
func (r *AccountsClientsService) Update(accountId int64, clientAccountId int64, client *Client) *AccountsClientsUpdateCall {
c := &AccountsClientsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -6451,10 +6451,10 @@ type AccountsClientsInvitationsCreateCall struct {
// Create: Creates and sends out an email invitation to access an Ad
// Exchange client buyer account.
//
-// - accountId: Numerical account ID of the client's sponsor buyer.
-// (required).
-// - clientAccountId: Numerical account ID of the client buyer that the
-// user should be associated with. (required).
+// - accountId: Numerical account ID of the client's sponsor buyer.
+// (required).
+// - clientAccountId: Numerical account ID of the client buyer that the
+// user should be associated with. (required).
func (r *AccountsClientsInvitationsService) Create(accountId int64, clientAccountId int64, clientuserinvitation *ClientUserInvitation) *AccountsClientsInvitationsCreateCall {
c := &AccountsClientsInvitationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -6608,12 +6608,12 @@ type AccountsClientsInvitationsGetCall struct {
// Get: Retrieves an existing client user invitation.
//
-// - accountId: Numerical account ID of the client's sponsor buyer.
-// (required).
-// - clientAccountId: Numerical account ID of the client buyer that the
-// user invitation to be retrieved is associated with. (required).
-// - invitationId: Numerical identifier of the user invitation to
-// retrieve. (required).
+// - accountId: Numerical account ID of the client's sponsor buyer.
+// (required).
+// - clientAccountId: Numerical account ID of the client buyer that the
+// user invitation to be retrieved is associated with. (required).
+// - invitationId: Numerical identifier of the user invitation to
+// retrieve. (required).
func (r *AccountsClientsInvitationsService) Get(accountId int64, clientAccountId int64, invitationId int64) *AccountsClientsInvitationsGetCall {
c := &AccountsClientsInvitationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -6781,13 +6781,13 @@ type AccountsClientsInvitationsListCall struct {
// List: Lists all the client users invitations for a client with a
// given account ID.
//
-// - accountId: Numerical account ID of the client's sponsor buyer.
-// (required).
-// - clientAccountId: Numerical account ID of the client buyer to list
-// invitations for. (required) You must either specify a string
-// representation of a numerical account identifier or the `-`
-// character to list all the invitations for all the clients of a
-// given sponsor buyer.
+// - accountId: Numerical account ID of the client's sponsor buyer.
+// (required).
+// - clientAccountId: Numerical account ID of the client buyer to list
+// invitations for. (required) You must either specify a string
+// representation of a numerical account identifier or the `-`
+// character to list all the invitations for all the clients of a
+// given sponsor buyer.
func (r *AccountsClientsInvitationsService) List(accountId int64, clientAccountId string) *AccountsClientsInvitationsListCall {
c := &AccountsClientsInvitationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -6995,11 +6995,11 @@ type AccountsClientsUsersGetCall struct {
// Get: Retrieves an existing client user.
//
-// - accountId: Numerical account ID of the client's sponsor buyer.
-// (required).
-// - clientAccountId: Numerical account ID of the client buyer that the
-// user to be retrieved is associated with. (required).
-// - userId: Numerical identifier of the user to retrieve. (required).
+// - accountId: Numerical account ID of the client's sponsor buyer.
+// (required).
+// - clientAccountId: Numerical account ID of the client buyer that the
+// user to be retrieved is associated with. (required).
+// - userId: Numerical identifier of the user to retrieve. (required).
func (r *AccountsClientsUsersService) Get(accountId int64, clientAccountId int64, userId int64) *AccountsClientsUsersGetCall {
c := &AccountsClientsUsersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -7167,12 +7167,12 @@ type AccountsClientsUsersListCall struct {
// List: Lists all the known client users for a specified sponsor buyer
// account ID.
//
-// - accountId: Numerical account ID of the sponsor buyer of the client
-// to list users for. (required).
-// - clientAccountId: The account ID of the client buyer to list users
-// for. (required) You must specify either a string representation of
-// a numerical account identifier or the `-` character to list all the
-// client users for all the clients of a given sponsor buyer.
+// - accountId: Numerical account ID of the sponsor buyer of the client
+// to list users for. (required).
+// - clientAccountId: The account ID of the client buyer to list users
+// for. (required) You must specify either a string representation of
+// a numerical account identifier or the `-` character to list all the
+// client users for all the clients of a given sponsor buyer.
func (r *AccountsClientsUsersService) List(accountId int64, clientAccountId string) *AccountsClientsUsersListCall {
c := &AccountsClientsUsersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -7379,11 +7379,11 @@ type AccountsClientsUsersUpdateCall struct {
// Update: Updates an existing client user. Only the user status can be
// changed on update.
//
-// - accountId: Numerical account ID of the client's sponsor buyer.
-// (required).
-// - clientAccountId: Numerical account ID of the client buyer that the
-// user to be retrieved is associated with. (required).
-// - userId: Numerical identifier of the user to retrieve. (required).
+// - accountId: Numerical account ID of the client's sponsor buyer.
+// (required).
+// - clientAccountId: Numerical account ID of the client buyer that the
+// user to be retrieved is associated with. (required).
+// - userId: Numerical identifier of the user to retrieve. (required).
func (r *AccountsClientsUsersService) Update(accountId int64, clientAccountId int64, userId int64, clientuser *ClientUser) *AccountsClientsUsersUpdateCall {
c := &AccountsClientsUsersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -7545,8 +7545,8 @@ type AccountsCreativesCreateCall struct {
// Create: Creates a creative.
//
-// - accountId: The account that this creative belongs to. Can be used
-// to filter the response of the creatives.list method.
+// - accountId: The account that this creative belongs to. Can be used
+// to filter the response of the creatives.list method.
func (r *AccountsCreativesService) Create(accountId string, creative *Creative) *AccountsCreativesCreateCall {
c := &AccountsCreativesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -7559,9 +7559,13 @@ func (r *AccountsCreativesService) Create(accountId string, creative *Creative)
// NO_DUPLICATES (one ID per creative).
//
// Possible values:
-// "NO_DUPLICATES" - Recommended. This means that an ID will be unique
+//
+// "NO_DUPLICATES" - Recommended. This means that an ID will be unique
+//
// to a single creative. Multiple creatives will not share an ID.
-// "FORCE_ENABLE_DUPLICATE_IDS" - Not recommended. Using this option
+//
+// "FORCE_ENABLE_DUPLICATE_IDS" - Not recommended. Using this option
+//
// will allow multiple creatives to share the same ID. Get and Update
// requests will not be possible for any ID that has more than one
// creative associated. (List will still function.) This is only
@@ -7874,8 +7878,8 @@ type AccountsCreativesListCall struct {
// List: Lists creatives.
//
-// - accountId: The account to list the creatives from. Specify "-" to
-// list all creatives the current user has access to.
+// - accountId: The account to list the creatives from. Specify "-" to
+// list all creatives the current user has access to.
func (r *AccountsCreativesService) List(accountId string) *AccountsCreativesListCall {
c := &AccountsCreativesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -8094,9 +8098,9 @@ type AccountsCreativesStopWatchingCall struct {
// StopWatching: Stops watching a creative. Will stop push notifications
// being sent to the topics when the creative changes status.
//
-// - accountId: The account of the creative to stop notifications for.
-// - creativeId: The creative ID of the creative to stop notifications
-// for. Specify "-" to specify stopping account level notifications.
+// - accountId: The account of the creative to stop notifications for.
+// - creativeId: The creative ID of the creative to stop notifications
+// for. Specify "-" to specify stopping account level notifications.
func (r *AccountsCreativesService) StopWatching(accountId string, creativeId string, stopwatchingcreativerequest *StopWatchingCreativeRequest) *AccountsCreativesStopWatchingCall {
c := &AccountsCreativesStopWatchingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -8247,10 +8251,10 @@ type AccountsCreativesUpdateCall struct {
// Update: Updates a creative.
//
-// - accountId: The account that this creative belongs to. Can be used
-// to filter the response of the creatives.list method.
-// - creativeId: The buyer-defined creative ID of this creative. Can be
-// used to filter the response of the creatives.list method.
+// - accountId: The account that this creative belongs to. Can be used
+// to filter the response of the creatives.list method.
+// - creativeId: The buyer-defined creative ID of this creative. Can be
+// used to filter the response of the creatives.list method.
func (r *AccountsCreativesService) Update(accountId string, creativeId string, creative *Creative) *AccountsCreativesUpdateCall {
c := &AccountsCreativesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -8402,12 +8406,12 @@ type AccountsCreativesWatchCall struct {
// Watch: Watches a creative. Will result in push notifications being
// sent to the topic when the creative changes status.
//
-// - accountId: The account of the creative to watch.
-// - creativeId: The creative ID to watch for status changes. Specify
-// "-" to watch all creatives under the above account. If both
-// creative-level and account-level notifications are sent, only a
-// single notification will be sent to the creative-level notification
-// topic.
+// - accountId: The account of the creative to watch.
+// - creativeId: The creative ID to watch for status changes. Specify
+// "-" to watch all creatives under the above account. If both
+// creative-level and account-level notifications are sent, only a
+// single notification will be sent to the creative-level notification
+// topic.
func (r *AccountsCreativesService) Watch(accountId string, creativeId string, watchcreativerequest *WatchCreativeRequest) *AccountsCreativesWatchCall {
c := &AccountsCreativesWatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -8710,10 +8714,10 @@ type AccountsCreativesDealAssociationsListCall struct {
// List: List all creative-deal associations.
//
-// - accountId: The account to list the associations from. Specify "-"
-// to list all creatives the current user has access to.
-// - creativeId: The creative ID to list the associations from. Specify
-// "-" to list all creatives under the above account.
+// - accountId: The account to list the associations from. Specify "-"
+// to list all creatives the current user has access to.
+// - creativeId: The creative ID to list the associations from. Specify
+// "-" to list all creatives under the above account.
func (r *AccountsCreativesDealAssociationsService) List(accountId string, creativeId string) *AccountsCreativesDealAssociationsListCall {
c := &AccountsCreativesDealAssociationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
@@ -9108,12 +9112,18 @@ func (c *AccountsFinalizedProposalsListCall) Filter(filter string) *AccountsFina
// the future it will be LIST_FILTER.
//
// Possible values:
-// "FILTER_SYNTAX_UNSPECIFIED" - A placeholder for an undefined filter
+//
+// "FILTER_SYNTAX_UNSPECIFIED" - A placeholder for an undefined filter
+//
// syntax.
-// "PQL" - PQL query syntax. Visit
+//
+// "PQL" - PQL query syntax. Visit
+//
// https://developers.google.com/ad-manager/api/pqlreference for PQL
// documentation and examples.
-// "LIST_FILTER" - API list filtering syntax. Read about syntax and
+//
+// "LIST_FILTER" - API list filtering syntax. Read about syntax and
+//
// usage at
// https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
func (c *AccountsFinalizedProposalsListCall) FilterSyntax(filterSyntax string) *AccountsFinalizedProposalsListCall {
@@ -10960,12 +10970,18 @@ func (c *AccountsProposalsListCall) Filter(filter string) *AccountsProposalsList
// the future it will be LIST_FILTER.
//
// Possible values:
-// "FILTER_SYNTAX_UNSPECIFIED" - A placeholder for an undefined filter
+//
+// "FILTER_SYNTAX_UNSPECIFIED" - A placeholder for an undefined filter
+//
// syntax.
-// "PQL" - PQL query syntax. Visit
+//
+// "PQL" - PQL query syntax. Visit
+//
// https://developers.google.com/ad-manager/api/pqlreference for PQL
// documentation and examples.
-// "LIST_FILTER" - API list filtering syntax. Read about syntax and
+//
+// "LIST_FILTER" - API list filtering syntax. Read about syntax and
+//
// usage at
// https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.
func (c *AccountsProposalsListCall) FilterSyntax(filterSyntax string) *AccountsProposalsListCall {
@@ -12002,12 +12018,12 @@ type BiddersAccountsFilterSetsCreateCall struct {
// Create: Creates the specified filter set for the account with the
// given account ID.
//
-// - ownerName: Name of the owner (bidder or account) of the filter set
-// to be created. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123` - For an account-level filter set for the
-// buyer account representing bidder 123: `bidders/123/accounts/123` -
-// For an account-level filter set for the child seat buyer account
-// 456 whose bidder is 123: `bidders/123/accounts/456`.
+// - ownerName: Name of the owner (bidder or account) of the filter set
+// to be created. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123` - For an account-level filter set for the
+// buyer account representing bidder 123: `bidders/123/accounts/123` -
+// For an account-level filter set for the child seat buyer account
+// 456 whose bidder is 123: `bidders/123/accounts/456`.
func (r *BiddersAccountsFilterSetsService) Create(ownerName string, filterset *FilterSet) *BiddersAccountsFilterSetsCreateCall {
c := &BiddersAccountsFilterSetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.ownerName = ownerName
@@ -12163,13 +12179,13 @@ type BiddersAccountsFilterSetsDeleteCall struct {
// Delete: Deletes the requested filter set from the account with the
// given account ID.
//
-// - name: Full name of the resource to delete. For example: - For a
-// bidder-level filter set for bidder 123:
-// `bidders/123/filterSets/abc` - For an account-level filter set for
-// the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - name: Full name of the resource to delete. For example: - For a
+// bidder-level filter set for bidder 123:
+// `bidders/123/filterSets/abc` - For an account-level filter set for
+// the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsService) Delete(name string) *BiddersAccountsFilterSetsDeleteCall {
c := &BiddersAccountsFilterSetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12303,13 +12319,13 @@ type BiddersAccountsFilterSetsGetCall struct {
// Get: Retrieves the requested filter set for the account with the
// given account ID.
//
-// - name: Full name of the resource being requested. For example: - For
-// a bidder-level filter set for bidder 123:
-// `bidders/123/filterSets/abc` - For an account-level filter set for
-// the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - name: Full name of the resource being requested. For example: - For
+// a bidder-level filter set for bidder 123:
+// `bidders/123/filterSets/abc` - For an account-level filter set for
+// the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsService) Get(name string) *BiddersAccountsFilterSetsGetCall {
c := &BiddersAccountsFilterSetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12456,12 +12472,12 @@ type BiddersAccountsFilterSetsListCall struct {
// List: Lists all filter sets for the account with the given account
// ID.
//
-// - ownerName: Name of the owner (bidder or account) of the filter sets
-// to be listed. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123` - For an account-level filter set for the
-// buyer account representing bidder 123: `bidders/123/accounts/123` -
-// For an account-level filter set for the child seat buyer account
-// 456 whose bidder is 123: `bidders/123/accounts/456`.
+// - ownerName: Name of the owner (bidder or account) of the filter sets
+// to be listed. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123` - For an account-level filter set for the
+// buyer account representing bidder 123: `bidders/123/accounts/123` -
+// For an account-level filter set for the child seat buyer account
+// 456 whose bidder is 123: `bidders/123/accounts/456`.
func (r *BiddersAccountsFilterSetsService) List(ownerName string) *BiddersAccountsFilterSetsListCall {
c := &BiddersAccountsFilterSetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.ownerName = ownerName
@@ -12656,13 +12672,13 @@ type BiddersAccountsFilterSetsBidMetricsListCall struct {
// List: Lists all metrics that are measured in terms of number of bids.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsBidMetricsService) List(filterSetName string) *BiddersAccountsFilterSetsBidMetricsListCall {
c := &BiddersAccountsFilterSetsBidMetricsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -12858,13 +12874,13 @@ type BiddersAccountsFilterSetsBidResponseErrorsListCall struct {
// List: List all errors that occurred in bid responses, with the number
// of bid responses affected for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsBidResponseErrorsService) List(filterSetName string) *BiddersAccountsFilterSetsBidResponseErrorsListCall {
c := &BiddersAccountsFilterSetsBidResponseErrorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -13061,13 +13077,13 @@ type BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall struct {
// have no applicable bids, with the number of bid responses affected
// for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsBidResponsesWithoutBidsService) List(filterSetName string) *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall {
c := &BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -13266,13 +13282,13 @@ type BiddersAccountsFilterSetsFilteredBidRequestsListCall struct {
// an impression, with the number of bid requests not sent for each
// reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsFilteredBidRequestsService) List(filterSetName string) *BiddersAccountsFilterSetsFilteredBidRequestsListCall {
c := &BiddersAccountsFilterSetsFilteredBidRequestsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -13469,13 +13485,13 @@ type BiddersAccountsFilterSetsFilteredBidsListCall struct {
// List: List all reasons for which bids were filtered, with the number
// of bids filtered for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsFilteredBidsService) List(filterSetName string) *BiddersAccountsFilterSetsFilteredBidsListCall {
c := &BiddersAccountsFilterSetsFilteredBidsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -13673,16 +13689,16 @@ type BiddersAccountsFilterSetsFilteredBidsCreativesListCall struct {
// bids were filtered, with the number of bids filtered for each
// creative.
//
-// - creativeStatusId: The ID of the creative status for which to
-// retrieve a breakdown by creative. See creative-status-codes
-// (https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - creativeStatusId: The ID of the creative status for which to
+// retrieve a breakdown by creative. See creative-status-codes
+// (https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsFilteredBidsCreativesService) List(filterSetName string, creativeStatusId int64) *BiddersAccountsFilterSetsFilteredBidsCreativesListCall {
c := &BiddersAccountsFilterSetsFilteredBidsCreativesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -13892,18 +13908,18 @@ type BiddersAccountsFilterSetsFilteredBidsDetailsListCall struct {
// List: List all details associated with a specific reason for which
// bids were filtered, with the number of bids filtered for each detail.
//
-// - creativeStatusId: The ID of the creative status for which to
-// retrieve a breakdown by detail. See creative-status-codes
-// (https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).
-// Details are only available for statuses 10, 14, 15, 17, 18, 19, 86,
-// and 87.
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - creativeStatusId: The ID of the creative status for which to
+// retrieve a breakdown by detail. See creative-status-codes
+// (https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).
+// Details are only available for statuses 10, 14, 15, 17, 18, 19, 86,
+// and 87.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsFilteredBidsDetailsService) List(filterSetName string, creativeStatusId int64) *BiddersAccountsFilterSetsFilteredBidsDetailsListCall {
c := &BiddersAccountsFilterSetsFilteredBidsDetailsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -14112,13 +14128,13 @@ type BiddersAccountsFilterSetsImpressionMetricsListCall struct {
// List: Lists all metrics that are measured in terms of number of
// impressions.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsImpressionMetricsService) List(filterSetName string) *BiddersAccountsFilterSetsImpressionMetricsListCall {
c := &BiddersAccountsFilterSetsImpressionMetricsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -14314,13 +14330,13 @@ type BiddersAccountsFilterSetsLosingBidsListCall struct {
// List: List all reasons for which bids lost in the auction, with the
// number of bids that lost for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsLosingBidsService) List(filterSetName string) *BiddersAccountsFilterSetsLosingBidsListCall {
c := &BiddersAccountsFilterSetsLosingBidsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -14516,13 +14532,13 @@ type BiddersAccountsFilterSetsNonBillableWinningBidsListCall struct {
// List: List all reasons for which winning bids were not billable, with
// the number of bids not billed for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersAccountsFilterSetsNonBillableWinningBidsService) List(filterSetName string) *BiddersAccountsFilterSetsNonBillableWinningBidsListCall {
c := &BiddersAccountsFilterSetsNonBillableWinningBidsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -14720,12 +14736,12 @@ type BiddersFilterSetsCreateCall struct {
// Create: Creates the specified filter set for the account with the
// given account ID.
//
-// - ownerName: Name of the owner (bidder or account) of the filter set
-// to be created. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123` - For an account-level filter set for the
-// buyer account representing bidder 123: `bidders/123/accounts/123` -
-// For an account-level filter set for the child seat buyer account
-// 456 whose bidder is 123: `bidders/123/accounts/456`.
+// - ownerName: Name of the owner (bidder or account) of the filter set
+// to be created. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123` - For an account-level filter set for the
+// buyer account representing bidder 123: `bidders/123/accounts/123` -
+// For an account-level filter set for the child seat buyer account
+// 456 whose bidder is 123: `bidders/123/accounts/456`.
func (r *BiddersFilterSetsService) Create(ownerName string, filterset *FilterSet) *BiddersFilterSetsCreateCall {
c := &BiddersFilterSetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.ownerName = ownerName
@@ -14881,13 +14897,13 @@ type BiddersFilterSetsDeleteCall struct {
// Delete: Deletes the requested filter set from the account with the
// given account ID.
//
-// - name: Full name of the resource to delete. For example: - For a
-// bidder-level filter set for bidder 123:
-// `bidders/123/filterSets/abc` - For an account-level filter set for
-// the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - name: Full name of the resource to delete. For example: - For a
+// bidder-level filter set for bidder 123:
+// `bidders/123/filterSets/abc` - For an account-level filter set for
+// the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsService) Delete(name string) *BiddersFilterSetsDeleteCall {
c := &BiddersFilterSetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15021,13 +15037,13 @@ type BiddersFilterSetsGetCall struct {
// Get: Retrieves the requested filter set for the account with the
// given account ID.
//
-// - name: Full name of the resource being requested. For example: - For
-// a bidder-level filter set for bidder 123:
-// `bidders/123/filterSets/abc` - For an account-level filter set for
-// the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - name: Full name of the resource being requested. For example: - For
+// a bidder-level filter set for bidder 123:
+// `bidders/123/filterSets/abc` - For an account-level filter set for
+// the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsService) Get(name string) *BiddersFilterSetsGetCall {
c := &BiddersFilterSetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15174,12 +15190,12 @@ type BiddersFilterSetsListCall struct {
// List: Lists all filter sets for the account with the given account
// ID.
//
-// - ownerName: Name of the owner (bidder or account) of the filter sets
-// to be listed. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123` - For an account-level filter set for the
-// buyer account representing bidder 123: `bidders/123/accounts/123` -
-// For an account-level filter set for the child seat buyer account
-// 456 whose bidder is 123: `bidders/123/accounts/456`.
+// - ownerName: Name of the owner (bidder or account) of the filter sets
+// to be listed. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123` - For an account-level filter set for the
+// buyer account representing bidder 123: `bidders/123/accounts/123` -
+// For an account-level filter set for the child seat buyer account
+// 456 whose bidder is 123: `bidders/123/accounts/456`.
func (r *BiddersFilterSetsService) List(ownerName string) *BiddersFilterSetsListCall {
c := &BiddersFilterSetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.ownerName = ownerName
@@ -15374,13 +15390,13 @@ type BiddersFilterSetsBidMetricsListCall struct {
// List: Lists all metrics that are measured in terms of number of bids.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsBidMetricsService) List(filterSetName string) *BiddersFilterSetsBidMetricsListCall {
c := &BiddersFilterSetsBidMetricsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -15576,13 +15592,13 @@ type BiddersFilterSetsBidResponseErrorsListCall struct {
// List: List all errors that occurred in bid responses, with the number
// of bid responses affected for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsBidResponseErrorsService) List(filterSetName string) *BiddersFilterSetsBidResponseErrorsListCall {
c := &BiddersFilterSetsBidResponseErrorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -15779,13 +15795,13 @@ type BiddersFilterSetsBidResponsesWithoutBidsListCall struct {
// have no applicable bids, with the number of bid responses affected
// for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsBidResponsesWithoutBidsService) List(filterSetName string) *BiddersFilterSetsBidResponsesWithoutBidsListCall {
c := &BiddersFilterSetsBidResponsesWithoutBidsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -15984,13 +16000,13 @@ type BiddersFilterSetsFilteredBidRequestsListCall struct {
// an impression, with the number of bid requests not sent for each
// reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsFilteredBidRequestsService) List(filterSetName string) *BiddersFilterSetsFilteredBidRequestsListCall {
c := &BiddersFilterSetsFilteredBidRequestsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -16187,13 +16203,13 @@ type BiddersFilterSetsFilteredBidsListCall struct {
// List: List all reasons for which bids were filtered, with the number
// of bids filtered for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsFilteredBidsService) List(filterSetName string) *BiddersFilterSetsFilteredBidsListCall {
c := &BiddersFilterSetsFilteredBidsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -16391,16 +16407,16 @@ type BiddersFilterSetsFilteredBidsCreativesListCall struct {
// bids were filtered, with the number of bids filtered for each
// creative.
//
-// - creativeStatusId: The ID of the creative status for which to
-// retrieve a breakdown by creative. See creative-status-codes
-// (https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - creativeStatusId: The ID of the creative status for which to
+// retrieve a breakdown by creative. See creative-status-codes
+// (https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsFilteredBidsCreativesService) List(filterSetName string, creativeStatusId int64) *BiddersFilterSetsFilteredBidsCreativesListCall {
c := &BiddersFilterSetsFilteredBidsCreativesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -16610,18 +16626,18 @@ type BiddersFilterSetsFilteredBidsDetailsListCall struct {
// List: List all details associated with a specific reason for which
// bids were filtered, with the number of bids filtered for each detail.
//
-// - creativeStatusId: The ID of the creative status for which to
-// retrieve a breakdown by detail. See creative-status-codes
-// (https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).
-// Details are only available for statuses 10, 14, 15, 17, 18, 19, 86,
-// and 87.
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - creativeStatusId: The ID of the creative status for which to
+// retrieve a breakdown by detail. See creative-status-codes
+// (https://developers.google.com/authorized-buyers/rtb/downloads/creative-status-codes).
+// Details are only available for statuses 10, 14, 15, 17, 18, 19, 86,
+// and 87.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsFilteredBidsDetailsService) List(filterSetName string, creativeStatusId int64) *BiddersFilterSetsFilteredBidsDetailsListCall {
c := &BiddersFilterSetsFilteredBidsDetailsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -16830,13 +16846,13 @@ type BiddersFilterSetsImpressionMetricsListCall struct {
// List: Lists all metrics that are measured in terms of number of
// impressions.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsImpressionMetricsService) List(filterSetName string) *BiddersFilterSetsImpressionMetricsListCall {
c := &BiddersFilterSetsImpressionMetricsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -17032,13 +17048,13 @@ type BiddersFilterSetsLosingBidsListCall struct {
// List: List all reasons for which bids lost in the auction, with the
// number of bids that lost for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsLosingBidsService) List(filterSetName string) *BiddersFilterSetsLosingBidsListCall {
c := &BiddersFilterSetsLosingBidsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
@@ -17234,13 +17250,13 @@ type BiddersFilterSetsNonBillableWinningBidsListCall struct {
// List: List all reasons for which winning bids were not billable, with
// the number of bids not billed for each reason.
//
-// - filterSetName: Name of the filter set that should be applied to the
-// requested metrics. For example: - For a bidder-level filter set for
-// bidder 123: `bidders/123/filterSets/abc` - For an account-level
-// filter set for the buyer account representing bidder 123:
-// `bidders/123/accounts/123/filterSets/abc` - For an account-level
-// filter set for the child seat buyer account 456 whose bidder is
-// 123: `bidders/123/accounts/456/filterSets/abc`.
+// - filterSetName: Name of the filter set that should be applied to the
+// requested metrics. For example: - For a bidder-level filter set for
+// bidder 123: `bidders/123/filterSets/abc` - For an account-level
+// filter set for the buyer account representing bidder 123:
+// `bidders/123/accounts/123/filterSets/abc` - For an account-level
+// filter set for the child seat buyer account 456 whose bidder is
+// 123: `bidders/123/accounts/456/filterSets/abc`.
func (r *BiddersFilterSetsNonBillableWinningBidsService) List(filterSetName string) *BiddersFilterSetsNonBillableWinningBidsListCall {
c := &BiddersFilterSetsNonBillableWinningBidsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.filterSetName = filterSetName
diff --git a/adexchangeseller/v1.1/adexchangeseller-gen.go b/adexchangeseller/v1.1/adexchangeseller-gen.go
index c369c86bd12..11bcfc54514 100644
--- a/adexchangeseller/v1.1/adexchangeseller-gen.go
+++ b/adexchangeseller/v1.1/adexchangeseller-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/ad-exchange/seller-rest/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/adexchangeseller/v1.1"
-// ...
-// ctx := context.Background()
-// adexchangesellerService, err := adexchangeseller.NewService(ctx)
+// import "google.golang.org/api/adexchangeseller/v1.1"
+// ...
+// ctx := context.Background()
+// adexchangesellerService, err := adexchangeseller.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithScopes(adexchangeseller.AdexchangeSellerReadonlyScope))
+// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithScopes(adexchangeseller.AdexchangeSellerReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithAPIKey("AIza..."))
+// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package adexchangeseller // import "google.golang.org/api/adexchangeseller/v1.1"
diff --git a/adexchangeseller/v1/adexchangeseller-gen.go b/adexchangeseller/v1/adexchangeseller-gen.go
index 6eaf3986d3e..13a34d35c9c 100644
--- a/adexchangeseller/v1/adexchangeseller-gen.go
+++ b/adexchangeseller/v1/adexchangeseller-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/ad-exchange/seller-rest/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/adexchangeseller/v1"
-// ...
-// ctx := context.Background()
-// adexchangesellerService, err := adexchangeseller.NewService(ctx)
+// import "google.golang.org/api/adexchangeseller/v1"
+// ...
+// ctx := context.Background()
+// adexchangesellerService, err := adexchangeseller.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithScopes(adexchangeseller.AdexchangeSellerReadonlyScope))
+// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithScopes(adexchangeseller.AdexchangeSellerReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithAPIKey("AIza..."))
+// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package adexchangeseller // import "google.golang.org/api/adexchangeseller/v1"
diff --git a/adexchangeseller/v2.0/adexchangeseller-gen.go b/adexchangeseller/v2.0/adexchangeseller-gen.go
index 6326559308c..34cc1bfff2c 100644
--- a/adexchangeseller/v2.0/adexchangeseller-gen.go
+++ b/adexchangeseller/v2.0/adexchangeseller-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/ad-exchange/seller-rest/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/adexchangeseller/v2.0"
-// ...
-// ctx := context.Background()
-// adexchangesellerService, err := adexchangeseller.NewService(ctx)
+// import "google.golang.org/api/adexchangeseller/v2.0"
+// ...
+// ctx := context.Background()
+// adexchangesellerService, err := adexchangeseller.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithScopes(adexchangeseller.AdexchangeSellerReadonlyScope))
+// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithScopes(adexchangeseller.AdexchangeSellerReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithAPIKey("AIza..."))
+// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adexchangesellerService, err := adexchangeseller.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package adexchangeseller // import "google.golang.org/api/adexchangeseller/v2.0"
diff --git a/adexperiencereport/v1/adexperiencereport-gen.go b/adexperiencereport/v1/adexperiencereport-gen.go
index 5c2f6f51b4d..42d5173719c 100644
--- a/adexperiencereport/v1/adexperiencereport-gen.go
+++ b/adexperiencereport/v1/adexperiencereport-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/ad-experience-report/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/adexperiencereport/v1"
-// ...
-// ctx := context.Background()
-// adexperiencereportService, err := adexperiencereport.NewService(ctx)
+// import "google.golang.org/api/adexperiencereport/v1"
+// ...
+// ctx := context.Background()
+// adexperiencereportService, err := adexperiencereport.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adexperiencereportService, err := adexperiencereport.NewService(ctx, option.WithAPIKey("AIza..."))
+// adexperiencereportService, err := adexperiencereport.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adexperiencereportService, err := adexperiencereport.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adexperiencereportService, err := adexperiencereport.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package adexperiencereport // import "google.golang.org/api/adexperiencereport/v1"
@@ -312,8 +312,8 @@ type SitesGetCall struct {
// Get: Gets a site's Ad Experience Report summary.
//
-// - name: The name of the site whose summary to get, e.g.
-// `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}`.
+// - name: The name of the site whose summary to get, e.g.
+// `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}`.
func (r *SitesService) Get(name string) *SitesGetCall {
c := &SitesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/admin/datatransfer/v1/admin-gen.go b/admin/datatransfer/v1/admin-gen.go
index 8f4c854706d..12efd514eea 100644
--- a/admin/datatransfer/v1/admin-gen.go
+++ b/admin/datatransfer/v1/admin-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/admin-sdk/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/admin/datatransfer/v1"
-// ...
-// ctx := context.Background()
-// adminService, err := admin.NewService(ctx)
+// import "google.golang.org/api/admin/datatransfer/v1"
+// ...
+// ctx := context.Background()
+// adminService, err := admin.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// adminService, err := admin.NewService(ctx, option.WithScopes(admin.AdminDatatransferReadonlyScope))
+// adminService, err := admin.NewService(ctx, option.WithScopes(admin.AdminDatatransferReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adminService, err := admin.NewService(ctx, option.WithAPIKey("AIza..."))
+// adminService, err := admin.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adminService, err := admin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adminService, err := admin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package admin // import "google.golang.org/api/admin/datatransfer/v1"
@@ -784,8 +784,8 @@ type TransfersGetCall struct {
// Get: Retrieves a data transfer request by its resource ID.
//
-// - dataTransferId: ID of the resource to be retrieved. This is
-// returned in the response from the insert method.
+// - dataTransferId: ID of the resource to be retrieved. This is
+// returned in the response from the insert method.
func (r *TransfersService) Get(dataTransferId string) *TransfersGetCall {
c := &TransfersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.dataTransferId = dataTransferId
diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go
index 19b7a572cd2..efe3be53e81 100644
--- a/admin/directory/v1/admin-gen.go
+++ b/admin/directory/v1/admin-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/admin-sdk/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/admin/directory/v1"
-// ...
-// ctx := context.Background()
-// adminService, err := admin.NewService(ctx)
+// import "google.golang.org/api/admin/directory/v1"
+// ...
+// ctx := context.Background()
+// adminService, err := admin.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// adminService, err := admin.NewService(ctx, option.WithScopes(admin.CloudPlatformScope))
+// adminService, err := admin.NewService(ctx, option.WithScopes(admin.CloudPlatformScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adminService, err := admin.NewService(ctx, option.WithAPIKey("AIza..."))
+// adminService, err := admin.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adminService, err := admin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adminService, err := admin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package admin // import "google.golang.org/api/admin/directory/v1"
@@ -5781,10 +5781,10 @@ type AspsDeleteCall struct {
// Delete: Deletes an ASP issued by a user.
//
-// - codeId: The unique ID of the ASP to be deleted.
-// - userKey: Identifies the user in the API request. The value can be
-// the user's primary email address, alias email address, or unique
-// user ID.
+// - codeId: The unique ID of the ASP to be deleted.
+// - userKey: Identifies the user in the API request. The value can be
+// the user's primary email address, alias email address, or unique
+// user ID.
func (r *AspsService) Delete(userKey string, codeId int64) *AspsDeleteCall {
c := &AspsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userKey = userKey
@@ -5899,10 +5899,10 @@ type AspsGetCall struct {
// Get: Gets information about an ASP issued by a user.
//
-// - codeId: The unique ID of the ASP.
-// - userKey: Identifies the user in the API request. The value can be
-// the user's primary email address, alias email address, or unique
-// user ID.
+// - codeId: The unique ID of the ASP.
+// - userKey: Identifies the user in the API request. The value can be
+// the user's primary email address, alias email address, or unique
+// user ID.
func (r *AspsService) Get(userKey string, codeId int64) *AspsGetCall {
c := &AspsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userKey = userKey
@@ -6057,9 +6057,9 @@ type AspsListCall struct {
// List: Lists the ASPs issued by a user.
//
-// - userKey: Identifies the user in the API request. The value can be
-// the user's primary email address, alias email address, or unique
-// user ID.
+// - userKey: Identifies the user in the API request. The value can be
+// the user's primary email address, alias email address, or unique
+// user ID.
func (r *AspsService) List(userKey string) *AspsListCall {
c := &AspsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userKey = userKey
@@ -6316,14 +6316,14 @@ type ChromeosdevicesActionCall struct {
// devices, visit the help center
// (https://support.google.com/chrome/a/answer/3523633).
//
-// - customerId: The unique ID for the customer's Google Workspace
-// account. As an account administrator, you can also use the
-// `my_customer` alias to represent your account's `customerId`. The
-// `customerId` is also returned as part of the Users resource
-// (/admin-sdk/directory/v1/reference/users).
-// - resourceId: The unique ID of the device. The `resourceId`s are
-// returned in the response from the chromeosdevices.list
-// (/admin-sdk/directory/v1/reference/chromeosdevices/list) method.
+// - customerId: The unique ID for the customer's Google Workspace
+// account. As an account administrator, you can also use the
+// `my_customer` alias to represent your account's `customerId`. The
+// `customerId` is also returned as part of the Users resource
+// (/admin-sdk/directory/v1/reference/users).
+// - resourceId: The unique ID of the device. The `resourceId`s are
+// returned in the response from the chromeosdevices.list
+// (/admin-sdk/directory/v1/reference/chromeosdevices/list) method.
func (r *ChromeosdevicesService) Action(customerId string, resourceId string, chromeosdeviceaction *ChromeOsDeviceAction) *ChromeosdevicesActionCall {
c := &ChromeosdevicesActionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -6446,14 +6446,14 @@ type ChromeosdevicesGetCall struct {
// Get: Retrieves a Chrome OS device's properties.
//
-// - customerId: The unique ID for the customer's Google Workspace
-// account. As an account administrator, you can also use the
-// `my_customer` alias to represent your account's `customerId`. The
-// `customerId` is also returned as part of the Users resource
-// (/admin-sdk/directory/v1/reference/users).
-// - deviceId: The unique ID of the device. The `deviceId`s are returned
-// in the response from the chromeosdevices.list
-// (/admin-sdk/directory/v1/reference/chromeosdevices/list) method.
+// - customerId: The unique ID for the customer's Google Workspace
+// account. As an account administrator, you can also use the
+// `my_customer` alias to represent your account's `customerId`. The
+// `customerId` is also returned as part of the Users resource
+// (/admin-sdk/directory/v1/reference/users).
+// - deviceId: The unique ID of the device. The `deviceId`s are returned
+// in the response from the chromeosdevices.list
+// (/admin-sdk/directory/v1/reference/chromeosdevices/list) method.
func (r *ChromeosdevicesService) Get(customerId string, deviceId string) *ChromeosdevicesGetCall {
c := &ChromeosdevicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -6466,9 +6466,12 @@ func (r *ChromeosdevicesService) Get(customerId string, deviceId string) *Chrome
// subset.
//
// Possible values:
-// "BASIC" - Includes only the basic metadata fields (e.g., deviceId,
+//
+// "BASIC" - Includes only the basic metadata fields (e.g., deviceId,
+//
// serialNumber, status, and user)
-// "FULL" - Includes all metadata fields
+//
+// "FULL" - Includes all metadata fields
func (c *ChromeosdevicesGetCall) Projection(projection string) *ChromeosdevicesGetCall {
c.urlParams_.Set("projection", projection)
return c
@@ -6635,11 +6638,11 @@ type ChromeosdevicesListCall struct {
// List: Retrieves a paginated list of Chrome OS devices within an
// account.
//
-// - customerId: The unique ID for the customer's Google Workspace
-// account. As an account administrator, you can also use the
-// `my_customer` alias to represent your account's `customerId`. The
-// `customerId` is also returned as part of the Users resource
-// (/admin-sdk/directory/v1/reference/users).
+// - customerId: The unique ID for the customer's Google Workspace
+// account. As an account administrator, you can also use the
+// `my_customer` alias to represent your account's `customerId`. The
+// `customerId` is also returned as part of the Users resource
+// (/admin-sdk/directory/v1/reference/users).
func (r *ChromeosdevicesService) List(customerId string) *ChromeosdevicesListCall {
c := &ChromeosdevicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -6666,18 +6669,28 @@ func (c *ChromeosdevicesListCall) MaxResults(maxResults int64) *ChromeosdevicesL
// for sorting results.
//
// Possible values:
-// "annotatedLocation" - Chrome device location as annotated by the
+//
+// "annotatedLocation" - Chrome device location as annotated by the
+//
// administrator.
-// "annotatedUser" - Chromebook user as annotated by administrator.
-// "lastSync" - The date and time the Chrome device was last
+//
+// "annotatedUser" - Chromebook user as annotated by administrator.
+// "lastSync" - The date and time the Chrome device was last
+//
// synchronized with the policy settings in the Admin console.
-// "notes" - Chrome device notes as annotated by the administrator.
-// "serialNumber" - The Chrome device serial number entered when the
+//
+// "notes" - Chrome device notes as annotated by the administrator.
+// "serialNumber" - The Chrome device serial number entered when the
+//
// device was enabled.
-// "status" - Chrome device status. For more information, see the = level
//
// Possible values:
-// "JOB_MESSAGE_IMPORTANCE_UNKNOWN" - The message importance isn't
+//
+// "JOB_MESSAGE_IMPORTANCE_UNKNOWN" - The message importance isn't
+//
// specified, or is unknown.
-// "JOB_MESSAGE_DEBUG" - The message is at the 'debug' level:
+//
+// "JOB_MESSAGE_DEBUG" - The message is at the 'debug' level:
+//
// typically only useful for software engineers working on the code the
// job is running. Typically, Dataflow pipeline runners do not display
// log messages at this level by default.
-// "JOB_MESSAGE_DETAILED" - The message is at the 'detailed' level:
+//
+// "JOB_MESSAGE_DETAILED" - The message is at the 'detailed' level:
+//
// somewhat verbose, but potentially useful to users. Typically,
// Dataflow pipeline runners do not display log messages at this level
// by default. These messages are displayed by default in the Dataflow
// monitoring UI.
-// "JOB_MESSAGE_BASIC" - The message is at the 'basic' level: useful
+//
+// "JOB_MESSAGE_BASIC" - The message is at the 'basic' level: useful
+//
// for keeping track of the execution of a Dataflow pipeline. Typically,
// Dataflow pipeline runners display log messages at this level by
// default, and these messages are displayed by default in the Dataflow
// monitoring UI.
-// "JOB_MESSAGE_WARNING" - The message is at the 'warning' level:
+//
+// "JOB_MESSAGE_WARNING" - The message is at the 'warning' level:
+//
// indicating a condition pertaining to a job which may require human
// intervention. Typically, Dataflow pipeline runners display log
// messages at this level by default, and these messages are displayed
// by default in the Dataflow monitoring UI.
-// "JOB_MESSAGE_ERROR" - The message is at the 'error' level:
+//
+// "JOB_MESSAGE_ERROR" - The message is at the 'error' level:
+//
// indicating a condition preventing a job from succeeding. Typically,
// Dataflow pipeline runners display log messages at this level by
// default, and these messages are displayed by default in the Dataflow
@@ -10787,10 +10839,10 @@ type ProjectsLocationsWorkerMessagesCall struct {
// WorkerMessages: Send a worker_message to the service.
//
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains the job.
-// - projectId: The project to send the WorkerMessages to.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains the job.
+// - projectId: The project to send the WorkerMessages to.
func (r *ProjectsLocationsService) WorkerMessages(projectId string, location string, sendworkermessagesrequest *SendWorkerMessagesRequest) *ProjectsLocationsWorkerMessagesCall {
c := &ProjectsLocationsWorkerMessagesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -10944,11 +10996,11 @@ type ProjectsLocationsFlexTemplatesLaunchCall struct {
// Launch: Launch a job with a FlexTemplate.
//
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// to which to direct the request. E.g., us-central1, us-west1.
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// to which to direct the request. E.g., us-central1, us-west1.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsLocationsFlexTemplatesService) Launch(projectId string, location string, launchflextemplaterequest *LaunchFlexTemplateRequest) *ProjectsLocationsFlexTemplatesLaunchCall {
c := &ProjectsLocationsFlexTemplatesLaunchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11107,11 +11159,11 @@ type ProjectsLocationsJobsCreateCall struct {
// always start in `us-central1`. Do not enter confidential information
// when you supply string values using the API.
//
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains this job.
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains this job.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsLocationsJobsService) Create(projectId string, location string, job *Job) *ProjectsLocationsJobsCreateCall {
c := &ProjectsLocationsJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11131,14 +11183,20 @@ func (c *ProjectsLocationsJobsCreateCall) ReplaceJobId(replaceJobId string) *Pro
// requested in response.
//
// Possible values:
-// "JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
+//
+// "JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
+//
// unknown. Responses will contain at least the `JOB_VIEW_SUMMARY`
// information, and may contain additional information.
-// "JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
+//
+// "JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
+//
// Job ID, job name, job type, job status, start/end time, and Cloud SDK
// version details.
-// "JOB_VIEW_ALL" - Request all information available for this job.
-// "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
+//
+// "JOB_VIEW_ALL" - Request all information available for this job.
+// "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
+//
// description data for steps, labels and environment.
func (c *ProjectsLocationsJobsCreateCall) View(view string) *ProjectsLocationsJobsCreateCall {
c.urlParams_.Set("view", view)
@@ -11318,12 +11376,12 @@ type ProjectsLocationsJobsGetCall struct {
// Using `projects.jobs.get` is not recommended, as you can only get the
// state of jobs that are running in `us-central1`.
//
-// - jobId: The job ID.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains this job.
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - jobId: The job ID.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains this job.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsLocationsJobsService) Get(projectId string, location string, jobId string) *ProjectsLocationsJobsGetCall {
c := &ProjectsLocationsJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11336,14 +11394,20 @@ func (r *ProjectsLocationsJobsService) Get(projectId string, location string, jo
// requested in response.
//
// Possible values:
-// "JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
+//
+// "JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
+//
// unknown. Responses will contain at least the `JOB_VIEW_SUMMARY`
// information, and may contain additional information.
-// "JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
+//
+// "JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
+//
// Job ID, job name, job type, job status, start/end time, and Cloud SDK
// version details.
-// "JOB_VIEW_ALL" - Request all information available for this job.
-// "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
+//
+// "JOB_VIEW_ALL" - Request all information available for this job.
+// "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
+//
// description data for steps, labels and environment.
func (c *ProjectsLocationsJobsGetCall) View(view string) *ProjectsLocationsJobsGetCall {
c.urlParams_.Set("view", view)
@@ -11528,11 +11592,11 @@ type ProjectsLocationsJobsGetExecutionDetailsCall struct {
// status of the job. EXPERIMENTAL. This API is subject to change or
// removal without notice.
//
-// - jobId: The job to get execution details for.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains the job specified by job_id.
-// - projectId: A project id.
+// - jobId: The job to get execution details for.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains the job specified by job_id.
+// - projectId: A project id.
func (r *ProjectsLocationsJobsService) GetExecutionDetails(projectId string, location string, jobId string) *ProjectsLocationsJobsGetExecutionDetailsCall {
c := &ProjectsLocationsJobsGetExecutionDetailsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11754,11 +11818,11 @@ type ProjectsLocationsJobsGetMetricsCall struct {
// Using `projects.jobs.getMetrics` is not recommended, as you can only
// request the status of jobs that are running in `us-central1`.
//
-// - jobId: The job to get metrics for.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains the job specified by job_id.
-// - projectId: A project id.
+// - jobId: The job to get metrics for.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains the job specified by job_id.
+// - projectId: A project id.
func (r *ProjectsLocationsJobsService) GetMetrics(projectId string, location string, jobId string) *ProjectsLocationsJobsGetMetricsCall {
c := &ProjectsLocationsJobsGetMetricsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11946,10 +12010,10 @@ type ProjectsLocationsJobsListCall struct {
// recommended, as you can only get the list of jobs that are running in
// `us-central1`.
//
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains this job.
-// - projectId: The project which owns the jobs.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains this job.
+// - projectId: The project which owns the jobs.
func (r *ProjectsLocationsJobsService) List(projectId string, location string) *ProjectsLocationsJobsListCall {
c := &ProjectsLocationsJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11961,15 +12025,23 @@ func (r *ProjectsLocationsJobsService) List(projectId string, location string) *
// use.
//
// Possible values:
-// "UNKNOWN" - The filter isn't specified, or is unknown. This returns
+//
+// "UNKNOWN" - The filter isn't specified, or is unknown. This returns
+//
// all jobs ordered on descending `JobUuid`.
-// "ALL" - Returns all running jobs first ordered on creation
+//
+// "ALL" - Returns all running jobs first ordered on creation
+//
// timestamp, then returns all terminated jobs ordered on the
// termination timestamp.
-// "TERMINATED" - Filters the jobs that have a terminated state,
+//
+// "TERMINATED" - Filters the jobs that have a terminated state,
+//
// ordered on the termination timestamp. Example terminated states:
// `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.
-// "ACTIVE" - Filters the jobs that are running ordered on the
+//
+// "ACTIVE" - Filters the jobs that are running ordered on the
+//
// creation timestamp.
func (c *ProjectsLocationsJobsListCall) Filter(filter string) *ProjectsLocationsJobsListCall {
c.urlParams_.Set("filter", filter)
@@ -11997,14 +12069,20 @@ func (c *ProjectsLocationsJobsListCall) PageToken(pageToken string) *ProjectsLoc
// returns summaries now. Use GetJob for other JobViews.
//
// Possible values:
-// "JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
+//
+// "JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
+//
// unknown. Responses will contain at least the `JOB_VIEW_SUMMARY`
// information, and may contain additional information.
-// "JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
+//
+// "JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
+//
// Job ID, job name, job type, job status, start/end time, and Cloud SDK
// version details.
-// "JOB_VIEW_ALL" - Request all information available for this job.
-// "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
+//
+// "JOB_VIEW_ALL" - Request all information available for this job.
+// "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
+//
// description data for steps, labels and environment.
func (c *ProjectsLocationsJobsListCall) View(view string) *ProjectsLocationsJobsListCall {
c.urlParams_.Set("view", view)
@@ -12399,12 +12477,12 @@ type ProjectsLocationsJobsUpdateCall struct {
// Using `projects.jobs.update` is not recommended, as you can only
// update the state of jobs that are running in `us-central1`.
//
-// - jobId: The job ID.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains this job.
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - jobId: The job ID.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains this job.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsLocationsJobsService) Update(projectId string, location string, jobId string, job *Job) *ProjectsLocationsJobsUpdateCall {
c := &ProjectsLocationsJobsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12569,11 +12647,11 @@ type ProjectsLocationsJobsDebugGetConfigCall struct {
// GetConfig: Get encoded debug configuration for component. Not
// cacheable.
//
-// - jobId: The job id.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains the job specified by job_id.
-// - projectId: The project id.
+// - jobId: The job id.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains the job specified by job_id.
+// - projectId: The project id.
func (r *ProjectsLocationsJobsDebugService) GetConfig(projectId string, location string, jobId string, getdebugconfigrequest *GetDebugConfigRequest) *ProjectsLocationsJobsDebugGetConfigCall {
c := &ProjectsLocationsJobsDebugGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12737,11 +12815,11 @@ type ProjectsLocationsJobsDebugSendCaptureCall struct {
// SendCapture: Send encoded debug capture data for component.
//
-// - jobId: The job id.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains the job specified by job_id.
-// - projectId: The project id.
+// - jobId: The job id.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains the job specified by job_id.
+// - projectId: The project id.
func (r *ProjectsLocationsJobsDebugService) SendCapture(projectId string, location string, jobId string, senddebugcapturerequest *SendDebugCaptureRequest) *ProjectsLocationsJobsDebugSendCaptureCall {
c := &ProjectsLocationsJobsDebugSendCaptureCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12910,11 +12988,11 @@ type ProjectsLocationsJobsMessagesListCall struct {
// Using `projects.jobs.messages.list` is not recommended, as you can
// only request the status of jobs that are running in `us-central1`.
//
-// - jobId: The job to get messages about.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains the job specified by job_id.
-// - projectId: A project id.
+// - jobId: The job to get messages about.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains the job specified by job_id.
+// - projectId: A project id.
func (r *ProjectsLocationsJobsMessagesService) List(projectId string, location string, jobId string) *ProjectsLocationsJobsMessagesListCall {
c := &ProjectsLocationsJobsMessagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12935,28 +13013,40 @@ func (c *ProjectsLocationsJobsMessagesListCall) EndTime(endTime string) *Project
// Filter to only get messages with importance >= level
//
// Possible values:
-// "JOB_MESSAGE_IMPORTANCE_UNKNOWN" - The message importance isn't
+//
+// "JOB_MESSAGE_IMPORTANCE_UNKNOWN" - The message importance isn't
+//
// specified, or is unknown.
-// "JOB_MESSAGE_DEBUG" - The message is at the 'debug' level:
+//
+// "JOB_MESSAGE_DEBUG" - The message is at the 'debug' level:
+//
// typically only useful for software engineers working on the code the
// job is running. Typically, Dataflow pipeline runners do not display
// log messages at this level by default.
-// "JOB_MESSAGE_DETAILED" - The message is at the 'detailed' level:
+//
+// "JOB_MESSAGE_DETAILED" - The message is at the 'detailed' level:
+//
// somewhat verbose, but potentially useful to users. Typically,
// Dataflow pipeline runners do not display log messages at this level
// by default. These messages are displayed by default in the Dataflow
// monitoring UI.
-// "JOB_MESSAGE_BASIC" - The message is at the 'basic' level: useful
+//
+// "JOB_MESSAGE_BASIC" - The message is at the 'basic' level: useful
+//
// for keeping track of the execution of a Dataflow pipeline. Typically,
// Dataflow pipeline runners display log messages at this level by
// default, and these messages are displayed by default in the Dataflow
// monitoring UI.
-// "JOB_MESSAGE_WARNING" - The message is at the 'warning' level:
+//
+// "JOB_MESSAGE_WARNING" - The message is at the 'warning' level:
+//
// indicating a condition pertaining to a job which may require human
// intervention. Typically, Dataflow pipeline runners display log
// messages at this level by default, and these messages are displayed
// by default in the Dataflow monitoring UI.
-// "JOB_MESSAGE_ERROR" - The message is at the 'error' level:
+//
+// "JOB_MESSAGE_ERROR" - The message is at the 'error' level:
+//
// indicating a condition preventing a job from succeeding. Typically,
// Dataflow pipeline runners display log messages at this level by
// default, and these messages are displayed by default in the Dataflow
@@ -13388,12 +13478,12 @@ type ProjectsLocationsJobsStagesGetExecutionDetailsCall struct {
// status of a stage of the job. EXPERIMENTAL. This API is subject to
// change or removal without notice.
//
-// - jobId: The job to get execution details for.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains the job specified by job_id.
-// - projectId: A project id.
-// - stageId: The stage for which to fetch information.
+// - jobId: The job to get execution details for.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains the job specified by job_id.
+// - projectId: A project id.
+// - stageId: The stage for which to fetch information.
func (r *ProjectsLocationsJobsStagesService) GetExecutionDetails(projectId string, location string, jobId string, stageId string) *ProjectsLocationsJobsStagesGetExecutionDetailsCall {
c := &ProjectsLocationsJobsStagesGetExecutionDetailsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -13645,11 +13735,11 @@ type ProjectsLocationsJobsWorkItemsLeaseCall struct {
// Lease: Leases a dataflow WorkItem to run.
//
-// - jobId: Identifies the workflow job this worker belongs to.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains the WorkItem's job.
-// - projectId: Identifies the project this worker belongs to.
+// - jobId: Identifies the workflow job this worker belongs to.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains the WorkItem's job.
+// - projectId: Identifies the project this worker belongs to.
func (r *ProjectsLocationsJobsWorkItemsService) Lease(projectId string, location string, jobId string, leaseworkitemrequest *LeaseWorkItemRequest) *ProjectsLocationsJobsWorkItemsLeaseCall {
c := &ProjectsLocationsJobsWorkItemsLeaseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -13814,11 +13904,11 @@ type ProjectsLocationsJobsWorkItemsReportStatusCall struct {
// ReportStatus: Reports the status of dataflow WorkItems leased by a
// worker.
//
-// - jobId: The job which the WorkItem is part of.
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// that contains the WorkItem's job.
-// - projectId: The project which owns the WorkItem's job.
+// - jobId: The job which the WorkItem is part of.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// that contains the WorkItem's job.
+// - projectId: The project which owns the WorkItem's job.
func (r *ProjectsLocationsJobsWorkItemsService) ReportStatus(projectId string, location string, jobId string, reportworkitemstatusrequest *ReportWorkItemStatusRequest) *ProjectsLocationsJobsWorkItemsReportStatusCall {
c := &ProjectsLocationsJobsWorkItemsReportStatusCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -13981,10 +14071,10 @@ type ProjectsLocationsSnapshotsDeleteCall struct {
// Delete: Deletes a snapshot.
//
-// - location: The location that contains this snapshot.
-// - projectId: The ID of the Cloud Platform project that the snapshot
-// belongs to.
-// - snapshotId: The ID of the snapshot.
+// - location: The location that contains this snapshot.
+// - projectId: The ID of the Cloud Platform project that the snapshot
+// belongs to.
+// - snapshotId: The ID of the snapshot.
func (r *ProjectsLocationsSnapshotsService) Delete(projectId string, location string, snapshotId string) *ProjectsLocationsSnapshotsDeleteCall {
c := &ProjectsLocationsSnapshotsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -14139,10 +14229,10 @@ type ProjectsLocationsSnapshotsGetCall struct {
// Get: Gets information about a snapshot.
//
-// - location: The location that contains this snapshot.
-// - projectId: The ID of the Cloud Platform project that the snapshot
-// belongs to.
-// - snapshotId: The ID of the snapshot.
+// - location: The location that contains this snapshot.
+// - projectId: The ID of the Cloud Platform project that the snapshot
+// belongs to.
+// - snapshotId: The ID of the snapshot.
func (r *ProjectsLocationsSnapshotsService) Get(projectId string, location string, snapshotId string) *ProjectsLocationsSnapshotsGetCall {
c := &ProjectsLocationsSnapshotsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -14483,11 +14573,11 @@ type ProjectsLocationsSqlValidateCall struct {
// up schema information from DataCatalog, will validate that the query
// analyzes properly as well.
//
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// to which to direct the request.
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// to which to direct the request.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsLocationsSqlService) Validate(projectId string, location string) *ProjectsLocationsSqlValidateCall {
c := &ProjectsLocationsSqlValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -14655,11 +14745,11 @@ type ProjectsLocationsTemplatesCreateCall struct {
// Create: Creates a Cloud Dataflow job from a template. Do not enter
// confidential information when you supply string values using the API.
//
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// to which to direct the request.
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// to which to direct the request.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsLocationsTemplatesService) Create(projectId string, location string, createjobfromtemplaterequest *CreateJobFromTemplateRequest) *ProjectsLocationsTemplatesCreateCall {
c := &ProjectsLocationsTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -14813,11 +14903,11 @@ type ProjectsLocationsTemplatesGetCall struct {
// Get: Get the template associated with a template.
//
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// to which to direct the request.
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// to which to direct the request.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsLocationsTemplatesService) Get(projectId string, location string) *ProjectsLocationsTemplatesGetCall {
c := &ProjectsLocationsTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -14837,7 +14927,9 @@ func (c *ProjectsLocationsTemplatesGetCall) GcsPath(gcsPath string) *ProjectsLoc
// Defaults to METADATA_ONLY.
//
// Possible values:
-// "METADATA_ONLY" - Template view that retrieves only the metadata
+//
+// "METADATA_ONLY" - Template view that retrieves only the metadata
+//
// associated with the template.
func (c *ProjectsLocationsTemplatesGetCall) View(view string) *ProjectsLocationsTemplatesGetCall {
c.urlParams_.Set("view", view)
@@ -15010,11 +15102,11 @@ type ProjectsLocationsTemplatesLaunchCall struct {
// Launch: Launch a template.
//
-// - location: The [regional endpoint]
-// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
-// to which to direct the request.
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - location: The [regional endpoint]
+// (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
+// to which to direct the request.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsLocationsTemplatesService) Launch(projectId string, location string, launchtemplateparameters *LaunchTemplateParameters) *ProjectsLocationsTemplatesLaunchCall {
c := &ProjectsLocationsTemplatesLaunchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -15221,9 +15313,9 @@ type ProjectsSnapshotsGetCall struct {
// Get: Gets information about a snapshot.
//
-// - projectId: The ID of the Cloud Platform project that the snapshot
-// belongs to.
-// - snapshotId: The ID of the snapshot.
+// - projectId: The ID of the Cloud Platform project that the snapshot
+// belongs to.
+// - snapshotId: The ID of the snapshot.
func (r *ProjectsSnapshotsService) Get(projectId string, snapshotId string) *ProjectsSnapshotsGetCall {
c := &ProjectsSnapshotsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -15565,8 +15657,8 @@ type ProjectsTemplatesCreateCall struct {
// Create: Creates a Cloud Dataflow job from a template. Do not enter
// confidential information when you supply string values using the API.
//
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsTemplatesService) Create(projectId string, createjobfromtemplaterequest *CreateJobFromTemplateRequest) *ProjectsTemplatesCreateCall {
c := &ProjectsTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -15710,8 +15802,8 @@ type ProjectsTemplatesGetCall struct {
// Get: Get the template associated with a template.
//
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsTemplatesService) Get(projectId string) *ProjectsTemplatesGetCall {
c := &ProjectsTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -15739,7 +15831,9 @@ func (c *ProjectsTemplatesGetCall) Location(location string) *ProjectsTemplatesG
// Defaults to METADATA_ONLY.
//
// Possible values:
-// "METADATA_ONLY" - Template view that retrieves only the metadata
+//
+// "METADATA_ONLY" - Template view that retrieves only the metadata
+//
// associated with the template.
func (c *ProjectsTemplatesGetCall) View(view string) *ProjectsTemplatesGetCall {
c.urlParams_.Set("view", view)
@@ -15908,8 +16002,8 @@ type ProjectsTemplatesLaunchCall struct {
// Launch: Launch a template.
//
-// - projectId: The ID of the Cloud Platform project that the job
-// belongs to.
+// - projectId: The ID of the Cloud Platform project that the job
+// belongs to.
func (r *ProjectsTemplatesService) Launch(projectId string, launchtemplateparameters *LaunchTemplateParameters) *ProjectsTemplatesLaunchCall {
c := &ProjectsTemplatesLaunchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
diff --git a/datafusion/v1/datafusion-gen.go b/datafusion/v1/datafusion-gen.go
index 76d90d9b0ee..0248f60ef5a 100644
--- a/datafusion/v1/datafusion-gen.go
+++ b/datafusion/v1/datafusion-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/data-fusion/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datafusion/v1"
-// ...
-// ctx := context.Background()
-// datafusionService, err := datafusion.NewService(ctx)
+// import "google.golang.org/api/datafusion/v1"
+// ...
+// ctx := context.Background()
+// datafusionService, err := datafusion.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datafusionService, err := datafusion.NewService(ctx, option.WithAPIKey("AIza..."))
+// datafusionService, err := datafusion.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datafusionService, err := datafusion.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datafusionService, err := datafusion.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datafusion // import "google.golang.org/api/datafusion/v1"
@@ -1660,8 +1660,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1882,8 +1882,8 @@ type ProjectsLocationsInstancesCreateCall struct {
// Create: Creates a new Data Fusion instance in the specified project
// and location.
//
-// - parent: The instance's project and location in the format
-// projects/{project}/locations/{location}.
+// - parent: The instance's project and location in the format
+// projects/{project}/locations/{location}.
func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall {
c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2036,8 +2036,8 @@ type ProjectsLocationsInstancesDeleteCall struct {
// Delete: Deletes a single Date Fusion instance.
//
-// - name: The instance resource name in the format
-// projects/{project}/locations/{location}/instances/{instance}.
+// - name: The instance resource name in the format
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2170,8 +2170,8 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets details of a single Data Fusion instance.
//
-// - name: The instance resource name in the format
-// projects/{project}/locations/{location}/instances/{instance}.
+// - name: The instance resource name in the format
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2319,10 +2319,10 @@ type ProjectsLocationsInstancesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesService) GetIamPolicy(resource string) *ProjectsLocationsInstancesGetIamPolicyCall {
c := &ProjectsLocationsInstancesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2493,11 +2493,11 @@ type ProjectsLocationsInstancesListCall struct {
// List: Lists Data Fusion instances in the specified project and
// location.
//
-// - parent: The project and location for which to retrieve instance
-// information in the format projects/{project}/locations/{location}.
-// If the location is specified as '-' (wildcard), then all regions
-// available to the project are queried, and the results are
-// aggregated.
+// - parent: The project and location for which to retrieve instance
+// information in the format projects/{project}/locations/{location}.
+// If the location is specified as '-' (wildcard), then all regions
+// available to the project are queried, and the results are
+// aggregated.
func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {
c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2713,8 +2713,8 @@ type ProjectsLocationsInstancesPatchCall struct {
// Patch: Updates a single Data Fusion instance.
//
-// - name: Output only. The name of this instance is in the form of
-// projects/{project}/locations/{location}/instances/{instance}.
+// - name: Output only. The name of this instance is in the form of
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall {
c := &ProjectsLocationsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2874,9 +2874,9 @@ type ProjectsLocationsInstancesRestartCall struct {
// Restart: Restart a single Data Fusion instance. At the end of an
// operation instance is fully restarted.
//
-// - name: Name of the Data Fusion instance which need to be restarted
-// in the form of
-// projects/{project}/locations/{location}/instances/{instance}.
+// - name: Name of the Data Fusion instance which need to be restarted
+// in the form of
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesService) Restart(name string, restartinstancerequest *RestartInstanceRequest) *ProjectsLocationsInstancesRestartCall {
c := &ProjectsLocationsInstancesRestartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3020,10 +3020,10 @@ type ProjectsLocationsInstancesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsInstancesSetIamPolicyCall {
c := &ProjectsLocationsInstancesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3170,10 +3170,10 @@ type ProjectsLocationsInstancesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsInstancesTestIamPermissionsCall {
c := &ProjectsLocationsInstancesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3468,9 +3468,9 @@ type ProjectsLocationsInstancesDnsPeeringsDeleteCall struct {
// Delete: Deletes DNS peering on the given resource.
//
-// - name: The name of the DNS peering zone to delete. Format:
-// projects/{project}/locations/{location}/instances/{instance}/dnsPeer
-// ings/{dns_peering}.
+// - name: The name of the DNS peering zone to delete. Format:
+// projects/{project}/locations/{location}/instances/{instance}/dnsPeer
+// ings/{dns_peering}.
func (r *ProjectsLocationsInstancesDnsPeeringsService) Delete(name string) *ProjectsLocationsInstancesDnsPeeringsDeleteCall {
c := &ProjectsLocationsInstancesDnsPeeringsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3603,9 +3603,9 @@ type ProjectsLocationsInstancesDnsPeeringsListCall struct {
// List: Lists DNS peerings for a given resource.
//
-// - parent: The parent, which owns this collection of dns peerings.
-// Format:
-// projects/{project}/locations/{location}/instances/{instance}.
+// - parent: The parent, which owns this collection of dns peerings.
+// Format:
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesDnsPeeringsService) List(parent string) *ProjectsLocationsInstancesDnsPeeringsListCall {
c := &ProjectsLocationsInstancesDnsPeeringsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4450,8 +4450,8 @@ type ProjectsLocationsVersionsListCall struct {
// List: Lists possible versions for Data Fusion instances in the
// specified project and location.
//
-// - parent: The project and location for which to retrieve instance
-// information in the format projects/{project}/locations/{location}.
+// - parent: The project and location for which to retrieve instance
+// information in the format projects/{project}/locations/{location}.
func (r *ProjectsLocationsVersionsService) List(parent string) *ProjectsLocationsVersionsListCall {
c := &ProjectsLocationsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/datafusion/v1beta1/datafusion-gen.go b/datafusion/v1beta1/datafusion-gen.go
index 987a970950b..0aa7da73783 100644
--- a/datafusion/v1beta1/datafusion-gen.go
+++ b/datafusion/v1beta1/datafusion-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/data-fusion/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datafusion/v1beta1"
-// ...
-// ctx := context.Background()
-// datafusionService, err := datafusion.NewService(ctx)
+// import "google.golang.org/api/datafusion/v1beta1"
+// ...
+// ctx := context.Background()
+// datafusionService, err := datafusion.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datafusionService, err := datafusion.NewService(ctx, option.WithAPIKey("AIza..."))
+// datafusionService, err := datafusion.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datafusionService, err := datafusion.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datafusionService, err := datafusion.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datafusion // import "google.golang.org/api/datafusion/v1beta1"
@@ -1763,8 +1763,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1985,8 +1985,8 @@ type ProjectsLocationsRemoveIamPolicyCall struct {
// RemoveIamPolicy: Remove IAM policy that is currently set on the given
// resource.
//
-// - resource: The resource on which IAM policy to be removed is
-// attached to.
+// - resource: The resource on which IAM policy to be removed is
+// attached to.
func (r *ProjectsLocationsService) RemoveIamPolicy(resource string, removeiampolicyrequest *RemoveIamPolicyRequest) *ProjectsLocationsRemoveIamPolicyCall {
c := &ProjectsLocationsRemoveIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2129,8 +2129,8 @@ type ProjectsLocationsInstancesCreateCall struct {
// Create: Creates a new Data Fusion instance in the specified project
// and location.
//
-// - parent: The instance's project and location in the format
-// projects/{project}/locations/{location}.
+// - parent: The instance's project and location in the format
+// projects/{project}/locations/{location}.
func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall {
c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2283,8 +2283,8 @@ type ProjectsLocationsInstancesDeleteCall struct {
// Delete: Deletes a single Data Fusion instance.
//
-// - name: The instance resource name in the format
-// projects/{project}/locations/{location}/instances/{instance}.
+// - name: The instance resource name in the format
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2417,8 +2417,8 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets details of a single Data Fusion instance.
//
-// - name: The instance resource name in the format
-// projects/{project}/locations/{location}/instances/{instance}.
+// - name: The instance resource name in the format
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2566,10 +2566,10 @@ type ProjectsLocationsInstancesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesService) GetIamPolicy(resource string) *ProjectsLocationsInstancesGetIamPolicyCall {
c := &ProjectsLocationsInstancesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2740,11 +2740,11 @@ type ProjectsLocationsInstancesListCall struct {
// List: Lists Data Fusion instances in the specified project and
// location.
//
-// - parent: The project and location for which to retrieve instance
-// information in the format projects/{project}/locations/{location}.
-// If the location is specified as '-' (wildcard), then all regions
-// available to the project are queried, and the results are
-// aggregated.
+// - parent: The project and location for which to retrieve instance
+// information in the format projects/{project}/locations/{location}.
+// If the location is specified as '-' (wildcard), then all regions
+// available to the project are queried, and the results are
+// aggregated.
func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {
c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2960,8 +2960,8 @@ type ProjectsLocationsInstancesPatchCall struct {
// Patch: Updates a single Data Fusion instance.
//
-// - name: Output only. The name of this instance is in the form of
-// projects/{project}/locations/{location}/instances/{instance}.
+// - name: Output only. The name of this instance is in the form of
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall {
c := &ProjectsLocationsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3122,9 +3122,9 @@ type ProjectsLocationsInstancesRestartCall struct {
// Restart: Restart a single Data Fusion instance. At the end of an
// operation instance is fully restarted.
//
-// - name: Name of the Data Fusion instance which need to be restarted
-// in the form of
-// projects/{project}/locations/{location}/instances/{instance}.
+// - name: Name of the Data Fusion instance which need to be restarted
+// in the form of
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesService) Restart(name string, restartinstancerequest *RestartInstanceRequest) *ProjectsLocationsInstancesRestartCall {
c := &ProjectsLocationsInstancesRestartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3268,10 +3268,10 @@ type ProjectsLocationsInstancesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsInstancesSetIamPolicyCall {
c := &ProjectsLocationsInstancesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3418,10 +3418,10 @@ type ProjectsLocationsInstancesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsInstancesTestIamPermissionsCall {
c := &ProjectsLocationsInstancesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3564,11 +3564,11 @@ type ProjectsLocationsInstancesUpgradeCall struct {
// Upgrade: Upgrade a single Data Fusion instance. At the end of an
// operation instance is fully upgraded.
//
-// - name: Name of the Data Fusion instance which need to be upgraded in
-// the form of
-// projects/{project}/locations/{location}/instances/{instance}
-// Instance will be upgraded with the latest stable version of the
-// Data Fusion.
+// - name: Name of the Data Fusion instance which need to be upgraded in
+// the form of
+// projects/{project}/locations/{location}/instances/{instance}
+// Instance will be upgraded with the latest stable version of the
+// Data Fusion.
func (r *ProjectsLocationsInstancesService) Upgrade(name string, upgradeinstancerequest *UpgradeInstanceRequest) *ProjectsLocationsInstancesUpgradeCall {
c := &ProjectsLocationsInstancesUpgradeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3863,9 +3863,9 @@ type ProjectsLocationsInstancesDnsPeeringsDeleteCall struct {
// Delete: Deletes DNS peering on the given resource.
//
-// - name: The name of the DNS peering zone to delete. Format:
-// projects/{project}/locations/{location}/instances/{instance}/dnsPeer
-// ings/{dns_peering}.
+// - name: The name of the DNS peering zone to delete. Format:
+// projects/{project}/locations/{location}/instances/{instance}/dnsPeer
+// ings/{dns_peering}.
func (r *ProjectsLocationsInstancesDnsPeeringsService) Delete(name string) *ProjectsLocationsInstancesDnsPeeringsDeleteCall {
c := &ProjectsLocationsInstancesDnsPeeringsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3998,9 +3998,9 @@ type ProjectsLocationsInstancesDnsPeeringsListCall struct {
// List: Lists DNS peerings for a given resource.
//
-// - parent: The parent, which owns this collection of dns peerings.
-// Format:
-// projects/{project}/locations/{location}/instances/{instance}.
+// - parent: The parent, which owns this collection of dns peerings.
+// Format:
+// projects/{project}/locations/{location}/instances/{instance}.
func (r *ProjectsLocationsInstancesDnsPeeringsService) List(parent string) *ProjectsLocationsInstancesDnsPeeringsListCall {
c := &ProjectsLocationsInstancesDnsPeeringsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4199,10 +4199,10 @@ type ProjectsLocationsInstancesNamespacesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesNamespacesService) GetIamPolicy(resource string) *ProjectsLocationsInstancesNamespacesGetIamPolicyCall {
c := &ProjectsLocationsInstancesNamespacesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4400,11 +4400,16 @@ func (c *ProjectsLocationsInstancesNamespacesListCall) PageToken(pageToken strin
// with a namespace gets returned (e.g. IAM policy set on the namespace)
//
// Possible values:
-// "NAMESPACE_VIEW_UNSPECIFIED" - Default/unset value, which will use
+//
+// "NAMESPACE_VIEW_UNSPECIFIED" - Default/unset value, which will use
+//
// BASIC view.
-// "NAMESPACE_VIEW_BASIC" - Show the most basic metadata of a
+//
+// "NAMESPACE_VIEW_BASIC" - Show the most basic metadata of a
+//
// namespace
-// "NAMESPACE_VIEW_FULL" - Returns all metadata of a namespace
+//
+// "NAMESPACE_VIEW_FULL" - Returns all metadata of a namespace
func (c *ProjectsLocationsInstancesNamespacesListCall) View(view string) *ProjectsLocationsInstancesNamespacesListCall {
c.urlParams_.Set("view", view)
return c
@@ -4598,10 +4603,10 @@ type ProjectsLocationsInstancesNamespacesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesNamespacesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsInstancesNamespacesSetIamPolicyCall {
c := &ProjectsLocationsInstancesNamespacesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4748,10 +4753,10 @@ type ProjectsLocationsInstancesNamespacesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesNamespacesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsInstancesNamespacesTestIamPermissionsCall {
c := &ProjectsLocationsInstancesNamespacesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5541,8 +5546,8 @@ type ProjectsLocationsVersionsListCall struct {
// List: Lists possible versions for Data Fusion instances in the
// specified project and location.
//
-// - parent: The project and location for which to retrieve instance
-// information in the format projects/{project}/locations/{location}.
+// - parent: The project and location for which to retrieve instance
+// information in the format projects/{project}/locations/{location}.
func (r *ProjectsLocationsVersionsService) List(parent string) *ProjectsLocationsVersionsListCall {
c := &ProjectsLocationsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/datalabeling/v1beta1/datalabeling-gen.go b/datalabeling/v1beta1/datalabeling-gen.go
index 66932d19ef3..544da3a537d 100644
--- a/datalabeling/v1beta1/datalabeling-gen.go
+++ b/datalabeling/v1beta1/datalabeling-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/data-labeling/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datalabeling/v1beta1"
-// ...
-// ctx := context.Background()
-// datalabelingService, err := datalabeling.NewService(ctx)
+// import "google.golang.org/api/datalabeling/v1beta1"
+// ...
+// ctx := context.Background()
+// datalabelingService, err := datalabeling.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datalabelingService, err := datalabeling.NewService(ctx, option.WithAPIKey("AIza..."))
+// datalabelingService, err := datalabeling.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datalabelingService, err := datalabeling.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datalabelingService, err := datalabeling.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datalabeling // import "google.golang.org/api/datalabeling/v1beta1"
@@ -689,7 +689,8 @@ func (s *GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse) MarshalJSON
}
// GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata:
-// Details of a LabelImageBoundingBox operation metadata.
+//
+// Details of a LabelImageBoundingBox operation metadata.
type GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata struct {
// BasicConfig: Basic human annotation config used in labeling request.
BasicConfig *GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig `json:"basicConfig,omitempty"`
@@ -3892,7 +3893,8 @@ func (s *GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata) M
}
// GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata:
-// Details of LabelImageBoundingPoly operation metadata.
+//
+// Details of LabelImageBoundingPoly operation metadata.
type GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata struct {
// BasicConfig: Basic human annotation config used in labeling request.
BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"`
@@ -4076,7 +4078,8 @@ func (s *GoogleCloudDatalabelingV1beta1LabelImageRequest) MarshalJSON() ([]byte,
}
// GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata:
-// Details of a LabelImageSegmentation operation metadata.
+//
+// Details of a LabelImageSegmentation operation metadata.
type GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata struct {
// BasicConfig: Basic human annotation config.
BasicConfig *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig `json:"basicConfig,omitempty"`
@@ -8005,8 +8008,8 @@ type ProjectsAnnotationSpecSetsCreateCall struct {
// Create: Creates an annotation spec set by providing a set of labels.
//
-// - parent: AnnotationSpecSet resource parent, format:
-// projects/{project_id}.
+// - parent: AnnotationSpecSet resource parent, format:
+// projects/{project_id}.
func (r *ProjectsAnnotationSpecSetsService) Create(parent string, googleclouddatalabelingv1beta1createannotationspecsetrequest *GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest) *ProjectsAnnotationSpecSetsCreateCall {
c := &ProjectsAnnotationSpecSetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8072,7 +8075,9 @@ func (c *ProjectsAnnotationSpecSetsCreateCall) doRequest(alt string) (*http.Resp
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDatalabelingV1beta1AnnotationSpecSet.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -8149,8 +8154,8 @@ type ProjectsAnnotationSpecSetsDeleteCall struct {
// Delete: Deletes an annotation spec set by resource name.
//
-// - name: AnnotationSpec resource name, format:
-// `projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}`.
+// - name: AnnotationSpec resource name, format:
+// `projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}`.
func (r *ProjectsAnnotationSpecSetsService) Delete(name string) *ProjectsAnnotationSpecSetsDeleteCall {
c := &ProjectsAnnotationSpecSetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8283,8 +8288,8 @@ type ProjectsAnnotationSpecSetsGetCall struct {
// Get: Gets an annotation spec set by resource name.
//
-// - name: AnnotationSpecSet resource name, format:
-// projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}.
+// - name: AnnotationSpecSet resource name, format:
+// projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}.
func (r *ProjectsAnnotationSpecSetsService) Get(name string) *ProjectsAnnotationSpecSetsGetCall {
c := &ProjectsAnnotationSpecSetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8357,7 +8362,9 @@ func (c *ProjectsAnnotationSpecSetsGetCall) doRequest(alt string) (*http.Respons
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDatalabelingV1beta1AnnotationSpecSet.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -8433,8 +8440,8 @@ type ProjectsAnnotationSpecSetsListCall struct {
// List: Lists annotation spec sets for a project. Pagination is
// supported.
//
-// - parent: Parent of AnnotationSpecSet resource, format:
-// projects/{project_id}.
+// - parent: Parent of AnnotationSpecSet resource, format:
+// projects/{project_id}.
func (r *ProjectsAnnotationSpecSetsService) List(parent string) *ProjectsAnnotationSpecSetsListCall {
c := &ProjectsAnnotationSpecSetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8786,8 +8793,8 @@ type ProjectsDatasetsDeleteCall struct {
// Delete: Deletes a dataset by resource name.
//
-// - name: Dataset resource name, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - name: Dataset resource name, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsService) Delete(name string) *ProjectsDatasetsDeleteCall {
c := &ProjectsDatasetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8920,8 +8927,8 @@ type ProjectsDatasetsExportDataCall struct {
// ExportData: Exports data and annotations from dataset.
//
-// - name: Dataset resource name, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - name: Dataset resource name, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsService) ExportData(name string, googleclouddatalabelingv1beta1exportdatarequest *GoogleCloudDatalabelingV1beta1ExportDataRequest) *ProjectsDatasetsExportDataCall {
c := &ProjectsDatasetsExportDataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9063,8 +9070,8 @@ type ProjectsDatasetsGetCall struct {
// Get: Gets dataset by resource name.
//
-// - name: Dataset resource name, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - name: Dataset resource name, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsService) Get(name string) *ProjectsDatasetsGetCall {
c := &ProjectsDatasetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9216,8 +9223,8 @@ type ProjectsDatasetsImportDataCall struct {
// operation) can be started while importing is still ongoing. Vice
// versa.
//
-// - name: Dataset resource name, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - name: Dataset resource name, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsService) ImportData(name string, googleclouddatalabelingv1beta1importdatarequest *GoogleCloudDatalabelingV1beta1ImportDataRequest) *ProjectsDatasetsImportDataCall {
c := &ProjectsDatasetsImportDataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9567,9 +9574,9 @@ type ProjectsDatasetsAnnotatedDatasetsDeleteCall struct {
// Delete: Deletes an annotated dataset by resource name.
//
-// - name: Name of the annotated dataset to delete, format:
-// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
-// {annotated_dataset_id}.
+// - name: Name of the annotated dataset to delete, format:
+// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
+// {annotated_dataset_id}.
func (r *ProjectsDatasetsAnnotatedDatasetsService) Delete(name string) *ProjectsDatasetsAnnotatedDatasetsDeleteCall {
c := &ProjectsDatasetsAnnotatedDatasetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9702,9 +9709,9 @@ type ProjectsDatasetsAnnotatedDatasetsGetCall struct {
// Get: Gets an annotated dataset by resource name.
//
-// - name: Name of the annotated dataset to get, format:
-// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
-// {annotated_dataset_id}.
+// - name: Name of the annotated dataset to get, format:
+// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
+// {annotated_dataset_id}.
func (r *ProjectsDatasetsAnnotatedDatasetsService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsGetCall {
c := &ProjectsDatasetsAnnotatedDatasetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9853,8 +9860,8 @@ type ProjectsDatasetsAnnotatedDatasetsListCall struct {
// List: Lists annotated datasets for a dataset. Pagination is
// supported.
//
-// - parent: Name of the dataset to list annotated datasets, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - parent: Name of the dataset to list annotated datasets, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsAnnotatedDatasetsService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsListCall {
c := &ProjectsDatasetsAnnotatedDatasetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10065,8 +10072,8 @@ type ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall struct {
// Get: Gets a data item in a dataset by resource name. This API can be
// called after data are imported into dataset.
//
-// - name: The name of the data item to get, format:
-// projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}.
+// - name: The name of the data item to get, format:
+// projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}.
func (r *ProjectsDatasetsAnnotatedDatasetsDataItemsService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall {
c := &ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10214,8 +10221,8 @@ type ProjectsDatasetsAnnotatedDatasetsDataItemsListCall struct {
// List: Lists data items in a dataset. This API can be called after
// data are imported into dataset. Pagination is supported.
//
-// - parent: Name of the dataset to list data items, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - parent: Name of the dataset to list data items, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsAnnotatedDatasetsDataItemsService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall {
c := &ProjectsDatasetsAnnotatedDatasetsDataItemsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10424,9 +10431,9 @@ type ProjectsDatasetsAnnotatedDatasetsExamplesGetCall struct {
// Get: Gets an example by resource name, including both data and
// annotation.
//
-// - name: Name of example, format:
-// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
-// {annotated_dataset_id}/examples/{example_id}.
+// - name: Name of example, format:
+// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
+// {annotated_dataset_id}/examples/{example_id}.
func (r *ProjectsDatasetsAnnotatedDatasetsExamplesService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall {
c := &ProjectsDatasetsAnnotatedDatasetsExamplesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10796,10 +10803,10 @@ type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall struct {
// Delete: Delete a FeedbackThread.
//
-// - name: Name of the FeedbackThread that is going to be deleted.
-// Format:
-// 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
-// tated_dataset_id}/feedbackThreads/{feedback_thread_id}'.
+// - name: Name of the FeedbackThread that is going to be deleted.
+// Format:
+// 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
+// tated_dataset_id}/feedbackThreads/{feedback_thread_id}'.
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) Delete(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall {
c := &ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10932,9 +10939,9 @@ type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall struct {
// Get: Get a FeedbackThread object.
//
-// - name: Name of the feedback. Format:
-// 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
-// tated_dataset_id}/feedbackThreads/{feedback_thread_id}'.
+// - name: Name of the feedback. Format:
+// 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
+// tated_dataset_id}/feedbackThreads/{feedback_thread_id}'.
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall {
c := &ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11082,9 +11089,9 @@ type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall struct {
// List: List FeedbackThreads with pagination.
//
-// - parent: FeedbackThread resource parent. Format:
-// "projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
-// tated_dataset_id}".
+// - parent: FeedbackThread resource parent. Format:
+// "projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
+// tated_dataset_id}".
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall {
c := &ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11282,9 +11289,9 @@ type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall
// Create: Create a FeedbackMessage object.
//
-// - parent: FeedbackMessage resource parent, format:
-// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annot
-// ated_dataset_id}/feedbackThreads/{feedback_thread_id}.
+// - parent: FeedbackMessage resource parent, format:
+// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annot
+// ated_dataset_id}/feedbackThreads/{feedback_thread_id}.
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Create(parent string, googleclouddatalabelingv1beta1feedbackmessage *GoogleCloudDatalabelingV1beta1FeedbackMessage) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall {
c := &ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11425,11 +11432,11 @@ type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall
// Delete: Delete a FeedbackMessage.
//
-// - name: Name of the FeedbackMessage that is going to be deleted.
-// Format:
-// 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
-// tated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessa
-// ges/{feedback_message_id}'.
+// - name: Name of the FeedbackMessage that is going to be deleted.
+// Format:
+// 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
+// tated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessa
+// ges/{feedback_message_id}'.
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Delete(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall {
c := &ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11562,10 +11569,10 @@ type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall str
// Get: Get a FeedbackMessage object.
//
-// - name: Name of the feedback. Format:
-// 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
-// tated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessa
-// ges/{feedback_message_id}'.
+// - name: Name of the feedback. Format:
+// 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
+// tated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessa
+// ges/{feedback_message_id}'.
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) Get(name string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall {
c := &ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11713,9 +11720,9 @@ type ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall st
// List: List FeedbackMessages with pagination.
//
-// - parent: FeedbackMessage resource parent. Format:
-// "projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
-// tated_dataset_id}/feedbackThreads/{feedback_thread_id}".
+// - parent: FeedbackMessage resource parent. Format:
+// "projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{anno
+// tated_dataset_id}/feedbackThreads/{feedback_thread_id}".
func (r *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesService) List(parent string) *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall {
c := &ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11914,8 +11921,8 @@ type ProjectsDatasetsDataItemsGetCall struct {
// Get: Gets a data item in a dataset by resource name. This API can be
// called after data are imported into dataset.
//
-// - name: The name of the data item to get, format:
-// projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}.
+// - name: The name of the data item to get, format:
+// projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}.
func (r *ProjectsDatasetsDataItemsService) Get(name string) *ProjectsDatasetsDataItemsGetCall {
c := &ProjectsDatasetsDataItemsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12063,8 +12070,8 @@ type ProjectsDatasetsDataItemsListCall struct {
// List: Lists data items in a dataset. This API can be called after
// data are imported into dataset. Pagination is supported.
//
-// - parent: Name of the dataset to list data items, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - parent: Name of the dataset to list data items, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsDataItemsService) List(parent string) *ProjectsDatasetsDataItemsListCall {
c := &ProjectsDatasetsDataItemsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12273,9 +12280,9 @@ type ProjectsDatasetsEvaluationsGetCall struct {
// Get: Gets an evaluation by resource name (to search, use
// projects.evaluations.search).
//
-// - name: Name of the evaluation. Format:
-// "projects/{project_id}/datasets/
-// {dataset_id}/evaluations/{evaluation_id}'.
+// - name: Name of the evaluation. Format:
+// "projects/{project_id}/datasets/
+// {dataset_id}/evaluations/{evaluation_id}'.
func (r *ProjectsDatasetsEvaluationsService) Get(name string) *ProjectsDatasetsEvaluationsGetCall {
c := &ProjectsDatasetsEvaluationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12426,10 +12433,10 @@ type ProjectsDatasetsEvaluationsExampleComparisonsSearchCall struct {
// prediction(s) for a single input. Search by providing an evaluation
// ID.
//
-// - parent: Name of the Evaluation resource to search for example
-// comparisons from. Format:
-// "projects/{project_id}/datasets/{dataset_id}/evaluations/
-// {evaluation_id}".
+// - parent: Name of the Evaluation resource to search for example
+// comparisons from. Format:
+// "projects/{project_id}/datasets/{dataset_id}/evaluations/
+// {evaluation_id}".
func (r *ProjectsDatasetsEvaluationsExampleComparisonsService) Search(parent string, googleclouddatalabelingv1beta1searchexamplecomparisonsrequest *GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest) *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall {
c := &ProjectsDatasetsEvaluationsExampleComparisonsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12596,8 +12603,8 @@ type ProjectsDatasetsImageLabelCall struct {
// Label: Starts a labeling task for image. The type of image labeling
// task is configured by feature in the request.
//
-// - parent: Name of the dataset to request labeling task, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - parent: Name of the dataset to request labeling task, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsImageService) Label(parent string, googleclouddatalabelingv1beta1labelimagerequest *GoogleCloudDatalabelingV1beta1LabelImageRequest) *ProjectsDatasetsImageLabelCall {
c := &ProjectsDatasetsImageLabelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12740,8 +12747,8 @@ type ProjectsDatasetsTextLabelCall struct {
// Label: Starts a labeling task for text. The type of text labeling
// task is configured by feature in the request.
//
-// - parent: Name of the data set to request labeling task, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - parent: Name of the data set to request labeling task, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsTextService) Label(parent string, googleclouddatalabelingv1beta1labeltextrequest *GoogleCloudDatalabelingV1beta1LabelTextRequest) *ProjectsDatasetsTextLabelCall {
c := &ProjectsDatasetsTextLabelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12884,8 +12891,8 @@ type ProjectsDatasetsVideoLabelCall struct {
// Label: Starts a labeling task for video. The type of video labeling
// task is configured by feature in the request.
//
-// - parent: Name of the dataset to request labeling task, format:
-// projects/{project_id}/datasets/{dataset_id}.
+// - parent: Name of the dataset to request labeling task, format:
+// projects/{project_id}/datasets/{dataset_id}.
func (r *ProjectsDatasetsVideoService) Label(parent string, googleclouddatalabelingv1beta1labelvideorequest *GoogleCloudDatalabelingV1beta1LabelVideoRequest) *ProjectsDatasetsVideoLabelCall {
c := &ProjectsDatasetsVideoLabelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13027,8 +13034,8 @@ type ProjectsEvaluationJobsCreateCall struct {
// Create: Creates an evaluation job.
//
-// - parent: Evaluation job resource parent. Format:
-// "projects/{project_id}".
+// - parent: Evaluation job resource parent. Format:
+// "projects/{project_id}".
func (r *ProjectsEvaluationJobsService) Create(parent string, googleclouddatalabelingv1beta1createevaluationjobrequest *GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest) *ProjectsEvaluationJobsCreateCall {
c := &ProjectsEvaluationJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13171,8 +13178,8 @@ type ProjectsEvaluationJobsDeleteCall struct {
// Delete: Stops and deletes an evaluation job.
//
-// - name: Name of the evaluation job that is going to be deleted.
-// Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}".
+// - name: Name of the evaluation job that is going to be deleted.
+// Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}".
func (r *ProjectsEvaluationJobsService) Delete(name string) *ProjectsEvaluationJobsDeleteCall {
c := &ProjectsEvaluationJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13305,8 +13312,8 @@ type ProjectsEvaluationJobsGetCall struct {
// Get: Gets an evaluation job by resource name.
//
-// - name: Name of the evaluation job. Format: "projects/{project_id}
-// /evaluationJobs/{evaluation_job_id}".
+// - name: Name of the evaluation job. Format: "projects/{project_id}
+// /evaluationJobs/{evaluation_job_id}".
func (r *ProjectsEvaluationJobsService) Get(name string) *ProjectsEvaluationJobsGetCall {
c := &ProjectsEvaluationJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13455,8 +13462,8 @@ type ProjectsEvaluationJobsListCall struct {
// List: Lists all evaluation jobs within a project with possible
// filters. Pagination is supported.
//
-// - parent: Evaluation job resource parent. Format:
-// "projects/{project_id}".
+// - parent: Evaluation job resource parent. Format:
+// "projects/{project_id}".
func (r *ProjectsEvaluationJobsService) List(parent string) *ProjectsEvaluationJobsListCall {
c := &ProjectsEvaluationJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13674,9 +13681,9 @@ type ProjectsEvaluationJobsPatchCall struct {
// `exampleSamplePercentage`. If you want to change any other aspect of
// the evaluation job, you must delete the job and create a new one.
//
-// - name: Output only. After you create a job, Data Labeling Service
-// assigns a name to the job with the following format:
-// "projects/{project_id}/evaluationJobs/ {evaluation_job_id}".
+// - name: Output only. After you create a job, Data Labeling Service
+// assigns a name to the job with the following format:
+// "projects/{project_id}/evaluationJobs/ {evaluation_job_id}".
func (r *ProjectsEvaluationJobsService) Patch(name string, googleclouddatalabelingv1beta1evaluationjob *GoogleCloudDatalabelingV1beta1EvaluationJob) *ProjectsEvaluationJobsPatchCall {
c := &ProjectsEvaluationJobsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13838,8 +13845,8 @@ type ProjectsEvaluationJobsPauseCall struct {
// Pause: Pauses an evaluation job. Pausing an evaluation job that is
// already in a `PAUSED` state is a no-op.
//
-// - name: Name of the evaluation job that is going to be paused.
-// Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}".
+// - name: Name of the evaluation job that is going to be paused.
+// Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}".
func (r *ProjectsEvaluationJobsService) Pause(name string, googleclouddatalabelingv1beta1pauseevaluationjobrequest *GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest) *ProjectsEvaluationJobsPauseCall {
c := &ProjectsEvaluationJobsPauseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13983,8 +13990,8 @@ type ProjectsEvaluationJobsResumeCall struct {
// can't be resumed. Resuming a running or scheduled evaluation job is a
// no-op.
//
-// - name: Name of the evaluation job that is going to be resumed.
-// Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}".
+// - name: Name of the evaluation job that is going to be resumed.
+// Format: "projects/{project_id}/evaluationJobs/{evaluation_job_id}".
func (r *ProjectsEvaluationJobsService) Resume(name string, googleclouddatalabelingv1beta1resumeevaluationjobrequest *GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest) *ProjectsEvaluationJobsResumeCall {
c := &ProjectsEvaluationJobsResumeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14126,8 +14133,8 @@ type ProjectsEvaluationsSearchCall struct {
// Search: Searches evaluations within a project.
//
-// - parent: Evaluation search parent (project ID). Format: "projects/
-// {project_id}".
+// - parent: Evaluation search parent (project ID). Format: "projects/
+// {project_id}".
func (r *ProjectsEvaluationsService) Search(parent string) *ProjectsEvaluationsSearchCall {
c := &ProjectsEvaluationsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14494,8 +14501,8 @@ type ProjectsInstructionsDeleteCall struct {
// Delete: Deletes an instruction object by resource name.
//
-// - name: Instruction resource name, format:
-// projects/{project_id}/instructions/{instruction_id}.
+// - name: Instruction resource name, format:
+// projects/{project_id}/instructions/{instruction_id}.
func (r *ProjectsInstructionsService) Delete(name string) *ProjectsInstructionsDeleteCall {
c := &ProjectsInstructionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14628,8 +14635,8 @@ type ProjectsInstructionsGetCall struct {
// Get: Gets an instruction by resource name.
//
-// - name: Instruction resource name, format:
-// projects/{project_id}/instructions/{instruction_id}.
+// - name: Instruction resource name, format:
+// projects/{project_id}/instructions/{instruction_id}.
func (r *ProjectsInstructionsService) Get(name string) *ProjectsInstructionsGetCall {
c := &ProjectsInstructionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/datamigration/v1/datamigration-gen.go b/datamigration/v1/datamigration-gen.go
index 55a98ddb2e0..1e5ae658c1f 100644
--- a/datamigration/v1/datamigration-gen.go
+++ b/datamigration/v1/datamigration-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/database-migration/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datamigration/v1"
-// ...
-// ctx := context.Background()
-// datamigrationService, err := datamigration.NewService(ctx)
+// import "google.golang.org/api/datamigration/v1"
+// ...
+// ctx := context.Background()
+// datamigrationService, err := datamigration.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datamigrationService, err := datamigration.NewService(ctx, option.WithAPIKey("AIza..."))
+// datamigrationService, err := datamigration.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datamigrationService, err := datamigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datamigrationService, err := datamigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datamigration // import "google.golang.org/api/datamigration/v1"
@@ -2253,8 +2253,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2462,8 +2462,8 @@ type ProjectsLocationsConnectionProfilesCreateCall struct {
// Create: Creates a new connection profile in a given project and
// location.
//
-// - parent: The parent, which owns this collection of connection
-// profiles.
+// - parent: The parent, which owns this collection of connection
+// profiles.
func (r *ProjectsLocationsConnectionProfilesService) Create(parent string, connectionprofile *ConnectionProfile) *ProjectsLocationsConnectionProfilesCreateCall {
c := &ProjectsLocationsConnectionProfilesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2944,10 +2944,10 @@ type ProjectsLocationsConnectionProfilesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsConnectionProfilesService) GetIamPolicy(resource string) *ProjectsLocationsConnectionProfilesGetIamPolicyCall {
c := &ProjectsLocationsConnectionProfilesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3118,8 +3118,8 @@ type ProjectsLocationsConnectionProfilesListCall struct {
// List: Retrieves a list of all connection profiles in a given project
// and location.
//
-// - parent: The parent, which owns this collection of connection
-// profiles.
+// - parent: The parent, which owns this collection of connection
+// profiles.
func (r *ProjectsLocationsConnectionProfilesService) List(parent string) *ProjectsLocationsConnectionProfilesListCall {
c := &ProjectsLocationsConnectionProfilesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3349,9 +3349,9 @@ type ProjectsLocationsConnectionProfilesPatchCall struct {
// Patch: Update the configuration of a single connection profile.
//
-// - name: The name of this connection profile resource in the form of
-// projects/{project}/locations/{location}/connectionProfiles/{connecti
-// onProfile}.
+// - name: The name of this connection profile resource in the form of
+// projects/{project}/locations/{location}/connectionProfiles/{connecti
+// onProfile}.
func (r *ProjectsLocationsConnectionProfilesService) Patch(name string, connectionprofile *ConnectionProfile) *ProjectsLocationsConnectionProfilesPatchCall {
c := &ProjectsLocationsConnectionProfilesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3525,10 +3525,10 @@ type ProjectsLocationsConnectionProfilesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsConnectionProfilesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsConnectionProfilesSetIamPolicyCall {
c := &ProjectsLocationsConnectionProfilesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3675,10 +3675,10 @@ type ProjectsLocationsConnectionProfilesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsConnectionProfilesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsConnectionProfilesTestIamPermissionsCall {
c := &ProjectsLocationsConnectionProfilesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4153,8 +4153,8 @@ type ProjectsLocationsMigrationJobsGenerateSshScriptCall struct {
// GenerateSshScript: Generate a SSH configuration script to configure
// the reverse SSH connectivity.
//
-// - migrationJob: Name of the migration job resource to generate the
-// SSH script.
+// - migrationJob: Name of the migration job resource to generate the
+// SSH script.
func (r *ProjectsLocationsMigrationJobsService) GenerateSshScript(migrationJob string, generatesshscriptrequest *GenerateSshScriptRequest) *ProjectsLocationsMigrationJobsGenerateSshScriptCall {
c := &ProjectsLocationsMigrationJobsGenerateSshScriptCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.migrationJob = migrationJob
@@ -4444,10 +4444,10 @@ type ProjectsLocationsMigrationJobsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMigrationJobsService) GetIamPolicy(resource string) *ProjectsLocationsMigrationJobsGetIamPolicyCall {
c := &ProjectsLocationsMigrationJobsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4848,10 +4848,10 @@ type ProjectsLocationsMigrationJobsPatchCall struct {
// Patch: Updates the parameters of a single migration job.
//
-// - name: The name (URI) of this migration job resource, in the form
-// of:
-// projects/{project}/locations/{location}/migrationJobs/{migrationJob}
-// .
+// - name: The name (URI) of this migration job resource, in the form
+// of:
+// projects/{project}/locations/{location}/migrationJobs/{migrationJob}
+// .
func (r *ProjectsLocationsMigrationJobsService) Patch(name string, migrationjob *MigrationJob) *ProjectsLocationsMigrationJobsPatchCall {
c := &ProjectsLocationsMigrationJobsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5456,10 +5456,10 @@ type ProjectsLocationsMigrationJobsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMigrationJobsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMigrationJobsSetIamPolicyCall {
c := &ProjectsLocationsMigrationJobsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5890,10 +5890,10 @@ type ProjectsLocationsMigrationJobsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMigrationJobsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMigrationJobsTestIamPermissionsCall {
c := &ProjectsLocationsMigrationJobsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/datamigration/v1beta1/datamigration-gen.go b/datamigration/v1beta1/datamigration-gen.go
index f6654211f01..dc728b717c2 100644
--- a/datamigration/v1beta1/datamigration-gen.go
+++ b/datamigration/v1beta1/datamigration-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/database-migration/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datamigration/v1beta1"
-// ...
-// ctx := context.Background()
-// datamigrationService, err := datamigration.NewService(ctx)
+// import "google.golang.org/api/datamigration/v1beta1"
+// ...
+// ctx := context.Background()
+// datamigrationService, err := datamigration.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datamigrationService, err := datamigration.NewService(ctx, option.WithAPIKey("AIza..."))
+// datamigrationService, err := datamigration.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datamigrationService, err := datamigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datamigrationService, err := datamigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datamigration // import "google.golang.org/api/datamigration/v1beta1"
@@ -2095,8 +2095,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2304,8 +2304,8 @@ type ProjectsLocationsConnectionProfilesCreateCall struct {
// Create: Creates a new connection profile in a given project and
// location.
//
-// - parent: The parent, which owns this collection of connection
-// profiles.
+// - parent: The parent, which owns this collection of connection
+// profiles.
func (r *ProjectsLocationsConnectionProfilesService) Create(parent string, connectionprofile *ConnectionProfile) *ProjectsLocationsConnectionProfilesCreateCall {
c := &ProjectsLocationsConnectionProfilesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2786,10 +2786,10 @@ type ProjectsLocationsConnectionProfilesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsConnectionProfilesService) GetIamPolicy(resource string) *ProjectsLocationsConnectionProfilesGetIamPolicyCall {
c := &ProjectsLocationsConnectionProfilesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2960,8 +2960,8 @@ type ProjectsLocationsConnectionProfilesListCall struct {
// List: Retrieve a list of all connection profiles in a given project
// and location.
//
-// - parent: The parent, which owns this collection of connection
-// profiles.
+// - parent: The parent, which owns this collection of connection
+// profiles.
func (r *ProjectsLocationsConnectionProfilesService) List(parent string) *ProjectsLocationsConnectionProfilesListCall {
c := &ProjectsLocationsConnectionProfilesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3191,9 +3191,9 @@ type ProjectsLocationsConnectionProfilesPatchCall struct {
// Patch: Update the configuration of a single connection profile.
//
-// - name: The name of this connection profile resource in the form of
-// projects/{project}/locations/{location}/connectionProfiles/{connecti
-// onProfile}.
+// - name: The name of this connection profile resource in the form of
+// projects/{project}/locations/{location}/connectionProfiles/{connecti
+// onProfile}.
func (r *ProjectsLocationsConnectionProfilesService) Patch(name string, connectionprofile *ConnectionProfile) *ProjectsLocationsConnectionProfilesPatchCall {
c := &ProjectsLocationsConnectionProfilesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3367,10 +3367,10 @@ type ProjectsLocationsConnectionProfilesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsConnectionProfilesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsConnectionProfilesSetIamPolicyCall {
c := &ProjectsLocationsConnectionProfilesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3517,10 +3517,10 @@ type ProjectsLocationsConnectionProfilesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsConnectionProfilesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsConnectionProfilesTestIamPermissionsCall {
c := &ProjectsLocationsConnectionProfilesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3995,8 +3995,8 @@ type ProjectsLocationsMigrationJobsGenerateSshScriptCall struct {
// GenerateSshScript: Generate a SSH configuration script to configure
// the reverse SSH connectivity.
//
-// - migrationJob: Name of the migration job resource to generate the
-// SSH script.
+// - migrationJob: Name of the migration job resource to generate the
+// SSH script.
func (r *ProjectsLocationsMigrationJobsService) GenerateSshScript(migrationJob string, generatesshscriptrequest *GenerateSshScriptRequest) *ProjectsLocationsMigrationJobsGenerateSshScriptCall {
c := &ProjectsLocationsMigrationJobsGenerateSshScriptCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.migrationJob = migrationJob
@@ -4286,10 +4286,10 @@ type ProjectsLocationsMigrationJobsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMigrationJobsService) GetIamPolicy(resource string) *ProjectsLocationsMigrationJobsGetIamPolicyCall {
c := &ProjectsLocationsMigrationJobsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4690,10 +4690,10 @@ type ProjectsLocationsMigrationJobsPatchCall struct {
// Patch: Updates the parameters of a single migration job.
//
-// - name: The name (URI) of this migration job resource, in the form
-// of:
-// projects/{project}/locations/{location}/migrationJobs/{migrationJob}
-// .
+// - name: The name (URI) of this migration job resource, in the form
+// of:
+// projects/{project}/locations/{location}/migrationJobs/{migrationJob}
+// .
func (r *ProjectsLocationsMigrationJobsService) Patch(name string, migrationjob *MigrationJob) *ProjectsLocationsMigrationJobsPatchCall {
c := &ProjectsLocationsMigrationJobsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5298,10 +5298,10 @@ type ProjectsLocationsMigrationJobsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMigrationJobsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMigrationJobsSetIamPolicyCall {
c := &ProjectsLocationsMigrationJobsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5732,10 +5732,10 @@ type ProjectsLocationsMigrationJobsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMigrationJobsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMigrationJobsTestIamPermissionsCall {
c := &ProjectsLocationsMigrationJobsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/datapipelines/v1/datapipelines-gen.go b/datapipelines/v1/datapipelines-gen.go
index 45789422e6d..5743e0f30ec 100644
--- a/datapipelines/v1/datapipelines-gen.go
+++ b/datapipelines/v1/datapipelines-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/dataflow/docs/guides/data-pipelines
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datapipelines/v1"
-// ...
-// ctx := context.Background()
-// datapipelinesService, err := datapipelines.NewService(ctx)
+// import "google.golang.org/api/datapipelines/v1"
+// ...
+// ctx := context.Background()
+// datapipelinesService, err := datapipelines.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datapipelinesService, err := datapipelines.NewService(ctx, option.WithAPIKey("AIza..."))
+// datapipelinesService, err := datapipelines.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datapipelinesService, err := datapipelines.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datapipelinesService, err := datapipelines.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datapipelines // import "google.golang.org/api/datapipelines/v1"
@@ -1141,8 +1141,8 @@ type ProjectsLocationsListPipelinesCall struct {
// ListPipelines: Lists pipelines. Returns a "FORBIDDEN" error if the
// caller doesn't have permission to access it.
//
-// - parent: The location name. For example:
-// `projects/PROJECT_ID/locations/LOCATION_ID`.
+// - parent: The location name. For example:
+// `projects/PROJECT_ID/locations/LOCATION_ID`.
func (r *ProjectsLocationsService) ListPipelines(parent string) *ProjectsLocationsListPipelinesCall {
c := &ProjectsLocationsListPipelinesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1248,7 +1248,9 @@ func (c *ProjectsLocationsListPipelinesCall) doRequest(alt string) (*http.Respon
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDatapipelinesV1ListPipelinesResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -1364,8 +1366,8 @@ type ProjectsLocationsPipelinesCreateCall struct {
// internal scheduler is not configured, you can use RunPipeline to run
// jobs.
//
-// - parent: The location name. For example:
-// `projects/PROJECT_ID/locations/LOCATION_ID`.
+// - parent: The location name. For example:
+// `projects/PROJECT_ID/locations/LOCATION_ID`.
func (r *ProjectsLocationsPipelinesService) Create(parent string, googleclouddatapipelinesv1pipeline *GoogleCloudDatapipelinesV1Pipeline) *ProjectsLocationsPipelinesCreateCall {
c := &ProjectsLocationsPipelinesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1508,8 +1510,8 @@ type ProjectsLocationsPipelinesDeleteCall struct {
// Delete: Deletes a pipeline. If a scheduler job is attached to the
// pipeline, it will be deleted.
//
-// - name: The pipeline name. For example:
-// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
+// - name: The pipeline name. For example:
+// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
func (r *ProjectsLocationsPipelinesService) Delete(name string) *ProjectsLocationsPipelinesDeleteCall {
c := &ProjectsLocationsPipelinesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1644,8 +1646,8 @@ type ProjectsLocationsPipelinesGetCall struct {
// such pipeline exists. Returns a "FORBIDDEN" error if the caller
// doesn't have permission to access it.
//
-// - name: The pipeline name. For example:
-// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
+// - name: The pipeline name. For example:
+// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
func (r *ProjectsLocationsPipelinesService) Get(name string) *ProjectsLocationsPipelinesGetCall {
c := &ProjectsLocationsPipelinesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1795,21 +1797,21 @@ type ProjectsLocationsPipelinesPatchCall struct {
// UpdatePipeline does not return successfully, you can retry the
// UpdatePipeline request until you receive a successful response.
//
-// - name: The pipeline name. For example:
-// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
-// * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
-// hyphens (-), colons (:), and periods (.). For more information, see
-// Identifying projects
-// (https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects).
-// * `LOCATION_ID` is the canonical ID for the pipeline's location.
-// The list of available locations can be obtained by calling
-// `google.cloud.location.Locations.ListLocations`. Note that the Data
-// Pipelines service is not available in all regions. It depends on
-// Cloud Scheduler, an App Engine application, so it's only available
-// in App Engine regions
-// (https://cloud.google.com/about/locations#region). * `PIPELINE_ID`
-// is the ID of the pipeline. Must be unique for the selected project
-// and location.
+// - name: The pipeline name. For example:
+// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
+// - `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
+// hyphens (-), colons (:), and periods (.). For more information, see
+// Identifying projects
+// (https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects).
+// - `LOCATION_ID` is the canonical ID for the pipeline's location.
+// The list of available locations can be obtained by calling
+// `google.cloud.location.Locations.ListLocations`. Note that the Data
+// Pipelines service is not available in all regions. It depends on
+// Cloud Scheduler, an App Engine application, so it's only available
+// in App Engine regions
+// (https://cloud.google.com/about/locations#region). * `PIPELINE_ID`
+// is the ID of the pipeline. Must be unique for the selected project
+// and location.
func (r *ProjectsLocationsPipelinesService) Patch(name string, googleclouddatapipelinesv1pipeline *GoogleCloudDatapipelinesV1Pipeline) *ProjectsLocationsPipelinesPatchCall {
c := &ProjectsLocationsPipelinesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1970,8 +1972,8 @@ type ProjectsLocationsPipelinesRunCall struct {
// "FORBIDDEN" error if the user doesn't have permission to access the
// pipeline or run jobs for the pipeline.
//
-// - name: The pipeline name. For example:
-// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
+// - name: The pipeline name. For example:
+// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
func (r *ProjectsLocationsPipelinesService) Run(name string, googleclouddatapipelinesv1runpipelinerequest *GoogleCloudDatapipelinesV1RunPipelineRequest) *ProjectsLocationsPipelinesRunCall {
c := &ProjectsLocationsPipelinesRunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2117,8 +2119,8 @@ type ProjectsLocationsPipelinesStopCall struct {
// corresponding scheduler entry, it's deleted, and the pipeline state
// is changed to "ARCHIVED". However, pipeline metadata is retained.
//
-// - name: The pipeline name. For example:
-// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
+// - name: The pipeline name. For example:
+// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
func (r *ProjectsLocationsPipelinesService) Stop(name string, googleclouddatapipelinesv1stoppipelinerequest *GoogleCloudDatapipelinesV1StopPipelineRequest) *ProjectsLocationsPipelinesStopCall {
c := &ProjectsLocationsPipelinesStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2262,8 +2264,8 @@ type ProjectsLocationsPipelinesJobsListCall struct {
// List: Lists jobs for a given pipeline. Throws a "FORBIDDEN" error if
// the caller doesn't have permission to access it.
//
-// - parent: The pipeline name. For example:
-// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
+// - parent: The pipeline name. For example:
+// `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.
func (r *ProjectsLocationsPipelinesJobsService) List(parent string) *ProjectsLocationsPipelinesJobsListCall {
c := &ProjectsLocationsPipelinesJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/dataplex/v1/dataplex-gen.go b/dataplex/v1/dataplex-gen.go
index 634c7ebd887..76e339939ad 100644
--- a/dataplex/v1/dataplex-gen.go
+++ b/dataplex/v1/dataplex-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/dataplex/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dataplex/v1"
-// ...
-// ctx := context.Background()
-// dataplexService, err := dataplex.NewService(ctx)
+// import "google.golang.org/api/dataplex/v1"
+// ...
+// ctx := context.Background()
+// dataplexService, err := dataplex.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dataplexService, err := dataplex.NewService(ctx, option.WithAPIKey("AIza..."))
+// dataplexService, err := dataplex.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dataplexService, err := dataplex.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dataplexService, err := dataplex.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dataplex // import "google.golang.org/api/dataplex/v1"
@@ -4821,8 +4821,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5031,9 +5031,9 @@ type ProjectsLocationsLakesCreateCall struct {
// Create: Creates a lake resource.
//
-// - parent: The resource name of the lake location, of the form:
-// projects/{project_number}/locations/{location_id} where location_id
-// refers to a GCP region.
+// - parent: The resource name of the lake location, of the form:
+// projects/{project_number}/locations/{location_id} where location_id
+// refers to a GCP region.
func (r *ProjectsLocationsLakesService) Create(parent string, googleclouddataplexv1lake *GoogleCloudDataplexV1Lake) *ProjectsLocationsLakesCreateCall {
c := &ProjectsLocationsLakesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5205,8 +5205,8 @@ type ProjectsLocationsLakesDeleteCall struct {
// Delete: Deletes a lake resource. All zones within the lake must be
// deleted before the lake can be deleted.
//
-// - name: The resource name of the lake:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
+// - name: The resource name of the lake:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesService) Delete(name string) *ProjectsLocationsLakesDeleteCall {
c := &ProjectsLocationsLakesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5339,8 +5339,8 @@ type ProjectsLocationsLakesGetCall struct {
// Get: Retrieves a lake resource.
//
-// - name: The resource name of the lake:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
+// - name: The resource name of the lake:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesService) Get(name string) *ProjectsLocationsLakesGetCall {
c := &ProjectsLocationsLakesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5488,10 +5488,10 @@ type ProjectsLocationsLakesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesService) GetIamPolicy(resource string) *ProjectsLocationsLakesGetIamPolicyCall {
c := &ProjectsLocationsLakesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5661,9 +5661,9 @@ type ProjectsLocationsLakesListCall struct {
// List: Lists lake resources in a project and location.
//
-// - parent: The resource name of the lake location, of the form:
-// projects/{project_number}/locations/{location_id} where location_id
-// refers to a GCP region.
+// - parent: The resource name of the lake location, of the form:
+// projects/{project_number}/locations/{location_id} where location_id
+// refers to a GCP region.
func (r *ProjectsLocationsLakesService) List(parent string) *ProjectsLocationsLakesListCall {
c := &ProjectsLocationsLakesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5883,9 +5883,9 @@ type ProjectsLocationsLakesPatchCall struct {
// Patch: Updates a lake resource.
//
-// - name: Output only. The relative resource name of the lake, of the
-// form:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
+// - name: Output only. The relative resource name of the lake, of the
+// form:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesService) Patch(name string, googleclouddataplexv1lake *GoogleCloudDataplexV1Lake) *ProjectsLocationsLakesPatchCall {
c := &ProjectsLocationsLakesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6055,10 +6055,10 @@ type ProjectsLocationsLakesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsLakesSetIamPolicyCall {
c := &ProjectsLocationsLakesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6205,10 +6205,10 @@ type ProjectsLocationsLakesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsLakesTestIamPermissionsCall {
c := &ProjectsLocationsLakesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6351,8 +6351,8 @@ type ProjectsLocationsLakesActionsListCall struct {
// List: Lists action resources in a lake.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesActionsService) List(parent string) *ProjectsLocationsLakesActionsListCall {
c := &ProjectsLocationsLakesActionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6551,8 +6551,8 @@ type ProjectsLocationsLakesContentCreateCall struct {
// Create: Create a content.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesContentService) Create(parent string, googleclouddataplexv1content *GoogleCloudDataplexV1Content) *ProjectsLocationsLakesContentCreateCall {
c := &ProjectsLocationsLakesContentCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6706,9 +6706,9 @@ type ProjectsLocationsLakesContentDeleteCall struct {
// Delete: Delete a content.
//
-// - name: The resource name of the content:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
-// t/{content_id}.
+// - name: The resource name of the content:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
+// t/{content_id}.
func (r *ProjectsLocationsLakesContentService) Delete(name string) *ProjectsLocationsLakesContentDeleteCall {
c := &ProjectsLocationsLakesContentDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6841,9 +6841,9 @@ type ProjectsLocationsLakesContentGetCall struct {
// Get: Get a content resource.
//
-// - name: The resource name of the content:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
-// t/{content_id}.
+// - name: The resource name of the content:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
+// t/{content_id}.
func (r *ProjectsLocationsLakesContentService) Get(name string) *ProjectsLocationsLakesContentGetCall {
c := &ProjectsLocationsLakesContentGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6854,10 +6854,13 @@ func (r *ProjectsLocationsLakesContentService) Get(name string) *ProjectsLocatio
// a partial request.
//
// Possible values:
-// "CONTENT_VIEW_UNSPECIFIED" - Content view not specified. Defaults
+//
+// "CONTENT_VIEW_UNSPECIFIED" - Content view not specified. Defaults
+//
// to BASIC. The API will default to the BASIC view.
-// "BASIC" - Will not return the data_text field.
-// "FULL" - Returns the complete proto.
+//
+// "BASIC" - Will not return the data_text field.
+// "FULL" - Returns the complete proto.
func (c *ProjectsLocationsLakesContentGetCall) View(view string) *ProjectsLocationsLakesContentGetCall {
c.urlParams_.Set("view", view)
return c
@@ -7021,10 +7024,10 @@ type ProjectsLocationsLakesContentGetIamPolicyCall struct {
// not have a policy set on it.Caller must have Google IAM
// dataplex.content.getIamPolicy permission on the resource.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesContentService) GetIamPolicy(resource string) *ProjectsLocationsLakesContentGetIamPolicyCall {
c := &ProjectsLocationsLakesContentGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7194,8 +7197,8 @@ type ProjectsLocationsLakesContentListCall struct {
// List: List content.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesContentService) List(parent string) *ProjectsLocationsLakesContentListCall {
c := &ProjectsLocationsLakesContentListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7407,10 +7410,10 @@ type ProjectsLocationsLakesContentPatchCall struct {
// Patch: Update a content. Only supports full resource update.
//
-// - name: Output only. The relative resource name of the content, of
-// the form:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
-// t/{content_id}.
+// - name: Output only. The relative resource name of the content, of
+// the form:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
+// t/{content_id}.
func (r *ProjectsLocationsLakesContentService) Patch(name string, googleclouddataplexv1content *GoogleCloudDataplexV1Content) *ProjectsLocationsLakesContentPatchCall {
c := &ProjectsLocationsLakesContentPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7580,10 +7583,10 @@ type ProjectsLocationsLakesContentSetIamPolicyCall struct {
// contentitem resource. Replaces any existing policy.Caller must have
// Google IAM dataplex.content.setIamPolicy permission on the resource.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesContentService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsLakesContentSetIamPolicyCall {
c := &ProjectsLocationsLakesContentSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7731,10 +7734,10 @@ type ProjectsLocationsLakesContentTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesContentService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsLakesContentTestIamPermissionsCall {
c := &ProjectsLocationsLakesContentTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7877,8 +7880,8 @@ type ProjectsLocationsLakesContentitemsCreateCall struct {
// Create: Create a content.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesContentitemsService) Create(parent string, googleclouddataplexv1content *GoogleCloudDataplexV1Content) *ProjectsLocationsLakesContentitemsCreateCall {
c := &ProjectsLocationsLakesContentitemsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8032,9 +8035,9 @@ type ProjectsLocationsLakesContentitemsDeleteCall struct {
// Delete: Delete a content.
//
-// - name: The resource name of the content:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
-// t/{content_id}.
+// - name: The resource name of the content:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
+// t/{content_id}.
func (r *ProjectsLocationsLakesContentitemsService) Delete(name string) *ProjectsLocationsLakesContentitemsDeleteCall {
c := &ProjectsLocationsLakesContentitemsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8167,9 +8170,9 @@ type ProjectsLocationsLakesContentitemsGetCall struct {
// Get: Get a content resource.
//
-// - name: The resource name of the content:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
-// t/{content_id}.
+// - name: The resource name of the content:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
+// t/{content_id}.
func (r *ProjectsLocationsLakesContentitemsService) Get(name string) *ProjectsLocationsLakesContentitemsGetCall {
c := &ProjectsLocationsLakesContentitemsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8180,10 +8183,13 @@ func (r *ProjectsLocationsLakesContentitemsService) Get(name string) *ProjectsLo
// a partial request.
//
// Possible values:
-// "CONTENT_VIEW_UNSPECIFIED" - Content view not specified. Defaults
+//
+// "CONTENT_VIEW_UNSPECIFIED" - Content view not specified. Defaults
+//
// to BASIC. The API will default to the BASIC view.
-// "BASIC" - Will not return the data_text field.
-// "FULL" - Returns the complete proto.
+//
+// "BASIC" - Will not return the data_text field.
+// "FULL" - Returns the complete proto.
func (c *ProjectsLocationsLakesContentitemsGetCall) View(view string) *ProjectsLocationsLakesContentitemsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -8347,10 +8353,10 @@ type ProjectsLocationsLakesContentitemsGetIamPolicyCall struct {
// not have a policy set on it.Caller must have Google IAM
// dataplex.content.getIamPolicy permission on the resource.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesContentitemsService) GetIamPolicy(resource string) *ProjectsLocationsLakesContentitemsGetIamPolicyCall {
c := &ProjectsLocationsLakesContentitemsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8520,8 +8526,8 @@ type ProjectsLocationsLakesContentitemsListCall struct {
// List: List content.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesContentitemsService) List(parent string) *ProjectsLocationsLakesContentitemsListCall {
c := &ProjectsLocationsLakesContentitemsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8733,10 +8739,10 @@ type ProjectsLocationsLakesContentitemsPatchCall struct {
// Patch: Update a content. Only supports full resource update.
//
-// - name: Output only. The relative resource name of the content, of
-// the form:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
-// t/{content_id}.
+// - name: Output only. The relative resource name of the content, of
+// the form:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/conten
+// t/{content_id}.
func (r *ProjectsLocationsLakesContentitemsService) Patch(name string, googleclouddataplexv1content *GoogleCloudDataplexV1Content) *ProjectsLocationsLakesContentitemsPatchCall {
c := &ProjectsLocationsLakesContentitemsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8906,10 +8912,10 @@ type ProjectsLocationsLakesContentitemsSetIamPolicyCall struct {
// contentitem resource. Replaces any existing policy.Caller must have
// Google IAM dataplex.content.setIamPolicy permission on the resource.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesContentitemsService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsLakesContentitemsSetIamPolicyCall {
c := &ProjectsLocationsLakesContentitemsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9057,10 +9063,10 @@ type ProjectsLocationsLakesContentitemsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesContentitemsService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsLakesContentitemsTestIamPermissionsCall {
c := &ProjectsLocationsLakesContentitemsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9203,8 +9209,8 @@ type ProjectsLocationsLakesEnvironmentsCreateCall struct {
// Create: Create an environment resource.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesEnvironmentsService) Create(parent string, googleclouddataplexv1environment *GoogleCloudDataplexV1Environment) *ProjectsLocationsLakesEnvironmentsCreateCall {
c := &ProjectsLocationsLakesEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9374,9 +9380,9 @@ type ProjectsLocationsLakesEnvironmentsDeleteCall struct {
// Delete: Delete the environment resource. All the child resources must
// have been deleted before environment deletion can be initiated.
//
-// - name: The resource name of the environment:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/enviro
-// nments/{environment_id}.
+// - name: The resource name of the environment:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/enviro
+// nments/{environment_id}.
func (r *ProjectsLocationsLakesEnvironmentsService) Delete(name string) *ProjectsLocationsLakesEnvironmentsDeleteCall {
c := &ProjectsLocationsLakesEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9509,9 +9515,9 @@ type ProjectsLocationsLakesEnvironmentsGetCall struct {
// Get: Get environment resource.
//
-// - name: The resource name of the environment:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/enviro
-// nments/{environment_id}.
+// - name: The resource name of the environment:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/enviro
+// nments/{environment_id}.
func (r *ProjectsLocationsLakesEnvironmentsService) Get(name string) *ProjectsLocationsLakesEnvironmentsGetCall {
c := &ProjectsLocationsLakesEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9659,10 +9665,10 @@ type ProjectsLocationsLakesEnvironmentsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesEnvironmentsService) GetIamPolicy(resource string) *ProjectsLocationsLakesEnvironmentsGetIamPolicyCall {
c := &ProjectsLocationsLakesEnvironmentsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9832,8 +9838,8 @@ type ProjectsLocationsLakesEnvironmentsListCall struct {
// List: Lists environments under the given lake.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesEnvironmentsService) List(parent string) *ProjectsLocationsLakesEnvironmentsListCall {
c := &ProjectsLocationsLakesEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10055,10 +10061,10 @@ type ProjectsLocationsLakesEnvironmentsPatchCall struct {
// Patch: Update the environment resource.
//
-// - name: Output only. The relative resource name of the environment,
-// of the form:
-// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/enviro
-// nment/{environment_id}.
+// - name: Output only. The relative resource name of the environment,
+// of the form:
+// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/enviro
+// nment/{environment_id}.
func (r *ProjectsLocationsLakesEnvironmentsService) Patch(name string, googleclouddataplexv1environment *GoogleCloudDataplexV1Environment) *ProjectsLocationsLakesEnvironmentsPatchCall {
c := &ProjectsLocationsLakesEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10228,10 +10234,10 @@ type ProjectsLocationsLakesEnvironmentsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesEnvironmentsService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsLakesEnvironmentsSetIamPolicyCall {
c := &ProjectsLocationsLakesEnvironmentsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10378,10 +10384,10 @@ type ProjectsLocationsLakesEnvironmentsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesEnvironmentsService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsLakesEnvironmentsTestIamPermissionsCall {
c := &ProjectsLocationsLakesEnvironmentsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10524,9 +10530,9 @@ type ProjectsLocationsLakesEnvironmentsSessionsListCall struct {
// List: Lists session resources in an environment.
//
-// - parent: The resource name of the parent environment:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/en
-// vironment/{environment_id}.
+// - parent: The resource name of the parent environment:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/en
+// vironment/{environment_id}.
func (r *ProjectsLocationsLakesEnvironmentsSessionsService) List(parent string) *ProjectsLocationsLakesEnvironmentsSessionsListCall {
c := &ProjectsLocationsLakesEnvironmentsSessionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10742,8 +10748,8 @@ type ProjectsLocationsLakesTasksCreateCall struct {
// Create: Creates a task resource within a lake.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesTasksService) Create(parent string, googleclouddataplexv1task *GoogleCloudDataplexV1Task) *ProjectsLocationsLakesTasksCreateCall {
c := &ProjectsLocationsLakesTasksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10909,9 +10915,9 @@ type ProjectsLocationsLakesTasksDeleteCall struct {
// Delete: Delete the task resource.
//
-// - name: The resource name of the task:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
-// sk/{task_id}.
+// - name: The resource name of the task:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
+// sk/{task_id}.
func (r *ProjectsLocationsLakesTasksService) Delete(name string) *ProjectsLocationsLakesTasksDeleteCall {
c := &ProjectsLocationsLakesTasksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11044,9 +11050,9 @@ type ProjectsLocationsLakesTasksGetCall struct {
// Get: Get task resource.
//
-// - name: The resource name of the task:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
-// sks/{tasks_id}.
+// - name: The resource name of the task:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
+// sks/{tasks_id}.
func (r *ProjectsLocationsLakesTasksService) Get(name string) *ProjectsLocationsLakesTasksGetCall {
c := &ProjectsLocationsLakesTasksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11194,10 +11200,10 @@ type ProjectsLocationsLakesTasksGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesTasksService) GetIamPolicy(resource string) *ProjectsLocationsLakesTasksGetIamPolicyCall {
c := &ProjectsLocationsLakesTasksGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11367,8 +11373,8 @@ type ProjectsLocationsLakesTasksListCall struct {
// List: Lists tasks under the given lake.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesTasksService) List(parent string) *ProjectsLocationsLakesTasksListCall {
c := &ProjectsLocationsLakesTasksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11588,10 +11594,10 @@ type ProjectsLocationsLakesTasksPatchCall struct {
// Patch: Update the task resource.
//
-// - name: Output only. The relative resource name of the task, of the
-// form:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
-// tasks/{task_id}.
+// - name: Output only. The relative resource name of the task, of the
+// form:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
+// tasks/{task_id}.
func (r *ProjectsLocationsLakesTasksService) Patch(name string, googleclouddataplexv1task *GoogleCloudDataplexV1Task) *ProjectsLocationsLakesTasksPatchCall {
c := &ProjectsLocationsLakesTasksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11761,10 +11767,10 @@ type ProjectsLocationsLakesTasksSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesTasksService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsLakesTasksSetIamPolicyCall {
c := &ProjectsLocationsLakesTasksSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11911,10 +11917,10 @@ type ProjectsLocationsLakesTasksTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesTasksService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsLakesTasksTestIamPermissionsCall {
c := &ProjectsLocationsLakesTasksTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -12057,9 +12063,9 @@ type ProjectsLocationsLakesTasksJobsCancelCall struct {
// Cancel: Cancel jobs running for the task resource.
//
-// - name: The resource name of the job:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
-// sk/{task_id}/job/{job_id}.
+// - name: The resource name of the job:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
+// sk/{task_id}/job/{job_id}.
func (r *ProjectsLocationsLakesTasksJobsService) Cancel(name string, googleclouddataplexv1canceljobrequest *GoogleCloudDataplexV1CancelJobRequest) *ProjectsLocationsLakesTasksJobsCancelCall {
c := &ProjectsLocationsLakesTasksJobsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12201,9 +12207,9 @@ type ProjectsLocationsLakesTasksJobsGetCall struct {
// Get: Get job resource.
//
-// - name: The resource name of the job:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
-// sks/{task_id}/jobs/{job_id}.
+// - name: The resource name of the job:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
+// sks/{task_id}/jobs/{job_id}.
func (r *ProjectsLocationsLakesTasksJobsService) Get(name string) *ProjectsLocationsLakesTasksJobsGetCall {
c := &ProjectsLocationsLakesTasksJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12349,9 +12355,9 @@ type ProjectsLocationsLakesTasksJobsListCall struct {
// List: Lists Jobs under the given task.
//
-// - parent: The resource name of the parent environment:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
-// sks/{task_id}.
+// - parent: The resource name of the parent environment:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ta
+// sks/{task_id}.
func (r *ProjectsLocationsLakesTasksJobsService) List(parent string) *ProjectsLocationsLakesTasksJobsListCall {
c := &ProjectsLocationsLakesTasksJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12548,8 +12554,8 @@ type ProjectsLocationsLakesZonesCreateCall struct {
// Create: Creates a zone resource within a lake.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesZonesService) Create(parent string, googleclouddataplexv1zone *GoogleCloudDataplexV1Zone) *ProjectsLocationsLakesZonesCreateCall {
c := &ProjectsLocationsLakesZonesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12722,9 +12728,9 @@ type ProjectsLocationsLakesZonesDeleteCall struct {
// Delete: Deletes a zone resource. All assets within a zone must be
// deleted before the zone can be deleted.
//
-// - name: The resource name of the zone:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}.
+// - name: The resource name of the zone:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}.
func (r *ProjectsLocationsLakesZonesService) Delete(name string) *ProjectsLocationsLakesZonesDeleteCall {
c := &ProjectsLocationsLakesZonesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12857,9 +12863,9 @@ type ProjectsLocationsLakesZonesGetCall struct {
// Get: Retrieves a zone resource.
//
-// - name: The resource name of the zone:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}.
+// - name: The resource name of the zone:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}.
func (r *ProjectsLocationsLakesZonesService) Get(name string) *ProjectsLocationsLakesZonesGetCall {
c := &ProjectsLocationsLakesZonesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13007,10 +13013,10 @@ type ProjectsLocationsLakesZonesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesZonesService) GetIamPolicy(resource string) *ProjectsLocationsLakesZonesGetIamPolicyCall {
c := &ProjectsLocationsLakesZonesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13180,8 +13186,8 @@ type ProjectsLocationsLakesZonesListCall struct {
// List: Lists zone resources in a lake.
//
-// - parent: The resource name of the parent lake:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
+// - parent: The resource name of the parent lake:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
func (r *ProjectsLocationsLakesZonesService) List(parent string) *ProjectsLocationsLakesZonesListCall {
c := &ProjectsLocationsLakesZonesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13401,10 +13407,10 @@ type ProjectsLocationsLakesZonesPatchCall struct {
// Patch: Updates a zone resource.
//
-// - name: Output only. The relative resource name of the zone, of the
-// form:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}.
+// - name: Output only. The relative resource name of the zone, of the
+// form:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}.
func (r *ProjectsLocationsLakesZonesService) Patch(name string, googleclouddataplexv1zone *GoogleCloudDataplexV1Zone) *ProjectsLocationsLakesZonesPatchCall {
c := &ProjectsLocationsLakesZonesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13574,10 +13580,10 @@ type ProjectsLocationsLakesZonesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesZonesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsLakesZonesSetIamPolicyCall {
c := &ProjectsLocationsLakesZonesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13724,10 +13730,10 @@ type ProjectsLocationsLakesZonesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesZonesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsLakesZonesTestIamPermissionsCall {
c := &ProjectsLocationsLakesZonesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13870,9 +13876,9 @@ type ProjectsLocationsLakesZonesActionsListCall struct {
// List: Lists action resources in a zone.
//
-// - parent: The resource name of the parent zone:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}.
+// - parent: The resource name of the parent zone:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}.
func (r *ProjectsLocationsLakesZonesActionsService) List(parent string) *ProjectsLocationsLakesZonesActionsListCall {
c := &ProjectsLocationsLakesZonesActionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14071,9 +14077,9 @@ type ProjectsLocationsLakesZonesAssetsCreateCall struct {
// Create: Creates an asset resource.
//
-// - parent: The resource name of the parent zone:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}.
+// - parent: The resource name of the parent zone:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}.
func (r *ProjectsLocationsLakesZonesAssetsService) Create(parent string, googleclouddataplexv1asset *GoogleCloudDataplexV1Asset) *ProjectsLocationsLakesZonesAssetsCreateCall {
c := &ProjectsLocationsLakesZonesAssetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14245,9 +14251,9 @@ type ProjectsLocationsLakesZonesAssetsDeleteCall struct {
// detached (default) or deleted based on the associated Lifecycle
// policy.
//
-// - name: The resource name of the asset:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/assets/{asset_id}.
+// - name: The resource name of the asset:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/assets/{asset_id}.
func (r *ProjectsLocationsLakesZonesAssetsService) Delete(name string) *ProjectsLocationsLakesZonesAssetsDeleteCall {
c := &ProjectsLocationsLakesZonesAssetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14380,9 +14386,9 @@ type ProjectsLocationsLakesZonesAssetsGetCall struct {
// Get: Retrieves an asset resource.
//
-// - name: The resource name of the asset:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/assets/{asset_id}.
+// - name: The resource name of the asset:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/assets/{asset_id}.
func (r *ProjectsLocationsLakesZonesAssetsService) Get(name string) *ProjectsLocationsLakesZonesAssetsGetCall {
c := &ProjectsLocationsLakesZonesAssetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14530,10 +14536,10 @@ type ProjectsLocationsLakesZonesAssetsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesZonesAssetsService) GetIamPolicy(resource string) *ProjectsLocationsLakesZonesAssetsGetIamPolicyCall {
c := &ProjectsLocationsLakesZonesAssetsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -14703,9 +14709,9 @@ type ProjectsLocationsLakesZonesAssetsListCall struct {
// List: Lists asset resources in a zone.
//
-// - parent: The resource name of the parent zone:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}.
+// - parent: The resource name of the parent zone:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}.
func (r *ProjectsLocationsLakesZonesAssetsService) List(parent string) *ProjectsLocationsLakesZonesAssetsListCall {
c := &ProjectsLocationsLakesZonesAssetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14925,10 +14931,10 @@ type ProjectsLocationsLakesZonesAssetsPatchCall struct {
// Patch: Updates an asset resource.
//
-// - name: Output only. The relative resource name of the asset, of the
-// form:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/assets/{asset_id}.
+// - name: Output only. The relative resource name of the asset, of the
+// form:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/assets/{asset_id}.
func (r *ProjectsLocationsLakesZonesAssetsService) Patch(name string, googleclouddataplexv1asset *GoogleCloudDataplexV1Asset) *ProjectsLocationsLakesZonesAssetsPatchCall {
c := &ProjectsLocationsLakesZonesAssetsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15098,10 +15104,10 @@ type ProjectsLocationsLakesZonesAssetsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesZonesAssetsService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsLakesZonesAssetsSetIamPolicyCall {
c := &ProjectsLocationsLakesZonesAssetsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -15248,10 +15254,10 @@ type ProjectsLocationsLakesZonesAssetsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsLakesZonesAssetsService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsLakesZonesAssetsTestIamPermissionsCall {
c := &ProjectsLocationsLakesZonesAssetsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -15394,9 +15400,9 @@ type ProjectsLocationsLakesZonesAssetsActionsListCall struct {
// List: Lists action resources in an asset.
//
-// - parent: The resource name of the parent asset:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/assets/{asset_id}.
+// - parent: The resource name of the parent asset:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/assets/{asset_id}.
func (r *ProjectsLocationsLakesZonesAssetsActionsService) List(parent string) *ProjectsLocationsLakesZonesAssetsActionsListCall {
c := &ProjectsLocationsLakesZonesAssetsActionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15595,9 +15601,9 @@ type ProjectsLocationsLakesZonesEntitiesCreateCall struct {
// Create: Create a metadata entity.
//
-// - parent: The resource name of the parent zone:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}.
+// - parent: The resource name of the parent zone:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}.
func (r *ProjectsLocationsLakesZonesEntitiesService) Create(parent string, googleclouddataplexv1entity *GoogleCloudDataplexV1Entity) *ProjectsLocationsLakesZonesEntitiesCreateCall {
c := &ProjectsLocationsLakesZonesEntitiesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15751,9 +15757,9 @@ type ProjectsLocationsLakesZonesEntitiesDeleteCall struct {
// Delete: Delete a metadata entity.
//
-// - name: The resource name of the entity:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/entities/{entity_id}.
+// - name: The resource name of the entity:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/entities/{entity_id}.
func (r *ProjectsLocationsLakesZonesEntitiesService) Delete(name string) *ProjectsLocationsLakesZonesEntitiesDeleteCall {
c := &ProjectsLocationsLakesZonesEntitiesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15899,9 +15905,9 @@ type ProjectsLocationsLakesZonesEntitiesGetCall struct {
// Get: Get a metadata entity.
//
-// - name: The resource name of the entity:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/entities/{entity_id}.
+// - name: The resource name of the entity:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/entities/{entity_id}.
func (r *ProjectsLocationsLakesZonesEntitiesService) Get(name string) *ProjectsLocationsLakesZonesEntitiesGetCall {
c := &ProjectsLocationsLakesZonesEntitiesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15912,10 +15918,12 @@ func (r *ProjectsLocationsLakesZonesEntitiesService) Get(name string) *ProjectsL
// entity information to return. Defaults to BASIC.
//
// Possible values:
-// "ENTITY_VIEW_UNSPECIFIED" - The API will default to the BASIC view.
-// "BASIC" - Minimal view that does not include the schema.
-// "SCHEMA" - Include basic information and schema.
-// "FULL" - Include everything. Currently, this is the same as the
+//
+// "ENTITY_VIEW_UNSPECIFIED" - The API will default to the BASIC view.
+// "BASIC" - Minimal view that does not include the schema.
+// "SCHEMA" - Include basic information and schema.
+// "FULL" - Include everything. Currently, this is the same as the
+//
// SCHEMA view.
func (c *ProjectsLocationsLakesZonesEntitiesGetCall) View(view string) *ProjectsLocationsLakesZonesEntitiesGetCall {
c.urlParams_.Set("view", view)
@@ -16078,9 +16086,9 @@ type ProjectsLocationsLakesZonesEntitiesListCall struct {
// List: List metadata entities in a zone.
//
-// - parent: The resource name of the parent zone:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}.
+// - parent: The resource name of the parent zone:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}.
func (r *ProjectsLocationsLakesZonesEntitiesService) List(parent string) *ProjectsLocationsLakesZonesEntitiesListCall {
c := &ProjectsLocationsLakesZonesEntitiesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16120,10 +16128,13 @@ func (c *ProjectsLocationsLakesZonesEntitiesListCall) PageToken(pageToken string
// view to make a partial list request.
//
// Possible values:
-// "ENTITY_VIEW_UNSPECIFIED" - The default unset value. Return both
+//
+// "ENTITY_VIEW_UNSPECIFIED" - The default unset value. Return both
+//
// table and fileset entities if unspecified.
-// "TABLES" - Only list table entities.
-// "FILESETS" - Only list fileset entities.
+//
+// "TABLES" - Only list table entities.
+// "FILESETS" - Only list fileset entities.
func (c *ProjectsLocationsLakesZonesEntitiesListCall) View(view string) *ProjectsLocationsLakesZonesEntitiesListCall {
c.urlParams_.Set("view", view)
return c
@@ -16322,9 +16333,9 @@ type ProjectsLocationsLakesZonesEntitiesUpdateCall struct {
// Update: Update a metadata entity. Only supports full resource update.
//
-// - name: Output only. The resource name of the entity, of the form:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/entities/{id}.
+// - name: Output only. The resource name of the entity, of the form:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/entities/{id}.
func (r *ProjectsLocationsLakesZonesEntitiesService) Update(name string, googleclouddataplexv1entity *GoogleCloudDataplexV1Entity) *ProjectsLocationsLakesZonesEntitiesUpdateCall {
c := &ProjectsLocationsLakesZonesEntitiesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16479,9 +16490,9 @@ type ProjectsLocationsLakesZonesEntitiesPartitionsCreateCall struct {
// Create: Create a metadata partition.
//
-// - parent: The resource name of the parent zone:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/entities/{entity_id}.
+// - parent: The resource name of the parent zone:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/entities/{entity_id}.
func (r *ProjectsLocationsLakesZonesEntitiesPartitionsService) Create(parent string, googleclouddataplexv1partition *GoogleCloudDataplexV1Partition) *ProjectsLocationsLakesZonesEntitiesPartitionsCreateCall {
c := &ProjectsLocationsLakesZonesEntitiesPartitionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16635,12 +16646,12 @@ type ProjectsLocationsLakesZonesEntitiesPartitionsDeleteCall struct {
// Delete: Delete a metadata partition.
//
-// - name: The resource name of the partition. format:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}
-// . The {partition_value_path} segment consists of an ordered
-// sequence of partition values separated by "/". All values must be
-// provided.
+// - name: The resource name of the partition. format:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}
+// . The {partition_value_path} segment consists of an ordered
+// sequence of partition values separated by "/". All values must be
+// provided.
func (r *ProjectsLocationsLakesZonesEntitiesPartitionsService) Delete(name string) *ProjectsLocationsLakesZonesEntitiesPartitionsDeleteCall {
c := &ProjectsLocationsLakesZonesEntitiesPartitionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16785,12 +16796,12 @@ type ProjectsLocationsLakesZonesEntitiesPartitionsGetCall struct {
// Get: Get a metadata partition of an entity.
//
-// - name: The resource name of the partition:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}
-// . The {partition_value_path} segment consists of an ordered
-// sequence of partition values separated by "/". All values must be
-// provided.
+// - name: The resource name of the partition:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}
+// . The {partition_value_path} segment consists of an ordered
+// sequence of partition values separated by "/". All values must be
+// provided.
func (r *ProjectsLocationsLakesZonesEntitiesPartitionsService) Get(name string) *ProjectsLocationsLakesZonesEntitiesPartitionsGetCall {
c := &ProjectsLocationsLakesZonesEntitiesPartitionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16936,9 +16947,9 @@ type ProjectsLocationsLakesZonesEntitiesPartitionsListCall struct {
// List: List metadata partitions of an entity.
//
-// - parent: The resource name of the parent entity:
-// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
-// nes/{zone_id}/entities/{entity_id}.
+// - parent: The resource name of the parent entity:
+// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zo
+// nes/{zone_id}/entities/{entity_id}.
func (r *ProjectsLocationsLakesZonesEntitiesPartitionsService) List(parent string) *ProjectsLocationsLakesZonesEntitiesPartitionsListCall {
c := &ProjectsLocationsLakesZonesEntitiesPartitionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go
index 3718aac67e1..f83356c114a 100644
--- a/dataproc/v1/dataproc-gen.go
+++ b/dataproc/v1/dataproc-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/dataproc/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dataproc/v1"
-// ...
-// ctx := context.Background()
-// dataprocService, err := dataproc.NewService(ctx)
+// import "google.golang.org/api/dataproc/v1"
+// ...
+// ctx := context.Background()
+// dataprocService, err := dataproc.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dataprocService, err := dataproc.NewService(ctx, option.WithAPIKey("AIza..."))
+// dataprocService, err := dataproc.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dataprocService, err := dataproc.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dataprocService, err := dataproc.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dataproc // import "google.golang.org/api/dataproc/v1"
@@ -5943,14 +5943,14 @@ type ProjectsLocationsAutoscalingPoliciesCreateCall struct {
// Create: Creates new autoscaling policy.
//
-// - parent: The "resource name" of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.create, the resource name of
-// the region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.autoscalingPolicies.create, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The "resource name" of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.create, the resource name of
+// the region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.autoscalingPolicies.create, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsAutoscalingPoliciesService) Create(parent string, autoscalingpolicy *AutoscalingPolicy) *ProjectsLocationsAutoscalingPoliciesCreateCall {
c := &ProjectsLocationsAutoscalingPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6092,15 +6092,15 @@ type ProjectsLocationsAutoscalingPoliciesDeleteCall struct {
// Delete: Deletes an autoscaling policy. It is an error to delete an
// autoscaling policy that is in use by one or more clusters.
//
-// - name: The "resource name" of the autoscaling policy, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.delete, the resource name of
-// the policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies.delete, the resource
-// name of the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: The "resource name" of the autoscaling policy, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.delete, the resource name of
+// the policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies.delete, the resource
+// name of the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsLocationsAutoscalingPoliciesService) Delete(name string) *ProjectsLocationsAutoscalingPoliciesDeleteCall {
c := &ProjectsLocationsAutoscalingPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6233,15 +6233,15 @@ type ProjectsLocationsAutoscalingPoliciesGetCall struct {
// Get: Retrieves autoscaling policy.
//
-// - name: The "resource name" of the autoscaling policy, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.get, the resource name of the
-// policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies.get, the resource
-// name of the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: The "resource name" of the autoscaling policy, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.get, the resource name of the
+// policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies.get, the resource
+// name of the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsLocationsAutoscalingPoliciesService) Get(name string) *ProjectsLocationsAutoscalingPoliciesGetCall {
c := &ProjectsLocationsAutoscalingPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6389,10 +6389,10 @@ type ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsAutoscalingPoliciesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall {
c := &ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6534,14 +6534,14 @@ type ProjectsLocationsAutoscalingPoliciesListCall struct {
// List: Lists autoscaling policies in the project.
//
-// - parent: The "resource name" of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.list, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.autoscalingPolicies.list, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The "resource name" of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.list, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.autoscalingPolicies.list, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsAutoscalingPoliciesService) List(parent string) *ProjectsLocationsAutoscalingPoliciesListCall {
c := &ProjectsLocationsAutoscalingPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6736,10 +6736,10 @@ type ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsAutoscalingPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall {
c := &ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6886,10 +6886,10 @@ type ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsAutoscalingPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7032,16 +7032,16 @@ type ProjectsLocationsAutoscalingPoliciesUpdateCall struct {
// Update: Updates (replaces) autoscaling policy.Disabled check for
// update_mask, because all updates will be full replacements.
//
-// - name: Output only. The "resource name" of the autoscaling policy,
-// as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies, the resource name of the
-// policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies, the resource name of
-// the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: Output only. The "resource name" of the autoscaling policy,
+// as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies, the resource name of the
+// policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies, the resource name of
+// the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsLocationsAutoscalingPoliciesService) Update(name string, autoscalingpolicy *AutoscalingPolicy) *ProjectsLocationsAutoscalingPoliciesUpdateCall {
c := &ProjectsLocationsAutoscalingPoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7835,14 +7835,14 @@ type ProjectsLocationsWorkflowTemplatesCreateCall struct {
// Create: Creates new workflow template.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.create, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.create, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.create, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.create, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsWorkflowTemplatesService) Create(parent string, workflowtemplate *WorkflowTemplate) *ProjectsLocationsWorkflowTemplatesCreateCall {
c := &ProjectsLocationsWorkflowTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7984,15 +7984,15 @@ type ProjectsLocationsWorkflowTemplatesDeleteCall struct {
// Delete: Deletes a workflow template. It does not cancel in-progress
// workflows.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.delete, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.instantiate, the
-// resource name of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.delete, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.instantiate, the
+// resource name of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsLocationsWorkflowTemplatesService) Delete(name string) *ProjectsLocationsWorkflowTemplatesDeleteCall {
c := &ProjectsLocationsWorkflowTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8140,15 +8140,15 @@ type ProjectsLocationsWorkflowTemplatesGetCall struct {
// Get: Retrieves the latest workflow template.Can retrieve previously
// instantiated template by specifying optional version parameter.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.get, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.get, the resource name
-// of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.get, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.get, the resource name
+// of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsLocationsWorkflowTemplatesService) Get(name string) *ProjectsLocationsWorkflowTemplatesGetCall {
c := &ProjectsLocationsWorkflowTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8310,10 +8310,10 @@ type ProjectsLocationsWorkflowTemplatesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsWorkflowTemplatesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall {
c := &ProjectsLocationsWorkflowTemplatesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8465,15 +8465,15 @@ type ProjectsLocationsWorkflowTemplatesInstantiateCall struct {
// (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On
// successful completion, Operation.response will be Empty.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.instantiate, the resource name
-// of the template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.instantiate, the
-// resource name of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.instantiate, the resource name
+// of the template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.instantiate, the
+// resource name of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsLocationsWorkflowTemplatesService) Instantiate(name string, instantiateworkflowtemplaterequest *InstantiateWorkflowTemplateRequest) *ProjectsLocationsWorkflowTemplatesInstantiateCall {
c := &ProjectsLocationsWorkflowTemplatesInstantiateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8627,14 +8627,14 @@ type ProjectsLocationsWorkflowTemplatesInstantiateInlineCall struct {
// (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On
// successful completion, Operation.response will be Empty.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,instantiateinline, the resource
-// name of the region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.instantiateinline, the
-// resource name of the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,instantiateinline, the resource
+// name of the region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.instantiateinline, the
+// resource name of the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsWorkflowTemplatesService) InstantiateInline(parent string, workflowtemplate *WorkflowTemplate) *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall {
c := &ProjectsLocationsWorkflowTemplatesInstantiateInlineCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8793,14 +8793,14 @@ type ProjectsLocationsWorkflowTemplatesListCall struct {
// List: Lists workflows that match the specified filter in the request.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,list, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.list, the resource name of the
-// location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,list, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.list, the resource name of the
+// location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsWorkflowTemplatesService) List(parent string) *ProjectsLocationsWorkflowTemplatesListCall {
c := &ProjectsLocationsWorkflowTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8994,10 +8994,10 @@ type ProjectsLocationsWorkflowTemplatesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsWorkflowTemplatesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall {
c := &ProjectsLocationsWorkflowTemplatesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9144,10 +9144,10 @@ type ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsWorkflowTemplatesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall {
c := &ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9290,15 +9290,15 @@ type ProjectsLocationsWorkflowTemplatesUpdateCall struct {
// Update: Updates (replaces) workflow template. The updated template
// must contain version that matches the current server version.
//
-// - name: Output only. The resource name of the workflow template, as
-// described in https://cloud.google.com/apis/design/resource_names.
-// For projects.regions.workflowTemplates, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates, the resource name of
-// the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: Output only. The resource name of the workflow template, as
+// described in https://cloud.google.com/apis/design/resource_names.
+// For projects.regions.workflowTemplates, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates, the resource name of
+// the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsLocationsWorkflowTemplatesService) Update(name string, workflowtemplate *WorkflowTemplate) *ProjectsLocationsWorkflowTemplatesUpdateCall {
c := &ProjectsLocationsWorkflowTemplatesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9440,14 +9440,14 @@ type ProjectsRegionsAutoscalingPoliciesCreateCall struct {
// Create: Creates new autoscaling policy.
//
-// - parent: The "resource name" of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.create, the resource name of
-// the region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.autoscalingPolicies.create, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The "resource name" of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.create, the resource name of
+// the region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.autoscalingPolicies.create, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsAutoscalingPoliciesService) Create(parent string, autoscalingpolicy *AutoscalingPolicy) *ProjectsRegionsAutoscalingPoliciesCreateCall {
c := &ProjectsRegionsAutoscalingPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9589,15 +9589,15 @@ type ProjectsRegionsAutoscalingPoliciesDeleteCall struct {
// Delete: Deletes an autoscaling policy. It is an error to delete an
// autoscaling policy that is in use by one or more clusters.
//
-// - name: The "resource name" of the autoscaling policy, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.delete, the resource name of
-// the policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies.delete, the resource
-// name of the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: The "resource name" of the autoscaling policy, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.delete, the resource name of
+// the policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies.delete, the resource
+// name of the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsRegionsAutoscalingPoliciesService) Delete(name string) *ProjectsRegionsAutoscalingPoliciesDeleteCall {
c := &ProjectsRegionsAutoscalingPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9730,15 +9730,15 @@ type ProjectsRegionsAutoscalingPoliciesGetCall struct {
// Get: Retrieves autoscaling policy.
//
-// - name: The "resource name" of the autoscaling policy, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.get, the resource name of the
-// policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies.get, the resource
-// name of the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: The "resource name" of the autoscaling policy, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.get, the resource name of the
+// policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies.get, the resource
+// name of the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsRegionsAutoscalingPoliciesService) Get(name string) *ProjectsRegionsAutoscalingPoliciesGetCall {
c := &ProjectsRegionsAutoscalingPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9886,10 +9886,10 @@ type ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsAutoscalingPoliciesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall {
c := &ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10031,14 +10031,14 @@ type ProjectsRegionsAutoscalingPoliciesListCall struct {
// List: Lists autoscaling policies in the project.
//
-// - parent: The "resource name" of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.list, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.autoscalingPolicies.list, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The "resource name" of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.list, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.autoscalingPolicies.list, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsAutoscalingPoliciesService) List(parent string) *ProjectsRegionsAutoscalingPoliciesListCall {
c := &ProjectsRegionsAutoscalingPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10233,10 +10233,10 @@ type ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsAutoscalingPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall {
c := &ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10383,10 +10383,10 @@ type ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsAutoscalingPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall {
c := &ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10529,16 +10529,16 @@ type ProjectsRegionsAutoscalingPoliciesUpdateCall struct {
// Update: Updates (replaces) autoscaling policy.Disabled check for
// update_mask, because all updates will be full replacements.
//
-// - name: Output only. The "resource name" of the autoscaling policy,
-// as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies, the resource name of the
-// policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies, the resource name of
-// the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: Output only. The "resource name" of the autoscaling policy,
+// as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies, the resource name of the
+// policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies, the resource name of
+// the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsRegionsAutoscalingPoliciesService) Update(name string, autoscalingpolicy *AutoscalingPolicy) *ProjectsRegionsAutoscalingPoliciesUpdateCall {
c := &ProjectsRegionsAutoscalingPoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10683,9 +10683,9 @@ type ProjectsRegionsClustersCreateCall struct {
// Operation.metadata will be ClusterOperationMetadata
// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).
//
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Create(projectId string, region string, cluster *Cluster) *ProjectsRegionsClustersCreateCall {
c := &ProjectsRegionsClustersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -10699,11 +10699,16 @@ func (r *ProjectsRegionsClustersService) Create(projectId string, region string,
// creation fails.
//
// Possible values:
-// "FAILURE_ACTION_UNSPECIFIED" - When FailureAction is unspecified,
+//
+// "FAILURE_ACTION_UNSPECIFIED" - When FailureAction is unspecified,
+//
// failure action defaults to NO_ACTION.
-// "NO_ACTION" - Take no action on failure to create a cluster
+//
+// "NO_ACTION" - Take no action on failure to create a cluster
+//
// resource. NO_ACTION is the default.
-// "DELETE" - Delete the failed cluster resource.
+//
+// "DELETE" - Delete the failed cluster resource.
func (c *ProjectsRegionsClustersCreateCall) ActionOnFailedPrimaryWorkers(actionOnFailedPrimaryWorkers string) *ProjectsRegionsClustersCreateCall {
c.urlParams_.Set("actionOnFailedPrimaryWorkers", actionOnFailedPrimaryWorkers)
return c
@@ -10888,10 +10893,10 @@ type ProjectsRegionsClustersDeleteCall struct {
// Operation.metadata will be ClusterOperationMetadata
// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Delete(projectId string, region string, clusterName string) *ProjectsRegionsClustersDeleteCall {
c := &ProjectsRegionsClustersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11081,10 +11086,10 @@ type ProjectsRegionsClustersDiagnoseCall struct {
// DiagnoseClusterResults
// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults).
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Diagnose(projectId string, region string, clusterName string, diagnoseclusterrequest *DiagnoseClusterRequest) *ProjectsRegionsClustersDiagnoseCall {
c := &ProjectsRegionsClustersDiagnoseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11245,10 +11250,10 @@ type ProjectsRegionsClustersGetCall struct {
// Get: Gets the resource representation for a cluster in a project.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Get(projectId string, region string, clusterName string) *ProjectsRegionsClustersGetCall {
c := &ProjectsRegionsClustersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11413,10 +11418,10 @@ type ProjectsRegionsClustersGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsClustersService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsRegionsClustersGetIamPolicyCall {
c := &ProjectsRegionsClustersGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11562,10 +11567,10 @@ type ProjectsRegionsClustersInjectCredentialsCall struct {
// in a cluster.The target cluster must be a personal auth cluster
// assigned to the user who is issuing the RPC.
//
-// - cluster: The cluster, in the form clusters/.
-// - project: The ID of the Google Cloud Platform project the cluster
-// belongs to, of the form projects/.
-// - region: The region containing the cluster, of the form regions/.
+// - cluster: The cluster, in the form clusters/.
+// - project: The ID of the Google Cloud Platform project the cluster
+// belongs to, of the form projects/.
+// - region: The region containing the cluster, of the form regions/.
func (r *ProjectsRegionsClustersService) InjectCredentials(project string, region string, cluster string, injectcredentialsrequest *InjectCredentialsRequest) *ProjectsRegionsClustersInjectCredentialsCall {
c := &ProjectsRegionsClustersInjectCredentialsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11729,9 +11734,9 @@ type ProjectsRegionsClustersListCall struct {
// List: Lists all regions/{region}/clusters in a project
// alphabetically.
//
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) List(projectId string, region string) *ProjectsRegionsClustersListCall {
c := &ProjectsRegionsClustersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11959,10 +11964,10 @@ type ProjectsRegionsClustersPatchCall struct {
// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).
// The cluster must be in a RUNNING state or an error is returned.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project the cluster
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project the cluster
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Patch(projectId string, region string, clusterName string, cluster *Cluster) *ProjectsRegionsClustersPatchCall {
c := &ProjectsRegionsClustersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12191,10 +12196,10 @@ type ProjectsRegionsClustersRepairCall struct {
// Repair: Repairs a cluster.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project the cluster
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project the cluster
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Repair(projectId string, region string, clusterName string, repairclusterrequest *RepairClusterRequest) *ProjectsRegionsClustersRepairCall {
c := &ProjectsRegionsClustersRepairCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12355,10 +12360,10 @@ type ProjectsRegionsClustersSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsClustersSetIamPolicyCall {
c := &ProjectsRegionsClustersSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -12502,10 +12507,10 @@ type ProjectsRegionsClustersStartCall struct {
// Start: Starts a cluster in a project.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project the cluster
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project the cluster
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Start(projectId string, region string, clusterName string, startclusterrequest *StartClusterRequest) *ProjectsRegionsClustersStartCall {
c := &ProjectsRegionsClustersStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12666,10 +12671,10 @@ type ProjectsRegionsClustersStopCall struct {
// Stop: Stops a cluster in a project.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project the cluster
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project the cluster
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Stop(projectId string, region string, clusterName string, stopclusterrequest *StopClusterRequest) *ProjectsRegionsClustersStopCall {
c := &ProjectsRegionsClustersStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12833,10 +12838,10 @@ type ProjectsRegionsClustersTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsClustersTestIamPermissionsCall {
c := &ProjectsRegionsClustersTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -12984,10 +12989,10 @@ type ProjectsRegionsJobsCancelCall struct {
// or regions/{region}/jobs.get
// (https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).
//
-// - jobId: The job ID.
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - jobId: The job ID.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Cancel(projectId string, region string, jobId string, canceljobrequest *CancelJobRequest) *ProjectsRegionsJobsCancelCall {
c := &ProjectsRegionsJobsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -13148,10 +13153,10 @@ type ProjectsRegionsJobsDeleteCall struct {
// Delete: Deletes the job from the project. If the job is active, the
// delete fails, and the response returns FAILED_PRECONDITION.
//
-// - jobId: The job ID.
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - jobId: The job ID.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Delete(projectId string, region string, jobId string) *ProjectsRegionsJobsDeleteCall {
c := &ProjectsRegionsJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -13303,10 +13308,10 @@ type ProjectsRegionsJobsGetCall struct {
// Get: Gets the resource representation for a job in a project.
//
-// - jobId: The job ID.
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - jobId: The job ID.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Get(projectId string, region string, jobId string) *ProjectsRegionsJobsGetCall {
c := &ProjectsRegionsJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -13471,10 +13476,10 @@ type ProjectsRegionsJobsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsJobsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsRegionsJobsGetIamPolicyCall {
c := &ProjectsRegionsJobsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13617,9 +13622,9 @@ type ProjectsRegionsJobsListCall struct {
// List: Lists regions/{region}/jobs in a project.
//
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) List(projectId string, region string) *ProjectsRegionsJobsListCall {
c := &ProjectsRegionsJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -13653,10 +13658,14 @@ func (c *ProjectsRegionsJobsListCall) Filter(filter string) *ProjectsRegionsJobs
// jobs).If filter is provided, jobStateMatcher will be ignored.
//
// Possible values:
-// "ALL" - Match all jobs, regardless of state.
-// "ACTIVE" - Only match jobs in non-terminal states: PENDING,
+//
+// "ALL" - Match all jobs, regardless of state.
+// "ACTIVE" - Only match jobs in non-terminal states: PENDING,
+//
// RUNNING, or CANCEL_PENDING.
-// "NON_ACTIVE" - Only match jobs in terminal states: CANCELLED, DONE,
+//
+// "NON_ACTIVE" - Only match jobs in terminal states: CANCELLED, DONE,
+//
// or ERROR.
func (c *ProjectsRegionsJobsListCall) JobStateMatcher(jobStateMatcher string) *ProjectsRegionsJobsListCall {
c.urlParams_.Set("jobStateMatcher", jobStateMatcher)
@@ -13882,10 +13891,10 @@ type ProjectsRegionsJobsPatchCall struct {
// Patch: Updates a job in a project.
//
-// - jobId: The job ID.
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - jobId: The job ID.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Patch(projectId string, region string, jobId string, job *Job) *ProjectsRegionsJobsPatchCall {
c := &ProjectsRegionsJobsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -14063,10 +14072,10 @@ type ProjectsRegionsJobsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsJobsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsJobsSetIamPolicyCall {
c := &ProjectsRegionsJobsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -14209,9 +14218,9 @@ type ProjectsRegionsJobsSubmitCall struct {
// Submit: Submits a job to a cluster.
//
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Submit(projectId string, region string, submitjobrequest *SubmitJobRequest) *ProjectsRegionsJobsSubmitCall {
c := &ProjectsRegionsJobsSubmitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -14362,9 +14371,9 @@ type ProjectsRegionsJobsSubmitAsOperationCall struct {
// SubmitAsOperation: Submits job to a cluster.
//
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) SubmitAsOperation(projectId string, region string, submitjobrequest *SubmitJobRequest) *ProjectsRegionsJobsSubmitAsOperationCall {
c := &ProjectsRegionsJobsSubmitAsOperationCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -14519,10 +14528,10 @@ type ProjectsRegionsJobsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsJobsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsJobsTestIamPermissionsCall {
c := &ProjectsRegionsJobsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -15090,10 +15099,10 @@ type ProjectsRegionsOperationsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsOperationsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsRegionsOperationsGetIamPolicyCall {
c := &ProjectsRegionsOperationsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -15450,10 +15459,10 @@ type ProjectsRegionsOperationsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsOperationsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsOperationsSetIamPolicyCall {
c := &ProjectsRegionsOperationsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -15600,10 +15609,10 @@ type ProjectsRegionsOperationsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsOperationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsOperationsTestIamPermissionsCall {
c := &ProjectsRegionsOperationsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -15745,14 +15754,14 @@ type ProjectsRegionsWorkflowTemplatesCreateCall struct {
// Create: Creates new workflow template.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.create, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.create, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.create, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.create, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsWorkflowTemplatesService) Create(parent string, workflowtemplate *WorkflowTemplate) *ProjectsRegionsWorkflowTemplatesCreateCall {
c := &ProjectsRegionsWorkflowTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15894,15 +15903,15 @@ type ProjectsRegionsWorkflowTemplatesDeleteCall struct {
// Delete: Deletes a workflow template. It does not cancel in-progress
// workflows.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.delete, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.instantiate, the
-// resource name of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.delete, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.instantiate, the
+// resource name of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsRegionsWorkflowTemplatesService) Delete(name string) *ProjectsRegionsWorkflowTemplatesDeleteCall {
c := &ProjectsRegionsWorkflowTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16050,15 +16059,15 @@ type ProjectsRegionsWorkflowTemplatesGetCall struct {
// Get: Retrieves the latest workflow template.Can retrieve previously
// instantiated template by specifying optional version parameter.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.get, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.get, the resource name
-// of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.get, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.get, the resource name
+// of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsRegionsWorkflowTemplatesService) Get(name string) *ProjectsRegionsWorkflowTemplatesGetCall {
c := &ProjectsRegionsWorkflowTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16220,10 +16229,10 @@ type ProjectsRegionsWorkflowTemplatesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsWorkflowTemplatesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall {
c := &ProjectsRegionsWorkflowTemplatesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -16375,15 +16384,15 @@ type ProjectsRegionsWorkflowTemplatesInstantiateCall struct {
// (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On
// successful completion, Operation.response will be Empty.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.instantiate, the resource name
-// of the template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.instantiate, the
-// resource name of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.instantiate, the resource name
+// of the template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.instantiate, the
+// resource name of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsRegionsWorkflowTemplatesService) Instantiate(name string, instantiateworkflowtemplaterequest *InstantiateWorkflowTemplateRequest) *ProjectsRegionsWorkflowTemplatesInstantiateCall {
c := &ProjectsRegionsWorkflowTemplatesInstantiateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16537,14 +16546,14 @@ type ProjectsRegionsWorkflowTemplatesInstantiateInlineCall struct {
// (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On
// successful completion, Operation.response will be Empty.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,instantiateinline, the resource
-// name of the region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.instantiateinline, the
-// resource name of the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,instantiateinline, the resource
+// name of the region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.instantiateinline, the
+// resource name of the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsWorkflowTemplatesService) InstantiateInline(parent string, workflowtemplate *WorkflowTemplate) *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall {
c := &ProjectsRegionsWorkflowTemplatesInstantiateInlineCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16703,14 +16712,14 @@ type ProjectsRegionsWorkflowTemplatesListCall struct {
// List: Lists workflows that match the specified filter in the request.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,list, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.list, the resource name of the
-// location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,list, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.list, the resource name of the
+// location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsWorkflowTemplatesService) List(parent string) *ProjectsRegionsWorkflowTemplatesListCall {
c := &ProjectsRegionsWorkflowTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16904,10 +16913,10 @@ type ProjectsRegionsWorkflowTemplatesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsWorkflowTemplatesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall {
c := &ProjectsRegionsWorkflowTemplatesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -17054,10 +17063,10 @@ type ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsRegionsWorkflowTemplatesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall {
c := &ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -17200,15 +17209,15 @@ type ProjectsRegionsWorkflowTemplatesUpdateCall struct {
// Update: Updates (replaces) workflow template. The updated template
// must contain version that matches the current server version.
//
-// - name: Output only. The resource name of the workflow template, as
-// described in https://cloud.google.com/apis/design/resource_names.
-// For projects.regions.workflowTemplates, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates, the resource name of
-// the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: Output only. The resource name of the workflow template, as
+// described in https://cloud.google.com/apis/design/resource_names.
+// For projects.regions.workflowTemplates, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates, the resource name of
+// the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsRegionsWorkflowTemplatesService) Update(name string, workflowtemplate *WorkflowTemplate) *ProjectsRegionsWorkflowTemplatesUpdateCall {
c := &ProjectsRegionsWorkflowTemplatesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/dataproc/v1beta2/dataproc-gen.go b/dataproc/v1beta2/dataproc-gen.go
index a437897eb9f..19eb7208328 100644
--- a/dataproc/v1beta2/dataproc-gen.go
+++ b/dataproc/v1beta2/dataproc-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/dataproc/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dataproc/v1beta2"
-// ...
-// ctx := context.Background()
-// dataprocService, err := dataproc.NewService(ctx)
+// import "google.golang.org/api/dataproc/v1beta2"
+// ...
+// ctx := context.Background()
+// dataprocService, err := dataproc.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dataprocService, err := dataproc.NewService(ctx, option.WithAPIKey("AIza..."))
+// dataprocService, err := dataproc.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dataprocService, err := dataproc.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dataprocService, err := dataproc.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dataproc // import "google.golang.org/api/dataproc/v1beta2"
@@ -4395,13 +4395,13 @@ type ProjectsLocationsAutoscalingPoliciesCreateCall struct {
// Create: Creates new autoscaling policy.
//
-// - parent: The "resource name" of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.create, the resource name has
-// the following format: projects/{project_id}/regions/{region} For
-// projects.locations.autoscalingPolicies.create, the resource name
-// has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The "resource name" of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.create, the resource name has
+// the following format: projects/{project_id}/regions/{region} For
+// projects.locations.autoscalingPolicies.create, the resource name
+// has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsAutoscalingPoliciesService) Create(parent string, autoscalingpolicy *AutoscalingPolicy) *ProjectsLocationsAutoscalingPoliciesCreateCall {
c := &ProjectsLocationsAutoscalingPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4543,15 +4543,15 @@ type ProjectsLocationsAutoscalingPoliciesDeleteCall struct {
// Delete: Deletes an autoscaling policy. It is an error to delete an
// autoscaling policy that is in use by one or more clusters.
//
-// - name: The "resource name" of the autoscaling policy, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.delete, the resource name of
-// the policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies.delete, the resource
-// name of the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: The "resource name" of the autoscaling policy, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.delete, the resource name of
+// the policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies.delete, the resource
+// name of the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsLocationsAutoscalingPoliciesService) Delete(name string) *ProjectsLocationsAutoscalingPoliciesDeleteCall {
c := &ProjectsLocationsAutoscalingPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4684,15 +4684,15 @@ type ProjectsLocationsAutoscalingPoliciesGetCall struct {
// Get: Retrieves autoscaling policy.
//
-// - name: The "resource name" of the autoscaling policy, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.get, the resource name of the
-// policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies.get, the resource
-// name of the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: The "resource name" of the autoscaling policy, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.get, the resource name of the
+// policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies.get, the resource
+// name of the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsLocationsAutoscalingPoliciesService) Get(name string) *ProjectsLocationsAutoscalingPoliciesGetCall {
c := &ProjectsLocationsAutoscalingPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4840,9 +4840,9 @@ type ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsLocationsAutoscalingPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall {
c := &ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5008,14 +5008,14 @@ type ProjectsLocationsAutoscalingPoliciesListCall struct {
// List: Lists autoscaling policies in the project.
//
-// - parent: The "resource name" of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.list, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.autoscalingPolicies.list, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The "resource name" of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.list, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.autoscalingPolicies.list, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsAutoscalingPoliciesService) List(parent string) *ProjectsLocationsAutoscalingPoliciesListCall {
c := &ProjectsLocationsAutoscalingPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5210,9 +5210,9 @@ type ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsLocationsAutoscalingPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall {
c := &ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5359,9 +5359,9 @@ type ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See the operation documentation for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See the operation documentation for the
+// appropriate value for this field.
func (r *ProjectsLocationsAutoscalingPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5504,16 +5504,16 @@ type ProjectsLocationsAutoscalingPoliciesUpdateCall struct {
// Update: Updates (replaces) autoscaling policy.Disabled check for
// update_mask, because all updates will be full replacements.
//
-// - name: Output only. The "resource name" of the autoscaling policy,
-// as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies, the resource name of the
-// policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies, the resource name of
-// the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: Output only. The "resource name" of the autoscaling policy,
+// as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies, the resource name of the
+// policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies, the resource name of
+// the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsLocationsAutoscalingPoliciesService) Update(name string, autoscalingpolicy *AutoscalingPolicy) *ProjectsLocationsAutoscalingPoliciesUpdateCall {
c := &ProjectsLocationsAutoscalingPoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5655,14 +5655,14 @@ type ProjectsLocationsWorkflowTemplatesCreateCall struct {
// Create: Creates new workflow template.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,create, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.create, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,create, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.create, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsWorkflowTemplatesService) Create(parent string, workflowtemplate *WorkflowTemplate) *ProjectsLocationsWorkflowTemplatesCreateCall {
c := &ProjectsLocationsWorkflowTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5804,15 +5804,15 @@ type ProjectsLocationsWorkflowTemplatesDeleteCall struct {
// Delete: Deletes a workflow template. It does not cancel in-progress
// workflows.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.delete, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.instantiate, the
-// resource name of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.delete, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.instantiate, the
+// resource name of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsLocationsWorkflowTemplatesService) Delete(name string) *ProjectsLocationsWorkflowTemplatesDeleteCall {
c := &ProjectsLocationsWorkflowTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5960,15 +5960,15 @@ type ProjectsLocationsWorkflowTemplatesGetCall struct {
// Get: Retrieves the latest workflow template.Can retrieve previously
// instantiated template by specifying optional version parameter.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.get, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.get, the resource name
-// of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.get, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.get, the resource name
+// of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsLocationsWorkflowTemplatesService) Get(name string) *ProjectsLocationsWorkflowTemplatesGetCall {
c := &ProjectsLocationsWorkflowTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6130,9 +6130,9 @@ type ProjectsLocationsWorkflowTemplatesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsLocationsWorkflowTemplatesService) GetIamPolicy(resource string) *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall {
c := &ProjectsLocationsWorkflowTemplatesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6308,15 +6308,15 @@ type ProjectsLocationsWorkflowTemplatesInstantiateCall struct {
// (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On
// successful completion, Operation.response will be Empty.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.instantiate, the resource name
-// of the template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.instantiate, the
-// resource name of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.instantiate, the resource name
+// of the template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.instantiate, the
+// resource name of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsLocationsWorkflowTemplatesService) Instantiate(name string, instantiateworkflowtemplaterequest *InstantiateWorkflowTemplateRequest) *ProjectsLocationsWorkflowTemplatesInstantiateCall {
c := &ProjectsLocationsWorkflowTemplatesInstantiateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6470,14 +6470,14 @@ type ProjectsLocationsWorkflowTemplatesInstantiateInlineCall struct {
// (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On
// successful completion, Operation.response will be Empty.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,instantiateinline, the resource
-// name of the region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.instantiateinline, the
-// resource name of the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,instantiateinline, the resource
+// name of the region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.instantiateinline, the
+// resource name of the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsWorkflowTemplatesService) InstantiateInline(parent string, workflowtemplate *WorkflowTemplate) *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall {
c := &ProjectsLocationsWorkflowTemplatesInstantiateInlineCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6648,14 +6648,14 @@ type ProjectsLocationsWorkflowTemplatesListCall struct {
// List: Lists workflows that match the specified filter in the request.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,list, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.list, the resource name of the
-// location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,list, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.list, the resource name of the
+// location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsLocationsWorkflowTemplatesService) List(parent string) *ProjectsLocationsWorkflowTemplatesListCall {
c := &ProjectsLocationsWorkflowTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6849,9 +6849,9 @@ type ProjectsLocationsWorkflowTemplatesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsLocationsWorkflowTemplatesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall {
c := &ProjectsLocationsWorkflowTemplatesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6998,9 +6998,9 @@ type ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See the operation documentation for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See the operation documentation for the
+// appropriate value for this field.
func (r *ProjectsLocationsWorkflowTemplatesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall {
c := &ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7143,15 +7143,15 @@ type ProjectsLocationsWorkflowTemplatesUpdateCall struct {
// Update: Updates (replaces) workflow template. The updated template
// must contain version that matches the current server version.
//
-// - name: Output only. The resource name of the workflow template, as
-// described in https://cloud.google.com/apis/design/resource_names.
-// For projects.regions.workflowTemplates, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates, the resource name of
-// the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: Output only. The resource name of the workflow template, as
+// described in https://cloud.google.com/apis/design/resource_names.
+// For projects.regions.workflowTemplates, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates, the resource name of
+// the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsLocationsWorkflowTemplatesService) Update(name string, workflowtemplate *WorkflowTemplate) *ProjectsLocationsWorkflowTemplatesUpdateCall {
c := &ProjectsLocationsWorkflowTemplatesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7293,13 +7293,13 @@ type ProjectsRegionsAutoscalingPoliciesCreateCall struct {
// Create: Creates new autoscaling policy.
//
-// - parent: The "resource name" of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.create, the resource name has
-// the following format: projects/{project_id}/regions/{region} For
-// projects.locations.autoscalingPolicies.create, the resource name
-// has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The "resource name" of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.create, the resource name has
+// the following format: projects/{project_id}/regions/{region} For
+// projects.locations.autoscalingPolicies.create, the resource name
+// has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsAutoscalingPoliciesService) Create(parent string, autoscalingpolicy *AutoscalingPolicy) *ProjectsRegionsAutoscalingPoliciesCreateCall {
c := &ProjectsRegionsAutoscalingPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7441,15 +7441,15 @@ type ProjectsRegionsAutoscalingPoliciesDeleteCall struct {
// Delete: Deletes an autoscaling policy. It is an error to delete an
// autoscaling policy that is in use by one or more clusters.
//
-// - name: The "resource name" of the autoscaling policy, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.delete, the resource name of
-// the policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies.delete, the resource
-// name of the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: The "resource name" of the autoscaling policy, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.delete, the resource name of
+// the policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies.delete, the resource
+// name of the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsRegionsAutoscalingPoliciesService) Delete(name string) *ProjectsRegionsAutoscalingPoliciesDeleteCall {
c := &ProjectsRegionsAutoscalingPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7582,15 +7582,15 @@ type ProjectsRegionsAutoscalingPoliciesGetCall struct {
// Get: Retrieves autoscaling policy.
//
-// - name: The "resource name" of the autoscaling policy, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.get, the resource name of the
-// policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies.get, the resource
-// name of the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: The "resource name" of the autoscaling policy, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.get, the resource name of the
+// policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies.get, the resource
+// name of the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsRegionsAutoscalingPoliciesService) Get(name string) *ProjectsRegionsAutoscalingPoliciesGetCall {
c := &ProjectsRegionsAutoscalingPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7738,9 +7738,9 @@ type ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsAutoscalingPoliciesService) GetIamPolicy(resource string) *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall {
c := &ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7906,14 +7906,14 @@ type ProjectsRegionsAutoscalingPoliciesListCall struct {
// List: Lists autoscaling policies in the project.
//
-// - parent: The "resource name" of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies.list, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.autoscalingPolicies.list, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The "resource name" of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies.list, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.autoscalingPolicies.list, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsAutoscalingPoliciesService) List(parent string) *ProjectsRegionsAutoscalingPoliciesListCall {
c := &ProjectsRegionsAutoscalingPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8108,9 +8108,9 @@ type ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsAutoscalingPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall {
c := &ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8257,9 +8257,9 @@ type ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See the operation documentation for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See the operation documentation for the
+// appropriate value for this field.
func (r *ProjectsRegionsAutoscalingPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall {
c := &ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8402,16 +8402,16 @@ type ProjectsRegionsAutoscalingPoliciesUpdateCall struct {
// Update: Updates (replaces) autoscaling policy.Disabled check for
// update_mask, because all updates will be full replacements.
//
-// - name: Output only. The "resource name" of the autoscaling policy,
-// as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.autoscalingPolicies, the resource name of the
-// policy has the following format:
-// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
-// d} For projects.locations.autoscalingPolicies, the resource name of
-// the policy has the following format:
-// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
-// cy_id}.
+// - name: Output only. The "resource name" of the autoscaling policy,
+// as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.autoscalingPolicies, the resource name of the
+// policy has the following format:
+// projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_i
+// d} For projects.locations.autoscalingPolicies, the resource name of
+// the policy has the following format:
+// projects/{project_id}/locations/{location}/autoscalingPolicies/{poli
+// cy_id}.
func (r *ProjectsRegionsAutoscalingPoliciesService) Update(name string, autoscalingpolicy *AutoscalingPolicy) *ProjectsRegionsAutoscalingPoliciesUpdateCall {
c := &ProjectsRegionsAutoscalingPoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8556,9 +8556,9 @@ type ProjectsRegionsClustersCreateCall struct {
// Operation.metadata will be ClusterOperationMetadata
// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
//
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Create(projectId string, region string, cluster *Cluster) *ProjectsRegionsClustersCreateCall {
c := &ProjectsRegionsClustersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -8731,10 +8731,10 @@ type ProjectsRegionsClustersDeleteCall struct {
// Operation.metadata will be ClusterOperationMetadata
// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Delete(projectId string, region string, clusterName string) *ProjectsRegionsClustersDeleteCall {
c := &ProjectsRegionsClustersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -8922,10 +8922,10 @@ type ProjectsRegionsClustersDiagnoseCall struct {
// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
// After the operation completes, Operation.response contains Empty.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Diagnose(projectId string, region string, clusterName string, diagnoseclusterrequest *DiagnoseClusterRequest) *ProjectsRegionsClustersDiagnoseCall {
c := &ProjectsRegionsClustersDiagnoseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -9086,10 +9086,10 @@ type ProjectsRegionsClustersGetCall struct {
// Get: Gets the resource representation for a cluster in a project.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Get(projectId string, region string, clusterName string) *ProjectsRegionsClustersGetCall {
c := &ProjectsRegionsClustersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -9254,9 +9254,9 @@ type ProjectsRegionsClustersGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsClustersService) GetIamPolicy(resource string) *ProjectsRegionsClustersGetIamPolicyCall {
c := &ProjectsRegionsClustersGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9426,10 +9426,10 @@ type ProjectsRegionsClustersInjectCredentialsCall struct {
// in a cluster.The target cluster must be a personal auth cluster
// assigned to the user who is issuing the RPC.
//
-// - cluster: The cluster, in the form clusters/.
-// - project: The ID of the Google Cloud Platform project the cluster
-// belongs to, of the form projects/.
-// - region: The region containing the cluster, of the form regions/.
+// - cluster: The cluster, in the form clusters/.
+// - project: The ID of the Google Cloud Platform project the cluster
+// belongs to, of the form projects/.
+// - region: The region containing the cluster, of the form regions/.
func (r *ProjectsRegionsClustersService) InjectCredentials(project string, region string, cluster string, injectcredentialsrequest *InjectCredentialsRequest) *ProjectsRegionsClustersInjectCredentialsCall {
c := &ProjectsRegionsClustersInjectCredentialsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9593,9 +9593,9 @@ type ProjectsRegionsClustersListCall struct {
// List: Lists all regions/{region}/clusters in a project
// alphabetically.
//
-// - projectId: The ID of the Google Cloud Platform project that the
-// cluster belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the
+// cluster belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) List(projectId string, region string) *ProjectsRegionsClustersListCall {
c := &ProjectsRegionsClustersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -9823,10 +9823,10 @@ type ProjectsRegionsClustersPatchCall struct {
// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
// The cluster must be in a RUNNING state or an error is returned.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project the cluster
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project the cluster
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Patch(projectId string, region string, clusterName string, cluster *Cluster) *ProjectsRegionsClustersPatchCall {
c := &ProjectsRegionsClustersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -10058,9 +10058,9 @@ type ProjectsRegionsClustersSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsClustersSetIamPolicyCall {
c := &ProjectsRegionsClustersSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10204,10 +10204,10 @@ type ProjectsRegionsClustersStartCall struct {
// Start: Starts a cluster in a project.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project the cluster
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project the cluster
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Start(projectId string, region string, clusterName string, startclusterrequest *StartClusterRequest) *ProjectsRegionsClustersStartCall {
c := &ProjectsRegionsClustersStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -10368,10 +10368,10 @@ type ProjectsRegionsClustersStopCall struct {
// Stop: Stops a cluster in a project.
//
-// - clusterName: The cluster name.
-// - projectId: The ID of the Google Cloud Platform project the cluster
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - clusterName: The cluster name.
+// - projectId: The ID of the Google Cloud Platform project the cluster
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsClustersService) Stop(projectId string, region string, clusterName string, stopclusterrequest *StopClusterRequest) *ProjectsRegionsClustersStopCall {
c := &ProjectsRegionsClustersStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -10535,9 +10535,9 @@ type ProjectsRegionsClustersTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See the operation documentation for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See the operation documentation for the
+// appropriate value for this field.
func (r *ProjectsRegionsClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsClustersTestIamPermissionsCall {
c := &ProjectsRegionsClustersTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10685,10 +10685,10 @@ type ProjectsRegionsJobsCancelCall struct {
// or regions/{region}/jobs.get
// (https://cloud.google.com/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/get).
//
-// - jobId: The job ID.
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - jobId: The job ID.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Cancel(projectId string, region string, jobId string, canceljobrequest *CancelJobRequest) *ProjectsRegionsJobsCancelCall {
c := &ProjectsRegionsJobsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -10849,10 +10849,10 @@ type ProjectsRegionsJobsDeleteCall struct {
// Delete: Deletes the job from the project. If the job is active, the
// delete fails, and the response returns FAILED_PRECONDITION.
//
-// - jobId: The job ID.
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - jobId: The job ID.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Delete(projectId string, region string, jobId string) *ProjectsRegionsJobsDeleteCall {
c := &ProjectsRegionsJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11004,10 +11004,10 @@ type ProjectsRegionsJobsGetCall struct {
// Get: Gets the resource representation for a job in a project.
//
-// - jobId: The job ID.
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - jobId: The job ID.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Get(projectId string, region string, jobId string) *ProjectsRegionsJobsGetCall {
c := &ProjectsRegionsJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11172,9 +11172,9 @@ type ProjectsRegionsJobsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsJobsService) GetIamPolicy(resource string) *ProjectsRegionsJobsGetIamPolicyCall {
c := &ProjectsRegionsJobsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11341,9 +11341,9 @@ type ProjectsRegionsJobsListCall struct {
// List: Lists regions/{region}/jobs in a project.
//
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) List(projectId string, region string) *ProjectsRegionsJobsListCall {
c := &ProjectsRegionsJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11377,10 +11377,14 @@ func (c *ProjectsRegionsJobsListCall) Filter(filter string) *ProjectsRegionsJobs
// jobs).If filter is provided, jobStateMatcher will be ignored.
//
// Possible values:
-// "ALL" - Match all jobs, regardless of state.
-// "ACTIVE" - Only match jobs in non-terminal states: PENDING,
+//
+// "ALL" - Match all jobs, regardless of state.
+// "ACTIVE" - Only match jobs in non-terminal states: PENDING,
+//
// RUNNING, or CANCEL_PENDING.
-// "NON_ACTIVE" - Only match jobs in terminal states: CANCELLED, DONE,
+//
+// "NON_ACTIVE" - Only match jobs in terminal states: CANCELLED, DONE,
+//
// or ERROR.
func (c *ProjectsRegionsJobsListCall) JobStateMatcher(jobStateMatcher string) *ProjectsRegionsJobsListCall {
c.urlParams_.Set("jobStateMatcher", jobStateMatcher)
@@ -11606,10 +11610,10 @@ type ProjectsRegionsJobsPatchCall struct {
// Patch: Updates a job in a project.
//
-// - jobId: The job ID.
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - jobId: The job ID.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Patch(projectId string, region string, jobId string, job *Job) *ProjectsRegionsJobsPatchCall {
c := &ProjectsRegionsJobsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -11787,9 +11791,9 @@ type ProjectsRegionsJobsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsJobsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsJobsSetIamPolicyCall {
c := &ProjectsRegionsJobsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11932,9 +11936,9 @@ type ProjectsRegionsJobsSubmitCall struct {
// Submit: Submits a job to a cluster.
//
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) Submit(projectId string, region string, submitjobrequest *SubmitJobRequest) *ProjectsRegionsJobsSubmitCall {
c := &ProjectsRegionsJobsSubmitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12085,9 +12089,9 @@ type ProjectsRegionsJobsSubmitAsOperationCall struct {
// SubmitAsOperation: Submits job to a cluster.
//
-// - projectId: The ID of the Google Cloud Platform project that the job
-// belongs to.
-// - region: The Dataproc region in which to handle the request.
+// - projectId: The ID of the Google Cloud Platform project that the job
+// belongs to.
+// - region: The Dataproc region in which to handle the request.
func (r *ProjectsRegionsJobsService) SubmitAsOperation(projectId string, region string, submitjobrequest *SubmitJobRequest) *ProjectsRegionsJobsSubmitAsOperationCall {
c := &ProjectsRegionsJobsSubmitAsOperationCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12242,9 +12246,9 @@ type ProjectsRegionsJobsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See the operation documentation for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See the operation documentation for the
+// appropriate value for this field.
func (r *ProjectsRegionsJobsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsJobsTestIamPermissionsCall {
c := &ProjectsRegionsJobsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -12812,9 +12816,9 @@ type ProjectsRegionsOperationsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsOperationsService) GetIamPolicy(resource string) *ProjectsRegionsOperationsGetIamPolicyCall {
c := &ProjectsRegionsOperationsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13195,9 +13199,9 @@ type ProjectsRegionsOperationsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsOperationsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsOperationsSetIamPolicyCall {
c := &ProjectsRegionsOperationsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13344,9 +13348,9 @@ type ProjectsRegionsOperationsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See the operation documentation for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See the operation documentation for the
+// appropriate value for this field.
func (r *ProjectsRegionsOperationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsOperationsTestIamPermissionsCall {
c := &ProjectsRegionsOperationsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13488,14 +13492,14 @@ type ProjectsRegionsWorkflowTemplatesCreateCall struct {
// Create: Creates new workflow template.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,create, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.create, the resource name of
-// the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,create, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.create, the resource name of
+// the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsWorkflowTemplatesService) Create(parent string, workflowtemplate *WorkflowTemplate) *ProjectsRegionsWorkflowTemplatesCreateCall {
c := &ProjectsRegionsWorkflowTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13637,15 +13641,15 @@ type ProjectsRegionsWorkflowTemplatesDeleteCall struct {
// Delete: Deletes a workflow template. It does not cancel in-progress
// workflows.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.delete, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.instantiate, the
-// resource name of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.delete, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.instantiate, the
+// resource name of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsRegionsWorkflowTemplatesService) Delete(name string) *ProjectsRegionsWorkflowTemplatesDeleteCall {
c := &ProjectsRegionsWorkflowTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13793,15 +13797,15 @@ type ProjectsRegionsWorkflowTemplatesGetCall struct {
// Get: Retrieves the latest workflow template.Can retrieve previously
// instantiated template by specifying optional version parameter.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.get, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.get, the resource name
-// of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.get, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.get, the resource name
+// of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsRegionsWorkflowTemplatesService) Get(name string) *ProjectsRegionsWorkflowTemplatesGetCall {
c := &ProjectsRegionsWorkflowTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13963,9 +13967,9 @@ type ProjectsRegionsWorkflowTemplatesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsWorkflowTemplatesService) GetIamPolicy(resource string) *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall {
c := &ProjectsRegionsWorkflowTemplatesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -14141,15 +14145,15 @@ type ProjectsRegionsWorkflowTemplatesInstantiateCall struct {
// (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On
// successful completion, Operation.response will be Empty.
//
-// - name: The resource name of the workflow template, as described in
-// https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates.instantiate, the resource name
-// of the template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates.instantiate, the
-// resource name of the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: The resource name of the workflow template, as described in
+// https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates.instantiate, the resource name
+// of the template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates.instantiate, the
+// resource name of the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsRegionsWorkflowTemplatesService) Instantiate(name string, instantiateworkflowtemplaterequest *InstantiateWorkflowTemplateRequest) *ProjectsRegionsWorkflowTemplatesInstantiateCall {
c := &ProjectsRegionsWorkflowTemplatesInstantiateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14303,14 +14307,14 @@ type ProjectsRegionsWorkflowTemplatesInstantiateInlineCall struct {
// (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On
// successful completion, Operation.response will be Empty.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,instantiateinline, the resource
-// name of the region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.instantiateinline, the
-// resource name of the location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,instantiateinline, the resource
+// name of the region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.instantiateinline, the
+// resource name of the location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsWorkflowTemplatesService) InstantiateInline(parent string, workflowtemplate *WorkflowTemplate) *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall {
c := &ProjectsRegionsWorkflowTemplatesInstantiateInlineCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14481,14 +14485,14 @@ type ProjectsRegionsWorkflowTemplatesListCall struct {
// List: Lists workflows that match the specified filter in the request.
//
-// - parent: The resource name of the region or location, as described
-// in https://cloud.google.com/apis/design/resource_names. For
-// projects.regions.workflowTemplates,list, the resource name of the
-// region has the following format:
-// projects/{project_id}/regions/{region} For
-// projects.locations.workflowTemplates.list, the resource name of the
-// location has the following format:
-// projects/{project_id}/locations/{location}.
+// - parent: The resource name of the region or location, as described
+// in https://cloud.google.com/apis/design/resource_names. For
+// projects.regions.workflowTemplates,list, the resource name of the
+// region has the following format:
+// projects/{project_id}/regions/{region} For
+// projects.locations.workflowTemplates.list, the resource name of the
+// location has the following format:
+// projects/{project_id}/locations/{location}.
func (r *ProjectsRegionsWorkflowTemplatesService) List(parent string) *ProjectsRegionsWorkflowTemplatesListCall {
c := &ProjectsRegionsWorkflowTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14682,9 +14686,9 @@ type ProjectsRegionsWorkflowTemplatesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See the operation documentation for the appropriate
-// value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See the operation documentation for the appropriate
+// value for this field.
func (r *ProjectsRegionsWorkflowTemplatesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall {
c := &ProjectsRegionsWorkflowTemplatesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -14831,9 +14835,9 @@ type ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See the operation documentation for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See the operation documentation for the
+// appropriate value for this field.
func (r *ProjectsRegionsWorkflowTemplatesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall {
c := &ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -14976,15 +14980,15 @@ type ProjectsRegionsWorkflowTemplatesUpdateCall struct {
// Update: Updates (replaces) workflow template. The updated template
// must contain version that matches the current server version.
//
-// - name: Output only. The resource name of the workflow template, as
-// described in https://cloud.google.com/apis/design/resource_names.
-// For projects.regions.workflowTemplates, the resource name of the
-// template has the following format:
-// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
-// d} For projects.locations.workflowTemplates, the resource name of
-// the template has the following format:
-// projects/{project_id}/locations/{location}/workflowTemplates/{templa
-// te_id}.
+// - name: Output only. The resource name of the workflow template, as
+// described in https://cloud.google.com/apis/design/resource_names.
+// For projects.regions.workflowTemplates, the resource name of the
+// template has the following format:
+// projects/{project_id}/regions/{region}/workflowTemplates/{template_i
+// d} For projects.locations.workflowTemplates, the resource name of
+// the template has the following format:
+// projects/{project_id}/locations/{location}/workflowTemplates/{templa
+// te_id}.
func (r *ProjectsRegionsWorkflowTemplatesService) Update(name string, workflowtemplate *WorkflowTemplate) *ProjectsRegionsWorkflowTemplatesUpdateCall {
c := &ProjectsRegionsWorkflowTemplatesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/datastore/v1/datastore-gen.go b/datastore/v1/datastore-gen.go
index 6b768672e34..0ddd2cd066a 100644
--- a/datastore/v1/datastore-gen.go
+++ b/datastore/v1/datastore-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/datastore/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datastore/v1"
-// ...
-// ctx := context.Background()
-// datastoreService, err := datastore.NewService(ctx)
+// import "google.golang.org/api/datastore/v1"
+// ...
+// ctx := context.Background()
+// datastoreService, err := datastore.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// datastoreService, err := datastore.NewService(ctx, option.WithScopes(datastore.DatastoreScope))
+// datastoreService, err := datastore.NewService(ctx, option.WithScopes(datastore.DatastoreScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datastoreService, err := datastore.NewService(ctx, option.WithAPIKey("AIza..."))
+// datastoreService, err := datastore.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datastoreService, err := datastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datastoreService, err := datastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datastore // import "google.golang.org/api/datastore/v1"
@@ -736,9 +736,9 @@ func (s *GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata) MarshalJSON(
// following examples). Example usage: Entire project: kinds=[],
// namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo',
// 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default
-// namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar
+// namespace: kinds=['Foo', 'Bar'], namespace_ids=[”] Kinds Foo and Bar
// in both the default and Baz namespaces: kinds=['Foo', 'Bar'],
-// namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[],
+// namespace_ids=[”, 'Baz'] The entire Baz namespace: kinds=[],
// namespace_ids=['Baz']
type GoogleDatastoreAdminV1EntityFilter struct {
// Kinds: If empty, then this represents all kinds.
@@ -1449,9 +1449,9 @@ func (s *GoogleDatastoreAdminV1beta1CommonMetadata) MarshalJSON() ([]byte, error
// following examples). Example usage: Entire project: kinds=[],
// namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo',
// 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default
-// namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar
+// namespace: kinds=['Foo', 'Bar'], namespace_ids=[”] Kinds Foo and Bar
// in both the default and Baz namespaces: kinds=['Foo', 'Bar'],
-// namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[],
+// namespace_ids=[”, 'Baz'] The entire Baz namespace: kinds=[],
// namespace_ids=['Baz']
type GoogleDatastoreAdminV1beta1EntityFilter struct {
// Kinds: If empty, then this represents all kinds.
diff --git a/datastore/v1beta1/datastore-gen.go b/datastore/v1beta1/datastore-gen.go
index c65f85a1341..77e830feb68 100644
--- a/datastore/v1beta1/datastore-gen.go
+++ b/datastore/v1beta1/datastore-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/datastore/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datastore/v1beta1"
-// ...
-// ctx := context.Background()
-// datastoreService, err := datastore.NewService(ctx)
+// import "google.golang.org/api/datastore/v1beta1"
+// ...
+// ctx := context.Background()
+// datastoreService, err := datastore.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// datastoreService, err := datastore.NewService(ctx, option.WithScopes(datastore.DatastoreScope))
+// datastoreService, err := datastore.NewService(ctx, option.WithScopes(datastore.DatastoreScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datastoreService, err := datastore.NewService(ctx, option.WithAPIKey("AIza..."))
+// datastoreService, err := datastore.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datastoreService, err := datastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datastoreService, err := datastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datastore // import "google.golang.org/api/datastore/v1beta1"
@@ -287,9 +287,9 @@ func (s *GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata) MarshalJSON(
// following examples). Example usage: Entire project: kinds=[],
// namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo',
// 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default
-// namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar
+// namespace: kinds=['Foo', 'Bar'], namespace_ids=[”] Kinds Foo and Bar
// in both the default and Baz namespaces: kinds=['Foo', 'Bar'],
-// namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[],
+// namespace_ids=[”, 'Baz'] The entire Baz namespace: kinds=[],
// namespace_ids=['Baz']
type GoogleDatastoreAdminV1EntityFilter struct {
// Kinds: If empty, then this represents all kinds.
@@ -751,9 +751,9 @@ func (s *GoogleDatastoreAdminV1beta1CommonMetadata) MarshalJSON() ([]byte, error
// following examples). Example usage: Entire project: kinds=[],
// namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo',
// 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default
-// namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar
+// namespace: kinds=['Foo', 'Bar'], namespace_ids=[”] Kinds Foo and Bar
// in both the default and Baz namespaces: kinds=['Foo', 'Bar'],
-// namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[],
+// namespace_ids=[”, 'Baz'] The entire Baz namespace: kinds=[],
// namespace_ids=['Baz']
type GoogleDatastoreAdminV1beta1EntityFilter struct {
// Kinds: If empty, then this represents all kinds.
diff --git a/datastore/v1beta3/datastore-gen.go b/datastore/v1beta3/datastore-gen.go
index 6d5eaa8faab..471ba874a63 100644
--- a/datastore/v1beta3/datastore-gen.go
+++ b/datastore/v1beta3/datastore-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/datastore/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datastore/v1beta3"
-// ...
-// ctx := context.Background()
-// datastoreService, err := datastore.NewService(ctx)
+// import "google.golang.org/api/datastore/v1beta3"
+// ...
+// ctx := context.Background()
+// datastoreService, err := datastore.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// datastoreService, err := datastore.NewService(ctx, option.WithScopes(datastore.DatastoreScope))
+// datastoreService, err := datastore.NewService(ctx, option.WithScopes(datastore.DatastoreScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datastoreService, err := datastore.NewService(ctx, option.WithAPIKey("AIza..."))
+// datastoreService, err := datastore.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datastoreService, err := datastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datastoreService, err := datastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datastore // import "google.golang.org/api/datastore/v1beta3"
@@ -687,9 +687,9 @@ func (s *GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata) MarshalJSON(
// following examples). Example usage: Entire project: kinds=[],
// namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo',
// 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default
-// namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar
+// namespace: kinds=['Foo', 'Bar'], namespace_ids=[”] Kinds Foo and Bar
// in both the default and Baz namespaces: kinds=['Foo', 'Bar'],
-// namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[],
+// namespace_ids=[”, 'Baz'] The entire Baz namespace: kinds=[],
// namespace_ids=['Baz']
type GoogleDatastoreAdminV1EntityFilter struct {
// Kinds: If empty, then this represents all kinds.
@@ -1151,9 +1151,9 @@ func (s *GoogleDatastoreAdminV1beta1CommonMetadata) MarshalJSON() ([]byte, error
// following examples). Example usage: Entire project: kinds=[],
// namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo',
// 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default
-// namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar
+// namespace: kinds=['Foo', 'Bar'], namespace_ids=[”] Kinds Foo and Bar
// in both the default and Baz namespaces: kinds=['Foo', 'Bar'],
-// namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[],
+// namespace_ids=[”, 'Baz'] The entire Baz namespace: kinds=[],
// namespace_ids=['Baz']
type GoogleDatastoreAdminV1beta1EntityFilter struct {
// Kinds: If empty, then this represents all kinds.
diff --git a/datastream/v1/datastream-gen.go b/datastream/v1/datastream-gen.go
index 6edec03cbc5..9d495f1e70a 100644
--- a/datastream/v1/datastream-gen.go
+++ b/datastream/v1/datastream-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/datastream/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datastream/v1"
-// ...
-// ctx := context.Background()
-// datastreamService, err := datastream.NewService(ctx)
+// import "google.golang.org/api/datastream/v1"
+// ...
+// ctx := context.Background()
+// datastreamService, err := datastream.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datastreamService, err := datastream.NewService(ctx, option.WithAPIKey("AIza..."))
+// datastreamService, err := datastream.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datastreamService, err := datastream.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datastreamService, err := datastream.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datastream // import "google.golang.org/api/datastream/v1"
@@ -2453,8 +2453,8 @@ type ProjectsLocationsFetchStaticIpsCall struct {
// FetchStaticIps: The FetchStaticIps API call exposes the static IP
// addresses used by Datastream.
//
-// - name: The resource name for the location for which static IPs
-// should be returned. Must be in the format `projects/*/locations/*`.
+// - name: The resource name for the location for which static IPs
+// should be returned. Must be in the format `projects/*/locations/*`.
func (r *ProjectsLocationsService) FetchStaticIps(name string) *ProjectsLocationsFetchStaticIpsCall {
c := &ProjectsLocationsFetchStaticIpsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2794,8 +2794,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3361,8 +3361,8 @@ type ProjectsLocationsConnectionProfilesDiscoverCall struct {
// the profile. Typically, a request returns children data objects of a
// parent data object that's optionally supplied in the request.
//
-// - parent: The parent resource of the connection profile type. Must be
-// in the format `projects/*/locations/*`.
+// - parent: The parent resource of the connection profile type. Must be
+// in the format `projects/*/locations/*`.
func (r *ProjectsLocationsConnectionProfilesService) Discover(parent string, discoverconnectionprofilerequest *DiscoverConnectionProfileRequest) *ProjectsLocationsConnectionProfilesDiscoverCall {
c := &ProjectsLocationsConnectionProfilesDiscoverCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5218,8 +5218,8 @@ type ProjectsLocationsPrivateConnectionsListCall struct {
// List: Use this method to list private connectivity configurations in
// a project and location.
//
-// - parent: The parent that owns the collection of private connectivity
-// configurations.
+// - parent: The parent that owns the collection of private connectivity
+// configurations.
func (r *ProjectsLocationsPrivateConnectionsService) List(parent string) *ProjectsLocationsPrivateConnectionsListCall {
c := &ProjectsLocationsPrivateConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7548,8 +7548,8 @@ type ProjectsLocationsStreamsObjectsStartBackfillJobCall struct {
// StartBackfillJob: Use this method to start a backfill job for the
// specified stream object.
//
-// - object: The name of the stream object resource to start a backfill
-// job for.
+// - object: The name of the stream object resource to start a backfill
+// job for.
func (r *ProjectsLocationsStreamsObjectsService) StartBackfillJob(object string, startbackfilljobrequest *StartBackfillJobRequest) *ProjectsLocationsStreamsObjectsStartBackfillJobCall {
c := &ProjectsLocationsStreamsObjectsStartBackfillJobCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.object = object
@@ -7692,8 +7692,8 @@ type ProjectsLocationsStreamsObjectsStopBackfillJobCall struct {
// StopBackfillJob: Use this method to stop a backfill job for the
// specified stream object.
//
-// - object: The name of the stream object resource to stop the backfill
-// job for.
+// - object: The name of the stream object resource to stop the backfill
+// job for.
func (r *ProjectsLocationsStreamsObjectsService) StopBackfillJob(object string, stopbackfilljobrequest *StopBackfillJobRequest) *ProjectsLocationsStreamsObjectsStopBackfillJobCall {
c := &ProjectsLocationsStreamsObjectsStopBackfillJobCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.object = object
diff --git a/datastream/v1alpha1/datastream-gen.go b/datastream/v1alpha1/datastream-gen.go
index a36a034dd93..56a2accf130 100644
--- a/datastream/v1alpha1/datastream-gen.go
+++ b/datastream/v1alpha1/datastream-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/datastream/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/datastream/v1alpha1"
-// ...
-// ctx := context.Background()
-// datastreamService, err := datastream.NewService(ctx)
+// import "google.golang.org/api/datastream/v1alpha1"
+// ...
+// ctx := context.Background()
+// datastreamService, err := datastream.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// datastreamService, err := datastream.NewService(ctx, option.WithAPIKey("AIza..."))
+// datastreamService, err := datastream.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// datastreamService, err := datastream.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// datastreamService, err := datastream.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package datastream // import "google.golang.org/api/datastream/v1alpha1"
@@ -2424,8 +2424,8 @@ type ProjectsLocationsFetchStaticIpsCall struct {
// FetchStaticIps: The FetchStaticIps API call exposes the static IP
// addresses used by Datastream.
//
-// - name: The name resource of the Response type. Must be in the format
-// `projects/*/locations/*`.
+// - name: The name resource of the Response type. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsService) FetchStaticIps(name string) *ProjectsLocationsFetchStaticIpsCall {
c := &ProjectsLocationsFetchStaticIpsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2765,8 +2765,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3307,8 +3307,8 @@ type ProjectsLocationsConnectionProfilesDiscoverCall struct {
// the profile. Typically, a request returns children data objects under
// a parent data object that's optionally supplied in the request.
//
-// - parent: The parent resource of the ConnectionProfile type. Must be
-// in the format `projects/*/locations/*`.
+// - parent: The parent resource of the ConnectionProfile type. Must be
+// in the format `projects/*/locations/*`.
func (r *ProjectsLocationsConnectionProfilesService) Discover(parent string, discoverconnectionprofilerequest *DiscoverConnectionProfileRequest) *ProjectsLocationsConnectionProfilesDiscoverCall {
c := &ProjectsLocationsConnectionProfilesDiscoverCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5152,8 +5152,8 @@ type ProjectsLocationsPrivateConnectionsListCall struct {
// List: Use this method to list private connectivity configurations in
// a project and location.
//
-// - parent: The parent that owns the collection of private connectivity
-// configurations.
+// - parent: The parent that owns the collection of private connectivity
+// configurations.
func (r *ProjectsLocationsPrivateConnectionsService) List(parent string) *ProjectsLocationsPrivateConnectionsListCall {
c := &ProjectsLocationsPrivateConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7481,8 +7481,8 @@ type ProjectsLocationsStreamsObjectsStartBackfillJobCall struct {
// StartBackfillJob: Starts backfill job for the specified stream
// object.
//
-// - object: The name of the stream object resource to start a backfill
-// job for.
+// - object: The name of the stream object resource to start a backfill
+// job for.
func (r *ProjectsLocationsStreamsObjectsService) StartBackfillJob(object string) *ProjectsLocationsStreamsObjectsStartBackfillJobCall {
c := &ProjectsLocationsStreamsObjectsStartBackfillJobCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.object = object
@@ -7615,8 +7615,8 @@ type ProjectsLocationsStreamsObjectsStopBackfillJobCall struct {
// StopBackfillJob: Stops the backfill job for the specified stream
// object.
//
-// - object: The name of the stream object resource to stop the backfill
-// job for.
+// - object: The name of the stream object resource to stop the backfill
+// job for.
func (r *ProjectsLocationsStreamsObjectsService) StopBackfillJob(object string) *ProjectsLocationsStreamsObjectsStopBackfillJobCall {
c := &ProjectsLocationsStreamsObjectsStopBackfillJobCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.object = object
diff --git a/deploymentmanager/v0.alpha/deploymentmanager-gen.go b/deploymentmanager/v0.alpha/deploymentmanager-gen.go
index aeacf18916d..df3cba80b4d 100644
--- a/deploymentmanager/v0.alpha/deploymentmanager-gen.go
+++ b/deploymentmanager/v0.alpha/deploymentmanager-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/deployment-manager
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/deploymentmanager/v0.alpha"
-// ...
-// ctx := context.Background()
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx)
+// import "google.golang.org/api/deploymentmanager/v0.alpha"
+// ...
+// ctx := context.Background()
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithScopes(deploymentmanager.NdevCloudmanReadonlyScope))
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithScopes(deploymentmanager.NdevCloudmanReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package deploymentmanager // import "google.golang.org/api/deploymentmanager/v0.alpha"
@@ -4435,8 +4435,9 @@ func (r *DeploymentsService) Delete(project string, deployment string) *Deployme
// policy to use for deleting resources.
//
// Possible values:
-// "DELETE" (default)
-// "ABANDON"
+//
+// "DELETE" (default)
+// "ABANDON"
func (c *DeploymentsDeleteCall) DeletePolicy(deletePolicy string) *DeploymentsDeleteCall {
c.urlParams_.Set("deletePolicy", deletePolicy)
return c
@@ -4938,9 +4939,10 @@ func (r *DeploymentsService) Insert(project string, deployment *Deployment) *Dep
// policy to use for creating new resources.
//
// Possible values:
-// "CREATE_OR_ACQUIRE" (default)
-// "ACQUIRE"
-// "CREATE"
+//
+// "CREATE_OR_ACQUIRE" (default)
+// "ACQUIRE"
+// "CREATE"
func (c *DeploymentsInsertCall) CreatePolicy(createPolicy string) *DeploymentsInsertCall {
c.urlParams_.Set("createPolicy", createPolicy)
return c
@@ -5398,9 +5400,10 @@ func (r *DeploymentsService) Patch(project string, deployment string, deployment
// policy to use for creating new resources.
//
// Possible values:
-// "CREATE_OR_ACQUIRE" (default)
-// "ACQUIRE"
-// "CREATE"
+//
+// "CREATE_OR_ACQUIRE" (default)
+// "ACQUIRE"
+// "CREATE"
func (c *DeploymentsPatchCall) CreatePolicy(createPolicy string) *DeploymentsPatchCall {
c.urlParams_.Set("createPolicy", createPolicy)
return c
@@ -5410,8 +5413,9 @@ func (c *DeploymentsPatchCall) CreatePolicy(createPolicy string) *DeploymentsPat
// policy to use for deleting resources.
//
// Possible values:
-// "DELETE" (default)
-// "ABANDON"
+//
+// "DELETE" (default)
+// "ABANDON"
func (c *DeploymentsPatchCall) DeletePolicy(deletePolicy string) *DeploymentsPatchCall {
c.urlParams_.Set("deletePolicy", deletePolicy)
return c
@@ -6098,9 +6102,10 @@ func (r *DeploymentsService) Update(project string, deployment string, deploymen
// policy to use for creating new resources.
//
// Possible values:
-// "CREATE_OR_ACQUIRE" (default)
-// "ACQUIRE"
-// "CREATE"
+//
+// "CREATE_OR_ACQUIRE" (default)
+// "ACQUIRE"
+// "CREATE"
func (c *DeploymentsUpdateCall) CreatePolicy(createPolicy string) *DeploymentsUpdateCall {
c.urlParams_.Set("createPolicy", createPolicy)
return c
@@ -6110,8 +6115,9 @@ func (c *DeploymentsUpdateCall) CreatePolicy(createPolicy string) *DeploymentsUp
// policy to use for deleting resources.
//
// Possible values:
-// "DELETE" (default)
-// "ABANDON"
+//
+// "DELETE" (default)
+// "ABANDON"
func (c *DeploymentsUpdateCall) DeletePolicy(deletePolicy string) *DeploymentsUpdateCall {
c.urlParams_.Set("deletePolicy", deletePolicy)
return c
diff --git a/deploymentmanager/v2/deploymentmanager-gen.go b/deploymentmanager/v2/deploymentmanager-gen.go
index d28a41e86b4..695dbf07588 100644
--- a/deploymentmanager/v2/deploymentmanager-gen.go
+++ b/deploymentmanager/v2/deploymentmanager-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/deployment-manager
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/deploymentmanager/v2"
-// ...
-// ctx := context.Background()
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx)
+// import "google.golang.org/api/deploymentmanager/v2"
+// ...
+// ctx := context.Background()
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithScopes(deploymentmanager.NdevCloudmanReadonlyScope))
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithScopes(deploymentmanager.NdevCloudmanReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package deploymentmanager // import "google.golang.org/api/deploymentmanager/v2"
@@ -2324,8 +2324,9 @@ func (r *DeploymentsService) Delete(project string, deployment string) *Deployme
// policy to use for deleting resources.
//
// Possible values:
-// "DELETE" (default)
-// "ABANDON"
+//
+// "DELETE" (default)
+// "ABANDON"
func (c *DeploymentsDeleteCall) DeletePolicy(deletePolicy string) *DeploymentsDeleteCall {
c.urlParams_.Set("deletePolicy", deletePolicy)
return c
@@ -2827,8 +2828,9 @@ func (r *DeploymentsService) Insert(project string, deployment *Deployment) *Dep
// policy to use for creating new resources.
//
// Possible values:
-// "CREATE_OR_ACQUIRE" (default)
-// "ACQUIRE"
+//
+// "CREATE_OR_ACQUIRE" (default)
+// "ACQUIRE"
func (c *DeploymentsInsertCall) CreatePolicy(createPolicy string) *DeploymentsInsertCall {
c.urlParams_.Set("createPolicy", createPolicy)
return c
@@ -3284,8 +3286,9 @@ func (r *DeploymentsService) Patch(project string, deployment string, deployment
// policy to use for creating new resources.
//
// Possible values:
-// "CREATE_OR_ACQUIRE" (default)
-// "ACQUIRE"
+//
+// "CREATE_OR_ACQUIRE" (default)
+// "ACQUIRE"
func (c *DeploymentsPatchCall) CreatePolicy(createPolicy string) *DeploymentsPatchCall {
c.urlParams_.Set("createPolicy", createPolicy)
return c
@@ -3295,8 +3298,9 @@ func (c *DeploymentsPatchCall) CreatePolicy(createPolicy string) *DeploymentsPat
// policy to use for deleting resources.
//
// Possible values:
-// "DELETE" (default)
-// "ABANDON"
+//
+// "DELETE" (default)
+// "ABANDON"
func (c *DeploymentsPatchCall) DeletePolicy(deletePolicy string) *DeploymentsPatchCall {
c.urlParams_.Set("deletePolicy", deletePolicy)
return c
@@ -3981,8 +3985,9 @@ func (r *DeploymentsService) Update(project string, deployment string, deploymen
// policy to use for creating new resources.
//
// Possible values:
-// "CREATE_OR_ACQUIRE" (default)
-// "ACQUIRE"
+//
+// "CREATE_OR_ACQUIRE" (default)
+// "ACQUIRE"
func (c *DeploymentsUpdateCall) CreatePolicy(createPolicy string) *DeploymentsUpdateCall {
c.urlParams_.Set("createPolicy", createPolicy)
return c
@@ -3992,8 +3997,9 @@ func (c *DeploymentsUpdateCall) CreatePolicy(createPolicy string) *DeploymentsUp
// policy to use for deleting resources.
//
// Possible values:
-// "DELETE" (default)
-// "ABANDON"
+//
+// "DELETE" (default)
+// "ABANDON"
func (c *DeploymentsUpdateCall) DeletePolicy(deletePolicy string) *DeploymentsUpdateCall {
c.urlParams_.Set("deletePolicy", deletePolicy)
return c
diff --git a/deploymentmanager/v2beta/deploymentmanager-gen.go b/deploymentmanager/v2beta/deploymentmanager-gen.go
index acf46e3841d..bcab22a410f 100644
--- a/deploymentmanager/v2beta/deploymentmanager-gen.go
+++ b/deploymentmanager/v2beta/deploymentmanager-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/deployment-manager
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/deploymentmanager/v2beta"
-// ...
-// ctx := context.Background()
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx)
+// import "google.golang.org/api/deploymentmanager/v2beta"
+// ...
+// ctx := context.Background()
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithScopes(deploymentmanager.NdevCloudmanReadonlyScope))
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithScopes(deploymentmanager.NdevCloudmanReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// deploymentmanagerService, err := deploymentmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package deploymentmanager // import "google.golang.org/api/deploymentmanager/v2beta"
@@ -4309,8 +4309,9 @@ func (r *DeploymentsService) Delete(project string, deployment string) *Deployme
// policy to use for deleting resources.
//
// Possible values:
-// "DELETE" (default)
-// "ABANDON"
+//
+// "DELETE" (default)
+// "ABANDON"
func (c *DeploymentsDeleteCall) DeletePolicy(deletePolicy string) *DeploymentsDeleteCall {
c.urlParams_.Set("deletePolicy", deletePolicy)
return c
@@ -4812,9 +4813,10 @@ func (r *DeploymentsService) Insert(project string, deployment *Deployment) *Dep
// policy to use for creating new resources.
//
// Possible values:
-// "CREATE_OR_ACQUIRE" (default)
-// "ACQUIRE"
-// "CREATE"
+//
+// "CREATE_OR_ACQUIRE" (default)
+// "ACQUIRE"
+// "CREATE"
func (c *DeploymentsInsertCall) CreatePolicy(createPolicy string) *DeploymentsInsertCall {
c.urlParams_.Set("createPolicy", createPolicy)
return c
@@ -5272,9 +5274,10 @@ func (r *DeploymentsService) Patch(project string, deployment string, deployment
// policy to use for creating new resources.
//
// Possible values:
-// "CREATE_OR_ACQUIRE" (default)
-// "ACQUIRE"
-// "CREATE"
+//
+// "CREATE_OR_ACQUIRE" (default)
+// "ACQUIRE"
+// "CREATE"
func (c *DeploymentsPatchCall) CreatePolicy(createPolicy string) *DeploymentsPatchCall {
c.urlParams_.Set("createPolicy", createPolicy)
return c
@@ -5284,8 +5287,9 @@ func (c *DeploymentsPatchCall) CreatePolicy(createPolicy string) *DeploymentsPat
// policy to use for deleting resources.
//
// Possible values:
-// "DELETE" (default)
-// "ABANDON"
+//
+// "DELETE" (default)
+// "ABANDON"
func (c *DeploymentsPatchCall) DeletePolicy(deletePolicy string) *DeploymentsPatchCall {
c.urlParams_.Set("deletePolicy", deletePolicy)
return c
@@ -5972,9 +5976,10 @@ func (r *DeploymentsService) Update(project string, deployment string, deploymen
// policy to use for creating new resources.
//
// Possible values:
-// "CREATE_OR_ACQUIRE" (default)
-// "ACQUIRE"
-// "CREATE"
+//
+// "CREATE_OR_ACQUIRE" (default)
+// "ACQUIRE"
+// "CREATE"
func (c *DeploymentsUpdateCall) CreatePolicy(createPolicy string) *DeploymentsUpdateCall {
c.urlParams_.Set("createPolicy", createPolicy)
return c
@@ -5984,8 +5989,9 @@ func (c *DeploymentsUpdateCall) CreatePolicy(createPolicy string) *DeploymentsUp
// policy to use for deleting resources.
//
// Possible values:
-// "DELETE" (default)
-// "ABANDON"
+//
+// "DELETE" (default)
+// "ABANDON"
func (c *DeploymentsUpdateCall) DeletePolicy(deletePolicy string) *DeploymentsUpdateCall {
c.urlParams_.Set("deletePolicy", deletePolicy)
return c
diff --git a/dfareporting/v2.7/dfareporting-gen.go b/dfareporting/v2.7/dfareporting-gen.go
index cc7e738b159..b14dc2f79c3 100644
--- a/dfareporting/v2.7/dfareporting-gen.go
+++ b/dfareporting/v2.7/dfareporting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/doubleclick-advertisers/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dfareporting/v2.7"
-// ...
-// ctx := context.Background()
-// dfareportingService, err := dfareporting.NewService(ctx)
+// import "google.golang.org/api/dfareporting/v2.7"
+// ...
+// ctx := context.Background()
+// dfareportingService, err := dfareporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dfareporting // import "google.golang.org/api/dfareporting/v2.7"
@@ -14876,8 +14876,9 @@ func (c *AccountUserProfilesListCall) SearchString(searchString string) *Account
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -14887,8 +14888,9 @@ func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserPr
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -15636,8 +15638,9 @@ func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -15647,8 +15650,9 @@ func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16510,11 +16514,12 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
// in-stream video ads developed with the VAST standard.
//
// Possible values:
-// "APP"
-// "APP_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
+//
+// "APP"
+// "APP_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
c.urlParams_.Set("compatibility", compatibility)
return c
@@ -16647,8 +16652,9 @@ func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdsListCall) SortField(sortField string) *AdsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -16658,8 +16664,9 @@ func (c *AdsListCall) SortField(sortField string) *AdsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16683,10 +16690,11 @@ func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall {
// types.
//
// Possible values:
-// "AD_SERVING_CLICK_TRACKER"
-// "AD_SERVING_DEFAULT_AD"
-// "AD_SERVING_STANDARD_AD"
-// "AD_SERVING_TRACKING"
+//
+// "AD_SERVING_CLICK_TRACKER"
+// "AD_SERVING_DEFAULT_AD"
+// "AD_SERVING_STANDARD_AD"
+// "AD_SERVING_TRACKING"
func (c *AdsListCall) Type(type_ ...string) *AdsListCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -17776,8 +17784,9 @@ func (c *AdvertiserGroupsListCall) SearchString(searchString string) *Advertiser
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -17787,8 +17796,9 @@ func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroups
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -18674,8 +18684,9 @@ func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -18685,8 +18696,9 @@ func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -18696,8 +18708,9 @@ func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
// with the specified status.
//
// Possible values:
-// "APPROVED"
-// "ON_HOLD"
+//
+// "APPROVED"
+// "ON_HOLD"
func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall {
c.urlParams_.Set("status", status)
return c
@@ -19575,8 +19588,9 @@ func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *Camp
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20195,8 +20209,9 @@ func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -20206,8 +20221,9 @@ func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20927,23 +20943,24 @@ func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall {
// with the specified action.
//
// Possible values:
-// "ACTION_ADD"
-// "ACTION_ASSIGN"
-// "ACTION_ASSOCIATE"
-// "ACTION_CREATE"
-// "ACTION_DELETE"
-// "ACTION_DISABLE"
-// "ACTION_EMAIL_TAGS"
-// "ACTION_ENABLE"
-// "ACTION_LINK"
-// "ACTION_MARK_AS_DEFAULT"
-// "ACTION_PUSH"
-// "ACTION_REMOVE"
-// "ACTION_SEND"
-// "ACTION_SHARE"
-// "ACTION_UNASSIGN"
-// "ACTION_UNLINK"
-// "ACTION_UPDATE"
+//
+// "ACTION_ADD"
+// "ACTION_ASSIGN"
+// "ACTION_ASSOCIATE"
+// "ACTION_CREATE"
+// "ACTION_DELETE"
+// "ACTION_DISABLE"
+// "ACTION_EMAIL_TAGS"
+// "ACTION_ENABLE"
+// "ACTION_LINK"
+// "ACTION_MARK_AS_DEFAULT"
+// "ACTION_PUSH"
+// "ACTION_REMOVE"
+// "ACTION_SEND"
+// "ACTION_SHARE"
+// "ACTION_UNASSIGN"
+// "ACTION_UNLINK"
+// "ACTION_UPDATE"
func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall {
c.urlParams_.Set("action", action)
return c
@@ -21008,45 +21025,46 @@ func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall {
// change logs with the specified object type.
//
// Possible values:
-// "OBJECT_ACCOUNT"
-// "OBJECT_ACCOUNT_BILLING_FEATURE"
-// "OBJECT_AD"
-// "OBJECT_ADVERTISER"
-// "OBJECT_ADVERTISER_GROUP"
-// "OBJECT_BILLING_ACCOUNT_GROUP"
-// "OBJECT_BILLING_FEATURE"
-// "OBJECT_BILLING_MINIMUM_FEE"
-// "OBJECT_BILLING_PROFILE"
-// "OBJECT_CAMPAIGN"
-// "OBJECT_CONTENT_CATEGORY"
-// "OBJECT_CREATIVE"
-// "OBJECT_CREATIVE_ASSET"
-// "OBJECT_CREATIVE_BUNDLE"
-// "OBJECT_CREATIVE_FIELD"
-// "OBJECT_CREATIVE_GROUP"
-// "OBJECT_DFA_SITE"
-// "OBJECT_EVENT_TAG"
-// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
-// "OBJECT_FLOODLIGHT_ACTVITY"
-// "OBJECT_FLOODLIGHT_CONFIGURATION"
-// "OBJECT_INSTREAM_CREATIVE"
-// "OBJECT_LANDING_PAGE"
-// "OBJECT_MEDIA_ORDER"
-// "OBJECT_PLACEMENT"
-// "OBJECT_PLACEMENT_STRATEGY"
-// "OBJECT_PLAYSTORE_LINK"
-// "OBJECT_PROVIDED_LIST_CLIENT"
-// "OBJECT_RATE_CARD"
-// "OBJECT_REMARKETING_LIST"
-// "OBJECT_RICHMEDIA_CREATIVE"
-// "OBJECT_SD_SITE"
-// "OBJECT_SEARCH_LIFT_STUDY"
-// "OBJECT_SIZE"
-// "OBJECT_SUBACCOUNT"
-// "OBJECT_TARGETING_TEMPLATE"
-// "OBJECT_USER_PROFILE"
-// "OBJECT_USER_PROFILE_FILTER"
-// "OBJECT_USER_ROLE"
+//
+// "OBJECT_ACCOUNT"
+// "OBJECT_ACCOUNT_BILLING_FEATURE"
+// "OBJECT_AD"
+// "OBJECT_ADVERTISER"
+// "OBJECT_ADVERTISER_GROUP"
+// "OBJECT_BILLING_ACCOUNT_GROUP"
+// "OBJECT_BILLING_FEATURE"
+// "OBJECT_BILLING_MINIMUM_FEE"
+// "OBJECT_BILLING_PROFILE"
+// "OBJECT_CAMPAIGN"
+// "OBJECT_CONTENT_CATEGORY"
+// "OBJECT_CREATIVE"
+// "OBJECT_CREATIVE_ASSET"
+// "OBJECT_CREATIVE_BUNDLE"
+// "OBJECT_CREATIVE_FIELD"
+// "OBJECT_CREATIVE_GROUP"
+// "OBJECT_DFA_SITE"
+// "OBJECT_EVENT_TAG"
+// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
+// "OBJECT_FLOODLIGHT_ACTVITY"
+// "OBJECT_FLOODLIGHT_CONFIGURATION"
+// "OBJECT_INSTREAM_CREATIVE"
+// "OBJECT_LANDING_PAGE"
+// "OBJECT_MEDIA_ORDER"
+// "OBJECT_PLACEMENT"
+// "OBJECT_PLACEMENT_STRATEGY"
+// "OBJECT_PLAYSTORE_LINK"
+// "OBJECT_PROVIDED_LIST_CLIENT"
+// "OBJECT_RATE_CARD"
+// "OBJECT_REMARKETING_LIST"
+// "OBJECT_RICHMEDIA_CREATIVE"
+// "OBJECT_SD_SITE"
+// "OBJECT_SEARCH_LIFT_STUDY"
+// "OBJECT_SIZE"
+// "OBJECT_SUBACCOUNT"
+// "OBJECT_TARGETING_TEMPLATE"
+// "OBJECT_USER_PROFILE"
+// "OBJECT_USER_PROFILE_FILTER"
+// "OBJECT_USER_ROLE"
func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -22377,8 +22395,9 @@ func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCa
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -22388,8 +22407,9 @@ func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategori
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -24050,8 +24070,9 @@ func (c *CreativeFieldValuesListCall) SearchString(searchString string) *Creativ
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "VALUE"
+//
+// "ID" (default)
+// "VALUE"
func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -24061,8 +24082,9 @@ func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeField
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -25065,8 +25087,9 @@ func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFiel
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -25076,8 +25099,9 @@ func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -25951,8 +25975,9 @@ func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGrou
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -25962,8 +25987,9 @@ func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -26899,8 +26925,9 @@ func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -26910,8 +26937,9 @@ func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -26928,30 +26956,31 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
// these creative types.
//
// Possible values:
-// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
-// "CUSTOM_DISPLAY"
-// "CUSTOM_DISPLAY_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_IMAGE_GALLERY"
-// "DISPLAY_REDIRECT"
-// "FLASH_INPAGE"
-// "HTML5_BANNER"
-// "IMAGE"
-// "INSTREAM_VIDEO"
-// "INSTREAM_VIDEO_REDIRECT"
-// "INTERNAL_REDIRECT"
-// "INTERSTITIAL_INTERNAL_REDIRECT"
-// "RICH_MEDIA_DISPLAY_BANNER"
-// "RICH_MEDIA_DISPLAY_EXPANDING"
-// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
-// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
-// "RICH_MEDIA_IM_EXPAND"
-// "RICH_MEDIA_INPAGE_FLOATING"
-// "RICH_MEDIA_MOBILE_IN_APP"
-// "RICH_MEDIA_PEEL_DOWN"
-// "TRACKING_TEXT"
-// "VPAID_LINEAR_VIDEO"
-// "VPAID_NON_LINEAR_VIDEO"
+//
+// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
+// "CUSTOM_DISPLAY"
+// "CUSTOM_DISPLAY_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_IMAGE_GALLERY"
+// "DISPLAY_REDIRECT"
+// "FLASH_INPAGE"
+// "HTML5_BANNER"
+// "IMAGE"
+// "INSTREAM_VIDEO"
+// "INSTREAM_VIDEO_REDIRECT"
+// "INTERNAL_REDIRECT"
+// "INTERSTITIAL_INTERNAL_REDIRECT"
+// "RICH_MEDIA_DISPLAY_BANNER"
+// "RICH_MEDIA_DISPLAY_EXPANDING"
+// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
+// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
+// "RICH_MEDIA_IM_EXPAND"
+// "RICH_MEDIA_INPAGE_FLOATING"
+// "RICH_MEDIA_MOBILE_IN_APP"
+// "RICH_MEDIA_PEEL_DOWN"
+// "TRACKING_TEXT"
+// "VPAID_LINEAR_VIDEO"
+// "VPAID_NON_LINEAR_VIDEO"
func (c *CreativesListCall) Types(types ...string) *CreativesListCall {
c.urlParams_.SetMulti("types", append([]string{}, types...))
return c
@@ -27977,8 +28006,9 @@ func (c *DirectorySiteContactsListCall) SearchString(searchString string) *Direc
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySiteContactsListCall) SortField(sortField string) *DirectorySiteContactsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -27988,8 +28018,9 @@ func (c *DirectorySiteContactsListCall) SortField(sortField string) *DirectorySi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySiteContactsListCall) SortOrder(sortOrder string) *DirectorySiteContactsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28611,8 +28642,9 @@ func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySit
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -28622,8 +28654,9 @@ func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -29192,10 +29225,11 @@ func (c *DynamicTargetingKeysListCall) ObjectId(objectId int64) *DynamicTargetin
// dynamic targeting keys with this object type.
//
// Possible values:
-// "OBJECT_AD"
-// "OBJECT_ADVERTISER"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
+//
+// "OBJECT_AD"
+// "OBJECT_ADVERTISER"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
func (c *DynamicTargetingKeysListCall) ObjectType(objectType string) *DynamicTargetingKeysListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -29838,9 +29872,10 @@ func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall {
// either impression or click tracking.
//
// Possible values:
-// "CLICK_THROUGH_EVENT_TAG"
-// "IMPRESSION_IMAGE_EVENT_TAG"
-// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
+//
+// "CLICK_THROUGH_EVENT_TAG"
+// "IMPRESSION_IMAGE_EVENT_TAG"
+// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall {
c.urlParams_.SetMulti("eventTagTypes", append([]string{}, eventTagTypes...))
return c
@@ -29874,8 +29909,9 @@ func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -29885,8 +29921,9 @@ func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -30597,9 +30634,10 @@ func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All files in account.
-// "MINE" (default) - My files.
-// "SHARED_WITH_ME" - Files shared with me.
+//
+// "ALL" - All files in account.
+// "MINE" (default) - My files.
+// "SHARED_WITH_ME" - Files shared with me.
func (c *FilesListCall) Scope(scope string) *FilesListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -30609,8 +30647,9 @@ func (c *FilesListCall) Scope(scope string) *FilesListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *FilesListCall) SortField(sortField string) *FilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -30620,8 +30659,9 @@ func (c *FilesListCall) SortField(sortField string) *FilesListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -31441,8 +31481,9 @@ func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlig
// the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall {
c.urlParams_.Set("floodlightActivityGroupType", floodlightActivityGroupType)
return c
@@ -31501,8 +31542,9 @@ func (c *FloodlightActivitiesListCall) SearchString(searchString string) *Floodl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -31512,8 +31554,9 @@ func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightAc
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32436,8 +32479,9 @@ func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *Fl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -32447,8 +32491,9 @@ func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *Floodlig
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32458,8 +32503,9 @@ func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *Floodlig
// activity groups with the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -33829,8 +33875,9 @@ func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -33840,8 +33887,9 @@ func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33851,8 +33899,9 @@ func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsList
// with this type.
//
// Possible values:
-// "PLANNING_PLACEMENT_TYPE_CREDIT"
-// "PLANNING_PLACEMENT_TYPE_REGULAR"
+//
+// "PLANNING_PLACEMENT_TYPE_CREDIT"
+// "PLANNING_PLACEMENT_TYPE_REGULAR"
func (c *InventoryItemsListCall) Type(type_ string) *InventoryItemsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -36432,8 +36481,9 @@ func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -36443,8 +36493,9 @@ func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -36916,8 +36967,9 @@ func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -36927,8 +36979,9 @@ func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -37582,8 +37635,9 @@ func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsLi
// of its assigned placements to be marked as primary for reporting.
//
// Possible values:
-// "PLACEMENT_PACKAGE"
-// "PLACEMENT_ROADBLOCK"
+//
+// "PLACEMENT_PACKAGE"
+// "PLACEMENT_ROADBLOCK"
func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall {
c.urlParams_.Set("placementGroupType", placementGroupType)
return c
@@ -37605,12 +37659,13 @@ func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...i
// placement groups with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+//
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -37645,8 +37700,9 @@ func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37656,8 +37712,9 @@ func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsLi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -38720,8 +38777,9 @@ func (c *PlacementStrategiesListCall) SearchString(searchString string) *Placeme
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -38731,8 +38789,9 @@ func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStra
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -39268,25 +39327,26 @@ func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *Placem
// placements.
//
// Possible values:
-// "PLACEMENT_TAG_CLICK_COMMANDS"
-// "PLACEMENT_TAG_IFRAME_ILAYER"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
-// "PLACEMENT_TAG_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_JAVASCRIPT"
-// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_STANDARD"
-// "PLACEMENT_TAG_TRACKING"
-// "PLACEMENT_TAG_TRACKING_IFRAME"
-// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+//
+// "PLACEMENT_TAG_CLICK_COMMANDS"
+// "PLACEMENT_TAG_IFRAME_ILAYER"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
+// "PLACEMENT_TAG_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_JAVASCRIPT"
+// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_STANDARD"
+// "PLACEMENT_TAG_TRACKING"
+// "PLACEMENT_TAG_TRACKING_IFRAME"
+// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall {
c.urlParams_.SetMulti("tagFormats", append([]string{}, tagFormats...))
return c
@@ -39816,11 +39876,12 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
// with the VAST standard.
//
// Possible values:
-// "APP"
-// "APP_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
+//
+// "APP"
+// "APP_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
return c
@@ -39922,8 +39983,9 @@ func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {
// only placements with this payment source.
//
// Possible values:
-// "PLACEMENT_AGENCY_PAID"
-// "PLACEMENT_PUBLISHER_PAID"
+//
+// "PLACEMENT_AGENCY_PAID"
+// "PLACEMENT_PUBLISHER_PAID"
func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall {
c.urlParams_.Set("paymentSource", paymentSource)
return c
@@ -39945,12 +40007,13 @@ func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64)
// placements with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+//
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -39995,8 +40058,9 @@ func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -40006,8 +40070,9 @@ func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -41456,8 +41521,9 @@ func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -41467,8 +41533,9 @@ func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -42625,8 +42692,9 @@ func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingLists
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -42636,8 +42704,9 @@ func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingLists
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -43584,8 +43653,9 @@ func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All reports in account.
-// "MINE" (default) - My reports.
+//
+// "ALL" - All reports in account.
+// "MINE" (default) - My reports.
func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -43595,9 +43665,10 @@ func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by report ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
-// "NAME" - Sort by name of reports.
+//
+// "ID" - Sort by report ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
+// "NAME" - Sort by name of reports.
func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -43607,8 +43678,9 @@ func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -44632,8 +44704,9 @@ func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -44643,8 +44716,9 @@ func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -45260,8 +45334,9 @@ func (c *SitesListCall) SearchString(searchString string) *SitesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SitesListCall) SortField(sortField string) *SitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -45271,8 +45346,9 @@ func (c *SitesListCall) SortField(sortField string) *SitesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -46680,8 +46756,9 @@ func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -46691,8 +46768,9 @@ func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -47398,8 +47476,9 @@ func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *Target
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -47409,8 +47488,9 @@ func (c *TargetableRemarketingListsListCall) SortField(sortField string) *Target
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -47984,8 +48064,9 @@ func (c *TargetingTemplatesListCall) SearchString(searchString string) *Targetin
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -47995,8 +48076,9 @@ func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTempl
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetingTemplatesListCall) SortOrder(sortOrder string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -49854,8 +49936,9 @@ func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -49865,8 +49948,9 @@ func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
diff --git a/dfareporting/v3.0/dfareporting-gen.go b/dfareporting/v3.0/dfareporting-gen.go
index 6b76076d57d..393d9165d15 100644
--- a/dfareporting/v3.0/dfareporting-gen.go
+++ b/dfareporting/v3.0/dfareporting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/doubleclick-advertisers/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dfareporting/v3.0"
-// ...
-// ctx := context.Background()
-// dfareportingService, err := dfareporting.NewService(ctx)
+// import "google.golang.org/api/dfareporting/v3.0"
+// ...
+// ctx := context.Background()
+// dfareportingService, err := dfareporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dfareporting // import "google.golang.org/api/dfareporting/v3.0"
@@ -15141,8 +15141,9 @@ func (c *AccountUserProfilesListCall) SearchString(searchString string) *Account
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -15152,8 +15153,9 @@ func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserPr
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -15901,8 +15903,9 @@ func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -15912,8 +15915,9 @@ func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16775,12 +16779,13 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
// in-stream video ads developed with the VAST standard.
//
// Possible values:
-// "APP"
-// "APP_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "IN_STREAM_AUDIO"
-// "IN_STREAM_VIDEO"
+//
+// "APP"
+// "APP_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "IN_STREAM_AUDIO"
+// "IN_STREAM_VIDEO"
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
c.urlParams_.Set("compatibility", compatibility)
return c
@@ -16913,8 +16918,9 @@ func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdsListCall) SortField(sortField string) *AdsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -16924,8 +16930,9 @@ func (c *AdsListCall) SortField(sortField string) *AdsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16949,10 +16956,11 @@ func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall {
// types.
//
// Possible values:
-// "AD_SERVING_CLICK_TRACKER"
-// "AD_SERVING_DEFAULT_AD"
-// "AD_SERVING_STANDARD_AD"
-// "AD_SERVING_TRACKING"
+//
+// "AD_SERVING_CLICK_TRACKER"
+// "AD_SERVING_DEFAULT_AD"
+// "AD_SERVING_STANDARD_AD"
+// "AD_SERVING_TRACKING"
func (c *AdsListCall) Type(type_ ...string) *AdsListCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -18044,8 +18052,9 @@ func (c *AdvertiserGroupsListCall) SearchString(searchString string) *Advertiser
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -18055,8 +18064,9 @@ func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroups
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -18922,8 +18932,9 @@ func (c *AdvertiserLandingPagesListCall) SearchString(searchString string) *Adve
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -18933,8 +18944,9 @@ func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *Advertiser
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserLandingPagesListCall) SortOrder(sortOrder string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -19846,8 +19858,9 @@ func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -19857,8 +19870,9 @@ func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -19868,8 +19882,9 @@ func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
// with the specified status.
//
// Possible values:
-// "APPROVED"
-// "ON_HOLD"
+//
+// "APPROVED"
+// "ON_HOLD"
func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall {
c.urlParams_.Set("status", status)
return c
@@ -20747,8 +20762,9 @@ func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *Camp
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -21351,8 +21367,9 @@ func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -21362,8 +21379,9 @@ func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -22083,23 +22101,24 @@ func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall {
// with the specified action.
//
// Possible values:
-// "ACTION_ADD"
-// "ACTION_ASSIGN"
-// "ACTION_ASSOCIATE"
-// "ACTION_CREATE"
-// "ACTION_DELETE"
-// "ACTION_DISABLE"
-// "ACTION_EMAIL_TAGS"
-// "ACTION_ENABLE"
-// "ACTION_LINK"
-// "ACTION_MARK_AS_DEFAULT"
-// "ACTION_PUSH"
-// "ACTION_REMOVE"
-// "ACTION_SEND"
-// "ACTION_SHARE"
-// "ACTION_UNASSIGN"
-// "ACTION_UNLINK"
-// "ACTION_UPDATE"
+//
+// "ACTION_ADD"
+// "ACTION_ASSIGN"
+// "ACTION_ASSOCIATE"
+// "ACTION_CREATE"
+// "ACTION_DELETE"
+// "ACTION_DISABLE"
+// "ACTION_EMAIL_TAGS"
+// "ACTION_ENABLE"
+// "ACTION_LINK"
+// "ACTION_MARK_AS_DEFAULT"
+// "ACTION_PUSH"
+// "ACTION_REMOVE"
+// "ACTION_SEND"
+// "ACTION_SHARE"
+// "ACTION_UNASSIGN"
+// "ACTION_UNLINK"
+// "ACTION_UPDATE"
func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall {
c.urlParams_.Set("action", action)
return c
@@ -22164,45 +22183,46 @@ func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall {
// change logs with the specified object type.
//
// Possible values:
-// "OBJECT_ACCOUNT"
-// "OBJECT_ACCOUNT_BILLING_FEATURE"
-// "OBJECT_AD"
-// "OBJECT_ADVERTISER"
-// "OBJECT_ADVERTISER_GROUP"
-// "OBJECT_BILLING_ACCOUNT_GROUP"
-// "OBJECT_BILLING_FEATURE"
-// "OBJECT_BILLING_MINIMUM_FEE"
-// "OBJECT_BILLING_PROFILE"
-// "OBJECT_CAMPAIGN"
-// "OBJECT_CONTENT_CATEGORY"
-// "OBJECT_CREATIVE"
-// "OBJECT_CREATIVE_ASSET"
-// "OBJECT_CREATIVE_BUNDLE"
-// "OBJECT_CREATIVE_FIELD"
-// "OBJECT_CREATIVE_GROUP"
-// "OBJECT_DFA_SITE"
-// "OBJECT_EVENT_TAG"
-// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
-// "OBJECT_FLOODLIGHT_ACTVITY"
-// "OBJECT_FLOODLIGHT_CONFIGURATION"
-// "OBJECT_INSTREAM_CREATIVE"
-// "OBJECT_LANDING_PAGE"
-// "OBJECT_MEDIA_ORDER"
-// "OBJECT_PLACEMENT"
-// "OBJECT_PLACEMENT_STRATEGY"
-// "OBJECT_PLAYSTORE_LINK"
-// "OBJECT_PROVIDED_LIST_CLIENT"
-// "OBJECT_RATE_CARD"
-// "OBJECT_REMARKETING_LIST"
-// "OBJECT_RICHMEDIA_CREATIVE"
-// "OBJECT_SD_SITE"
-// "OBJECT_SEARCH_LIFT_STUDY"
-// "OBJECT_SIZE"
-// "OBJECT_SUBACCOUNT"
-// "OBJECT_TARGETING_TEMPLATE"
-// "OBJECT_USER_PROFILE"
-// "OBJECT_USER_PROFILE_FILTER"
-// "OBJECT_USER_ROLE"
+//
+// "OBJECT_ACCOUNT"
+// "OBJECT_ACCOUNT_BILLING_FEATURE"
+// "OBJECT_AD"
+// "OBJECT_ADVERTISER"
+// "OBJECT_ADVERTISER_GROUP"
+// "OBJECT_BILLING_ACCOUNT_GROUP"
+// "OBJECT_BILLING_FEATURE"
+// "OBJECT_BILLING_MINIMUM_FEE"
+// "OBJECT_BILLING_PROFILE"
+// "OBJECT_CAMPAIGN"
+// "OBJECT_CONTENT_CATEGORY"
+// "OBJECT_CREATIVE"
+// "OBJECT_CREATIVE_ASSET"
+// "OBJECT_CREATIVE_BUNDLE"
+// "OBJECT_CREATIVE_FIELD"
+// "OBJECT_CREATIVE_GROUP"
+// "OBJECT_DFA_SITE"
+// "OBJECT_EVENT_TAG"
+// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
+// "OBJECT_FLOODLIGHT_ACTVITY"
+// "OBJECT_FLOODLIGHT_CONFIGURATION"
+// "OBJECT_INSTREAM_CREATIVE"
+// "OBJECT_LANDING_PAGE"
+// "OBJECT_MEDIA_ORDER"
+// "OBJECT_PLACEMENT"
+// "OBJECT_PLACEMENT_STRATEGY"
+// "OBJECT_PLAYSTORE_LINK"
+// "OBJECT_PROVIDED_LIST_CLIENT"
+// "OBJECT_RATE_CARD"
+// "OBJECT_REMARKETING_LIST"
+// "OBJECT_RICHMEDIA_CREATIVE"
+// "OBJECT_SD_SITE"
+// "OBJECT_SEARCH_LIFT_STUDY"
+// "OBJECT_SIZE"
+// "OBJECT_SUBACCOUNT"
+// "OBJECT_TARGETING_TEMPLATE"
+// "OBJECT_USER_PROFILE"
+// "OBJECT_USER_PROFILE_FILTER"
+// "OBJECT_USER_ROLE"
func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -23533,8 +23553,9 @@ func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCa
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -23544,8 +23565,9 @@ func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategori
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -25345,8 +25367,9 @@ func (c *CreativeFieldValuesListCall) SearchString(searchString string) *Creativ
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "VALUE"
+//
+// "ID" (default)
+// "VALUE"
func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -25356,8 +25379,9 @@ func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeField
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -26360,8 +26384,9 @@ func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFiel
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -26371,8 +26396,9 @@ func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -27246,8 +27272,9 @@ func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGrou
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -27257,8 +27284,9 @@ func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28194,8 +28222,9 @@ func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -28205,8 +28234,9 @@ func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28223,31 +28253,32 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
// these creative types.
//
// Possible values:
-// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
-// "CUSTOM_DISPLAY"
-// "CUSTOM_DISPLAY_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_IMAGE_GALLERY"
-// "DISPLAY_REDIRECT"
-// "FLASH_INPAGE"
-// "HTML5_BANNER"
-// "IMAGE"
-// "INSTREAM_AUDIO"
-// "INSTREAM_VIDEO"
-// "INSTREAM_VIDEO_REDIRECT"
-// "INTERNAL_REDIRECT"
-// "INTERSTITIAL_INTERNAL_REDIRECT"
-// "RICH_MEDIA_DISPLAY_BANNER"
-// "RICH_MEDIA_DISPLAY_EXPANDING"
-// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
-// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
-// "RICH_MEDIA_IM_EXPAND"
-// "RICH_MEDIA_INPAGE_FLOATING"
-// "RICH_MEDIA_MOBILE_IN_APP"
-// "RICH_MEDIA_PEEL_DOWN"
-// "TRACKING_TEXT"
-// "VPAID_LINEAR_VIDEO"
-// "VPAID_NON_LINEAR_VIDEO"
+//
+// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
+// "CUSTOM_DISPLAY"
+// "CUSTOM_DISPLAY_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_IMAGE_GALLERY"
+// "DISPLAY_REDIRECT"
+// "FLASH_INPAGE"
+// "HTML5_BANNER"
+// "IMAGE"
+// "INSTREAM_AUDIO"
+// "INSTREAM_VIDEO"
+// "INSTREAM_VIDEO_REDIRECT"
+// "INTERNAL_REDIRECT"
+// "INTERSTITIAL_INTERNAL_REDIRECT"
+// "RICH_MEDIA_DISPLAY_BANNER"
+// "RICH_MEDIA_DISPLAY_EXPANDING"
+// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
+// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
+// "RICH_MEDIA_IM_EXPAND"
+// "RICH_MEDIA_INPAGE_FLOATING"
+// "RICH_MEDIA_MOBILE_IN_APP"
+// "RICH_MEDIA_PEEL_DOWN"
+// "TRACKING_TEXT"
+// "VPAID_LINEAR_VIDEO"
+// "VPAID_NON_LINEAR_VIDEO"
func (c *CreativesListCall) Types(types ...string) *CreativesListCall {
c.urlParams_.SetMulti("types", append([]string{}, types...))
return c
@@ -29275,8 +29306,9 @@ func (c *DirectorySiteContactsListCall) SearchString(searchString string) *Direc
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySiteContactsListCall) SortField(sortField string) *DirectorySiteContactsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -29286,8 +29318,9 @@ func (c *DirectorySiteContactsListCall) SortField(sortField string) *DirectorySi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySiteContactsListCall) SortOrder(sortOrder string) *DirectorySiteContactsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -29909,8 +29942,9 @@ func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySit
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -29920,8 +29954,9 @@ func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -30490,10 +30525,11 @@ func (c *DynamicTargetingKeysListCall) ObjectId(objectId int64) *DynamicTargetin
// dynamic targeting keys with this object type.
//
// Possible values:
-// "OBJECT_AD"
-// "OBJECT_ADVERTISER"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
+//
+// "OBJECT_AD"
+// "OBJECT_ADVERTISER"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
func (c *DynamicTargetingKeysListCall) ObjectType(objectType string) *DynamicTargetingKeysListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -31136,9 +31172,10 @@ func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall {
// either impression or click tracking.
//
// Possible values:
-// "CLICK_THROUGH_EVENT_TAG"
-// "IMPRESSION_IMAGE_EVENT_TAG"
-// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
+//
+// "CLICK_THROUGH_EVENT_TAG"
+// "IMPRESSION_IMAGE_EVENT_TAG"
+// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall {
c.urlParams_.SetMulti("eventTagTypes", append([]string{}, eventTagTypes...))
return c
@@ -31172,8 +31209,9 @@ func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -31183,8 +31221,9 @@ func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -31895,9 +31934,10 @@ func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All files in account.
-// "MINE" (default) - My files.
-// "SHARED_WITH_ME" - Files shared with me.
+//
+// "ALL" - All files in account.
+// "MINE" (default) - My files.
+// "SHARED_WITH_ME" - Files shared with me.
func (c *FilesListCall) Scope(scope string) *FilesListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -31907,8 +31947,9 @@ func (c *FilesListCall) Scope(scope string) *FilesListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *FilesListCall) SortField(sortField string) *FilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -31918,8 +31959,9 @@ func (c *FilesListCall) SortField(sortField string) *FilesListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32739,8 +32781,9 @@ func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlig
// the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall {
c.urlParams_.Set("floodlightActivityGroupType", floodlightActivityGroupType)
return c
@@ -32799,8 +32842,9 @@ func (c *FloodlightActivitiesListCall) SearchString(searchString string) *Floodl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -32810,8 +32854,9 @@ func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightAc
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33734,8 +33779,9 @@ func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *Fl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -33745,8 +33791,9 @@ func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *Floodlig
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33756,8 +33803,9 @@ func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *Floodlig
// activity groups with the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -35127,8 +35175,9 @@ func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -35138,8 +35187,9 @@ func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -35149,8 +35199,9 @@ func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsList
// with this type.
//
// Possible values:
-// "PLANNING_PLACEMENT_TYPE_CREDIT"
-// "PLANNING_PLACEMENT_TYPE_REGULAR"
+//
+// "PLANNING_PLACEMENT_TYPE_CREDIT"
+// "PLANNING_PLACEMENT_TYPE_REGULAR"
func (c *InventoryItemsListCall) Type(type_ string) *InventoryItemsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -36828,8 +36879,9 @@ func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -36839,8 +36891,9 @@ func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -37312,8 +37365,9 @@ func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37323,8 +37377,9 @@ func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -37978,8 +38033,9 @@ func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsLi
// of its assigned placements to be marked as primary for reporting.
//
// Possible values:
-// "PLACEMENT_PACKAGE"
-// "PLACEMENT_ROADBLOCK"
+//
+// "PLACEMENT_PACKAGE"
+// "PLACEMENT_ROADBLOCK"
func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall {
c.urlParams_.Set("placementGroupType", placementGroupType)
return c
@@ -38001,12 +38057,13 @@ func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...i
// placement groups with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+//
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -38041,8 +38098,9 @@ func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -38052,8 +38110,9 @@ func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsLi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -39116,8 +39175,9 @@ func (c *PlacementStrategiesListCall) SearchString(searchString string) *Placeme
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -39127,8 +39187,9 @@ func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStra
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -39664,25 +39725,26 @@ func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *Placem
// placements.
//
// Possible values:
-// "PLACEMENT_TAG_CLICK_COMMANDS"
-// "PLACEMENT_TAG_IFRAME_ILAYER"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
-// "PLACEMENT_TAG_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_JAVASCRIPT"
-// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_STANDARD"
-// "PLACEMENT_TAG_TRACKING"
-// "PLACEMENT_TAG_TRACKING_IFRAME"
-// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+//
+// "PLACEMENT_TAG_CLICK_COMMANDS"
+// "PLACEMENT_TAG_IFRAME_ILAYER"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
+// "PLACEMENT_TAG_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_JAVASCRIPT"
+// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_STANDARD"
+// "PLACEMENT_TAG_TRACKING"
+// "PLACEMENT_TAG_TRACKING_IFRAME"
+// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall {
c.urlParams_.SetMulti("tagFormats", append([]string{}, tagFormats...))
return c
@@ -40212,12 +40274,13 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
// with the VAST standard.
//
// Possible values:
-// "APP"
-// "APP_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "IN_STREAM_AUDIO"
-// "IN_STREAM_VIDEO"
+//
+// "APP"
+// "APP_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "IN_STREAM_AUDIO"
+// "IN_STREAM_VIDEO"
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
return c
@@ -40319,8 +40382,9 @@ func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {
// only placements with this payment source.
//
// Possible values:
-// "PLACEMENT_AGENCY_PAID"
-// "PLACEMENT_PUBLISHER_PAID"
+//
+// "PLACEMENT_AGENCY_PAID"
+// "PLACEMENT_PUBLISHER_PAID"
func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall {
c.urlParams_.Set("paymentSource", paymentSource)
return c
@@ -40342,12 +40406,13 @@ func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64)
// placements with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+//
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -40392,8 +40457,9 @@ func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -40403,8 +40469,9 @@ func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -41855,8 +41922,9 @@ func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -41866,8 +41934,9 @@ func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -43024,8 +43093,9 @@ func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingLists
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -43035,8 +43105,9 @@ func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingLists
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -43983,8 +44054,9 @@ func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All reports in account.
-// "MINE" (default) - My reports.
+//
+// "ALL" - All reports in account.
+// "MINE" (default) - My reports.
func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -43994,9 +44066,10 @@ func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by report ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
-// "NAME" - Sort by name of reports.
+//
+// "ID" - Sort by report ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
+// "NAME" - Sort by name of reports.
func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -44006,8 +44079,9 @@ func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -45031,8 +45105,9 @@ func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -45042,8 +45117,9 @@ func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -45659,8 +45735,9 @@ func (c *SitesListCall) SearchString(searchString string) *SitesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SitesListCall) SortField(sortField string) *SitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -45670,8 +45747,9 @@ func (c *SitesListCall) SortField(sortField string) *SitesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -47082,8 +47160,9 @@ func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -47093,8 +47172,9 @@ func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -47800,8 +47880,9 @@ func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *Target
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -47811,8 +47892,9 @@ func (c *TargetableRemarketingListsListCall) SortField(sortField string) *Target
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -48386,8 +48468,9 @@ func (c *TargetingTemplatesListCall) SearchString(searchString string) *Targetin
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -48397,8 +48480,9 @@ func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTempl
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetingTemplatesListCall) SortOrder(sortOrder string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -50256,8 +50340,9 @@ func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -50267,8 +50352,9 @@ func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
diff --git a/dfareporting/v3.1/dfareporting-gen.go b/dfareporting/v3.1/dfareporting-gen.go
index bb1da447be3..b736acff604 100644
--- a/dfareporting/v3.1/dfareporting-gen.go
+++ b/dfareporting/v3.1/dfareporting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/doubleclick-advertisers/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dfareporting/v3.1"
-// ...
-// ctx := context.Background()
-// dfareportingService, err := dfareporting.NewService(ctx)
+// import "google.golang.org/api/dfareporting/v3.1"
+// ...
+// ctx := context.Background()
+// dfareportingService, err := dfareporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dfareporting // import "google.golang.org/api/dfareporting/v3.1"
@@ -15035,8 +15035,9 @@ func (c *AccountUserProfilesListCall) SearchString(searchString string) *Account
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -15046,8 +15047,9 @@ func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserPr
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -15795,8 +15797,9 @@ func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -15806,8 +15809,9 @@ func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16669,12 +16673,13 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
// in-stream video ads developed with the VAST standard.
//
// Possible values:
-// "APP"
-// "APP_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "IN_STREAM_AUDIO"
-// "IN_STREAM_VIDEO"
+//
+// "APP"
+// "APP_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "IN_STREAM_AUDIO"
+// "IN_STREAM_VIDEO"
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
c.urlParams_.Set("compatibility", compatibility)
return c
@@ -16807,8 +16812,9 @@ func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdsListCall) SortField(sortField string) *AdsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -16818,8 +16824,9 @@ func (c *AdsListCall) SortField(sortField string) *AdsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16843,10 +16850,11 @@ func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall {
// types.
//
// Possible values:
-// "AD_SERVING_CLICK_TRACKER"
-// "AD_SERVING_DEFAULT_AD"
-// "AD_SERVING_STANDARD_AD"
-// "AD_SERVING_TRACKING"
+//
+// "AD_SERVING_CLICK_TRACKER"
+// "AD_SERVING_DEFAULT_AD"
+// "AD_SERVING_STANDARD_AD"
+// "AD_SERVING_TRACKING"
func (c *AdsListCall) Type(type_ ...string) *AdsListCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -17938,8 +17946,9 @@ func (c *AdvertiserGroupsListCall) SearchString(searchString string) *Advertiser
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -17949,8 +17958,9 @@ func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroups
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -18827,8 +18837,9 @@ func (c *AdvertiserLandingPagesListCall) SearchString(searchString string) *Adve
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -18838,8 +18849,9 @@ func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *Advertiser
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserLandingPagesListCall) SortOrder(sortOrder string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -19758,8 +19770,9 @@ func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -19769,8 +19782,9 @@ func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -19780,8 +19794,9 @@ func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
// with the specified status.
//
// Possible values:
-// "APPROVED"
-// "ON_HOLD"
+//
+// "APPROVED"
+// "ON_HOLD"
func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall {
c.urlParams_.Set("status", status)
return c
@@ -20659,8 +20674,9 @@ func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *Camp
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -21263,8 +21279,9 @@ func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -21274,8 +21291,9 @@ func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -21995,23 +22013,24 @@ func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall {
// with the specified action.
//
// Possible values:
-// "ACTION_ADD"
-// "ACTION_ASSIGN"
-// "ACTION_ASSOCIATE"
-// "ACTION_CREATE"
-// "ACTION_DELETE"
-// "ACTION_DISABLE"
-// "ACTION_EMAIL_TAGS"
-// "ACTION_ENABLE"
-// "ACTION_LINK"
-// "ACTION_MARK_AS_DEFAULT"
-// "ACTION_PUSH"
-// "ACTION_REMOVE"
-// "ACTION_SEND"
-// "ACTION_SHARE"
-// "ACTION_UNASSIGN"
-// "ACTION_UNLINK"
-// "ACTION_UPDATE"
+//
+// "ACTION_ADD"
+// "ACTION_ASSIGN"
+// "ACTION_ASSOCIATE"
+// "ACTION_CREATE"
+// "ACTION_DELETE"
+// "ACTION_DISABLE"
+// "ACTION_EMAIL_TAGS"
+// "ACTION_ENABLE"
+// "ACTION_LINK"
+// "ACTION_MARK_AS_DEFAULT"
+// "ACTION_PUSH"
+// "ACTION_REMOVE"
+// "ACTION_SEND"
+// "ACTION_SHARE"
+// "ACTION_UNASSIGN"
+// "ACTION_UNLINK"
+// "ACTION_UPDATE"
func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall {
c.urlParams_.Set("action", action)
return c
@@ -22076,46 +22095,47 @@ func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall {
// change logs with the specified object type.
//
// Possible values:
-// "OBJECT_ACCOUNT"
-// "OBJECT_ACCOUNT_BILLING_FEATURE"
-// "OBJECT_AD"
-// "OBJECT_ADVERTISER"
-// "OBJECT_ADVERTISER_GROUP"
-// "OBJECT_BILLING_ACCOUNT_GROUP"
-// "OBJECT_BILLING_FEATURE"
-// "OBJECT_BILLING_MINIMUM_FEE"
-// "OBJECT_BILLING_PROFILE"
-// "OBJECT_CAMPAIGN"
-// "OBJECT_CONTENT_CATEGORY"
-// "OBJECT_CREATIVE"
-// "OBJECT_CREATIVE_ASSET"
-// "OBJECT_CREATIVE_BUNDLE"
-// "OBJECT_CREATIVE_FIELD"
-// "OBJECT_CREATIVE_GROUP"
-// "OBJECT_DFA_SITE"
-// "OBJECT_EVENT_TAG"
-// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
-// "OBJECT_FLOODLIGHT_ACTVITY"
-// "OBJECT_FLOODLIGHT_CONFIGURATION"
-// "OBJECT_FLOODLIGHT_DV360_LINK"
-// "OBJECT_INSTREAM_CREATIVE"
-// "OBJECT_LANDING_PAGE"
-// "OBJECT_MEDIA_ORDER"
-// "OBJECT_PLACEMENT"
-// "OBJECT_PLACEMENT_STRATEGY"
-// "OBJECT_PLAYSTORE_LINK"
-// "OBJECT_PROVIDED_LIST_CLIENT"
-// "OBJECT_RATE_CARD"
-// "OBJECT_REMARKETING_LIST"
-// "OBJECT_RICHMEDIA_CREATIVE"
-// "OBJECT_SD_SITE"
-// "OBJECT_SEARCH_LIFT_STUDY"
-// "OBJECT_SIZE"
-// "OBJECT_SUBACCOUNT"
-// "OBJECT_TARGETING_TEMPLATE"
-// "OBJECT_USER_PROFILE"
-// "OBJECT_USER_PROFILE_FILTER"
-// "OBJECT_USER_ROLE"
+//
+// "OBJECT_ACCOUNT"
+// "OBJECT_ACCOUNT_BILLING_FEATURE"
+// "OBJECT_AD"
+// "OBJECT_ADVERTISER"
+// "OBJECT_ADVERTISER_GROUP"
+// "OBJECT_BILLING_ACCOUNT_GROUP"
+// "OBJECT_BILLING_FEATURE"
+// "OBJECT_BILLING_MINIMUM_FEE"
+// "OBJECT_BILLING_PROFILE"
+// "OBJECT_CAMPAIGN"
+// "OBJECT_CONTENT_CATEGORY"
+// "OBJECT_CREATIVE"
+// "OBJECT_CREATIVE_ASSET"
+// "OBJECT_CREATIVE_BUNDLE"
+// "OBJECT_CREATIVE_FIELD"
+// "OBJECT_CREATIVE_GROUP"
+// "OBJECT_DFA_SITE"
+// "OBJECT_EVENT_TAG"
+// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
+// "OBJECT_FLOODLIGHT_ACTVITY"
+// "OBJECT_FLOODLIGHT_CONFIGURATION"
+// "OBJECT_FLOODLIGHT_DV360_LINK"
+// "OBJECT_INSTREAM_CREATIVE"
+// "OBJECT_LANDING_PAGE"
+// "OBJECT_MEDIA_ORDER"
+// "OBJECT_PLACEMENT"
+// "OBJECT_PLACEMENT_STRATEGY"
+// "OBJECT_PLAYSTORE_LINK"
+// "OBJECT_PROVIDED_LIST_CLIENT"
+// "OBJECT_RATE_CARD"
+// "OBJECT_REMARKETING_LIST"
+// "OBJECT_RICHMEDIA_CREATIVE"
+// "OBJECT_SD_SITE"
+// "OBJECT_SEARCH_LIFT_STUDY"
+// "OBJECT_SIZE"
+// "OBJECT_SUBACCOUNT"
+// "OBJECT_TARGETING_TEMPLATE"
+// "OBJECT_USER_PROFILE"
+// "OBJECT_USER_PROFILE_FILTER"
+// "OBJECT_USER_ROLE"
func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -23448,8 +23468,9 @@ func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCa
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -23459,8 +23480,9 @@ func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategori
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -25260,8 +25282,9 @@ func (c *CreativeFieldValuesListCall) SearchString(searchString string) *Creativ
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "VALUE"
+//
+// "ID" (default)
+// "VALUE"
func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -25271,8 +25294,9 @@ func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeField
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -26275,8 +26299,9 @@ func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFiel
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -26286,8 +26311,9 @@ func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -27161,8 +27187,9 @@ func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGrou
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -27172,8 +27199,9 @@ func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28109,8 +28137,9 @@ func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -28120,8 +28149,9 @@ func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28138,31 +28168,32 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
// these creative types.
//
// Possible values:
-// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
-// "CUSTOM_DISPLAY"
-// "CUSTOM_DISPLAY_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_IMAGE_GALLERY"
-// "DISPLAY_REDIRECT"
-// "FLASH_INPAGE"
-// "HTML5_BANNER"
-// "IMAGE"
-// "INSTREAM_AUDIO"
-// "INSTREAM_VIDEO"
-// "INSTREAM_VIDEO_REDIRECT"
-// "INTERNAL_REDIRECT"
-// "INTERSTITIAL_INTERNAL_REDIRECT"
-// "RICH_MEDIA_DISPLAY_BANNER"
-// "RICH_MEDIA_DISPLAY_EXPANDING"
-// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
-// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
-// "RICH_MEDIA_IM_EXPAND"
-// "RICH_MEDIA_INPAGE_FLOATING"
-// "RICH_MEDIA_MOBILE_IN_APP"
-// "RICH_MEDIA_PEEL_DOWN"
-// "TRACKING_TEXT"
-// "VPAID_LINEAR_VIDEO"
-// "VPAID_NON_LINEAR_VIDEO"
+//
+// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
+// "CUSTOM_DISPLAY"
+// "CUSTOM_DISPLAY_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_IMAGE_GALLERY"
+// "DISPLAY_REDIRECT"
+// "FLASH_INPAGE"
+// "HTML5_BANNER"
+// "IMAGE"
+// "INSTREAM_AUDIO"
+// "INSTREAM_VIDEO"
+// "INSTREAM_VIDEO_REDIRECT"
+// "INTERNAL_REDIRECT"
+// "INTERSTITIAL_INTERNAL_REDIRECT"
+// "RICH_MEDIA_DISPLAY_BANNER"
+// "RICH_MEDIA_DISPLAY_EXPANDING"
+// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
+// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
+// "RICH_MEDIA_IM_EXPAND"
+// "RICH_MEDIA_INPAGE_FLOATING"
+// "RICH_MEDIA_MOBILE_IN_APP"
+// "RICH_MEDIA_PEEL_DOWN"
+// "TRACKING_TEXT"
+// "VPAID_LINEAR_VIDEO"
+// "VPAID_NON_LINEAR_VIDEO"
func (c *CreativesListCall) Types(types ...string) *CreativesListCall {
c.urlParams_.SetMulti("types", append([]string{}, types...))
return c
@@ -29355,8 +29386,9 @@ func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySit
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -29366,8 +29398,9 @@ func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -29924,10 +29957,11 @@ func (c *DynamicTargetingKeysListCall) ObjectId(objectId int64) *DynamicTargetin
// dynamic targeting keys with this object type.
//
// Possible values:
-// "OBJECT_AD"
-// "OBJECT_ADVERTISER"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
+//
+// "OBJECT_AD"
+// "OBJECT_ADVERTISER"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
func (c *DynamicTargetingKeysListCall) ObjectType(objectType string) *DynamicTargetingKeysListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -30570,9 +30604,10 @@ func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall {
// either impression or click tracking.
//
// Possible values:
-// "CLICK_THROUGH_EVENT_TAG"
-// "IMPRESSION_IMAGE_EVENT_TAG"
-// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
+//
+// "CLICK_THROUGH_EVENT_TAG"
+// "IMPRESSION_IMAGE_EVENT_TAG"
+// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall {
c.urlParams_.SetMulti("eventTagTypes", append([]string{}, eventTagTypes...))
return c
@@ -30606,8 +30641,9 @@ func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -30617,8 +30653,9 @@ func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -31329,9 +31366,10 @@ func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All files in account.
-// "MINE" (default) - My files.
-// "SHARED_WITH_ME" - Files shared with me.
+//
+// "ALL" - All files in account.
+// "MINE" (default) - My files.
+// "SHARED_WITH_ME" - Files shared with me.
func (c *FilesListCall) Scope(scope string) *FilesListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -31341,8 +31379,9 @@ func (c *FilesListCall) Scope(scope string) *FilesListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *FilesListCall) SortField(sortField string) *FilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -31352,8 +31391,9 @@ func (c *FilesListCall) SortField(sortField string) *FilesListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32173,8 +32213,9 @@ func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlig
// the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall {
c.urlParams_.Set("floodlightActivityGroupType", floodlightActivityGroupType)
return c
@@ -32233,8 +32274,9 @@ func (c *FloodlightActivitiesListCall) SearchString(searchString string) *Floodl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -32244,8 +32286,9 @@ func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightAc
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33168,8 +33211,9 @@ func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *Fl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -33179,8 +33223,9 @@ func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *Floodlig
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33190,8 +33235,9 @@ func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *Floodlig
// activity groups with the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -34561,8 +34607,9 @@ func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -34572,8 +34619,9 @@ func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -34583,8 +34631,9 @@ func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsList
// with this type.
//
// Possible values:
-// "PLANNING_PLACEMENT_TYPE_CREDIT"
-// "PLANNING_PLACEMENT_TYPE_REGULAR"
+//
+// "PLANNING_PLACEMENT_TYPE_CREDIT"
+// "PLANNING_PLACEMENT_TYPE_REGULAR"
func (c *InventoryItemsListCall) Type(type_ string) *InventoryItemsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -35287,9 +35336,10 @@ func (r *MobileAppsService) List(profileId int64) *MobileAppsListCall {
// apps from these directories.
//
// Possible values:
-// "APPLE_APP_STORE"
-// "GOOGLE_PLAY_STORE"
-// "UNKNOWN"
+//
+// "APPLE_APP_STORE"
+// "GOOGLE_PLAY_STORE"
+// "UNKNOWN"
func (c *MobileAppsListCall) Directories(directories ...string) *MobileAppsListCall {
c.urlParams_.SetMulti("directories", append([]string{}, directories...))
return c
@@ -36665,8 +36715,9 @@ func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -36676,8 +36727,9 @@ func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -37149,8 +37201,9 @@ func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37160,8 +37213,9 @@ func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -37815,8 +37869,9 @@ func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsLi
// of its assigned placements to be marked as primary for reporting.
//
// Possible values:
-// "PLACEMENT_PACKAGE"
-// "PLACEMENT_ROADBLOCK"
+//
+// "PLACEMENT_PACKAGE"
+// "PLACEMENT_ROADBLOCK"
func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall {
c.urlParams_.Set("placementGroupType", placementGroupType)
return c
@@ -37838,12 +37893,13 @@ func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...i
// placement groups with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+//
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -37878,8 +37934,9 @@ func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37889,8 +37946,9 @@ func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsLi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -38953,8 +39011,9 @@ func (c *PlacementStrategiesListCall) SearchString(searchString string) *Placeme
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -38964,8 +39023,9 @@ func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStra
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -39501,25 +39561,26 @@ func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *Placem
// placements.
//
// Possible values:
-// "PLACEMENT_TAG_CLICK_COMMANDS"
-// "PLACEMENT_TAG_IFRAME_ILAYER"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
-// "PLACEMENT_TAG_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_JAVASCRIPT"
-// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_STANDARD"
-// "PLACEMENT_TAG_TRACKING"
-// "PLACEMENT_TAG_TRACKING_IFRAME"
-// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+//
+// "PLACEMENT_TAG_CLICK_COMMANDS"
+// "PLACEMENT_TAG_IFRAME_ILAYER"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
+// "PLACEMENT_TAG_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_JAVASCRIPT"
+// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_STANDARD"
+// "PLACEMENT_TAG_TRACKING"
+// "PLACEMENT_TAG_TRACKING_IFRAME"
+// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall {
c.urlParams_.SetMulti("tagFormats", append([]string{}, tagFormats...))
return c
@@ -40049,12 +40110,13 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
// with the VAST standard.
//
// Possible values:
-// "APP"
-// "APP_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "IN_STREAM_AUDIO"
-// "IN_STREAM_VIDEO"
+//
+// "APP"
+// "APP_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "IN_STREAM_AUDIO"
+// "IN_STREAM_VIDEO"
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
return c
@@ -40156,8 +40218,9 @@ func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {
// only placements with this payment source.
//
// Possible values:
-// "PLACEMENT_AGENCY_PAID"
-// "PLACEMENT_PUBLISHER_PAID"
+//
+// "PLACEMENT_AGENCY_PAID"
+// "PLACEMENT_PUBLISHER_PAID"
func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall {
c.urlParams_.Set("paymentSource", paymentSource)
return c
@@ -40179,12 +40242,13 @@ func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64)
// placements with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+//
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -40229,8 +40293,9 @@ func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -40240,8 +40305,9 @@ func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -41692,8 +41758,9 @@ func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -41703,8 +41770,9 @@ func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -42861,8 +42929,9 @@ func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingLists
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -42872,8 +42941,9 @@ func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingLists
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -43820,8 +43890,9 @@ func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All reports in account.
-// "MINE" (default) - My reports.
+//
+// "ALL" - All reports in account.
+// "MINE" (default) - My reports.
func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -43831,9 +43902,10 @@ func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by report ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
-// "NAME" - Sort by name of reports.
+//
+// "ID" - Sort by report ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
+// "NAME" - Sort by name of reports.
func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -43843,8 +43915,9 @@ func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -44868,8 +44941,9 @@ func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -44879,8 +44953,9 @@ func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -45496,8 +45571,9 @@ func (c *SitesListCall) SearchString(searchString string) *SitesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SitesListCall) SortField(sortField string) *SitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -45507,8 +45583,9 @@ func (c *SitesListCall) SortField(sortField string) *SitesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -46919,8 +46996,9 @@ func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -46930,8 +47008,9 @@ func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -47637,8 +47716,9 @@ func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *Target
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -47648,8 +47728,9 @@ func (c *TargetableRemarketingListsListCall) SortField(sortField string) *Target
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -48223,8 +48304,9 @@ func (c *TargetingTemplatesListCall) SearchString(searchString string) *Targetin
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -48234,8 +48316,9 @@ func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTempl
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetingTemplatesListCall) SortOrder(sortOrder string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -50093,8 +50176,9 @@ func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -50104,8 +50188,9 @@ func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
diff --git a/dfareporting/v3.2/dfareporting-gen.go b/dfareporting/v3.2/dfareporting-gen.go
index 6efe95d3068..a9dd1f8f9a8 100644
--- a/dfareporting/v3.2/dfareporting-gen.go
+++ b/dfareporting/v3.2/dfareporting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/doubleclick-advertisers/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dfareporting/v3.2"
-// ...
-// ctx := context.Background()
-// dfareportingService, err := dfareporting.NewService(ctx)
+// import "google.golang.org/api/dfareporting/v3.2"
+// ...
+// ctx := context.Background()
+// dfareportingService, err := dfareporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dfareporting // import "google.golang.org/api/dfareporting/v3.2"
@@ -15333,8 +15333,9 @@ func (c *AccountUserProfilesListCall) SearchString(searchString string) *Account
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -15344,8 +15345,9 @@ func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserPr
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16093,8 +16095,9 @@ func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -16104,8 +16107,9 @@ func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16967,12 +16971,13 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
// in-stream video ads developed with the VAST standard.
//
// Possible values:
-// "APP"
-// "APP_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "IN_STREAM_AUDIO"
-// "IN_STREAM_VIDEO"
+//
+// "APP"
+// "APP_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "IN_STREAM_AUDIO"
+// "IN_STREAM_VIDEO"
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
c.urlParams_.Set("compatibility", compatibility)
return c
@@ -17105,8 +17110,9 @@ func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdsListCall) SortField(sortField string) *AdsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -17116,8 +17122,9 @@ func (c *AdsListCall) SortField(sortField string) *AdsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -17141,10 +17148,11 @@ func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall {
// types.
//
// Possible values:
-// "AD_SERVING_CLICK_TRACKER"
-// "AD_SERVING_DEFAULT_AD"
-// "AD_SERVING_STANDARD_AD"
-// "AD_SERVING_TRACKING"
+//
+// "AD_SERVING_CLICK_TRACKER"
+// "AD_SERVING_DEFAULT_AD"
+// "AD_SERVING_STANDARD_AD"
+// "AD_SERVING_TRACKING"
func (c *AdsListCall) Type(type_ ...string) *AdsListCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -18236,8 +18244,9 @@ func (c *AdvertiserGroupsListCall) SearchString(searchString string) *Advertiser
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -18247,8 +18256,9 @@ func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroups
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -19125,8 +19135,9 @@ func (c *AdvertiserLandingPagesListCall) SearchString(searchString string) *Adve
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -19136,8 +19147,9 @@ func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *Advertiser
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserLandingPagesListCall) SortOrder(sortOrder string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20056,8 +20068,9 @@ func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -20067,8 +20080,9 @@ func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20078,8 +20092,9 @@ func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
// with the specified status.
//
// Possible values:
-// "APPROVED"
-// "ON_HOLD"
+//
+// "APPROVED"
+// "ON_HOLD"
func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall {
c.urlParams_.Set("status", status)
return c
@@ -20957,8 +20972,9 @@ func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *Camp
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -21561,8 +21577,9 @@ func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -21572,8 +21589,9 @@ func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -22293,23 +22311,24 @@ func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall {
// with the specified action.
//
// Possible values:
-// "ACTION_ADD"
-// "ACTION_ASSIGN"
-// "ACTION_ASSOCIATE"
-// "ACTION_CREATE"
-// "ACTION_DELETE"
-// "ACTION_DISABLE"
-// "ACTION_EMAIL_TAGS"
-// "ACTION_ENABLE"
-// "ACTION_LINK"
-// "ACTION_MARK_AS_DEFAULT"
-// "ACTION_PUSH"
-// "ACTION_REMOVE"
-// "ACTION_SEND"
-// "ACTION_SHARE"
-// "ACTION_UNASSIGN"
-// "ACTION_UNLINK"
-// "ACTION_UPDATE"
+//
+// "ACTION_ADD"
+// "ACTION_ASSIGN"
+// "ACTION_ASSOCIATE"
+// "ACTION_CREATE"
+// "ACTION_DELETE"
+// "ACTION_DISABLE"
+// "ACTION_EMAIL_TAGS"
+// "ACTION_ENABLE"
+// "ACTION_LINK"
+// "ACTION_MARK_AS_DEFAULT"
+// "ACTION_PUSH"
+// "ACTION_REMOVE"
+// "ACTION_SEND"
+// "ACTION_SHARE"
+// "ACTION_UNASSIGN"
+// "ACTION_UNLINK"
+// "ACTION_UPDATE"
func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall {
c.urlParams_.Set("action", action)
return c
@@ -22374,46 +22393,47 @@ func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall {
// change logs with the specified object type.
//
// Possible values:
-// "OBJECT_ACCOUNT"
-// "OBJECT_ACCOUNT_BILLING_FEATURE"
-// "OBJECT_AD"
-// "OBJECT_ADVERTISER"
-// "OBJECT_ADVERTISER_GROUP"
-// "OBJECT_BILLING_ACCOUNT_GROUP"
-// "OBJECT_BILLING_FEATURE"
-// "OBJECT_BILLING_MINIMUM_FEE"
-// "OBJECT_BILLING_PROFILE"
-// "OBJECT_CAMPAIGN"
-// "OBJECT_CONTENT_CATEGORY"
-// "OBJECT_CREATIVE"
-// "OBJECT_CREATIVE_ASSET"
-// "OBJECT_CREATIVE_BUNDLE"
-// "OBJECT_CREATIVE_FIELD"
-// "OBJECT_CREATIVE_GROUP"
-// "OBJECT_DFA_SITE"
-// "OBJECT_EVENT_TAG"
-// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
-// "OBJECT_FLOODLIGHT_ACTVITY"
-// "OBJECT_FLOODLIGHT_CONFIGURATION"
-// "OBJECT_FLOODLIGHT_DV360_LINK"
-// "OBJECT_INSTREAM_CREATIVE"
-// "OBJECT_LANDING_PAGE"
-// "OBJECT_MEDIA_ORDER"
-// "OBJECT_PLACEMENT"
-// "OBJECT_PLACEMENT_STRATEGY"
-// "OBJECT_PLAYSTORE_LINK"
-// "OBJECT_PROVIDED_LIST_CLIENT"
-// "OBJECT_RATE_CARD"
-// "OBJECT_REMARKETING_LIST"
-// "OBJECT_RICHMEDIA_CREATIVE"
-// "OBJECT_SD_SITE"
-// "OBJECT_SEARCH_LIFT_STUDY"
-// "OBJECT_SIZE"
-// "OBJECT_SUBACCOUNT"
-// "OBJECT_TARGETING_TEMPLATE"
-// "OBJECT_USER_PROFILE"
-// "OBJECT_USER_PROFILE_FILTER"
-// "OBJECT_USER_ROLE"
+//
+// "OBJECT_ACCOUNT"
+// "OBJECT_ACCOUNT_BILLING_FEATURE"
+// "OBJECT_AD"
+// "OBJECT_ADVERTISER"
+// "OBJECT_ADVERTISER_GROUP"
+// "OBJECT_BILLING_ACCOUNT_GROUP"
+// "OBJECT_BILLING_FEATURE"
+// "OBJECT_BILLING_MINIMUM_FEE"
+// "OBJECT_BILLING_PROFILE"
+// "OBJECT_CAMPAIGN"
+// "OBJECT_CONTENT_CATEGORY"
+// "OBJECT_CREATIVE"
+// "OBJECT_CREATIVE_ASSET"
+// "OBJECT_CREATIVE_BUNDLE"
+// "OBJECT_CREATIVE_FIELD"
+// "OBJECT_CREATIVE_GROUP"
+// "OBJECT_DFA_SITE"
+// "OBJECT_EVENT_TAG"
+// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
+// "OBJECT_FLOODLIGHT_ACTVITY"
+// "OBJECT_FLOODLIGHT_CONFIGURATION"
+// "OBJECT_FLOODLIGHT_DV360_LINK"
+// "OBJECT_INSTREAM_CREATIVE"
+// "OBJECT_LANDING_PAGE"
+// "OBJECT_MEDIA_ORDER"
+// "OBJECT_PLACEMENT"
+// "OBJECT_PLACEMENT_STRATEGY"
+// "OBJECT_PLAYSTORE_LINK"
+// "OBJECT_PROVIDED_LIST_CLIENT"
+// "OBJECT_RATE_CARD"
+// "OBJECT_REMARKETING_LIST"
+// "OBJECT_RICHMEDIA_CREATIVE"
+// "OBJECT_SD_SITE"
+// "OBJECT_SEARCH_LIFT_STUDY"
+// "OBJECT_SIZE"
+// "OBJECT_SUBACCOUNT"
+// "OBJECT_TARGETING_TEMPLATE"
+// "OBJECT_USER_PROFILE"
+// "OBJECT_USER_PROFILE_FILTER"
+// "OBJECT_USER_ROLE"
func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -23746,8 +23766,9 @@ func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCa
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -23757,8 +23778,9 @@ func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategori
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -25558,8 +25580,9 @@ func (c *CreativeFieldValuesListCall) SearchString(searchString string) *Creativ
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "VALUE"
+//
+// "ID" (default)
+// "VALUE"
func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -25569,8 +25592,9 @@ func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeField
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -26573,8 +26597,9 @@ func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFiel
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -26584,8 +26609,9 @@ func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -27459,8 +27485,9 @@ func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGrou
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -27470,8 +27497,9 @@ func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28407,8 +28435,9 @@ func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -28418,8 +28447,9 @@ func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28436,31 +28466,32 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
// these creative types.
//
// Possible values:
-// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
-// "CUSTOM_DISPLAY"
-// "CUSTOM_DISPLAY_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_IMAGE_GALLERY"
-// "DISPLAY_REDIRECT"
-// "FLASH_INPAGE"
-// "HTML5_BANNER"
-// "IMAGE"
-// "INSTREAM_AUDIO"
-// "INSTREAM_VIDEO"
-// "INSTREAM_VIDEO_REDIRECT"
-// "INTERNAL_REDIRECT"
-// "INTERSTITIAL_INTERNAL_REDIRECT"
-// "RICH_MEDIA_DISPLAY_BANNER"
-// "RICH_MEDIA_DISPLAY_EXPANDING"
-// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
-// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
-// "RICH_MEDIA_IM_EXPAND"
-// "RICH_MEDIA_INPAGE_FLOATING"
-// "RICH_MEDIA_MOBILE_IN_APP"
-// "RICH_MEDIA_PEEL_DOWN"
-// "TRACKING_TEXT"
-// "VPAID_LINEAR_VIDEO"
-// "VPAID_NON_LINEAR_VIDEO"
+//
+// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
+// "CUSTOM_DISPLAY"
+// "CUSTOM_DISPLAY_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_IMAGE_GALLERY"
+// "DISPLAY_REDIRECT"
+// "FLASH_INPAGE"
+// "HTML5_BANNER"
+// "IMAGE"
+// "INSTREAM_AUDIO"
+// "INSTREAM_VIDEO"
+// "INSTREAM_VIDEO_REDIRECT"
+// "INTERNAL_REDIRECT"
+// "INTERSTITIAL_INTERNAL_REDIRECT"
+// "RICH_MEDIA_DISPLAY_BANNER"
+// "RICH_MEDIA_DISPLAY_EXPANDING"
+// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
+// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
+// "RICH_MEDIA_IM_EXPAND"
+// "RICH_MEDIA_INPAGE_FLOATING"
+// "RICH_MEDIA_MOBILE_IN_APP"
+// "RICH_MEDIA_PEEL_DOWN"
+// "TRACKING_TEXT"
+// "VPAID_LINEAR_VIDEO"
+// "VPAID_NON_LINEAR_VIDEO"
func (c *CreativesListCall) Types(types ...string) *CreativesListCall {
c.urlParams_.SetMulti("types", append([]string{}, types...))
return c
@@ -29488,8 +29519,9 @@ func (c *DirectorySiteContactsListCall) SearchString(searchString string) *Direc
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySiteContactsListCall) SortField(sortField string) *DirectorySiteContactsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -29499,8 +29531,9 @@ func (c *DirectorySiteContactsListCall) SortField(sortField string) *DirectorySi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySiteContactsListCall) SortOrder(sortOrder string) *DirectorySiteContactsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -30122,8 +30155,9 @@ func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySit
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -30133,8 +30167,9 @@ func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -30703,10 +30738,11 @@ func (c *DynamicTargetingKeysListCall) ObjectId(objectId int64) *DynamicTargetin
// dynamic targeting keys with this object type.
//
// Possible values:
-// "OBJECT_AD"
-// "OBJECT_ADVERTISER"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
+//
+// "OBJECT_AD"
+// "OBJECT_ADVERTISER"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
func (c *DynamicTargetingKeysListCall) ObjectType(objectType string) *DynamicTargetingKeysListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -31349,9 +31385,10 @@ func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall {
// either impression or click tracking.
//
// Possible values:
-// "CLICK_THROUGH_EVENT_TAG"
-// "IMPRESSION_IMAGE_EVENT_TAG"
-// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
+//
+// "CLICK_THROUGH_EVENT_TAG"
+// "IMPRESSION_IMAGE_EVENT_TAG"
+// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall {
c.urlParams_.SetMulti("eventTagTypes", append([]string{}, eventTagTypes...))
return c
@@ -31385,8 +31422,9 @@ func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -31396,8 +31434,9 @@ func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32108,9 +32147,10 @@ func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All files in account.
-// "MINE" (default) - My files.
-// "SHARED_WITH_ME" - Files shared with me.
+//
+// "ALL" - All files in account.
+// "MINE" (default) - My files.
+// "SHARED_WITH_ME" - Files shared with me.
func (c *FilesListCall) Scope(scope string) *FilesListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -32120,8 +32160,9 @@ func (c *FilesListCall) Scope(scope string) *FilesListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *FilesListCall) SortField(sortField string) *FilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -32131,8 +32172,9 @@ func (c *FilesListCall) SortField(sortField string) *FilesListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32952,8 +32994,9 @@ func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlig
// the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall {
c.urlParams_.Set("floodlightActivityGroupType", floodlightActivityGroupType)
return c
@@ -33012,8 +33055,9 @@ func (c *FloodlightActivitiesListCall) SearchString(searchString string) *Floodl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -33023,8 +33067,9 @@ func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightAc
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33947,8 +33992,9 @@ func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *Fl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -33958,8 +34004,9 @@ func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *Floodlig
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33969,8 +34016,9 @@ func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *Floodlig
// activity groups with the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -35340,8 +35388,9 @@ func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -35351,8 +35400,9 @@ func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -35362,8 +35412,9 @@ func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsList
// with this type.
//
// Possible values:
-// "PLANNING_PLACEMENT_TYPE_CREDIT"
-// "PLANNING_PLACEMENT_TYPE_REGULAR"
+//
+// "PLANNING_PLACEMENT_TYPE_CREDIT"
+// "PLANNING_PLACEMENT_TYPE_REGULAR"
func (c *InventoryItemsListCall) Type(type_ string) *InventoryItemsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -36066,9 +36117,10 @@ func (r *MobileAppsService) List(profileId int64) *MobileAppsListCall {
// apps from these directories.
//
// Possible values:
-// "APPLE_APP_STORE"
-// "GOOGLE_PLAY_STORE"
-// "UNKNOWN"
+//
+// "APPLE_APP_STORE"
+// "GOOGLE_PLAY_STORE"
+// "UNKNOWN"
func (c *MobileAppsListCall) Directories(directories ...string) *MobileAppsListCall {
c.urlParams_.SetMulti("directories", append([]string{}, directories...))
return c
@@ -37444,8 +37496,9 @@ func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37455,8 +37508,9 @@ func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -37928,8 +37982,9 @@ func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37939,8 +37994,9 @@ func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -38594,8 +38650,9 @@ func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsLi
// of its assigned placements to be marked as primary for reporting.
//
// Possible values:
-// "PLACEMENT_PACKAGE"
-// "PLACEMENT_ROADBLOCK"
+//
+// "PLACEMENT_PACKAGE"
+// "PLACEMENT_ROADBLOCK"
func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall {
c.urlParams_.Set("placementGroupType", placementGroupType)
return c
@@ -38617,12 +38674,13 @@ func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...i
// placement groups with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+//
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -38657,8 +38715,9 @@ func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -38668,8 +38727,9 @@ func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsLi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -39732,8 +39792,9 @@ func (c *PlacementStrategiesListCall) SearchString(searchString string) *Placeme
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -39743,8 +39804,9 @@ func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStra
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -40280,25 +40342,26 @@ func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *Placem
// placements.
//
// Possible values:
-// "PLACEMENT_TAG_CLICK_COMMANDS"
-// "PLACEMENT_TAG_IFRAME_ILAYER"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
-// "PLACEMENT_TAG_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_JAVASCRIPT"
-// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_STANDARD"
-// "PLACEMENT_TAG_TRACKING"
-// "PLACEMENT_TAG_TRACKING_IFRAME"
-// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+//
+// "PLACEMENT_TAG_CLICK_COMMANDS"
+// "PLACEMENT_TAG_IFRAME_ILAYER"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
+// "PLACEMENT_TAG_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_JAVASCRIPT"
+// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_STANDARD"
+// "PLACEMENT_TAG_TRACKING"
+// "PLACEMENT_TAG_TRACKING_IFRAME"
+// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall {
c.urlParams_.SetMulti("tagFormats", append([]string{}, tagFormats...))
return c
@@ -40828,12 +40891,13 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
// with the VAST standard.
//
// Possible values:
-// "APP"
-// "APP_INTERSTITIAL"
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "IN_STREAM_AUDIO"
-// "IN_STREAM_VIDEO"
+//
+// "APP"
+// "APP_INTERSTITIAL"
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "IN_STREAM_AUDIO"
+// "IN_STREAM_VIDEO"
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
return c
@@ -40935,8 +40999,9 @@ func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {
// only placements with this payment source.
//
// Possible values:
-// "PLACEMENT_AGENCY_PAID"
-// "PLACEMENT_PUBLISHER_PAID"
+//
+// "PLACEMENT_AGENCY_PAID"
+// "PLACEMENT_PUBLISHER_PAID"
func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall {
c.urlParams_.Set("paymentSource", paymentSource)
return c
@@ -40958,12 +41023,13 @@ func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64)
// placements with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+//
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -41008,8 +41074,9 @@ func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -41019,8 +41086,9 @@ func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -42471,8 +42539,9 @@ func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -42482,8 +42551,9 @@ func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -43640,8 +43710,9 @@ func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingLists
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -43651,8 +43722,9 @@ func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingLists
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -44599,8 +44671,9 @@ func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All reports in account.
-// "MINE" (default) - My reports.
+//
+// "ALL" - All reports in account.
+// "MINE" (default) - My reports.
func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -44610,9 +44683,10 @@ func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by report ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
-// "NAME" - Sort by name of reports.
+//
+// "ID" - Sort by report ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
+// "NAME" - Sort by name of reports.
func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -44622,8 +44696,9 @@ func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -45647,8 +45722,9 @@ func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -45658,8 +45734,9 @@ func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -46275,8 +46352,9 @@ func (c *SitesListCall) SearchString(searchString string) *SitesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SitesListCall) SortField(sortField string) *SitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -46286,8 +46364,9 @@ func (c *SitesListCall) SortField(sortField string) *SitesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -47698,8 +47777,9 @@ func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -47709,8 +47789,9 @@ func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -48416,8 +48497,9 @@ func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *Target
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -48427,8 +48509,9 @@ func (c *TargetableRemarketingListsListCall) SortField(sortField string) *Target
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -49002,8 +49085,9 @@ func (c *TargetingTemplatesListCall) SearchString(searchString string) *Targetin
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -49013,8 +49097,9 @@ func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTempl
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetingTemplatesListCall) SortOrder(sortOrder string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -50872,8 +50957,9 @@ func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -50883,8 +50969,9 @@ func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
diff --git a/dfareporting/v3.3/dfareporting-gen.go b/dfareporting/v3.3/dfareporting-gen.go
index 6d0dc7e7dd5..b7dadb4ae12 100644
--- a/dfareporting/v3.3/dfareporting-gen.go
+++ b/dfareporting/v3.3/dfareporting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/doubleclick-advertisers/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dfareporting/v3.3"
-// ...
-// ctx := context.Background()
-// dfareportingService, err := dfareporting.NewService(ctx)
+// import "google.golang.org/api/dfareporting/v3.3"
+// ...
+// ctx := context.Background()
+// dfareportingService, err := dfareporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dfareporting // import "google.golang.org/api/dfareporting/v3.3"
@@ -15172,8 +15172,9 @@ func (c *AccountUserProfilesListCall) SearchString(searchString string) *Account
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -15183,8 +15184,9 @@ func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserPr
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -15946,8 +15948,9 @@ func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -15957,8 +15960,9 @@ func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16837,12 +16841,13 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
// in-stream video ads developed with the VAST standard.
//
// Possible values:
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "APP"
-// "APP_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
-// "IN_STREAM_AUDIO"
+//
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "APP"
+// "APP_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
+// "IN_STREAM_AUDIO"
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
c.urlParams_.Set("compatibility", compatibility)
return c
@@ -16975,8 +16980,9 @@ func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdsListCall) SortField(sortField string) *AdsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -16986,8 +16992,9 @@ func (c *AdsListCall) SortField(sortField string) *AdsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -17011,11 +17018,12 @@ func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall {
// types.
//
// Possible values:
-// "AD_SERVING_STANDARD_AD"
-// "AD_SERVING_DEFAULT_AD"
-// "AD_SERVING_CLICK_TRACKER"
-// "AD_SERVING_TRACKING"
-// "AD_SERVING_BRAND_SAFE_AD"
+//
+// "AD_SERVING_STANDARD_AD"
+// "AD_SERVING_DEFAULT_AD"
+// "AD_SERVING_CLICK_TRACKER"
+// "AD_SERVING_TRACKING"
+// "AD_SERVING_BRAND_SAFE_AD"
func (c *AdsListCall) Type(type_ ...string) *AdsListCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -18130,8 +18138,9 @@ func (c *AdvertiserGroupsListCall) SearchString(searchString string) *Advertiser
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -18141,8 +18150,9 @@ func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroups
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -19036,8 +19046,9 @@ func (c *AdvertiserLandingPagesListCall) SearchString(searchString string) *Adve
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -19047,8 +19058,9 @@ func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *Advertiser
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserLandingPagesListCall) SortOrder(sortOrder string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -19984,8 +19996,9 @@ func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -19995,8 +20008,9 @@ func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20006,8 +20020,9 @@ func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
// with the specified status.
//
// Possible values:
-// "APPROVED"
-// "ON_HOLD"
+//
+// "APPROVED"
+// "ON_HOLD"
func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall {
c.urlParams_.Set("status", status)
return c
@@ -20903,8 +20918,9 @@ func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *Camp
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -21517,8 +21533,9 @@ func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -21528,8 +21545,9 @@ func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -22263,23 +22281,24 @@ func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall {
// with the specified action.
//
// Possible values:
-// "ACTION_CREATE"
-// "ACTION_UPDATE"
-// "ACTION_DELETE"
-// "ACTION_ENABLE"
-// "ACTION_DISABLE"
-// "ACTION_ADD"
-// "ACTION_REMOVE"
-// "ACTION_MARK_AS_DEFAULT"
-// "ACTION_ASSOCIATE"
-// "ACTION_ASSIGN"
-// "ACTION_UNASSIGN"
-// "ACTION_SEND"
-// "ACTION_LINK"
-// "ACTION_UNLINK"
-// "ACTION_PUSH"
-// "ACTION_EMAIL_TAGS"
-// "ACTION_SHARE"
+//
+// "ACTION_CREATE"
+// "ACTION_UPDATE"
+// "ACTION_DELETE"
+// "ACTION_ENABLE"
+// "ACTION_DISABLE"
+// "ACTION_ADD"
+// "ACTION_REMOVE"
+// "ACTION_MARK_AS_DEFAULT"
+// "ACTION_ASSOCIATE"
+// "ACTION_ASSIGN"
+// "ACTION_UNASSIGN"
+// "ACTION_SEND"
+// "ACTION_LINK"
+// "ACTION_UNLINK"
+// "ACTION_PUSH"
+// "ACTION_EMAIL_TAGS"
+// "ACTION_SHARE"
func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall {
c.urlParams_.Set("action", action)
return c
@@ -22344,46 +22363,47 @@ func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall {
// change logs with the specified object type.
//
// Possible values:
-// "OBJECT_ADVERTISER"
-// "OBJECT_FLOODLIGHT_CONFIGURATION"
-// "OBJECT_AD"
-// "OBJECT_FLOODLIGHT_ACTVITY"
-// "OBJECT_CAMPAIGN"
-// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
-// "OBJECT_DFA_SITE"
-// "OBJECT_USER_ROLE"
-// "OBJECT_USER_PROFILE"
-// "OBJECT_ADVERTISER_GROUP"
-// "OBJECT_ACCOUNT"
-// "OBJECT_SUBACCOUNT"
-// "OBJECT_RICHMEDIA_CREATIVE"
-// "OBJECT_INSTREAM_CREATIVE"
-// "OBJECT_MEDIA_ORDER"
-// "OBJECT_CONTENT_CATEGORY"
-// "OBJECT_PLACEMENT_STRATEGY"
-// "OBJECT_SD_SITE"
-// "OBJECT_SIZE"
-// "OBJECT_CREATIVE_GROUP"
-// "OBJECT_CREATIVE_ASSET"
-// "OBJECT_USER_PROFILE_FILTER"
-// "OBJECT_LANDING_PAGE"
-// "OBJECT_CREATIVE_FIELD"
-// "OBJECT_REMARKETING_LIST"
-// "OBJECT_PROVIDED_LIST_CLIENT"
-// "OBJECT_EVENT_TAG"
-// "OBJECT_CREATIVE_BUNDLE"
-// "OBJECT_BILLING_ACCOUNT_GROUP"
-// "OBJECT_BILLING_FEATURE"
-// "OBJECT_RATE_CARD"
-// "OBJECT_ACCOUNT_BILLING_FEATURE"
-// "OBJECT_BILLING_MINIMUM_FEE"
-// "OBJECT_BILLING_PROFILE"
-// "OBJECT_PLAYSTORE_LINK"
-// "OBJECT_TARGETING_TEMPLATE"
-// "OBJECT_SEARCH_LIFT_STUDY"
-// "OBJECT_FLOODLIGHT_DV360_LINK"
+//
+// "OBJECT_ADVERTISER"
+// "OBJECT_FLOODLIGHT_CONFIGURATION"
+// "OBJECT_AD"
+// "OBJECT_FLOODLIGHT_ACTVITY"
+// "OBJECT_CAMPAIGN"
+// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
+// "OBJECT_DFA_SITE"
+// "OBJECT_USER_ROLE"
+// "OBJECT_USER_PROFILE"
+// "OBJECT_ADVERTISER_GROUP"
+// "OBJECT_ACCOUNT"
+// "OBJECT_SUBACCOUNT"
+// "OBJECT_RICHMEDIA_CREATIVE"
+// "OBJECT_INSTREAM_CREATIVE"
+// "OBJECT_MEDIA_ORDER"
+// "OBJECT_CONTENT_CATEGORY"
+// "OBJECT_PLACEMENT_STRATEGY"
+// "OBJECT_SD_SITE"
+// "OBJECT_SIZE"
+// "OBJECT_CREATIVE_GROUP"
+// "OBJECT_CREATIVE_ASSET"
+// "OBJECT_USER_PROFILE_FILTER"
+// "OBJECT_LANDING_PAGE"
+// "OBJECT_CREATIVE_FIELD"
+// "OBJECT_REMARKETING_LIST"
+// "OBJECT_PROVIDED_LIST_CLIENT"
+// "OBJECT_EVENT_TAG"
+// "OBJECT_CREATIVE_BUNDLE"
+// "OBJECT_BILLING_ACCOUNT_GROUP"
+// "OBJECT_BILLING_FEATURE"
+// "OBJECT_RATE_CARD"
+// "OBJECT_ACCOUNT_BILLING_FEATURE"
+// "OBJECT_BILLING_MINIMUM_FEE"
+// "OBJECT_BILLING_PROFILE"
+// "OBJECT_PLAYSTORE_LINK"
+// "OBJECT_TARGETING_TEMPLATE"
+// "OBJECT_SEARCH_LIFT_STUDY"
+// "OBJECT_FLOODLIGHT_DV360_LINK"
func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -23740,8 +23760,9 @@ func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCa
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -23751,8 +23772,9 @@ func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategori
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -24857,9 +24879,9 @@ type CreativeAssetsInsertCall struct {
// Insert: Inserts a new creative asset.
//
-// - advertiserId: Advertiser ID of this creative. This is a required
-// field.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Advertiser ID of this creative. This is a required
+// field.
+// - profileId: User profile ID associated with this request.
func (r *CreativeAssetsService) Insert(profileId int64, advertiserId int64, creativeassetmetadata *CreativeAssetMetadata) *CreativeAssetsInsertCall {
c := &CreativeAssetsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -25591,8 +25613,9 @@ func (c *CreativeFieldValuesListCall) SearchString(searchString string) *Creativ
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "VALUE"
+//
+// "ID" (default)
+// "VALUE"
func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -25602,8 +25625,9 @@ func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeField
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -26629,8 +26653,9 @@ func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFiel
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -26640,8 +26665,9 @@ func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -27532,8 +27558,9 @@ func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGrou
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -27543,8 +27570,9 @@ func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28497,8 +28525,9 @@ func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -28508,8 +28537,9 @@ func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28526,31 +28556,32 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
// these creative types.
//
// Possible values:
-// "IMAGE"
-// "DISPLAY_REDIRECT"
-// "CUSTOM_DISPLAY"
-// "INTERNAL_REDIRECT"
-// "CUSTOM_DISPLAY_INTERSTITIAL"
-// "INTERSTITIAL_INTERNAL_REDIRECT"
-// "TRACKING_TEXT"
-// "RICH_MEDIA_DISPLAY_BANNER"
-// "RICH_MEDIA_INPAGE_FLOATING"
-// "RICH_MEDIA_IM_EXPAND"
-// "RICH_MEDIA_DISPLAY_EXPANDING"
-// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
-// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
-// "RICH_MEDIA_MOBILE_IN_APP"
-// "FLASH_INPAGE"
-// "INSTREAM_VIDEO"
-// "VPAID_LINEAR_VIDEO"
-// "VPAID_NON_LINEAR_VIDEO"
-// "INSTREAM_VIDEO_REDIRECT"
-// "RICH_MEDIA_PEEL_DOWN"
-// "HTML5_BANNER"
-// "DISPLAY"
-// "DISPLAY_IMAGE_GALLERY"
-// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
-// "INSTREAM_AUDIO"
+//
+// "IMAGE"
+// "DISPLAY_REDIRECT"
+// "CUSTOM_DISPLAY"
+// "INTERNAL_REDIRECT"
+// "CUSTOM_DISPLAY_INTERSTITIAL"
+// "INTERSTITIAL_INTERNAL_REDIRECT"
+// "TRACKING_TEXT"
+// "RICH_MEDIA_DISPLAY_BANNER"
+// "RICH_MEDIA_INPAGE_FLOATING"
+// "RICH_MEDIA_IM_EXPAND"
+// "RICH_MEDIA_DISPLAY_EXPANDING"
+// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
+// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
+// "RICH_MEDIA_MOBILE_IN_APP"
+// "FLASH_INPAGE"
+// "INSTREAM_VIDEO"
+// "VPAID_LINEAR_VIDEO"
+// "VPAID_NON_LINEAR_VIDEO"
+// "INSTREAM_VIDEO_REDIRECT"
+// "RICH_MEDIA_PEEL_DOWN"
+// "HTML5_BANNER"
+// "DISPLAY"
+// "DISPLAY_IMAGE_GALLERY"
+// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
+// "INSTREAM_AUDIO"
func (c *CreativesListCall) Types(types ...string) *CreativesListCall {
c.urlParams_.SetMulti("types", append([]string{}, types...))
return c
@@ -29763,8 +29794,9 @@ func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySit
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -29774,8 +29806,9 @@ func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -30020,14 +30053,14 @@ type DynamicTargetingKeysDeleteCall struct {
// Delete: Deletes an existing dynamic targeting key.
//
-// - name: Name of this dynamic targeting key. This is a required field.
-// Must be less than 256 characters long and cannot contain commas.
-// All characters are converted to lowercase.
-// - objectId: ID of the object of this dynamic targeting key. This is a
-// required field.
-// - objectType: Type of the object of this dynamic targeting key. This
-// is a required field.
-// - profileId: User profile ID associated with this request.
+// - name: Name of this dynamic targeting key. This is a required field.
+// Must be less than 256 characters long and cannot contain commas.
+// All characters are converted to lowercase.
+// - objectId: ID of the object of this dynamic targeting key. This is a
+// required field.
+// - objectType: Type of the object of this dynamic targeting key. This
+// is a required field.
+// - profileId: User profile ID associated with this request.
func (r *DynamicTargetingKeysService) Delete(profileId int64, objectId int64, name string, objectType string) *DynamicTargetingKeysDeleteCall {
c := &DynamicTargetingKeysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -30348,10 +30381,11 @@ func (c *DynamicTargetingKeysListCall) ObjectId(objectId int64) *DynamicTargetin
// dynamic targeting keys with this object type.
//
// Possible values:
-// "OBJECT_ADVERTISER"
-// "OBJECT_AD"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
+//
+// "OBJECT_ADVERTISER"
+// "OBJECT_AD"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
func (c *DynamicTargetingKeysListCall) ObjectType(objectType string) *DynamicTargetingKeysListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -31008,9 +31042,10 @@ func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall {
// either impression or click tracking.
//
// Possible values:
-// "IMPRESSION_IMAGE_EVENT_TAG"
-// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
-// "CLICK_THROUGH_EVENT_TAG"
+//
+// "IMPRESSION_IMAGE_EVENT_TAG"
+// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
+// "CLICK_THROUGH_EVENT_TAG"
func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall {
c.urlParams_.SetMulti("eventTagTypes", append([]string{}, eventTagTypes...))
return c
@@ -31044,8 +31079,9 @@ func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -31055,8 +31091,9 @@ func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -31781,9 +31818,10 @@ func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All files in account.
-// "MINE" (default) - My files.
-// "SHARED_WITH_ME" - Files shared with me.
+//
+// "ALL" - All files in account.
+// "MINE" (default) - My files.
+// "SHARED_WITH_ME" - Files shared with me.
func (c *FilesListCall) Scope(scope string) *FilesListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -31793,8 +31831,9 @@ func (c *FilesListCall) Scope(scope string) *FilesListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *FilesListCall) SortField(sortField string) *FilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -31804,8 +31843,9 @@ func (c *FilesListCall) SortField(sortField string) *FilesListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32642,8 +32682,9 @@ func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlig
// the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall {
c.urlParams_.Set("floodlightActivityGroupType", floodlightActivityGroupType)
return c
@@ -32702,8 +32743,9 @@ func (c *FloodlightActivitiesListCall) SearchString(searchString string) *Floodl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -32713,8 +32755,9 @@ func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightAc
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33654,8 +33697,9 @@ func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *Fl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -33665,8 +33709,9 @@ func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *Floodlig
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33676,8 +33721,9 @@ func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *Floodlig
// activity groups with the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -35077,8 +35123,9 @@ func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -35088,8 +35135,9 @@ func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -35099,8 +35147,9 @@ func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsList
// with this type.
//
// Possible values:
-// "PLANNING_PLACEMENT_TYPE_REGULAR"
-// "PLANNING_PLACEMENT_TYPE_CREDIT"
+//
+// "PLANNING_PLACEMENT_TYPE_REGULAR"
+// "PLANNING_PLACEMENT_TYPE_CREDIT"
func (c *InventoryItemsListCall) Type(type_ string) *InventoryItemsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -35816,9 +35865,10 @@ func (r *MobileAppsService) List(profileId int64) *MobileAppsListCall {
// apps from these directories.
//
// Possible values:
-// "UNKNOWN"
-// "APPLE_APP_STORE"
-// "GOOGLE_PLAY_STORE"
+//
+// "UNKNOWN"
+// "APPLE_APP_STORE"
+// "GOOGLE_PLAY_STORE"
func (c *MobileAppsListCall) Directories(directories ...string) *MobileAppsListCall {
c.urlParams_.SetMulti("directories", append([]string{}, directories...))
return c
@@ -37224,8 +37274,9 @@ func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37235,8 +37286,9 @@ func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -37717,8 +37769,9 @@ func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37728,8 +37781,9 @@ func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -38393,8 +38447,9 @@ func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsLi
// of its assigned placements to be marked as primary for reporting.
//
// Possible values:
-// "PLACEMENT_PACKAGE"
-// "PLACEMENT_ROADBLOCK"
+//
+// "PLACEMENT_PACKAGE"
+// "PLACEMENT_ROADBLOCK"
func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall {
c.urlParams_.Set("placementGroupType", placementGroupType)
return c
@@ -38416,12 +38471,13 @@ func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...i
// placement groups with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
+//
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -38456,8 +38512,9 @@ func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -38467,8 +38524,9 @@ func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsLi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -39552,8 +39610,9 @@ func (c *PlacementStrategiesListCall) SearchString(searchString string) *Placeme
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -39563,8 +39622,9 @@ func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStra
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -40108,26 +40168,27 @@ func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *Placem
// only be generated for 1x1 placements.
//
// Possible values:
-// "PLACEMENT_TAG_STANDARD"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_IFRAME_ILAYER"
-// "PLACEMENT_TAG_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
-// "PLACEMENT_TAG_CLICK_COMMANDS"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
-// "PLACEMENT_TAG_TRACKING"
-// "PLACEMENT_TAG_TRACKING_IFRAME"
-// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
-// "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT"
+//
+// "PLACEMENT_TAG_STANDARD"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_IFRAME_ILAYER"
+// "PLACEMENT_TAG_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+// "PLACEMENT_TAG_CLICK_COMMANDS"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+// "PLACEMENT_TAG_TRACKING"
+// "PLACEMENT_TAG_TRACKING_IFRAME"
+// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
+// "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT"
func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall {
c.urlParams_.SetMulti("tagFormats", append([]string{}, tagFormats...))
return c
@@ -40669,12 +40730,13 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
// with the VAST standard.
//
// Possible values:
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "APP"
-// "APP_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
-// "IN_STREAM_AUDIO"
+//
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "APP"
+// "APP_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
+// "IN_STREAM_AUDIO"
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
return c
@@ -40776,8 +40838,9 @@ func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {
// only placements with this payment source.
//
// Possible values:
-// "PLACEMENT_AGENCY_PAID"
-// "PLACEMENT_PUBLISHER_PAID"
+//
+// "PLACEMENT_AGENCY_PAID"
+// "PLACEMENT_PUBLISHER_PAID"
func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall {
c.urlParams_.Set("paymentSource", paymentSource)
return c
@@ -40799,12 +40862,13 @@ func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64)
// placements with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
+//
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -40849,8 +40913,9 @@ func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -40860,8 +40925,9 @@ func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -42340,8 +42406,9 @@ func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -42351,8 +42418,9 @@ func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -43479,9 +43547,9 @@ type RemarketingListsListCall struct {
// List: Retrieves a list of remarketing lists, possibly filtered. This
// method supports paging.
//
-// - advertiserId: Select only remarketing lists owned by this
-// advertiser.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Select only remarketing lists owned by this
+// advertiser.
+// - profileId: User profile ID associated with this request.
func (r *RemarketingListsService) List(profileId int64, advertiserId int64) *RemarketingListsListCall {
c := &RemarketingListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -43535,8 +43603,9 @@ func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingLists
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -43546,8 +43615,9 @@ func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingLists
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -44515,8 +44585,9 @@ func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All reports in account.
-// "MINE" (default) - My reports.
+//
+// "ALL" - All reports in account.
+// "MINE" (default) - My reports.
func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -44526,9 +44597,10 @@ func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by report ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
-// "NAME" - Sort by name of reports.
+//
+// "ID" - Sort by report ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
+// "NAME" - Sort by name of reports.
func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -44538,8 +44610,9 @@ func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -45589,8 +45662,9 @@ func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
// to sort the list.
//
// Possible values:
-// "ID"
-// "LAST_MODIFIED_TIME" (default)
+//
+// "ID"
+// "LAST_MODIFIED_TIME" (default)
func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -45600,8 +45674,9 @@ func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
// results.
//
// Possible values:
-// "ASCENDING"
-// "DESCENDING" (default)
+//
+// "ASCENDING"
+// "DESCENDING" (default)
func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -46227,8 +46302,9 @@ func (c *SitesListCall) SearchString(searchString string) *SitesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SitesListCall) SortField(sortField string) *SitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -46238,8 +46314,9 @@ func (c *SitesListCall) SortField(sortField string) *SitesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -47677,8 +47754,9 @@ func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -47688,8 +47766,9 @@ func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -48363,9 +48442,9 @@ type TargetableRemarketingListsListCall struct {
// List: Retrieves a list of targetable remarketing lists, possibly
// filtered. This method supports paging.
//
-// - advertiserId: Select only targetable remarketing lists targetable
-// by these advertisers.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Select only targetable remarketing lists targetable
+// by these advertisers.
+// - profileId: User profile ID associated with this request.
func (r *TargetableRemarketingListsService) List(profileId int64, advertiserId int64) *TargetableRemarketingListsListCall {
c := &TargetableRemarketingListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -48411,8 +48490,9 @@ func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *Target
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -48422,8 +48502,9 @@ func (c *TargetableRemarketingListsListCall) SortField(sortField string) *Target
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -49007,8 +49088,9 @@ func (c *TargetingTemplatesListCall) SearchString(searchString string) *Targetin
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -49018,8 +49100,9 @@ func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTempl
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetingTemplatesListCall) SortOrder(sortOrder string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -50920,8 +51003,9 @@ func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -50931,8 +51015,9 @@ func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
diff --git a/dfareporting/v3.4/dfareporting-gen.go b/dfareporting/v3.4/dfareporting-gen.go
index 7f2231c325e..09776747a0a 100644
--- a/dfareporting/v3.4/dfareporting-gen.go
+++ b/dfareporting/v3.4/dfareporting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/doubleclick-advertisers/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dfareporting/v3.4"
-// ...
-// ctx := context.Background()
-// dfareportingService, err := dfareporting.NewService(ctx)
+// import "google.golang.org/api/dfareporting/v3.4"
+// ...
+// ctx := context.Background()
+// dfareportingService, err := dfareporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dfareporting // import "google.golang.org/api/dfareporting/v3.4"
@@ -16168,8 +16168,9 @@ func (c *AccountUserProfilesListCall) SearchString(searchString string) *Account
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -16179,8 +16180,9 @@ func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserPr
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16942,8 +16944,9 @@ func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -16953,8 +16956,9 @@ func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -17833,12 +17837,13 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
// in-stream video ads developed with the VAST standard.
//
// Possible values:
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "APP"
-// "APP_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
-// "IN_STREAM_AUDIO"
+//
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "APP"
+// "APP_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
+// "IN_STREAM_AUDIO"
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
c.urlParams_.Set("compatibility", compatibility)
return c
@@ -17971,8 +17976,9 @@ func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdsListCall) SortField(sortField string) *AdsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -17982,8 +17988,9 @@ func (c *AdsListCall) SortField(sortField string) *AdsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -18007,11 +18014,12 @@ func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall {
// types.
//
// Possible values:
-// "AD_SERVING_STANDARD_AD"
-// "AD_SERVING_DEFAULT_AD"
-// "AD_SERVING_CLICK_TRACKER"
-// "AD_SERVING_TRACKING"
-// "AD_SERVING_BRAND_SAFE_AD"
+//
+// "AD_SERVING_STANDARD_AD"
+// "AD_SERVING_DEFAULT_AD"
+// "AD_SERVING_CLICK_TRACKER"
+// "AD_SERVING_TRACKING"
+// "AD_SERVING_BRAND_SAFE_AD"
func (c *AdsListCall) Type(type_ ...string) *AdsListCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -19126,8 +19134,9 @@ func (c *AdvertiserGroupsListCall) SearchString(searchString string) *Advertiser
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -19137,8 +19146,9 @@ func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroups
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20032,8 +20042,9 @@ func (c *AdvertiserLandingPagesListCall) SearchString(searchString string) *Adve
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -20043,8 +20054,9 @@ func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *Advertiser
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserLandingPagesListCall) SortOrder(sortOrder string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20980,8 +20992,9 @@ func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -20991,8 +21004,9 @@ func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -21002,8 +21016,9 @@ func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
// with the specified status.
//
// Possible values:
-// "APPROVED"
-// "ON_HOLD"
+//
+// "APPROVED"
+// "ON_HOLD"
func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall {
c.urlParams_.Set("status", status)
return c
@@ -21899,8 +21914,9 @@ func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *Camp
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -22513,8 +22529,9 @@ func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -22524,8 +22541,9 @@ func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -23259,23 +23277,24 @@ func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall {
// with the specified action.
//
// Possible values:
-// "ACTION_CREATE"
-// "ACTION_UPDATE"
-// "ACTION_DELETE"
-// "ACTION_ENABLE"
-// "ACTION_DISABLE"
-// "ACTION_ADD"
-// "ACTION_REMOVE"
-// "ACTION_MARK_AS_DEFAULT"
-// "ACTION_ASSOCIATE"
-// "ACTION_ASSIGN"
-// "ACTION_UNASSIGN"
-// "ACTION_SEND"
-// "ACTION_LINK"
-// "ACTION_UNLINK"
-// "ACTION_PUSH"
-// "ACTION_EMAIL_TAGS"
-// "ACTION_SHARE"
+//
+// "ACTION_CREATE"
+// "ACTION_UPDATE"
+// "ACTION_DELETE"
+// "ACTION_ENABLE"
+// "ACTION_DISABLE"
+// "ACTION_ADD"
+// "ACTION_REMOVE"
+// "ACTION_MARK_AS_DEFAULT"
+// "ACTION_ASSOCIATE"
+// "ACTION_ASSIGN"
+// "ACTION_UNASSIGN"
+// "ACTION_SEND"
+// "ACTION_LINK"
+// "ACTION_UNLINK"
+// "ACTION_PUSH"
+// "ACTION_EMAIL_TAGS"
+// "ACTION_SHARE"
func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall {
c.urlParams_.Set("action", action)
return c
@@ -23340,46 +23359,47 @@ func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall {
// change logs with the specified object type.
//
// Possible values:
-// "OBJECT_ADVERTISER"
-// "OBJECT_FLOODLIGHT_CONFIGURATION"
-// "OBJECT_AD"
-// "OBJECT_FLOODLIGHT_ACTVITY"
-// "OBJECT_CAMPAIGN"
-// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
-// "OBJECT_DFA_SITE"
-// "OBJECT_USER_ROLE"
-// "OBJECT_USER_PROFILE"
-// "OBJECT_ADVERTISER_GROUP"
-// "OBJECT_ACCOUNT"
-// "OBJECT_SUBACCOUNT"
-// "OBJECT_RICHMEDIA_CREATIVE"
-// "OBJECT_INSTREAM_CREATIVE"
-// "OBJECT_MEDIA_ORDER"
-// "OBJECT_CONTENT_CATEGORY"
-// "OBJECT_PLACEMENT_STRATEGY"
-// "OBJECT_SD_SITE"
-// "OBJECT_SIZE"
-// "OBJECT_CREATIVE_GROUP"
-// "OBJECT_CREATIVE_ASSET"
-// "OBJECT_USER_PROFILE_FILTER"
-// "OBJECT_LANDING_PAGE"
-// "OBJECT_CREATIVE_FIELD"
-// "OBJECT_REMARKETING_LIST"
-// "OBJECT_PROVIDED_LIST_CLIENT"
-// "OBJECT_EVENT_TAG"
-// "OBJECT_CREATIVE_BUNDLE"
-// "OBJECT_BILLING_ACCOUNT_GROUP"
-// "OBJECT_BILLING_FEATURE"
-// "OBJECT_RATE_CARD"
-// "OBJECT_ACCOUNT_BILLING_FEATURE"
-// "OBJECT_BILLING_MINIMUM_FEE"
-// "OBJECT_BILLING_PROFILE"
-// "OBJECT_PLAYSTORE_LINK"
-// "OBJECT_TARGETING_TEMPLATE"
-// "OBJECT_SEARCH_LIFT_STUDY"
-// "OBJECT_FLOODLIGHT_DV360_LINK"
+//
+// "OBJECT_ADVERTISER"
+// "OBJECT_FLOODLIGHT_CONFIGURATION"
+// "OBJECT_AD"
+// "OBJECT_FLOODLIGHT_ACTVITY"
+// "OBJECT_CAMPAIGN"
+// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
+// "OBJECT_DFA_SITE"
+// "OBJECT_USER_ROLE"
+// "OBJECT_USER_PROFILE"
+// "OBJECT_ADVERTISER_GROUP"
+// "OBJECT_ACCOUNT"
+// "OBJECT_SUBACCOUNT"
+// "OBJECT_RICHMEDIA_CREATIVE"
+// "OBJECT_INSTREAM_CREATIVE"
+// "OBJECT_MEDIA_ORDER"
+// "OBJECT_CONTENT_CATEGORY"
+// "OBJECT_PLACEMENT_STRATEGY"
+// "OBJECT_SD_SITE"
+// "OBJECT_SIZE"
+// "OBJECT_CREATIVE_GROUP"
+// "OBJECT_CREATIVE_ASSET"
+// "OBJECT_USER_PROFILE_FILTER"
+// "OBJECT_LANDING_PAGE"
+// "OBJECT_CREATIVE_FIELD"
+// "OBJECT_REMARKETING_LIST"
+// "OBJECT_PROVIDED_LIST_CLIENT"
+// "OBJECT_EVENT_TAG"
+// "OBJECT_CREATIVE_BUNDLE"
+// "OBJECT_BILLING_ACCOUNT_GROUP"
+// "OBJECT_BILLING_FEATURE"
+// "OBJECT_RATE_CARD"
+// "OBJECT_ACCOUNT_BILLING_FEATURE"
+// "OBJECT_BILLING_MINIMUM_FEE"
+// "OBJECT_BILLING_PROFILE"
+// "OBJECT_PLAYSTORE_LINK"
+// "OBJECT_TARGETING_TEMPLATE"
+// "OBJECT_SEARCH_LIFT_STUDY"
+// "OBJECT_FLOODLIGHT_DV360_LINK"
func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -24736,8 +24756,9 @@ func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCa
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -24747,8 +24768,9 @@ func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategori
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -25853,9 +25875,9 @@ type CreativeAssetsInsertCall struct {
// Insert: Inserts a new creative asset.
//
-// - advertiserId: Advertiser ID of this creative. This is a required
-// field.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Advertiser ID of this creative. This is a required
+// field.
+// - profileId: User profile ID associated with this request.
func (r *CreativeAssetsService) Insert(profileId int64, advertiserId int64, creativeassetmetadata *CreativeAssetMetadata) *CreativeAssetsInsertCall {
c := &CreativeAssetsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -26587,8 +26609,9 @@ func (c *CreativeFieldValuesListCall) SearchString(searchString string) *Creativ
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "VALUE"
+//
+// "ID" (default)
+// "VALUE"
func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -26598,8 +26621,9 @@ func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeField
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -27625,8 +27649,9 @@ func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFiel
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -27636,8 +27661,9 @@ func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28528,8 +28554,9 @@ func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGrou
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -28539,8 +28566,9 @@ func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -29493,8 +29521,9 @@ func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -29504,8 +29533,9 @@ func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -29522,31 +29552,32 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
// these creative types.
//
// Possible values:
-// "IMAGE"
-// "DISPLAY_REDIRECT"
-// "CUSTOM_DISPLAY"
-// "INTERNAL_REDIRECT"
-// "CUSTOM_DISPLAY_INTERSTITIAL"
-// "INTERSTITIAL_INTERNAL_REDIRECT"
-// "TRACKING_TEXT"
-// "RICH_MEDIA_DISPLAY_BANNER"
-// "RICH_MEDIA_INPAGE_FLOATING"
-// "RICH_MEDIA_IM_EXPAND"
-// "RICH_MEDIA_DISPLAY_EXPANDING"
-// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
-// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
-// "RICH_MEDIA_MOBILE_IN_APP"
-// "FLASH_INPAGE"
-// "INSTREAM_VIDEO"
-// "VPAID_LINEAR_VIDEO"
-// "VPAID_NON_LINEAR_VIDEO"
-// "INSTREAM_VIDEO_REDIRECT"
-// "RICH_MEDIA_PEEL_DOWN"
-// "HTML5_BANNER"
-// "DISPLAY"
-// "DISPLAY_IMAGE_GALLERY"
-// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
-// "INSTREAM_AUDIO"
+//
+// "IMAGE"
+// "DISPLAY_REDIRECT"
+// "CUSTOM_DISPLAY"
+// "INTERNAL_REDIRECT"
+// "CUSTOM_DISPLAY_INTERSTITIAL"
+// "INTERSTITIAL_INTERNAL_REDIRECT"
+// "TRACKING_TEXT"
+// "RICH_MEDIA_DISPLAY_BANNER"
+// "RICH_MEDIA_INPAGE_FLOATING"
+// "RICH_MEDIA_IM_EXPAND"
+// "RICH_MEDIA_DISPLAY_EXPANDING"
+// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
+// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
+// "RICH_MEDIA_MOBILE_IN_APP"
+// "FLASH_INPAGE"
+// "INSTREAM_VIDEO"
+// "VPAID_LINEAR_VIDEO"
+// "VPAID_NON_LINEAR_VIDEO"
+// "INSTREAM_VIDEO_REDIRECT"
+// "RICH_MEDIA_PEEL_DOWN"
+// "HTML5_BANNER"
+// "DISPLAY"
+// "DISPLAY_IMAGE_GALLERY"
+// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
+// "INSTREAM_AUDIO"
func (c *CreativesListCall) Types(types ...string) *CreativesListCall {
c.urlParams_.SetMulti("types", append([]string{}, types...))
return c
@@ -30901,8 +30932,9 @@ func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySit
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -30912,8 +30944,9 @@ func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -31158,14 +31191,14 @@ type DynamicTargetingKeysDeleteCall struct {
// Delete: Deletes an existing dynamic targeting key.
//
-// - name: Name of this dynamic targeting key. This is a required field.
-// Must be less than 256 characters long and cannot contain commas.
-// All characters are converted to lowercase.
-// - objectId: ID of the object of this dynamic targeting key. This is a
-// required field.
-// - objectType: Type of the object of this dynamic targeting key. This
-// is a required field.
-// - profileId: User profile ID associated with this request.
+// - name: Name of this dynamic targeting key. This is a required field.
+// Must be less than 256 characters long and cannot contain commas.
+// All characters are converted to lowercase.
+// - objectId: ID of the object of this dynamic targeting key. This is a
+// required field.
+// - objectType: Type of the object of this dynamic targeting key. This
+// is a required field.
+// - profileId: User profile ID associated with this request.
func (r *DynamicTargetingKeysService) Delete(profileId int64, objectId int64, name string, objectType string) *DynamicTargetingKeysDeleteCall {
c := &DynamicTargetingKeysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -31486,10 +31519,11 @@ func (c *DynamicTargetingKeysListCall) ObjectId(objectId int64) *DynamicTargetin
// dynamic targeting keys with this object type.
//
// Possible values:
-// "OBJECT_ADVERTISER"
-// "OBJECT_AD"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
+//
+// "OBJECT_ADVERTISER"
+// "OBJECT_AD"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
func (c *DynamicTargetingKeysListCall) ObjectType(objectType string) *DynamicTargetingKeysListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -32146,9 +32180,10 @@ func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall {
// either impression or click tracking.
//
// Possible values:
-// "IMPRESSION_IMAGE_EVENT_TAG"
-// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
-// "CLICK_THROUGH_EVENT_TAG"
+//
+// "IMPRESSION_IMAGE_EVENT_TAG"
+// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
+// "CLICK_THROUGH_EVENT_TAG"
func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall {
c.urlParams_.SetMulti("eventTagTypes", append([]string{}, eventTagTypes...))
return c
@@ -32182,8 +32217,9 @@ func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -32193,8 +32229,9 @@ func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32919,9 +32956,10 @@ func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All files in account.
-// "MINE" (default) - My files.
-// "SHARED_WITH_ME" - Files shared with me.
+//
+// "ALL" - All files in account.
+// "MINE" (default) - My files.
+// "SHARED_WITH_ME" - Files shared with me.
func (c *FilesListCall) Scope(scope string) *FilesListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -32931,8 +32969,9 @@ func (c *FilesListCall) Scope(scope string) *FilesListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *FilesListCall) SortField(sortField string) *FilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -32942,8 +32981,9 @@ func (c *FilesListCall) SortField(sortField string) *FilesListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33780,8 +33820,9 @@ func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlig
// the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall {
c.urlParams_.Set("floodlightActivityGroupType", floodlightActivityGroupType)
return c
@@ -33840,8 +33881,9 @@ func (c *FloodlightActivitiesListCall) SearchString(searchString string) *Floodl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -33851,8 +33893,9 @@ func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightAc
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -34792,8 +34835,9 @@ func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *Fl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -34803,8 +34847,9 @@ func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *Floodlig
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -34814,8 +34859,9 @@ func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *Floodlig
// activity groups with the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -36215,8 +36261,9 @@ func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -36226,8 +36273,9 @@ func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -36237,8 +36285,9 @@ func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsList
// with this type.
//
// Possible values:
-// "PLANNING_PLACEMENT_TYPE_REGULAR"
-// "PLANNING_PLACEMENT_TYPE_CREDIT"
+//
+// "PLANNING_PLACEMENT_TYPE_REGULAR"
+// "PLANNING_PLACEMENT_TYPE_CREDIT"
func (c *InventoryItemsListCall) Type(type_ string) *InventoryItemsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -36954,9 +37003,10 @@ func (r *MobileAppsService) List(profileId int64) *MobileAppsListCall {
// apps from these directories.
//
// Possible values:
-// "UNKNOWN"
-// "APPLE_APP_STORE"
-// "GOOGLE_PLAY_STORE"
+//
+// "UNKNOWN"
+// "APPLE_APP_STORE"
+// "GOOGLE_PLAY_STORE"
func (c *MobileAppsListCall) Directories(directories ...string) *MobileAppsListCall {
c.urlParams_.SetMulti("directories", append([]string{}, directories...))
return c
@@ -38362,8 +38412,9 @@ func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -38373,8 +38424,9 @@ func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -38855,8 +38907,9 @@ func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -38866,8 +38919,9 @@ func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -39531,8 +39585,9 @@ func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsLi
// of its assigned placements to be marked as primary for reporting.
//
// Possible values:
-// "PLACEMENT_PACKAGE"
-// "PLACEMENT_ROADBLOCK"
+//
+// "PLACEMENT_PACKAGE"
+// "PLACEMENT_ROADBLOCK"
func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall {
c.urlParams_.Set("placementGroupType", placementGroupType)
return c
@@ -39554,12 +39609,13 @@ func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...i
// placement groups with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
+//
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -39594,8 +39650,9 @@ func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -39605,8 +39662,9 @@ func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsLi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -40690,8 +40748,9 @@ func (c *PlacementStrategiesListCall) SearchString(searchString string) *Placeme
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -40701,8 +40760,9 @@ func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStra
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -41246,26 +41306,27 @@ func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *Placem
// only be generated for 1x1 placements.
//
// Possible values:
-// "PLACEMENT_TAG_STANDARD"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_IFRAME_ILAYER"
-// "PLACEMENT_TAG_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
-// "PLACEMENT_TAG_CLICK_COMMANDS"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
-// "PLACEMENT_TAG_TRACKING"
-// "PLACEMENT_TAG_TRACKING_IFRAME"
-// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
-// "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT"
+//
+// "PLACEMENT_TAG_STANDARD"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_IFRAME_ILAYER"
+// "PLACEMENT_TAG_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+// "PLACEMENT_TAG_CLICK_COMMANDS"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+// "PLACEMENT_TAG_TRACKING"
+// "PLACEMENT_TAG_TRACKING_IFRAME"
+// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
+// "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT"
func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall {
c.urlParams_.SetMulti("tagFormats", append([]string{}, tagFormats...))
return c
@@ -41807,12 +41868,13 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
// with the VAST standard.
//
// Possible values:
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "APP"
-// "APP_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
-// "IN_STREAM_AUDIO"
+//
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "APP"
+// "APP_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
+// "IN_STREAM_AUDIO"
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
return c
@@ -41914,8 +41976,9 @@ func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {
// only placements with this payment source.
//
// Possible values:
-// "PLACEMENT_AGENCY_PAID"
-// "PLACEMENT_PUBLISHER_PAID"
+//
+// "PLACEMENT_AGENCY_PAID"
+// "PLACEMENT_PUBLISHER_PAID"
func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall {
c.urlParams_.Set("paymentSource", paymentSource)
return c
@@ -41937,12 +42000,13 @@ func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64)
// placements with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
+//
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -41987,8 +42051,9 @@ func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -41998,8 +42063,9 @@ func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -43478,8 +43544,9 @@ func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -43489,8 +43556,9 @@ func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -44617,9 +44685,9 @@ type RemarketingListsListCall struct {
// List: Retrieves a list of remarketing lists, possibly filtered. This
// method supports paging.
//
-// - advertiserId: Select only remarketing lists owned by this
-// advertiser.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Select only remarketing lists owned by this
+// advertiser.
+// - profileId: User profile ID associated with this request.
func (r *RemarketingListsService) List(profileId int64, advertiserId int64) *RemarketingListsListCall {
c := &RemarketingListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -44673,8 +44741,9 @@ func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingLists
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -44684,8 +44753,9 @@ func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingLists
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -45653,8 +45723,9 @@ func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All reports in account.
-// "MINE" (default) - My reports.
+//
+// "ALL" - All reports in account.
+// "MINE" (default) - My reports.
func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -45664,9 +45735,10 @@ func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by report ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
-// "NAME" - Sort by name of reports.
+//
+// "ID" - Sort by report ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
+// "NAME" - Sort by name of reports.
func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -45676,8 +45748,9 @@ func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -46727,8 +46800,9 @@ func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
// to sort the list.
//
// Possible values:
-// "ID"
-// "LAST_MODIFIED_TIME" (default)
+//
+// "ID"
+// "LAST_MODIFIED_TIME" (default)
func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -46738,8 +46812,9 @@ func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
// results.
//
// Possible values:
-// "ASCENDING"
-// "DESCENDING" (default)
+//
+// "ASCENDING"
+// "DESCENDING" (default)
func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -47365,8 +47440,9 @@ func (c *SitesListCall) SearchString(searchString string) *SitesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SitesListCall) SortField(sortField string) *SitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -47376,8 +47452,9 @@ func (c *SitesListCall) SortField(sortField string) *SitesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -48815,8 +48892,9 @@ func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -48826,8 +48904,9 @@ func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -49501,9 +49580,9 @@ type TargetableRemarketingListsListCall struct {
// List: Retrieves a list of targetable remarketing lists, possibly
// filtered. This method supports paging.
//
-// - advertiserId: Select only targetable remarketing lists targetable
-// by these advertisers.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Select only targetable remarketing lists targetable
+// by these advertisers.
+// - profileId: User profile ID associated with this request.
func (r *TargetableRemarketingListsService) List(profileId int64, advertiserId int64) *TargetableRemarketingListsListCall {
c := &TargetableRemarketingListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -49549,8 +49628,9 @@ func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *Target
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -49560,8 +49640,9 @@ func (c *TargetableRemarketingListsListCall) SortField(sortField string) *Target
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -50145,8 +50226,9 @@ func (c *TargetingTemplatesListCall) SearchString(searchString string) *Targetin
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -50156,8 +50238,9 @@ func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTempl
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetingTemplatesListCall) SortOrder(sortOrder string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -52058,8 +52141,9 @@ func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -52069,8 +52153,9 @@ func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
diff --git a/dfareporting/v3.5/dfareporting-gen.go b/dfareporting/v3.5/dfareporting-gen.go
index 73569e5a9e0..a3d7fcfd1a5 100644
--- a/dfareporting/v3.5/dfareporting-gen.go
+++ b/dfareporting/v3.5/dfareporting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/doubleclick-advertisers/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dfareporting/v3.5"
-// ...
-// ctx := context.Background()
-// dfareportingService, err := dfareporting.NewService(ctx)
+// import "google.golang.org/api/dfareporting/v3.5"
+// ...
+// ctx := context.Background()
+// dfareportingService, err := dfareporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dfareporting // import "google.golang.org/api/dfareporting/v3.5"
@@ -15866,8 +15866,9 @@ func (c *AccountUserProfilesListCall) SearchString(searchString string) *Account
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -15877,8 +15878,9 @@ func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserPr
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -16640,8 +16642,9 @@ func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -16651,8 +16654,9 @@ func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -17531,12 +17535,13 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
// in-stream video ads developed with the VAST standard.
//
// Possible values:
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "APP"
-// "APP_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
-// "IN_STREAM_AUDIO"
+//
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "APP"
+// "APP_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
+// "IN_STREAM_AUDIO"
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
c.urlParams_.Set("compatibility", compatibility)
return c
@@ -17669,8 +17674,9 @@ func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdsListCall) SortField(sortField string) *AdsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -17680,8 +17686,9 @@ func (c *AdsListCall) SortField(sortField string) *AdsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -17705,11 +17712,12 @@ func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall {
// types.
//
// Possible values:
-// "AD_SERVING_STANDARD_AD"
-// "AD_SERVING_DEFAULT_AD"
-// "AD_SERVING_CLICK_TRACKER"
-// "AD_SERVING_TRACKING"
-// "AD_SERVING_BRAND_SAFE_AD"
+//
+// "AD_SERVING_STANDARD_AD"
+// "AD_SERVING_DEFAULT_AD"
+// "AD_SERVING_CLICK_TRACKER"
+// "AD_SERVING_TRACKING"
+// "AD_SERVING_BRAND_SAFE_AD"
func (c *AdsListCall) Type(type_ ...string) *AdsListCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -18824,8 +18832,9 @@ func (c *AdvertiserGroupsListCall) SearchString(searchString string) *Advertiser
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -18835,8 +18844,9 @@ func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroups
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -19730,8 +19740,9 @@ func (c *AdvertiserLandingPagesListCall) SearchString(searchString string) *Adve
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -19741,8 +19752,9 @@ func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *Advertiser
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserLandingPagesListCall) SortOrder(sortOrder string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20678,8 +20690,9 @@ func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -20689,8 +20702,9 @@ func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20700,8 +20714,9 @@ func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
// with the specified status.
//
// Possible values:
-// "APPROVED"
-// "ON_HOLD"
+//
+// "APPROVED"
+// "ON_HOLD"
func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall {
c.urlParams_.Set("status", status)
return c
@@ -21597,8 +21612,9 @@ func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *Camp
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -22211,8 +22227,9 @@ func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -22222,8 +22239,9 @@ func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -22957,23 +22975,24 @@ func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall {
// with the specified action.
//
// Possible values:
-// "ACTION_CREATE"
-// "ACTION_UPDATE"
-// "ACTION_DELETE"
-// "ACTION_ENABLE"
-// "ACTION_DISABLE"
-// "ACTION_ADD"
-// "ACTION_REMOVE"
-// "ACTION_MARK_AS_DEFAULT"
-// "ACTION_ASSOCIATE"
-// "ACTION_ASSIGN"
-// "ACTION_UNASSIGN"
-// "ACTION_SEND"
-// "ACTION_LINK"
-// "ACTION_UNLINK"
-// "ACTION_PUSH"
-// "ACTION_EMAIL_TAGS"
-// "ACTION_SHARE"
+//
+// "ACTION_CREATE"
+// "ACTION_UPDATE"
+// "ACTION_DELETE"
+// "ACTION_ENABLE"
+// "ACTION_DISABLE"
+// "ACTION_ADD"
+// "ACTION_REMOVE"
+// "ACTION_MARK_AS_DEFAULT"
+// "ACTION_ASSOCIATE"
+// "ACTION_ASSIGN"
+// "ACTION_UNASSIGN"
+// "ACTION_SEND"
+// "ACTION_LINK"
+// "ACTION_UNLINK"
+// "ACTION_PUSH"
+// "ACTION_EMAIL_TAGS"
+// "ACTION_SHARE"
func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall {
c.urlParams_.Set("action", action)
return c
@@ -23038,47 +23057,48 @@ func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall {
// change logs with the specified object type.
//
// Possible values:
-// "OBJECT_ADVERTISER"
-// "OBJECT_FLOODLIGHT_CONFIGURATION"
-// "OBJECT_AD"
-// "OBJECT_FLOODLIGHT_ACTVITY"
-// "OBJECT_CAMPAIGN"
-// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
-// "OBJECT_DFA_SITE"
-// "OBJECT_USER_ROLE"
-// "OBJECT_USER_PROFILE"
-// "OBJECT_ADVERTISER_GROUP"
-// "OBJECT_ACCOUNT"
-// "OBJECT_SUBACCOUNT"
-// "OBJECT_RICHMEDIA_CREATIVE"
-// "OBJECT_INSTREAM_CREATIVE"
-// "OBJECT_MEDIA_ORDER"
-// "OBJECT_CONTENT_CATEGORY"
-// "OBJECT_PLACEMENT_STRATEGY"
-// "OBJECT_SD_SITE"
-// "OBJECT_SIZE"
-// "OBJECT_CREATIVE_GROUP"
-// "OBJECT_CREATIVE_ASSET"
-// "OBJECT_USER_PROFILE_FILTER"
-// "OBJECT_LANDING_PAGE"
-// "OBJECT_CREATIVE_FIELD"
-// "OBJECT_REMARKETING_LIST"
-// "OBJECT_PROVIDED_LIST_CLIENT"
-// "OBJECT_EVENT_TAG"
-// "OBJECT_CREATIVE_BUNDLE"
-// "OBJECT_BILLING_ACCOUNT_GROUP"
-// "OBJECT_BILLING_FEATURE"
-// "OBJECT_RATE_CARD"
-// "OBJECT_ACCOUNT_BILLING_FEATURE"
-// "OBJECT_BILLING_MINIMUM_FEE"
-// "OBJECT_BILLING_PROFILE"
-// "OBJECT_PLAYSTORE_LINK"
-// "OBJECT_TARGETING_TEMPLATE"
-// "OBJECT_SEARCH_LIFT_STUDY"
-// "OBJECT_FLOODLIGHT_DV360_LINK"
-// "OBJECT_ADVERTISER_CUSTOMER_LINK"
+//
+// "OBJECT_ADVERTISER"
+// "OBJECT_FLOODLIGHT_CONFIGURATION"
+// "OBJECT_AD"
+// "OBJECT_FLOODLIGHT_ACTVITY"
+// "OBJECT_CAMPAIGN"
+// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
+// "OBJECT_DFA_SITE"
+// "OBJECT_USER_ROLE"
+// "OBJECT_USER_PROFILE"
+// "OBJECT_ADVERTISER_GROUP"
+// "OBJECT_ACCOUNT"
+// "OBJECT_SUBACCOUNT"
+// "OBJECT_RICHMEDIA_CREATIVE"
+// "OBJECT_INSTREAM_CREATIVE"
+// "OBJECT_MEDIA_ORDER"
+// "OBJECT_CONTENT_CATEGORY"
+// "OBJECT_PLACEMENT_STRATEGY"
+// "OBJECT_SD_SITE"
+// "OBJECT_SIZE"
+// "OBJECT_CREATIVE_GROUP"
+// "OBJECT_CREATIVE_ASSET"
+// "OBJECT_USER_PROFILE_FILTER"
+// "OBJECT_LANDING_PAGE"
+// "OBJECT_CREATIVE_FIELD"
+// "OBJECT_REMARKETING_LIST"
+// "OBJECT_PROVIDED_LIST_CLIENT"
+// "OBJECT_EVENT_TAG"
+// "OBJECT_CREATIVE_BUNDLE"
+// "OBJECT_BILLING_ACCOUNT_GROUP"
+// "OBJECT_BILLING_FEATURE"
+// "OBJECT_RATE_CARD"
+// "OBJECT_ACCOUNT_BILLING_FEATURE"
+// "OBJECT_BILLING_MINIMUM_FEE"
+// "OBJECT_BILLING_PROFILE"
+// "OBJECT_PLAYSTORE_LINK"
+// "OBJECT_TARGETING_TEMPLATE"
+// "OBJECT_SEARCH_LIFT_STUDY"
+// "OBJECT_FLOODLIGHT_DV360_LINK"
+// "OBJECT_ADVERTISER_CUSTOMER_LINK"
func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -24437,8 +24457,9 @@ func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCa
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -24448,8 +24469,9 @@ func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategori
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -25554,9 +25576,9 @@ type CreativeAssetsInsertCall struct {
// Insert: Inserts a new creative asset.
//
-// - advertiserId: Advertiser ID of this creative. This is a required
-// field.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Advertiser ID of this creative. This is a required
+// field.
+// - profileId: User profile ID associated with this request.
func (r *CreativeAssetsService) Insert(profileId int64, advertiserId int64, creativeassetmetadata *CreativeAssetMetadata) *CreativeAssetsInsertCall {
c := &CreativeAssetsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -26288,8 +26310,9 @@ func (c *CreativeFieldValuesListCall) SearchString(searchString string) *Creativ
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "VALUE"
+//
+// "ID" (default)
+// "VALUE"
func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -26299,8 +26322,9 @@ func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeField
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -27326,8 +27350,9 @@ func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFiel
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -27337,8 +27362,9 @@ func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -28229,8 +28255,9 @@ func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGrou
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -28240,8 +28267,9 @@ func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -29194,8 +29222,9 @@ func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -29205,8 +29234,9 @@ func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -29223,31 +29253,32 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
// these creative types.
//
// Possible values:
-// "IMAGE"
-// "DISPLAY_REDIRECT"
-// "CUSTOM_DISPLAY"
-// "INTERNAL_REDIRECT"
-// "CUSTOM_DISPLAY_INTERSTITIAL"
-// "INTERSTITIAL_INTERNAL_REDIRECT"
-// "TRACKING_TEXT"
-// "RICH_MEDIA_DISPLAY_BANNER"
-// "RICH_MEDIA_INPAGE_FLOATING"
-// "RICH_MEDIA_IM_EXPAND"
-// "RICH_MEDIA_DISPLAY_EXPANDING"
-// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
-// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
-// "RICH_MEDIA_MOBILE_IN_APP"
-// "FLASH_INPAGE"
-// "INSTREAM_VIDEO"
-// "VPAID_LINEAR_VIDEO"
-// "VPAID_NON_LINEAR_VIDEO"
-// "INSTREAM_VIDEO_REDIRECT"
-// "RICH_MEDIA_PEEL_DOWN"
-// "HTML5_BANNER"
-// "DISPLAY"
-// "DISPLAY_IMAGE_GALLERY"
-// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
-// "INSTREAM_AUDIO"
+//
+// "IMAGE"
+// "DISPLAY_REDIRECT"
+// "CUSTOM_DISPLAY"
+// "INTERNAL_REDIRECT"
+// "CUSTOM_DISPLAY_INTERSTITIAL"
+// "INTERSTITIAL_INTERNAL_REDIRECT"
+// "TRACKING_TEXT"
+// "RICH_MEDIA_DISPLAY_BANNER"
+// "RICH_MEDIA_INPAGE_FLOATING"
+// "RICH_MEDIA_IM_EXPAND"
+// "RICH_MEDIA_DISPLAY_EXPANDING"
+// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
+// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
+// "RICH_MEDIA_MOBILE_IN_APP"
+// "FLASH_INPAGE"
+// "INSTREAM_VIDEO"
+// "VPAID_LINEAR_VIDEO"
+// "VPAID_NON_LINEAR_VIDEO"
+// "INSTREAM_VIDEO_REDIRECT"
+// "RICH_MEDIA_PEEL_DOWN"
+// "HTML5_BANNER"
+// "DISPLAY"
+// "DISPLAY_IMAGE_GALLERY"
+// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
+// "INSTREAM_AUDIO"
func (c *CreativesListCall) Types(types ...string) *CreativesListCall {
c.urlParams_.SetMulti("types", append([]string{}, types...))
return c
@@ -30460,8 +30491,9 @@ func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySit
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -30471,8 +30503,9 @@ func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -30717,14 +30750,14 @@ type DynamicTargetingKeysDeleteCall struct {
// Delete: Deletes an existing dynamic targeting key.
//
-// - name: Name of this dynamic targeting key. This is a required field.
-// Must be less than 256 characters long and cannot contain commas.
-// All characters are converted to lowercase.
-// - objectId: ID of the object of this dynamic targeting key. This is a
-// required field.
-// - objectType: Type of the object of this dynamic targeting key. This
-// is a required field.
-// - profileId: User profile ID associated with this request.
+// - name: Name of this dynamic targeting key. This is a required field.
+// Must be less than 256 characters long and cannot contain commas.
+// All characters are converted to lowercase.
+// - objectId: ID of the object of this dynamic targeting key. This is a
+// required field.
+// - objectType: Type of the object of this dynamic targeting key. This
+// is a required field.
+// - profileId: User profile ID associated with this request.
func (r *DynamicTargetingKeysService) Delete(profileId int64, objectId int64, name string, objectType string) *DynamicTargetingKeysDeleteCall {
c := &DynamicTargetingKeysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -31045,10 +31078,11 @@ func (c *DynamicTargetingKeysListCall) ObjectId(objectId int64) *DynamicTargetin
// dynamic targeting keys with this object type.
//
// Possible values:
-// "OBJECT_ADVERTISER"
-// "OBJECT_AD"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
+//
+// "OBJECT_ADVERTISER"
+// "OBJECT_AD"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
func (c *DynamicTargetingKeysListCall) ObjectType(objectType string) *DynamicTargetingKeysListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -31705,9 +31739,10 @@ func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall {
// either impression or click tracking.
//
// Possible values:
-// "IMPRESSION_IMAGE_EVENT_TAG"
-// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
-// "CLICK_THROUGH_EVENT_TAG"
+//
+// "IMPRESSION_IMAGE_EVENT_TAG"
+// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
+// "CLICK_THROUGH_EVENT_TAG"
func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall {
c.urlParams_.SetMulti("eventTagTypes", append([]string{}, eventTagTypes...))
return c
@@ -31741,8 +31776,9 @@ func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -31752,8 +31788,9 @@ func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32478,9 +32515,10 @@ func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All files in account.
-// "MINE" (default) - My files.
-// "SHARED_WITH_ME" - Files shared with me.
+//
+// "ALL" - All files in account.
+// "MINE" (default) - My files.
+// "SHARED_WITH_ME" - Files shared with me.
func (c *FilesListCall) Scope(scope string) *FilesListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -32490,8 +32528,9 @@ func (c *FilesListCall) Scope(scope string) *FilesListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *FilesListCall) SortField(sortField string) *FilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -32501,8 +32540,9 @@ func (c *FilesListCall) SortField(sortField string) *FilesListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -33339,8 +33379,9 @@ func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlig
// the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall {
c.urlParams_.Set("floodlightActivityGroupType", floodlightActivityGroupType)
return c
@@ -33399,8 +33440,9 @@ func (c *FloodlightActivitiesListCall) SearchString(searchString string) *Floodl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -33410,8 +33452,9 @@ func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightAc
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -34351,8 +34394,9 @@ func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *Fl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -34362,8 +34406,9 @@ func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *Floodlig
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -34373,8 +34418,9 @@ func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *Floodlig
// activity groups with the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -35774,8 +35820,9 @@ func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -35785,8 +35832,9 @@ func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -35796,8 +35844,9 @@ func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsList
// with this type.
//
// Possible values:
-// "PLANNING_PLACEMENT_TYPE_REGULAR"
-// "PLANNING_PLACEMENT_TYPE_CREDIT"
+//
+// "PLANNING_PLACEMENT_TYPE_REGULAR"
+// "PLANNING_PLACEMENT_TYPE_CREDIT"
func (c *InventoryItemsListCall) Type(type_ string) *InventoryItemsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -36513,17 +36562,18 @@ func (r *MobileAppsService) List(profileId int64) *MobileAppsListCall {
// apps from these directories.
//
// Possible values:
-// "UNKNOWN"
-// "APPLE_APP_STORE"
-// "GOOGLE_PLAY_STORE"
-// "ROKU_APP_STORE"
-// "AMAZON_FIRETV_APP_STORE"
-// "PLAYSTATION_APP_STORE"
-// "APPLE_TV_APP_STORE"
-// "XBOX_APP_STORE"
-// "SAMSUNG_TV_APP_STORE"
-// "ANDROID_TV_APP_STORE"
-// "GENERIC_CTV_APP_STORE"
+//
+// "UNKNOWN"
+// "APPLE_APP_STORE"
+// "GOOGLE_PLAY_STORE"
+// "ROKU_APP_STORE"
+// "AMAZON_FIRETV_APP_STORE"
+// "PLAYSTATION_APP_STORE"
+// "APPLE_TV_APP_STORE"
+// "XBOX_APP_STORE"
+// "SAMSUNG_TV_APP_STORE"
+// "ANDROID_TV_APP_STORE"
+// "GENERIC_CTV_APP_STORE"
func (c *MobileAppsListCall) Directories(directories ...string) *MobileAppsListCall {
c.urlParams_.SetMulti("directories", append([]string{}, directories...))
return c
@@ -37945,8 +37995,9 @@ func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37956,8 +38007,9 @@ func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -38438,8 +38490,9 @@ func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -38449,8 +38502,9 @@ func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -39114,8 +39168,9 @@ func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsLi
// of its assigned placements to be marked as primary for reporting.
//
// Possible values:
-// "PLACEMENT_PACKAGE"
-// "PLACEMENT_ROADBLOCK"
+//
+// "PLACEMENT_PACKAGE"
+// "PLACEMENT_ROADBLOCK"
func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall {
c.urlParams_.Set("placementGroupType", placementGroupType)
return c
@@ -39137,12 +39192,13 @@ func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...i
// placement groups with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
+//
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -39177,8 +39233,9 @@ func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -39188,8 +39245,9 @@ func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsLi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -40273,8 +40331,9 @@ func (c *PlacementStrategiesListCall) SearchString(searchString string) *Placeme
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -40284,8 +40343,9 @@ func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStra
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -40829,26 +40889,27 @@ func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *Placem
// only be generated for 1x1 placements.
//
// Possible values:
-// "PLACEMENT_TAG_STANDARD"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_IFRAME_ILAYER"
-// "PLACEMENT_TAG_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
-// "PLACEMENT_TAG_CLICK_COMMANDS"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
-// "PLACEMENT_TAG_TRACKING"
-// "PLACEMENT_TAG_TRACKING_IFRAME"
-// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
-// "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT"
+//
+// "PLACEMENT_TAG_STANDARD"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_IFRAME_ILAYER"
+// "PLACEMENT_TAG_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+// "PLACEMENT_TAG_CLICK_COMMANDS"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+// "PLACEMENT_TAG_TRACKING"
+// "PLACEMENT_TAG_TRACKING_IFRAME"
+// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
+// "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT"
func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall {
c.urlParams_.SetMulti("tagFormats", append([]string{}, tagFormats...))
return c
@@ -41390,12 +41451,13 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
// with the VAST standard.
//
// Possible values:
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "APP"
-// "APP_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
-// "IN_STREAM_AUDIO"
+//
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "APP"
+// "APP_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
+// "IN_STREAM_AUDIO"
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
return c
@@ -41497,8 +41559,9 @@ func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {
// only placements with this payment source.
//
// Possible values:
-// "PLACEMENT_AGENCY_PAID"
-// "PLACEMENT_PUBLISHER_PAID"
+//
+// "PLACEMENT_AGENCY_PAID"
+// "PLACEMENT_PUBLISHER_PAID"
func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall {
c.urlParams_.Set("paymentSource", paymentSource)
return c
@@ -41520,12 +41583,13 @@ func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64)
// placements with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
+//
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -41570,8 +41634,9 @@ func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -41581,8 +41646,9 @@ func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -43061,8 +43127,9 @@ func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -43072,8 +43139,9 @@ func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -44200,9 +44268,9 @@ type RemarketingListsListCall struct {
// List: Retrieves a list of remarketing lists, possibly filtered. This
// method supports paging.
//
-// - advertiserId: Select only remarketing lists owned by this
-// advertiser.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Select only remarketing lists owned by this
+// advertiser.
+// - profileId: User profile ID associated with this request.
func (r *RemarketingListsService) List(profileId int64, advertiserId int64) *RemarketingListsListCall {
c := &RemarketingListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -44256,8 +44324,9 @@ func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingLists
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -44267,8 +44336,9 @@ func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingLists
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -45236,8 +45306,9 @@ func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All reports in account.
-// "MINE" (default) - My reports.
+//
+// "ALL" - All reports in account.
+// "MINE" (default) - My reports.
func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -45247,9 +45318,10 @@ func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by report ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
-// "NAME" - Sort by name of reports.
+//
+// "ID" - Sort by report ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
+// "NAME" - Sort by name of reports.
func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -45259,8 +45331,9 @@ func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -46310,8 +46383,9 @@ func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
// to sort the list.
//
// Possible values:
-// "ID"
-// "LAST_MODIFIED_TIME" (default)
+//
+// "ID"
+// "LAST_MODIFIED_TIME" (default)
func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -46321,8 +46395,9 @@ func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
// results.
//
// Possible values:
-// "ASCENDING"
-// "DESCENDING" (default)
+//
+// "ASCENDING"
+// "DESCENDING" (default)
func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -46948,8 +47023,9 @@ func (c *SitesListCall) SearchString(searchString string) *SitesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SitesListCall) SortField(sortField string) *SitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -46959,8 +47035,9 @@ func (c *SitesListCall) SortField(sortField string) *SitesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -48398,8 +48475,9 @@ func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -48409,8 +48487,9 @@ func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -49084,9 +49163,9 @@ type TargetableRemarketingListsListCall struct {
// List: Retrieves a list of targetable remarketing lists, possibly
// filtered. This method supports paging.
//
-// - advertiserId: Select only targetable remarketing lists targetable
-// by these advertisers.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Select only targetable remarketing lists targetable
+// by these advertisers.
+// - profileId: User profile ID associated with this request.
func (r *TargetableRemarketingListsService) List(profileId int64, advertiserId int64) *TargetableRemarketingListsListCall {
c := &TargetableRemarketingListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -49132,8 +49211,9 @@ func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *Target
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -49143,8 +49223,9 @@ func (c *TargetableRemarketingListsListCall) SortField(sortField string) *Target
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -49728,8 +49809,9 @@ func (c *TargetingTemplatesListCall) SearchString(searchString string) *Targetin
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -49739,8 +49821,9 @@ func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTempl
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetingTemplatesListCall) SortOrder(sortOrder string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -51641,8 +51724,9 @@ func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -51652,8 +51736,9 @@ func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
diff --git a/dfareporting/v4/dfareporting-gen.go b/dfareporting/v4/dfareporting-gen.go
index 14e5a363337..f4c961e4d36 100644
--- a/dfareporting/v4/dfareporting-gen.go
+++ b/dfareporting/v4/dfareporting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/doubleclick-advertisers/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dfareporting/v4"
-// ...
-// ctx := context.Background()
-// dfareportingService, err := dfareporting.NewService(ctx)
+// import "google.golang.org/api/dfareporting/v4"
+// ...
+// ctx := context.Background()
+// dfareportingService, err := dfareporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithScopes(dfareporting.DfatraffickingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dfareportingService, err := dfareporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dfareporting // import "google.golang.org/api/dfareporting/v4"
@@ -16525,8 +16525,9 @@ func (c *AccountUserProfilesListCall) SearchString(searchString string) *Account
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -16536,8 +16537,9 @@ func (c *AccountUserProfilesListCall) SortField(sortField string) *AccountUserPr
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountUserProfilesListCall) SortOrder(sortOrder string) *AccountUserProfilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -17299,8 +17301,9 @@ func (c *AccountsListCall) SearchString(searchString string) *AccountsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -17310,8 +17313,9 @@ func (c *AccountsListCall) SortField(sortField string) *AccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AccountsListCall) SortOrder(sortOrder string) *AccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -18190,12 +18194,13 @@ func (c *AdsListCall) CampaignIds(campaignIds ...int64) *AdsListCall {
// in-stream video ads developed with the VAST standard.
//
// Possible values:
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "APP"
-// "APP_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
-// "IN_STREAM_AUDIO"
+//
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "APP"
+// "APP_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
+// "IN_STREAM_AUDIO"
func (c *AdsListCall) Compatibility(compatibility string) *AdsListCall {
c.urlParams_.Set("compatibility", compatibility)
return c
@@ -18328,8 +18333,9 @@ func (c *AdsListCall) SizeIds(sizeIds ...int64) *AdsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdsListCall) SortField(sortField string) *AdsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -18339,8 +18345,9 @@ func (c *AdsListCall) SortField(sortField string) *AdsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdsListCall) SortOrder(sortOrder string) *AdsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -18364,11 +18371,12 @@ func (c *AdsListCall) SslRequired(sslRequired bool) *AdsListCall {
// types.
//
// Possible values:
-// "AD_SERVING_STANDARD_AD"
-// "AD_SERVING_DEFAULT_AD"
-// "AD_SERVING_CLICK_TRACKER"
-// "AD_SERVING_TRACKING"
-// "AD_SERVING_BRAND_SAFE_AD"
+//
+// "AD_SERVING_STANDARD_AD"
+// "AD_SERVING_DEFAULT_AD"
+// "AD_SERVING_CLICK_TRACKER"
+// "AD_SERVING_TRACKING"
+// "AD_SERVING_BRAND_SAFE_AD"
func (c *AdsListCall) Type(type_ ...string) *AdsListCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -19483,8 +19491,9 @@ func (c *AdvertiserGroupsListCall) SearchString(searchString string) *Advertiser
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -19494,8 +19503,9 @@ func (c *AdvertiserGroupsListCall) SortField(sortField string) *AdvertiserGroups
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserGroupsListCall) SortOrder(sortOrder string) *AdvertiserGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -20610,8 +20620,9 @@ func (c *AdvertiserLandingPagesListCall) SearchString(searchString string) *Adve
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -20621,8 +20632,9 @@ func (c *AdvertiserLandingPagesListCall) SortField(sortField string) *Advertiser
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertiserLandingPagesListCall) SortOrder(sortOrder string) *AdvertiserLandingPagesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -21558,8 +21570,9 @@ func (c *AdvertisersListCall) SearchString(searchString string) *AdvertisersList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -21569,8 +21582,9 @@ func (c *AdvertisersListCall) SortField(sortField string) *AdvertisersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -21580,8 +21594,9 @@ func (c *AdvertisersListCall) SortOrder(sortOrder string) *AdvertisersListCall {
// with the specified status.
//
// Possible values:
-// "APPROVED"
-// "ON_HOLD"
+//
+// "APPROVED"
+// "ON_HOLD"
func (c *AdvertisersListCall) Status(status string) *AdvertisersListCall {
c.urlParams_.Set("status", status)
return c
@@ -22685,8 +22700,9 @@ func (c *BillingProfilesListCall) PageToken(pageToken string) *BillingProfilesLi
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *BillingProfilesListCall) SortField(sortField string) *BillingProfilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -22696,8 +22712,9 @@ func (c *BillingProfilesListCall) SortField(sortField string) *BillingProfilesLi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *BillingProfilesListCall) SortOrder(sortOrder string) *BillingProfilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -22707,9 +22724,10 @@ func (c *BillingProfilesListCall) SortOrder(sortOrder string) *BillingProfilesLi
// profile with the specified status.
//
// Possible values:
-// "UNDER_REVIEW"
-// "ACTIVE"
-// "ARCHIVED"
+//
+// "UNDER_REVIEW"
+// "ACTIVE"
+// "ARCHIVED"
func (c *BillingProfilesListCall) Status(status ...string) *BillingProfilesListCall {
c.urlParams_.SetMulti("status", append([]string{}, status...))
return c
@@ -23605,8 +23623,9 @@ func (c *CampaignCreativeAssociationsListCall) PageToken(pageToken string) *Camp
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignCreativeAssociationsListCall) SortOrder(sortOrder string) *CampaignCreativeAssociationsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -24219,8 +24238,9 @@ func (c *CampaignsListCall) SearchString(searchString string) *CampaignsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -24230,8 +24250,9 @@ func (c *CampaignsListCall) SortField(sortField string) *CampaignsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CampaignsListCall) SortOrder(sortOrder string) *CampaignsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -24965,23 +24986,24 @@ func (r *ChangeLogsService) List(profileId int64) *ChangeLogsListCall {
// with the specified action.
//
// Possible values:
-// "ACTION_CREATE"
-// "ACTION_UPDATE"
-// "ACTION_DELETE"
-// "ACTION_ENABLE"
-// "ACTION_DISABLE"
-// "ACTION_ADD"
-// "ACTION_REMOVE"
-// "ACTION_MARK_AS_DEFAULT"
-// "ACTION_ASSOCIATE"
-// "ACTION_ASSIGN"
-// "ACTION_UNASSIGN"
-// "ACTION_SEND"
-// "ACTION_LINK"
-// "ACTION_UNLINK"
-// "ACTION_PUSH"
-// "ACTION_EMAIL_TAGS"
-// "ACTION_SHARE"
+//
+// "ACTION_CREATE"
+// "ACTION_UPDATE"
+// "ACTION_DELETE"
+// "ACTION_ENABLE"
+// "ACTION_DISABLE"
+// "ACTION_ADD"
+// "ACTION_REMOVE"
+// "ACTION_MARK_AS_DEFAULT"
+// "ACTION_ASSOCIATE"
+// "ACTION_ASSIGN"
+// "ACTION_UNASSIGN"
+// "ACTION_SEND"
+// "ACTION_LINK"
+// "ACTION_UNLINK"
+// "ACTION_PUSH"
+// "ACTION_EMAIL_TAGS"
+// "ACTION_SHARE"
func (c *ChangeLogsListCall) Action(action string) *ChangeLogsListCall {
c.urlParams_.Set("action", action)
return c
@@ -25046,47 +25068,48 @@ func (c *ChangeLogsListCall) ObjectIds(objectIds ...int64) *ChangeLogsListCall {
// change logs with the specified object type.
//
// Possible values:
-// "OBJECT_ADVERTISER"
-// "OBJECT_FLOODLIGHT_CONFIGURATION"
-// "OBJECT_AD"
-// "OBJECT_FLOODLIGHT_ACTVITY"
-// "OBJECT_CAMPAIGN"
-// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
-// "OBJECT_DFA_SITE"
-// "OBJECT_USER_ROLE"
-// "OBJECT_USER_PROFILE"
-// "OBJECT_ADVERTISER_GROUP"
-// "OBJECT_ACCOUNT"
-// "OBJECT_SUBACCOUNT"
-// "OBJECT_RICHMEDIA_CREATIVE"
-// "OBJECT_INSTREAM_CREATIVE"
-// "OBJECT_MEDIA_ORDER"
-// "OBJECT_CONTENT_CATEGORY"
-// "OBJECT_PLACEMENT_STRATEGY"
-// "OBJECT_SD_SITE"
-// "OBJECT_SIZE"
-// "OBJECT_CREATIVE_GROUP"
-// "OBJECT_CREATIVE_ASSET"
-// "OBJECT_USER_PROFILE_FILTER"
-// "OBJECT_LANDING_PAGE"
-// "OBJECT_CREATIVE_FIELD"
-// "OBJECT_REMARKETING_LIST"
-// "OBJECT_PROVIDED_LIST_CLIENT"
-// "OBJECT_EVENT_TAG"
-// "OBJECT_CREATIVE_BUNDLE"
-// "OBJECT_BILLING_ACCOUNT_GROUP"
-// "OBJECT_BILLING_FEATURE"
-// "OBJECT_RATE_CARD"
-// "OBJECT_ACCOUNT_BILLING_FEATURE"
-// "OBJECT_BILLING_MINIMUM_FEE"
-// "OBJECT_BILLING_PROFILE"
-// "OBJECT_PLAYSTORE_LINK"
-// "OBJECT_TARGETING_TEMPLATE"
-// "OBJECT_SEARCH_LIFT_STUDY"
-// "OBJECT_FLOODLIGHT_DV360_LINK"
-// "OBJECT_ADVERTISER_CUSTOMER_LINK"
+//
+// "OBJECT_ADVERTISER"
+// "OBJECT_FLOODLIGHT_CONFIGURATION"
+// "OBJECT_AD"
+// "OBJECT_FLOODLIGHT_ACTVITY"
+// "OBJECT_CAMPAIGN"
+// "OBJECT_FLOODLIGHT_ACTIVITY_GROUP"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
+// "OBJECT_DFA_SITE"
+// "OBJECT_USER_ROLE"
+// "OBJECT_USER_PROFILE"
+// "OBJECT_ADVERTISER_GROUP"
+// "OBJECT_ACCOUNT"
+// "OBJECT_SUBACCOUNT"
+// "OBJECT_RICHMEDIA_CREATIVE"
+// "OBJECT_INSTREAM_CREATIVE"
+// "OBJECT_MEDIA_ORDER"
+// "OBJECT_CONTENT_CATEGORY"
+// "OBJECT_PLACEMENT_STRATEGY"
+// "OBJECT_SD_SITE"
+// "OBJECT_SIZE"
+// "OBJECT_CREATIVE_GROUP"
+// "OBJECT_CREATIVE_ASSET"
+// "OBJECT_USER_PROFILE_FILTER"
+// "OBJECT_LANDING_PAGE"
+// "OBJECT_CREATIVE_FIELD"
+// "OBJECT_REMARKETING_LIST"
+// "OBJECT_PROVIDED_LIST_CLIENT"
+// "OBJECT_EVENT_TAG"
+// "OBJECT_CREATIVE_BUNDLE"
+// "OBJECT_BILLING_ACCOUNT_GROUP"
+// "OBJECT_BILLING_FEATURE"
+// "OBJECT_RATE_CARD"
+// "OBJECT_ACCOUNT_BILLING_FEATURE"
+// "OBJECT_BILLING_MINIMUM_FEE"
+// "OBJECT_BILLING_PROFILE"
+// "OBJECT_PLAYSTORE_LINK"
+// "OBJECT_TARGETING_TEMPLATE"
+// "OBJECT_SEARCH_LIFT_STUDY"
+// "OBJECT_FLOODLIGHT_DV360_LINK"
+// "OBJECT_ADVERTISER_CUSTOMER_LINK"
func (c *ChangeLogsListCall) ObjectType(objectType string) *ChangeLogsListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -26445,8 +26468,9 @@ func (c *ContentCategoriesListCall) SearchString(searchString string) *ContentCa
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategoriesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -26456,8 +26480,9 @@ func (c *ContentCategoriesListCall) SortField(sortField string) *ContentCategori
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ContentCategoriesListCall) SortOrder(sortOrder string) *ContentCategoriesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -27562,9 +27587,9 @@ type CreativeAssetsInsertCall struct {
// Insert: Inserts a new creative asset.
//
-// - advertiserId: Advertiser ID of this creative. This is a required
-// field.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Advertiser ID of this creative. This is a required
+// field.
+// - profileId: User profile ID associated with this request.
func (r *CreativeAssetsService) Insert(profileId int64, advertiserId int64, creativeassetmetadata *CreativeAssetMetadata) *CreativeAssetsInsertCall {
c := &CreativeAssetsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -28296,8 +28321,9 @@ func (c *CreativeFieldValuesListCall) SearchString(searchString string) *Creativ
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "VALUE"
+//
+// "ID" (default)
+// "VALUE"
func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -28307,8 +28333,9 @@ func (c *CreativeFieldValuesListCall) SortField(sortField string) *CreativeField
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldValuesListCall) SortOrder(sortOrder string) *CreativeFieldValuesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -29334,8 +29361,9 @@ func (c *CreativeFieldsListCall) SearchString(searchString string) *CreativeFiel
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -29345,8 +29373,9 @@ func (c *CreativeFieldsListCall) SortField(sortField string) *CreativeFieldsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeFieldsListCall) SortOrder(sortOrder string) *CreativeFieldsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -30237,8 +30266,9 @@ func (c *CreativeGroupsListCall) SearchString(searchString string) *CreativeGrou
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -30248,8 +30278,9 @@ func (c *CreativeGroupsListCall) SortField(sortField string) *CreativeGroupsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativeGroupsListCall) SortOrder(sortOrder string) *CreativeGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -31202,8 +31233,9 @@ func (c *CreativesListCall) SizeIds(sizeIds ...int64) *CreativesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -31213,8 +31245,9 @@ func (c *CreativesListCall) SortField(sortField string) *CreativesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *CreativesListCall) SortOrder(sortOrder string) *CreativesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -31231,31 +31264,32 @@ func (c *CreativesListCall) StudioCreativeId(studioCreativeId int64) *CreativesL
// these creative types.
//
// Possible values:
-// "IMAGE"
-// "DISPLAY_REDIRECT"
-// "CUSTOM_DISPLAY"
-// "INTERNAL_REDIRECT"
-// "CUSTOM_DISPLAY_INTERSTITIAL"
-// "INTERSTITIAL_INTERNAL_REDIRECT"
-// "TRACKING_TEXT"
-// "RICH_MEDIA_DISPLAY_BANNER"
-// "RICH_MEDIA_INPAGE_FLOATING"
-// "RICH_MEDIA_IM_EXPAND"
-// "RICH_MEDIA_DISPLAY_EXPANDING"
-// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
-// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
-// "RICH_MEDIA_MOBILE_IN_APP"
-// "FLASH_INPAGE"
-// "INSTREAM_VIDEO"
-// "VPAID_LINEAR_VIDEO"
-// "VPAID_NON_LINEAR_VIDEO"
-// "INSTREAM_VIDEO_REDIRECT"
-// "RICH_MEDIA_PEEL_DOWN"
-// "HTML5_BANNER"
-// "DISPLAY"
-// "DISPLAY_IMAGE_GALLERY"
-// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
-// "INSTREAM_AUDIO"
+//
+// "IMAGE"
+// "DISPLAY_REDIRECT"
+// "CUSTOM_DISPLAY"
+// "INTERNAL_REDIRECT"
+// "CUSTOM_DISPLAY_INTERSTITIAL"
+// "INTERSTITIAL_INTERNAL_REDIRECT"
+// "TRACKING_TEXT"
+// "RICH_MEDIA_DISPLAY_BANNER"
+// "RICH_MEDIA_INPAGE_FLOATING"
+// "RICH_MEDIA_IM_EXPAND"
+// "RICH_MEDIA_DISPLAY_EXPANDING"
+// "RICH_MEDIA_DISPLAY_INTERSTITIAL"
+// "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
+// "RICH_MEDIA_MOBILE_IN_APP"
+// "FLASH_INPAGE"
+// "INSTREAM_VIDEO"
+// "VPAID_LINEAR_VIDEO"
+// "VPAID_NON_LINEAR_VIDEO"
+// "INSTREAM_VIDEO_REDIRECT"
+// "RICH_MEDIA_PEEL_DOWN"
+// "HTML5_BANNER"
+// "DISPLAY"
+// "DISPLAY_IMAGE_GALLERY"
+// "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
+// "INSTREAM_AUDIO"
func (c *CreativesListCall) Types(types ...string) *CreativesListCall {
c.urlParams_.SetMulti("types", append([]string{}, types...))
return c
@@ -32468,8 +32502,9 @@ func (c *DirectorySitesListCall) SearchString(searchString string) *DirectorySit
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -32479,8 +32514,9 @@ func (c *DirectorySitesListCall) SortField(sortField string) *DirectorySitesList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *DirectorySitesListCall) SortOrder(sortOrder string) *DirectorySitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -32725,14 +32761,14 @@ type DynamicTargetingKeysDeleteCall struct {
// Delete: Deletes an existing dynamic targeting key.
//
-// - name: Name of this dynamic targeting key. This is a required field.
-// Must be less than 256 characters long and cannot contain commas.
-// All characters are converted to lowercase.
-// - objectId: ID of the object of this dynamic targeting key. This is a
-// required field.
-// - objectType: Type of the object of this dynamic targeting key. This
-// is a required field.
-// - profileId: User profile ID associated with this request.
+// - name: Name of this dynamic targeting key. This is a required field.
+// Must be less than 256 characters long and cannot contain commas.
+// All characters are converted to lowercase.
+// - objectId: ID of the object of this dynamic targeting key. This is a
+// required field.
+// - objectType: Type of the object of this dynamic targeting key. This
+// is a required field.
+// - profileId: User profile ID associated with this request.
func (r *DynamicTargetingKeysService) Delete(profileId int64, objectId int64, name string, objectType string) *DynamicTargetingKeysDeleteCall {
c := &DynamicTargetingKeysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -33053,10 +33089,11 @@ func (c *DynamicTargetingKeysListCall) ObjectId(objectId int64) *DynamicTargetin
// dynamic targeting keys with this object type.
//
// Possible values:
-// "OBJECT_ADVERTISER"
-// "OBJECT_AD"
-// "OBJECT_CREATIVE"
-// "OBJECT_PLACEMENT"
+//
+// "OBJECT_ADVERTISER"
+// "OBJECT_AD"
+// "OBJECT_CREATIVE"
+// "OBJECT_PLACEMENT"
func (c *DynamicTargetingKeysListCall) ObjectType(objectType string) *DynamicTargetingKeysListCall {
c.urlParams_.Set("objectType", objectType)
return c
@@ -33713,9 +33750,10 @@ func (c *EventTagsListCall) Enabled(enabled bool) *EventTagsListCall {
// either impression or click tracking.
//
// Possible values:
-// "IMPRESSION_IMAGE_EVENT_TAG"
-// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
-// "CLICK_THROUGH_EVENT_TAG"
+//
+// "IMPRESSION_IMAGE_EVENT_TAG"
+// "IMPRESSION_JAVASCRIPT_EVENT_TAG"
+// "CLICK_THROUGH_EVENT_TAG"
func (c *EventTagsListCall) EventTagTypes(eventTagTypes ...string) *EventTagsListCall {
c.urlParams_.SetMulti("eventTagTypes", append([]string{}, eventTagTypes...))
return c
@@ -33749,8 +33787,9 @@ func (c *EventTagsListCall) SearchString(searchString string) *EventTagsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -33760,8 +33799,9 @@ func (c *EventTagsListCall) SortField(sortField string) *EventTagsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *EventTagsListCall) SortOrder(sortOrder string) *EventTagsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -34486,9 +34526,10 @@ func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All files in account.
-// "MINE" (default) - My files.
-// "SHARED_WITH_ME" - Files shared with me.
+//
+// "ALL" - All files in account.
+// "MINE" (default) - My files.
+// "SHARED_WITH_ME" - Files shared with me.
func (c *FilesListCall) Scope(scope string) *FilesListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -34498,8 +34539,9 @@ func (c *FilesListCall) Scope(scope string) *FilesListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by file ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
+//
+// "ID" - Sort by file ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastmodifiedAt' field.
func (c *FilesListCall) SortField(sortField string) *FilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -34509,8 +34551,9 @@ func (c *FilesListCall) SortField(sortField string) *FilesListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *FilesListCall) SortOrder(sortOrder string) *FilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -35347,8 +35390,9 @@ func (c *FloodlightActivitiesListCall) FloodlightActivityGroupTagString(floodlig
// the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivitiesListCall) FloodlightActivityGroupType(floodlightActivityGroupType string) *FloodlightActivitiesListCall {
c.urlParams_.Set("floodlightActivityGroupType", floodlightActivityGroupType)
return c
@@ -35407,8 +35451,9 @@ func (c *FloodlightActivitiesListCall) SearchString(searchString string) *Floodl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -35418,8 +35463,9 @@ func (c *FloodlightActivitiesListCall) SortField(sortField string) *FloodlightAc
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivitiesListCall) SortOrder(sortOrder string) *FloodlightActivitiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -36359,8 +36405,9 @@ func (c *FloodlightActivityGroupsListCall) SearchString(searchString string) *Fl
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -36370,8 +36417,9 @@ func (c *FloodlightActivityGroupsListCall) SortField(sortField string) *Floodlig
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -36381,8 +36429,9 @@ func (c *FloodlightActivityGroupsListCall) SortOrder(sortOrder string) *Floodlig
// activity groups with the specified floodlight activity group type.
//
// Possible values:
-// "COUNTER"
-// "SALE"
+//
+// "COUNTER"
+// "SALE"
func (c *FloodlightActivityGroupsListCall) Type(type_ string) *FloodlightActivityGroupsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -37782,8 +37831,9 @@ func (c *InventoryItemsListCall) SiteId(siteId ...int64) *InventoryItemsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -37793,8 +37843,9 @@ func (c *InventoryItemsListCall) SortField(sortField string) *InventoryItemsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -37804,8 +37855,9 @@ func (c *InventoryItemsListCall) SortOrder(sortOrder string) *InventoryItemsList
// with this type.
//
// Possible values:
-// "PLANNING_PLACEMENT_TYPE_REGULAR"
-// "PLANNING_PLACEMENT_TYPE_CREDIT"
+//
+// "PLANNING_PLACEMENT_TYPE_REGULAR"
+// "PLANNING_PLACEMENT_TYPE_CREDIT"
func (c *InventoryItemsListCall) Type(type_ string) *InventoryItemsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -38521,17 +38573,18 @@ func (r *MobileAppsService) List(profileId int64) *MobileAppsListCall {
// apps from these directories.
//
// Possible values:
-// "UNKNOWN"
-// "APPLE_APP_STORE"
-// "GOOGLE_PLAY_STORE"
-// "ROKU_APP_STORE"
-// "AMAZON_FIRETV_APP_STORE"
-// "PLAYSTATION_APP_STORE"
-// "APPLE_TV_APP_STORE"
-// "XBOX_APP_STORE"
-// "SAMSUNG_TV_APP_STORE"
-// "ANDROID_TV_APP_STORE"
-// "GENERIC_CTV_APP_STORE"
+//
+// "UNKNOWN"
+// "APPLE_APP_STORE"
+// "GOOGLE_PLAY_STORE"
+// "ROKU_APP_STORE"
+// "AMAZON_FIRETV_APP_STORE"
+// "PLAYSTATION_APP_STORE"
+// "APPLE_TV_APP_STORE"
+// "XBOX_APP_STORE"
+// "SAMSUNG_TV_APP_STORE"
+// "ANDROID_TV_APP_STORE"
+// "GENERIC_CTV_APP_STORE"
func (c *MobileAppsListCall) Directories(directories ...string) *MobileAppsListCall {
c.urlParams_.SetMulti("directories", append([]string{}, directories...))
return c
@@ -39953,8 +40006,9 @@ func (c *OrderDocumentsListCall) SiteId(siteId ...int64) *OrderDocumentsListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -39964,8 +40018,9 @@ func (c *OrderDocumentsListCall) SortField(sortField string) *OrderDocumentsList
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrderDocumentsListCall) SortOrder(sortOrder string) *OrderDocumentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -40446,8 +40501,9 @@ func (c *OrdersListCall) SiteId(siteId ...int64) *OrdersListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -40457,8 +40513,9 @@ func (c *OrdersListCall) SortField(sortField string) *OrdersListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *OrdersListCall) SortOrder(sortOrder string) *OrdersListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -41006,11 +41063,12 @@ func (r *PlacementGroupsService) List(profileId int64) *PlacementGroupsListCall
// placements with these active statuses.
//
// Possible values:
-// "PLACEMENT_STATUS_UNKNOWN"
-// "PLACEMENT_STATUS_ACTIVE"
-// "PLACEMENT_STATUS_INACTIVE"
-// "PLACEMENT_STATUS_ARCHIVED"
-// "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED"
+//
+// "PLACEMENT_STATUS_UNKNOWN"
+// "PLACEMENT_STATUS_ACTIVE"
+// "PLACEMENT_STATUS_INACTIVE"
+// "PLACEMENT_STATUS_ARCHIVED"
+// "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED"
func (c *PlacementGroupsListCall) ActiveStatus(activeStatus ...string) *PlacementGroupsListCall {
c.urlParams_.SetMulti("activeStatus", append([]string{}, activeStatus...))
return c
@@ -41128,8 +41186,9 @@ func (c *PlacementGroupsListCall) PageToken(pageToken string) *PlacementGroupsLi
// of its assigned placements to be marked as primary for reporting.
//
// Possible values:
-// "PLACEMENT_PACKAGE"
-// "PLACEMENT_ROADBLOCK"
+//
+// "PLACEMENT_PACKAGE"
+// "PLACEMENT_ROADBLOCK"
func (c *PlacementGroupsListCall) PlacementGroupType(placementGroupType string) *PlacementGroupsListCall {
c.urlParams_.Set("placementGroupType", placementGroupType)
return c
@@ -41151,12 +41210,13 @@ func (c *PlacementGroupsListCall) PlacementStrategyIds(placementStrategyIds ...i
// placement groups with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
+//
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
func (c *PlacementGroupsListCall) PricingTypes(pricingTypes ...string) *PlacementGroupsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -41191,8 +41251,9 @@ func (c *PlacementGroupsListCall) SiteIds(siteIds ...int64) *PlacementGroupsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -41202,8 +41263,9 @@ func (c *PlacementGroupsListCall) SortField(sortField string) *PlacementGroupsLi
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementGroupsListCall) SortOrder(sortOrder string) *PlacementGroupsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -42302,8 +42364,9 @@ func (c *PlacementStrategiesListCall) SearchString(searchString string) *Placeme
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -42313,8 +42376,9 @@ func (c *PlacementStrategiesListCall) SortField(sortField string) *PlacementStra
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementStrategiesListCall) SortOrder(sortOrder string) *PlacementStrategiesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -42858,26 +42922,27 @@ func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *Placem
// only be generated for 1x1 placements.
//
// Possible values:
-// "PLACEMENT_TAG_STANDARD"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_IFRAME_ILAYER"
-// "PLACEMENT_TAG_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
-// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
-// "PLACEMENT_TAG_CLICK_COMMANDS"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
-// "PLACEMENT_TAG_TRACKING"
-// "PLACEMENT_TAG_TRACKING_IFRAME"
-// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
-// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
-// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
-// "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT"
+//
+// "PLACEMENT_TAG_STANDARD"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_IFRAME_ILAYER"
+// "PLACEMENT_TAG_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+// "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+// "PLACEMENT_TAG_CLICK_COMMANDS"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+// "PLACEMENT_TAG_TRACKING"
+// "PLACEMENT_TAG_TRACKING_IFRAME"
+// "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
+// "PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY"
+// "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
+// "PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT"
func (c *PlacementsGeneratetagsCall) TagFormats(tagFormats ...string) *PlacementsGeneratetagsCall {
c.urlParams_.SetMulti("tagFormats", append([]string{}, tagFormats...))
return c
@@ -43384,11 +43449,12 @@ func (r *PlacementsService) List(profileId int64) *PlacementsListCall {
// placements with these active statuses.
//
// Possible values:
-// "PLACEMENT_STATUS_UNKNOWN"
-// "PLACEMENT_STATUS_ACTIVE"
-// "PLACEMENT_STATUS_INACTIVE"
-// "PLACEMENT_STATUS_ARCHIVED"
-// "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED"
+//
+// "PLACEMENT_STATUS_UNKNOWN"
+// "PLACEMENT_STATUS_ACTIVE"
+// "PLACEMENT_STATUS_INACTIVE"
+// "PLACEMENT_STATUS_ARCHIVED"
+// "PLACEMENT_STATUS_PERMANENTLY_ARCHIVED"
func (c *PlacementsListCall) ActiveStatus(activeStatus ...string) *PlacementsListCall {
c.urlParams_.SetMulti("activeStatus", append([]string{}, activeStatus...))
return c
@@ -43425,12 +43491,13 @@ func (c *PlacementsListCall) CampaignIds(campaignIds ...int64) *PlacementsListCa
// with the VAST standard.
//
// Possible values:
-// "DISPLAY"
-// "DISPLAY_INTERSTITIAL"
-// "APP"
-// "APP_INTERSTITIAL"
-// "IN_STREAM_VIDEO"
-// "IN_STREAM_AUDIO"
+//
+// "DISPLAY"
+// "DISPLAY_INTERSTITIAL"
+// "APP"
+// "APP_INTERSTITIAL"
+// "IN_STREAM_VIDEO"
+// "IN_STREAM_AUDIO"
func (c *PlacementsListCall) Compatibilities(compatibilities ...string) *PlacementsListCall {
c.urlParams_.SetMulti("compatibilities", append([]string{}, compatibilities...))
return c
@@ -43532,8 +43599,9 @@ func (c *PlacementsListCall) PageToken(pageToken string) *PlacementsListCall {
// only placements with this payment source.
//
// Possible values:
-// "PLACEMENT_AGENCY_PAID"
-// "PLACEMENT_PUBLISHER_PAID"
+//
+// "PLACEMENT_AGENCY_PAID"
+// "PLACEMENT_PUBLISHER_PAID"
func (c *PlacementsListCall) PaymentSource(paymentSource string) *PlacementsListCall {
c.urlParams_.Set("paymentSource", paymentSource)
return c
@@ -43555,12 +43623,13 @@ func (c *PlacementsListCall) PlacementStrategyIds(placementStrategyIds ...int64)
// placements with these pricing types.
//
// Possible values:
-// "PRICING_TYPE_CPM"
-// "PRICING_TYPE_CPC"
-// "PRICING_TYPE_CPA"
-// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
-// "PRICING_TYPE_FLAT_RATE_CLICKS"
-// "PRICING_TYPE_CPM_ACTIVEVIEW"
+//
+// "PRICING_TYPE_CPM"
+// "PRICING_TYPE_CPC"
+// "PRICING_TYPE_CPA"
+// "PRICING_TYPE_FLAT_RATE_IMPRESSIONS"
+// "PRICING_TYPE_FLAT_RATE_CLICKS"
+// "PRICING_TYPE_CPM_ACTIVEVIEW"
func (c *PlacementsListCall) PricingTypes(pricingTypes ...string) *PlacementsListCall {
c.urlParams_.SetMulti("pricingTypes", append([]string{}, pricingTypes...))
return c
@@ -43605,8 +43674,9 @@ func (c *PlacementsListCall) SizeIds(sizeIds ...int64) *PlacementsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -43616,8 +43686,9 @@ func (c *PlacementsListCall) SortField(sortField string) *PlacementsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *PlacementsListCall) SortOrder(sortOrder string) *PlacementsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -45111,8 +45182,9 @@ func (c *ProjectsListCall) SearchString(searchString string) *ProjectsListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -45122,8 +45194,9 @@ func (c *ProjectsListCall) SortField(sortField string) *ProjectsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *ProjectsListCall) SortOrder(sortOrder string) *ProjectsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -46250,9 +46323,9 @@ type RemarketingListsListCall struct {
// List: Retrieves a list of remarketing lists, possibly filtered. This
// method supports paging.
//
-// - advertiserId: Select only remarketing lists owned by this
-// advertiser.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Select only remarketing lists owned by this
+// advertiser.
+// - profileId: User profile ID associated with this request.
func (r *RemarketingListsService) List(profileId int64, advertiserId int64) *RemarketingListsListCall {
c := &RemarketingListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -46306,8 +46379,9 @@ func (c *RemarketingListsListCall) PageToken(pageToken string) *RemarketingLists
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -46317,8 +46391,9 @@ func (c *RemarketingListsListCall) SortField(sortField string) *RemarketingLists
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *RemarketingListsListCall) SortOrder(sortOrder string) *RemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -47286,8 +47361,9 @@ func (c *ReportsListCall) PageToken(pageToken string) *ReportsListCall {
// which results are returned.
//
// Possible values:
-// "ALL" - All reports in account.
-// "MINE" (default) - My reports.
+//
+// "ALL" - All reports in account.
+// "MINE" (default) - My reports.
func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
c.urlParams_.Set("scope", scope)
return c
@@ -47297,9 +47373,10 @@ func (c *ReportsListCall) Scope(scope string) *ReportsListCall {
// to sort the list.
//
// Possible values:
-// "ID" - Sort by report ID.
-// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
-// "NAME" - Sort by name of reports.
+//
+// "ID" - Sort by report ID.
+// "LAST_MODIFIED_TIME" (default) - Sort by 'lastModifiedTime' field.
+// "NAME" - Sort by name of reports.
func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -47309,8 +47386,9 @@ func (c *ReportsListCall) SortField(sortField string) *ReportsListCall {
// results.
//
// Possible values:
-// "ASCENDING" - Ascending order.
-// "DESCENDING" (default) - Descending order.
+//
+// "ASCENDING" - Ascending order.
+// "DESCENDING" (default) - Descending order.
func (c *ReportsListCall) SortOrder(sortOrder string) *ReportsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -48360,8 +48438,9 @@ func (c *ReportsFilesListCall) PageToken(pageToken string) *ReportsFilesListCall
// to sort the list.
//
// Possible values:
-// "ID"
-// "LAST_MODIFIED_TIME" (default)
+//
+// "ID"
+// "LAST_MODIFIED_TIME" (default)
func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -48371,8 +48450,9 @@ func (c *ReportsFilesListCall) SortField(sortField string) *ReportsFilesListCall
// results.
//
// Possible values:
-// "ASCENDING"
-// "DESCENDING" (default)
+//
+// "ASCENDING"
+// "DESCENDING" (default)
func (c *ReportsFilesListCall) SortOrder(sortOrder string) *ReportsFilesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -48998,8 +49078,9 @@ func (c *SitesListCall) SearchString(searchString string) *SitesListCall {
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SitesListCall) SortField(sortField string) *SitesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -49009,8 +49090,9 @@ func (c *SitesListCall) SortField(sortField string) *SitesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SitesListCall) SortOrder(sortOrder string) *SitesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -50448,8 +50530,9 @@ func (c *SubaccountsListCall) SearchString(searchString string) *SubaccountsList
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -50459,8 +50542,9 @@ func (c *SubaccountsListCall) SortField(sortField string) *SubaccountsListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *SubaccountsListCall) SortOrder(sortOrder string) *SubaccountsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -51134,9 +51218,9 @@ type TargetableRemarketingListsListCall struct {
// List: Retrieves a list of targetable remarketing lists, possibly
// filtered. This method supports paging.
//
-// - advertiserId: Select only targetable remarketing lists targetable
-// by these advertisers.
-// - profileId: User profile ID associated with this request.
+// - advertiserId: Select only targetable remarketing lists targetable
+// by these advertisers.
+// - profileId: User profile ID associated with this request.
func (r *TargetableRemarketingListsService) List(profileId int64, advertiserId int64) *TargetableRemarketingListsListCall {
c := &TargetableRemarketingListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.profileId = profileId
@@ -51182,8 +51266,9 @@ func (c *TargetableRemarketingListsListCall) PageToken(pageToken string) *Target
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetableRemarketingListsListCall) SortField(sortField string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -51193,8 +51278,9 @@ func (c *TargetableRemarketingListsListCall) SortField(sortField string) *Target
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetableRemarketingListsListCall) SortOrder(sortOrder string) *TargetableRemarketingListsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -51778,8 +51864,9 @@ func (c *TargetingTemplatesListCall) SearchString(searchString string) *Targetin
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -51789,8 +51876,9 @@ func (c *TargetingTemplatesListCall) SortField(sortField string) *TargetingTempl
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *TargetingTemplatesListCall) SortOrder(sortOrder string) *TargetingTemplatesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -53691,8 +53779,9 @@ func (c *UserRolesListCall) SearchString(searchString string) *UserRolesListCall
// sort the list.
//
// Possible values:
-// "ID" (default)
-// "NAME"
+//
+// "ID" (default)
+// "NAME"
func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
c.urlParams_.Set("sortField", sortField)
return c
@@ -53702,8 +53791,9 @@ func (c *UserRolesListCall) SortField(sortField string) *UserRolesListCall {
// results.
//
// Possible values:
-// "ASCENDING" (default)
-// "DESCENDING"
+//
+// "ASCENDING" (default)
+// "DESCENDING"
func (c *UserRolesListCall) SortOrder(sortOrder string) *UserRolesListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go
index d6262ba9029..40c31c0a381 100644
--- a/dialogflow/v2/dialogflow-gen.go
+++ b/dialogflow/v2/dialogflow-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/dialogflow/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dialogflow/v2"
-// ...
-// ctx := context.Background()
-// dialogflowService, err := dialogflow.NewService(ctx)
+// import "google.golang.org/api/dialogflow/v2"
+// ...
+// ctx := context.Background()
+// dialogflowService, err := dialogflow.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dialogflow // import "google.golang.org/api/dialogflow/v2"
@@ -4011,7 +4011,8 @@ func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) UnmarshalJSON(data [
}
// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue:
-// Represents a value for an intent parameter.
+//
+// Represents a value for an intent parameter.
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct {
// OriginalValue: Always present. Original text value extracted from
// user utterance.
@@ -10314,7 +10315,7 @@ func (s *GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig) MarshalJSON()
// GoogleCloudDialogflowV2EventInput: Events allow for matching intents
// by event name instead of the natural language input. For instance,
-// input `` can trigger a personalized welcome response. The parameter
+// input “ can trigger a personalized welcome response. The parameter
// `name` may be used by the agent in the response: "Hello
// #welcome_event.name! What can I do for you today?".
type GoogleCloudDialogflowV2EventInput struct {
@@ -10882,7 +10883,8 @@ func (s *GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConf
}
// GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig:
-// Configuration for analyses to run on each conversation message.
+//
+// Configuration for analyses to run on each conversation message.
type GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig struct {
// EnableEntityExtraction: Enable entity extraction in conversation
// messages on agent assist stage
@@ -11025,7 +11027,8 @@ func (s *GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
}
// GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig:
-// Config for suggestion query.
+//
+// Config for suggestion query.
type GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig struct {
// ConfidenceThreshold: Confidence threshold of query result. Agent
// Assist gives each suggestion a score in the range [0.0, 1.0], based
@@ -16782,7 +16785,7 @@ func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, er
// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching
// intents by event name instead of the natural language input. For
-// instance, input `` can trigger a personalized welcome response. The
+// instance, input “ can trigger a personalized welcome response. The
// parameter `name` may be used by the agent in the response: "Hello
// #welcome_event.name! What can I do for you today?".
type GoogleCloudDialogflowV2beta1EventInput struct {
@@ -17460,7 +17463,8 @@ func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON()
}
// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction:
-// Opens the given URI.
+//
+// Opens the given URI.
type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct {
// Uri: Required. The HTTP or HTTPS scheme URI.
Uri string `json:"uri,omitempty"`
@@ -20589,8 +20593,8 @@ type ProjectsDeleteAgentCall struct {
// DeleteAgent: Deletes the specified agent.
//
-// - parent: The project that the agent to delete is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to delete is associated with.
+// Format: `projects/`.
func (r *ProjectsService) DeleteAgent(parent string) *ProjectsDeleteAgentCall {
c := &ProjectsDeleteAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20724,8 +20728,8 @@ type ProjectsGetAgentCall struct {
// GetAgent: Retrieves the specified agent.
//
-// - parent: The project that the agent to fetch is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to fetch is associated with.
+// Format: `projects/`.
func (r *ProjectsService) GetAgent(parent string) *ProjectsGetAgentCall {
c := &ProjectsGetAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21036,8 +21040,8 @@ type ProjectsAgentExportCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: ExportAgentResponse
//
-// - parent: The project that the agent to export is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to export is associated with.
+// Format: `projects/`.
func (r *ProjectsAgentService) Export(parent string, googleclouddialogflowv2exportagentrequest *GoogleCloudDialogflowV2ExportAgentRequest) *ProjectsAgentExportCall {
c := &ProjectsAgentExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21180,8 +21184,8 @@ type ProjectsAgentGetFulfillmentCall struct {
// GetFulfillment: Retrieves the fulfillment.
//
-// - name: The name of the fulfillment. Format:
-// `projects//agent/fulfillment`.
+// - name: The name of the fulfillment. Format:
+// `projects//agent/fulfillment`.
func (r *ProjectsAgentService) GetFulfillment(name string) *ProjectsAgentGetFulfillmentCall {
c := &ProjectsAgentGetFulfillmentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21331,8 +21335,8 @@ type ProjectsAgentGetValidationResultCall struct {
// is performed during training time and is updated automatically when
// training is completed.
//
-// - parent: The project that the agent is associated with. Format:
-// `projects/`.
+// - parent: The project that the agent is associated with. Format:
+// `projects/`.
func (r *ProjectsAgentService) GetValidationResult(parent string) *ProjectsAgentGetValidationResultCall {
c := &ProjectsAgentGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21514,8 +21518,8 @@ type ProjectsAgentImportCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to import is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to import is associated with.
+// Format: `projects/`.
func (r *ProjectsAgentService) Import(parent string, googleclouddialogflowv2importagentrequest *GoogleCloudDialogflowV2ImportAgentRequest) *ProjectsAgentImportCall {
c := &ProjectsAgentImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21675,8 +21679,8 @@ type ProjectsAgentRestoreCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to restore is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to restore is associated with.
+// Format: `projects/`.
func (r *ProjectsAgentService) Restore(parent string, googleclouddialogflowv2restoreagentrequest *GoogleCloudDialogflowV2RestoreAgentRequest) *ProjectsAgentRestoreCall {
c := &ProjectsAgentRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22029,8 +22033,8 @@ type ProjectsAgentTrainCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to train is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to train is associated with.
+// Format: `projects/`.
func (r *ProjectsAgentService) Train(parent string, googleclouddialogflowv2trainagentrequest *GoogleCloudDialogflowV2TrainAgentRequest) *ProjectsAgentTrainCall {
c := &ProjectsAgentTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22175,8 +22179,8 @@ type ProjectsAgentUpdateFulfillmentCall struct {
//
// - name: The unique identifier of the fulfillment. Supported formats:
// - `projects//agent/fulfillment` -
-// `projects//locations//agent/fulfillment` This field is not used for
-// Fulfillment in an Environment.
+// `projects//locations//agent/fulfillment` This field is not used for
+// Fulfillment in an Environment.
func (r *ProjectsAgentService) UpdateFulfillment(nameid string, googleclouddialogflowv2fulfillment *GoogleCloudDialogflowV2Fulfillment) *ProjectsAgentUpdateFulfillmentCall {
c := &ProjectsAgentUpdateFulfillmentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -22344,8 +22348,8 @@ type ProjectsAgentEntityTypesBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to delete all entities types for.
-// Format: `projects//agent`.
+// - parent: The name of the agent to delete all entities types for.
+// Format: `projects//agent`.
func (r *ProjectsAgentEntityTypesService) BatchDelete(parent string, googleclouddialogflowv2batchdeleteentitytypesrequest *GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest) *ProjectsAgentEntityTypesBatchDeleteCall {
c := &ProjectsAgentEntityTypesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22496,8 +22500,8 @@ type ProjectsAgentEntityTypesBatchUpdateCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to update or create entity types in.
-// Format: `projects//agent`.
+// - parent: The name of the agent to update or create entity types in.
+// Format: `projects//agent`.
func (r *ProjectsAgentEntityTypesService) BatchUpdate(parent string, googleclouddialogflowv2batchupdateentitytypesrequest *GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest) *ProjectsAgentEntityTypesBatchUpdateCall {
c := &ProjectsAgentEntityTypesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22643,8 +22647,8 @@ type ProjectsAgentEntityTypesCreateCall struct {
// training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The agent to create a entity type for. Format:
-// `projects//agent`.
+// - parent: The agent to create a entity type for. Format:
+// `projects//agent`.
func (r *ProjectsAgentEntityTypesService) Create(parent string, googleclouddialogflowv2entitytype *GoogleCloudDialogflowV2EntityType) *ProjectsAgentEntityTypesCreateCall {
c := &ProjectsAgentEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22804,8 +22808,8 @@ type ProjectsAgentEntityTypesDeleteCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The name of the entity type to delete. Format:
-// `projects//agent/entityTypes/`.
+// - name: The name of the entity type to delete. Format:
+// `projects//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesService) Delete(name string) *ProjectsAgentEntityTypesDeleteCall {
c := &ProjectsAgentEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22939,8 +22943,8 @@ type ProjectsAgentEntityTypesGetCall struct {
// Get: Retrieves the specified entity type.
//
-// - name: The name of the entity type. Format:
-// `projects//agent/entityTypes/`.
+// - name: The name of the entity type. Format:
+// `projects//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesService) Get(name string) *ProjectsAgentEntityTypesGetCall {
c := &ProjectsAgentEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23103,8 +23107,8 @@ type ProjectsAgentEntityTypesListCall struct {
// List: Returns the list of all entity types in the specified agent.
//
-// - parent: The agent to list all entity types from. Format:
-// `projects//agent`.
+// - parent: The agent to list all entity types from. Format:
+// `projects//agent`.
func (r *ProjectsAgentEntityTypesService) List(parent string) *ProjectsAgentEntityTypesListCall {
c := &ProjectsAgentEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23316,9 +23320,9 @@ type ProjectsAgentEntityTypesPatchCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The unique identifier of the entity type. Required for
-// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
-// methods. Format: `projects//agent/entityTypes/`.
+// - name: The unique identifier of the entity type. Required for
+// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
+// methods. Format: `projects//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesService) Patch(nameid string, googleclouddialogflowv2entitytype *GoogleCloudDialogflowV2EntityType) *ProjectsAgentEntityTypesPatchCall {
c := &ProjectsAgentEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -23500,8 +23504,8 @@ type ProjectsAgentEntityTypesEntitiesBatchCreateCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to create entities in. Format:
-// `projects//agent/entityTypes/`.
+// - parent: The name of the entity type to create entities in. Format:
+// `projects//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesEntitiesService) BatchCreate(parent string, googleclouddialogflowv2batchcreateentitiesrequest *GoogleCloudDialogflowV2BatchCreateEntitiesRequest) *ProjectsAgentEntityTypesEntitiesBatchCreateCall {
c := &ProjectsAgentEntityTypesEntitiesBatchCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23654,8 +23658,8 @@ type ProjectsAgentEntityTypesEntitiesBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to delete entries for. Format:
-// `projects//agent/entityTypes/`.
+// - parent: The name of the entity type to delete entries for. Format:
+// `projects//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesEntitiesService) BatchDelete(parent string, googleclouddialogflowv2batchdeleteentitiesrequest *GoogleCloudDialogflowV2BatchDeleteEntitiesRequest) *ProjectsAgentEntityTypesEntitiesBatchDeleteCall {
c := &ProjectsAgentEntityTypesEntitiesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23810,8 +23814,8 @@ type ProjectsAgentEntityTypesEntitiesBatchUpdateCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to update or create entities
-// in. Format: `projects//agent/entityTypes/`.
+// - parent: The name of the entity type to update or create entities
+// in. Format: `projects//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesEntitiesService) BatchUpdate(parent string, googleclouddialogflowv2batchupdateentitiesrequest *GoogleCloudDialogflowV2BatchUpdateEntitiesRequest) *ProjectsAgentEntityTypesEntitiesBatchUpdateCall {
c := &ProjectsAgentEntityTypesEntitiesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24110,10 +24114,10 @@ type ProjectsAgentEnvironmentsDeleteCall struct {
// Delete: Deletes the specified agent environment.
//
-// - name: The name of the environment to delete. / Format: -
-// `projects//agent/environments/` -
-// `projects//locations//agent/environments/` The environment ID for
-// the default environment is `-`.
+// - name: The name of the environment to delete. / Format: -
+// `projects//agent/environments/` -
+// `projects//locations//agent/environments/` The environment ID for
+// the default environment is `-`.
func (r *ProjectsAgentEnvironmentsService) Delete(name string) *ProjectsAgentEnvironmentsDeleteCall {
c := &ProjectsAgentEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24247,10 +24251,10 @@ type ProjectsAgentEnvironmentsGetCall struct {
// Get: Retrieves the specified agent environment.
//
-// - name: The name of the environment. Supported formats: -
-// `projects//agent/environments/` -
-// `projects//locations//agent/environments/` The environment ID for
-// the default environment is `-`.
+// - name: The name of the environment. Supported formats: -
+// `projects//agent/environments/` -
+// `projects//locations//agent/environments/` The environment ID for
+// the default environment is `-`.
func (r *ProjectsAgentEnvironmentsService) Get(name string) *ProjectsAgentEnvironmentsGetCall {
c := &ProjectsAgentEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24398,10 +24402,10 @@ type ProjectsAgentEnvironmentsGetHistoryCall struct {
// GetHistory: Gets the history of the specified environment.
//
-// - parent: The name of the environment to retrieve history for.
-// Supported formats: - `projects//agent/environments/` -
-// `projects//locations//agent/environments/` The environment ID for
-// the default environment is `-`.
+// - parent: The name of the environment to retrieve history for.
+// Supported formats: - `projects//agent/environments/` -
+// `projects//locations//agent/environments/` The environment ID for
+// the default environment is `-`.
func (r *ProjectsAgentEnvironmentsService) GetHistory(parent string) *ProjectsAgentEnvironmentsGetHistoryCall {
c := &ProjectsAgentEnvironmentsGetHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24597,8 +24601,8 @@ type ProjectsAgentEnvironmentsListCall struct {
// List: Returns the list of all non-default environments of the
// specified agent.
//
-// - parent: The agent to list all environments from. Format: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to list all environments from. Format: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsAgentEnvironmentsService) List(parent string) *ProjectsAgentEnvironmentsListCall {
c := &ProjectsAgentEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24685,7 +24689,9 @@ func (c *ProjectsAgentEnvironmentsListCall) doRequest(alt string) (*http.Respons
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2ListEnvironmentsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -24804,10 +24810,10 @@ type ProjectsAgentEnvironmentsPatchCall struct {
// undone. You may want to save the draft agent to a version before
// calling this method.
//
-// - name: Output only. The unique identifier of this agent environment.
-// Supported formats: - `projects//agent/environments/` -
-// `projects//locations//agent/environments/` The environment ID for
-// the default environment is `-`.
+// - name: Output only. The unique identifier of this agent environment.
+// Supported formats: - `projects//agent/environments/` -
+// `projects//locations//agent/environments/` The environment ID for
+// the default environment is `-`.
func (r *ProjectsAgentEnvironmentsService) Patch(nameid string, googleclouddialogflowv2environment *GoogleCloudDialogflowV2Environment) *ProjectsAgentEnvironmentsPatchCall {
c := &ProjectsAgentEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -24980,12 +24986,12 @@ type ProjectsAgentEnvironmentsIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents from. Format:
-// `projects//agent` or `projects//locations//agent`. Alternatively,
-// you can specify the environment to list intents for. Format:
-// `projects//agent/environments/` or
-// `projects//locations//agent/environments/`. Note: training phrases
-// of the intents will not be returned for non-draft environment.
+// - parent: The agent to list all intents from. Format:
+// `projects//agent` or `projects//locations//agent`. Alternatively,
+// you can specify the environment to list intents for. Format:
+// `projects//agent/environments/` or
+// `projects//locations//agent/environments/`. Note: training phrases
+// of the intents will not be returned for non-draft environment.
func (r *ProjectsAgentEnvironmentsIntentsService) List(parent string) *ProjectsAgentEnvironmentsIntentsListCall {
c := &ProjectsAgentEnvironmentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24996,9 +25002,12 @@ func (r *ProjectsAgentEnvironmentsIntentsService) List(parent string) *ProjectsA
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentEnvironmentsIntentsListCall) IntentView(intentView string) *ProjectsAgentEnvironmentsIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -25219,11 +25228,11 @@ type ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall struct {
// DeleteContexts: Deletes all active contexts in the specified session.
//
-// - parent: The name of the session to delete all contexts from.
-// Format: `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The name of the session to delete all contexts from.
+// Format: `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentEnvironmentsUsersSessionsService) DeleteContexts(parent string) *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall {
c := &ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25367,21 +25376,21 @@ type ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall struct {
// for production traffic. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//agent/sessions/`, or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment
-// (`Environment ID` might be referred to as environment name at some
-// places). If `User ID` is not specified, we are using "-". It's up
-// to the API caller to choose an appropriate `Session ID` and `User
-// Id`. They can be a random number or some type of user and session
-// identifiers (preferably hashed). The length of the `Session ID` and
-// `User ID` must not exceed 36 characters. For more information, see
-// the API interactions guide
-// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
-// Always use agent versions for production traffic. See Versions and
-// environments
-// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
+// - session: The name of the session this query is sent to. Format:
+// `projects//agent/sessions/`, or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment
+// (`Environment ID` might be referred to as environment name at some
+// places). If `User ID` is not specified, we are using "-". It's up
+// to the API caller to choose an appropriate `Session ID` and `User
+// Id`. They can be a random number or some type of user and session
+// identifiers (preferably hashed). The length of the `Session ID` and
+// `User ID` must not exceed 36 characters. For more information, see
+// the API interactions guide
+// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
+// Always use agent versions for production traffic. See Versions and
+// environments
+// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
func (r *ProjectsAgentEnvironmentsUsersSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2detectintentrequest *GoogleCloudDialogflowV2DetectIntentRequest) *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall {
c := &ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -25527,11 +25536,11 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall struct {
// Create: Creates a context. If the specified context already exists,
// overrides the context.
//
-// - parent: The session to create a context for. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to create a context for. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Create(parent string, googleclouddialogflowv2context *GoogleCloudDialogflowV2Context) *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25673,12 +25682,12 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall struct {
// Delete: Deletes the specified context.
//
-// - name: The name of the context to delete. Format:
-// `projects//agent/sessions//contexts/` or
-// `projects//agent/environments//users//sessions//contexts/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the context to delete. Format:
+// `projects//agent/sessions//contexts/` or
+// `projects//agent/environments//users//sessions//contexts/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Delete(name string) *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25812,12 +25821,12 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsGetCall struct {
// Get: Retrieves the specified context.
//
-// - name: The name of the context. Format:
-// `projects//agent/sessions//contexts/` or
-// `projects//agent/environments//users//sessions//contexts/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the context. Format:
+// `projects//agent/sessions//contexts/` or
+// `projects//agent/environments//users//sessions//contexts/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Get(name string) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25964,11 +25973,11 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsListCall struct {
// List: Returns the list of all contexts in the specified session.
//
-// - parent: The session to list all contexts from. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to list all contexts from. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) List(parent string) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26163,17 +26172,17 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall struct {
// Patch: Updates the specified context.
//
-// - name: The unique identifier of the context. Format:
-// `projects//agent/sessions//contexts/`, or
-// `projects//agent/environments//users//sessions//contexts/`. The
-// `Context ID` is always converted to lowercase, may only contain
-// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user. The following context names are reserved for internal use by
-// Dialogflow. You should not use these contexts or create contexts
-// with these names: * `__system_counters__` * `*_id_dialog_context` *
-// `*_dialog_params_size`.
+// - name: The unique identifier of the context. Format:
+// `projects//agent/sessions//contexts/`, or
+// `projects//agent/environments//users//sessions//contexts/`. The
+// `Context ID` is always converted to lowercase, may only contain
+// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user. The following context names are reserved for internal use by
+// Dialogflow. You should not use these contexts or create contexts
+// with these names: * `__system_counters__` * `*_id_dialog_context` *
+// `*_dialog_params_size`.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Patch(nameid string, googleclouddialogflowv2context *GoogleCloudDialogflowV2Context) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -26333,11 +26342,11 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall struct {
// Dialogflow support if you need to use session entities with Google
// Assistant integration.
//
-// - parent: The session to create a session entity type for. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users// sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to create a session entity type for. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users// sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2sessionentitytype *GoogleCloudDialogflowV2SessionEntityType) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26484,12 +26493,12 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall struct {
// support if you need to use session entities with Google Assistant
// integration.
//
-// - name: The name of the entity type to delete. Format:
-// `projects//agent/sessions//entityTypes/` or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the entity type to delete. Format:
+// `projects//agent/sessions//entityTypes/` or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Delete(name string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26625,12 +26634,12 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The name of the session entity type. Format:
-// `projects//agent/sessions//entityTypes/` or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the session entity type. Format:
+// `projects//agent/sessions//entityTypes/` or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Get(name string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26782,11 +26791,11 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall struct {
// Contact Dialogflow support if you need to use session entities with
// Google Assistant integration.
//
-// - parent: The session to list all session entity types from. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users// sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to list all session entity types from. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users// sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) List(parent string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26983,13 +26992,13 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The unique identifier of this session entity type. Format:
-// `projects//agent/sessions//entityTypes/`, or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user. `` must be the display name of an existing entity type in the
-// same agent that will be overridden or supplemented.
+// - name: The unique identifier of this session entity type. Format:
+// `projects//agent/sessions//entityTypes/`, or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user. “ must be the display name of an existing entity type in the
+// same agent that will be overridden or supplemented.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2sessionentitytype *GoogleCloudDialogflowV2SessionEntityType) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -27157,8 +27166,8 @@ type ProjectsAgentIntentsBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to delete all entities types for.
-// Format: `projects//agent`.
+// - parent: The name of the agent to delete all entities types for.
+// Format: `projects//agent`.
func (r *ProjectsAgentIntentsService) BatchDelete(parent string, googleclouddialogflowv2batchdeleteintentsrequest *GoogleCloudDialogflowV2BatchDeleteIntentsRequest) *ProjectsAgentIntentsBatchDeleteCall {
c := &ProjectsAgentIntentsBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27309,8 +27318,8 @@ type ProjectsAgentIntentsBatchUpdateCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to update or create intents in.
-// Format: `projects//agent`.
+// - parent: The name of the agent to update or create intents in.
+// Format: `projects//agent`.
func (r *ProjectsAgentIntentsService) BatchUpdate(parent string, googleclouddialogflowv2batchupdateintentsrequest *GoogleCloudDialogflowV2BatchUpdateIntentsRequest) *ProjectsAgentIntentsBatchUpdateCall {
c := &ProjectsAgentIntentsBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27455,8 +27464,8 @@ type ProjectsAgentIntentsCreateCall struct {
// always train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The agent to create a intent for. Format:
-// `projects//agent`.
+// - parent: The agent to create a intent for. Format:
+// `projects//agent`.
func (r *ProjectsAgentIntentsService) Create(parent string, googleclouddialogflowv2intent *GoogleCloudDialogflowV2Intent) *ProjectsAgentIntentsCreateCall {
c := &ProjectsAgentIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27468,9 +27477,12 @@ func (r *ProjectsAgentIntentsService) Create(parent string, googleclouddialogflo
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentIntentsCreateCall) IntentView(intentView string) *ProjectsAgentIntentsCreateCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -27641,9 +27653,9 @@ type ProjectsAgentIntentsDeleteCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The name of the intent to delete. If this intent has direct
-// or indirect followup intents, we also delete them. Format:
-// `projects//agent/intents/`.
+// - name: The name of the intent to delete. If this intent has direct
+// or indirect followup intents, we also delete them. Format:
+// `projects//agent/intents/`.
func (r *ProjectsAgentIntentsService) Delete(name string) *ProjectsAgentIntentsDeleteCall {
c := &ProjectsAgentIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27788,9 +27800,12 @@ func (r *ProjectsAgentIntentsService) Get(name string) *ProjectsAgentIntentsGetC
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentIntentsGetCall) IntentView(intentView string) *ProjectsAgentIntentsGetCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -27964,12 +27979,12 @@ type ProjectsAgentIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents from. Format:
-// `projects//agent` or `projects//locations//agent`. Alternatively,
-// you can specify the environment to list intents for. Format:
-// `projects//agent/environments/` or
-// `projects//locations//agent/environments/`. Note: training phrases
-// of the intents will not be returned for non-draft environment.
+// - parent: The agent to list all intents from. Format:
+// `projects//agent` or `projects//locations//agent`. Alternatively,
+// you can specify the environment to list intents for. Format:
+// `projects//agent/environments/` or
+// `projects//locations//agent/environments/`. Note: training phrases
+// of the intents will not be returned for non-draft environment.
func (r *ProjectsAgentIntentsService) List(parent string) *ProjectsAgentIntentsListCall {
c := &ProjectsAgentIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27980,9 +27995,12 @@ func (r *ProjectsAgentIntentsService) List(parent string) *ProjectsAgentIntentsL
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentIntentsListCall) IntentView(intentView string) *ProjectsAgentIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -28206,9 +28224,9 @@ type ProjectsAgentIntentsPatchCall struct {
// agent prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: Optional. The unique identifier of this intent. Required for
-// Intents.UpdateIntent and Intents.BatchUpdateIntents methods.
-// Format: `projects//agent/intents/`.
+// - name: Optional. The unique identifier of this intent. Required for
+// Intents.UpdateIntent and Intents.BatchUpdateIntents methods.
+// Format: `projects//agent/intents/`.
func (r *ProjectsAgentIntentsService) Patch(nameid string, googleclouddialogflowv2intent *GoogleCloudDialogflowV2Intent) *ProjectsAgentIntentsPatchCall {
c := &ProjectsAgentIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -28220,9 +28238,12 @@ func (r *ProjectsAgentIntentsService) Patch(nameid string, googleclouddialogflow
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentIntentsPatchCall) IntentView(intentView string) *ProjectsAgentIntentsPatchCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -28404,8 +28425,8 @@ type ProjectsAgentKnowledgeBasesCreateCall struct {
// Create: Creates a knowledge base.
//
-// - parent: The project to create a knowledge base for. Format:
-// `projects//locations/`.
+// - parent: The project to create a knowledge base for. Format:
+// `projects//locations/`.
func (r *ProjectsAgentKnowledgeBasesService) Create(parent string, googleclouddialogflowv2knowledgebase *GoogleCloudDialogflowV2KnowledgeBase) *ProjectsAgentKnowledgeBasesCreateCall {
c := &ProjectsAgentKnowledgeBasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -28548,8 +28569,8 @@ type ProjectsAgentKnowledgeBasesDeleteCall struct {
// Delete: Deletes the specified knowledge base.
//
-// - name: The name of the knowledge base to delete. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to delete. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesService) Delete(name string) *ProjectsAgentKnowledgeBasesDeleteCall {
c := &ProjectsAgentKnowledgeBasesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28696,8 +28717,8 @@ type ProjectsAgentKnowledgeBasesGetCall struct {
// Get: Retrieves the specified knowledge base.
//
-// - name: The name of the knowledge base to retrieve. Format
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to retrieve. Format
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesService) Get(name string) *ProjectsAgentKnowledgeBasesGetCall {
c := &ProjectsAgentKnowledgeBasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28845,8 +28866,8 @@ type ProjectsAgentKnowledgeBasesListCall struct {
// List: Returns the list of all knowledge bases of the specified agent.
//
-// - parent: The project to list of knowledge bases for. Format:
-// `projects//locations/`.
+// - parent: The project to list of knowledge bases for. Format:
+// `projects//locations/`.
func (r *ProjectsAgentKnowledgeBasesService) List(parent string) *ProjectsAgentKnowledgeBasesListCall {
c := &ProjectsAgentKnowledgeBasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29065,9 +29086,9 @@ type ProjectsAgentKnowledgeBasesPatchCall struct {
// Patch: Updates the specified knowledge base.
//
-// - name: The knowledge base resource name. The name must be empty when
-// creating a knowledge base. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The knowledge base resource name. The name must be empty when
+// creating a knowledge base. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesService) Patch(name string, googleclouddialogflowv2knowledgebase *GoogleCloudDialogflowV2KnowledgeBase) *ProjectsAgentKnowledgeBasesPatchCall {
c := &ProjectsAgentKnowledgeBasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29231,8 +29252,8 @@ type ProjectsAgentKnowledgeBasesDocumentsCreateCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// Document
//
-// - parent: The knowledge base to create a document for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to create a document for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Create(parent string, googleclouddialogflowv2document *GoogleCloudDialogflowV2Document) *ProjectsAgentKnowledgeBasesDocumentsCreateCall {
c := &ProjectsAgentKnowledgeBasesDocumentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29380,8 +29401,8 @@ type ProjectsAgentKnowledgeBasesDocumentsDeleteCall struct {
// Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The name of the document to delete. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to delete. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Delete(name string) *ProjectsAgentKnowledgeBasesDocumentsDeleteCall {
c := &ProjectsAgentKnowledgeBasesDocumentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29515,8 +29536,8 @@ type ProjectsAgentKnowledgeBasesDocumentsGetCall struct {
// Get: Retrieves the specified document.
//
-// - name: The name of the document to retrieve. Format
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to retrieve. Format
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Get(name string) *ProjectsAgentKnowledgeBasesDocumentsGetCall {
c := &ProjectsAgentKnowledgeBasesDocumentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29663,8 +29684,8 @@ type ProjectsAgentKnowledgeBasesDocumentsListCall struct {
// List: Returns the list of all documents of the knowledge base.
//
-// - parent: The knowledge base to list all documents for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to list all documents for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) List(parent string) *ProjectsAgentKnowledgeBasesDocumentsListCall {
c := &ProjectsAgentKnowledgeBasesDocumentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29885,9 +29906,9 @@ type ProjectsAgentKnowledgeBasesDocumentsPatchCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// Document
//
-// - name: Optional. The document resource name. The name must be empty
-// when creating a document. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: Optional. The document resource name. The name must be empty
+// when creating a document. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Patch(name string, googleclouddialogflowv2document *GoogleCloudDialogflowV2Document) *ProjectsAgentKnowledgeBasesDocumentsPatchCall {
c := &ProjectsAgentKnowledgeBasesDocumentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30054,8 +30075,8 @@ type ProjectsAgentKnowledgeBasesDocumentsReloadCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to reload. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to reload. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Reload(name string, googleclouddialogflowv2reloaddocumentrequest *GoogleCloudDialogflowV2ReloadDocumentRequest) *ProjectsAgentKnowledgeBasesDocumentsReloadCall {
c := &ProjectsAgentKnowledgeBasesDocumentsReloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30197,11 +30218,11 @@ type ProjectsAgentSessionsDeleteContextsCall struct {
// DeleteContexts: Deletes all active contexts in the specified session.
//
-// - parent: The name of the session to delete all contexts from.
-// Format: `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The name of the session to delete all contexts from.
+// Format: `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentSessionsService) DeleteContexts(parent string) *ProjectsAgentSessionsDeleteContextsCall {
c := &ProjectsAgentSessionsDeleteContextsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30345,21 +30366,21 @@ type ProjectsAgentSessionsDetectIntentCall struct {
// for production traffic. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//agent/sessions/`, or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment
-// (`Environment ID` might be referred to as environment name at some
-// places). If `User ID` is not specified, we are using "-". It's up
-// to the API caller to choose an appropriate `Session ID` and `User
-// Id`. They can be a random number or some type of user and session
-// identifiers (preferably hashed). The length of the `Session ID` and
-// `User ID` must not exceed 36 characters. For more information, see
-// the API interactions guide
-// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
-// Always use agent versions for production traffic. See Versions and
-// environments
-// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
+// - session: The name of the session this query is sent to. Format:
+// `projects//agent/sessions/`, or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment
+// (`Environment ID` might be referred to as environment name at some
+// places). If `User ID` is not specified, we are using "-". It's up
+// to the API caller to choose an appropriate `Session ID` and `User
+// Id`. They can be a random number or some type of user and session
+// identifiers (preferably hashed). The length of the `Session ID` and
+// `User ID` must not exceed 36 characters. For more information, see
+// the API interactions guide
+// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
+// Always use agent versions for production traffic. See Versions and
+// environments
+// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
func (r *ProjectsAgentSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2detectintentrequest *GoogleCloudDialogflowV2DetectIntentRequest) *ProjectsAgentSessionsDetectIntentCall {
c := &ProjectsAgentSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -30505,11 +30526,11 @@ type ProjectsAgentSessionsContextsCreateCall struct {
// Create: Creates a context. If the specified context already exists,
// overrides the context.
//
-// - parent: The session to create a context for. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to create a context for. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentSessionsContextsService) Create(parent string, googleclouddialogflowv2context *GoogleCloudDialogflowV2Context) *ProjectsAgentSessionsContextsCreateCall {
c := &ProjectsAgentSessionsContextsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30651,12 +30672,12 @@ type ProjectsAgentSessionsContextsDeleteCall struct {
// Delete: Deletes the specified context.
//
-// - name: The name of the context to delete. Format:
-// `projects//agent/sessions//contexts/` or
-// `projects//agent/environments//users//sessions//contexts/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the context to delete. Format:
+// `projects//agent/sessions//contexts/` or
+// `projects//agent/environments//users//sessions//contexts/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentSessionsContextsService) Delete(name string) *ProjectsAgentSessionsContextsDeleteCall {
c := &ProjectsAgentSessionsContextsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30790,12 +30811,12 @@ type ProjectsAgentSessionsContextsGetCall struct {
// Get: Retrieves the specified context.
//
-// - name: The name of the context. Format:
-// `projects//agent/sessions//contexts/` or
-// `projects//agent/environments//users//sessions//contexts/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the context. Format:
+// `projects//agent/sessions//contexts/` or
+// `projects//agent/environments//users//sessions//contexts/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentSessionsContextsService) Get(name string) *ProjectsAgentSessionsContextsGetCall {
c := &ProjectsAgentSessionsContextsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30942,11 +30963,11 @@ type ProjectsAgentSessionsContextsListCall struct {
// List: Returns the list of all contexts in the specified session.
//
-// - parent: The session to list all contexts from. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to list all contexts from. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentSessionsContextsService) List(parent string) *ProjectsAgentSessionsContextsListCall {
c := &ProjectsAgentSessionsContextsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31141,17 +31162,17 @@ type ProjectsAgentSessionsContextsPatchCall struct {
// Patch: Updates the specified context.
//
-// - name: The unique identifier of the context. Format:
-// `projects//agent/sessions//contexts/`, or
-// `projects//agent/environments//users//sessions//contexts/`. The
-// `Context ID` is always converted to lowercase, may only contain
-// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user. The following context names are reserved for internal use by
-// Dialogflow. You should not use these contexts or create contexts
-// with these names: * `__system_counters__` * `*_id_dialog_context` *
-// `*_dialog_params_size`.
+// - name: The unique identifier of the context. Format:
+// `projects//agent/sessions//contexts/`, or
+// `projects//agent/environments//users//sessions//contexts/`. The
+// `Context ID` is always converted to lowercase, may only contain
+// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user. The following context names are reserved for internal use by
+// Dialogflow. You should not use these contexts or create contexts
+// with these names: * `__system_counters__` * `*_id_dialog_context` *
+// `*_dialog_params_size`.
func (r *ProjectsAgentSessionsContextsService) Patch(nameid string, googleclouddialogflowv2context *GoogleCloudDialogflowV2Context) *ProjectsAgentSessionsContextsPatchCall {
c := &ProjectsAgentSessionsContextsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -31311,11 +31332,11 @@ type ProjectsAgentSessionsEntityTypesCreateCall struct {
// Dialogflow support if you need to use session entities with Google
// Assistant integration.
//
-// - parent: The session to create a session entity type for. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users// sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to create a session entity type for. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users// sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2sessionentitytype *GoogleCloudDialogflowV2SessionEntityType) *ProjectsAgentSessionsEntityTypesCreateCall {
c := &ProjectsAgentSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31462,12 +31483,12 @@ type ProjectsAgentSessionsEntityTypesDeleteCall struct {
// support if you need to use session entities with Google Assistant
// integration.
//
-// - name: The name of the entity type to delete. Format:
-// `projects//agent/sessions//entityTypes/` or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the entity type to delete. Format:
+// `projects//agent/sessions//entityTypes/` or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentSessionsEntityTypesService) Delete(name string) *ProjectsAgentSessionsEntityTypesDeleteCall {
c := &ProjectsAgentSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31603,12 +31624,12 @@ type ProjectsAgentSessionsEntityTypesGetCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The name of the session entity type. Format:
-// `projects//agent/sessions//entityTypes/` or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the session entity type. Format:
+// `projects//agent/sessions//entityTypes/` or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentSessionsEntityTypesService) Get(name string) *ProjectsAgentSessionsEntityTypesGetCall {
c := &ProjectsAgentSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31760,11 +31781,11 @@ type ProjectsAgentSessionsEntityTypesListCall struct {
// Contact Dialogflow support if you need to use session entities with
// Google Assistant integration.
//
-// - parent: The session to list all session entity types from. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users// sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to list all session entity types from. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users// sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsAgentSessionsEntityTypesService) List(parent string) *ProjectsAgentSessionsEntityTypesListCall {
c := &ProjectsAgentSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31961,13 +31982,13 @@ type ProjectsAgentSessionsEntityTypesPatchCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The unique identifier of this session entity type. Format:
-// `projects//agent/sessions//entityTypes/`, or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user. `` must be the display name of an existing entity type in the
-// same agent that will be overridden or supplemented.
+// - name: The unique identifier of this session entity type. Format:
+// `projects//agent/sessions//entityTypes/`, or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user. “ must be the display name of an existing entity type in the
+// same agent that will be overridden or supplemented.
func (r *ProjectsAgentSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2sessionentitytype *GoogleCloudDialogflowV2SessionEntityType) *ProjectsAgentSessionsEntityTypesPatchCall {
c := &ProjectsAgentSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -32126,8 +32147,8 @@ type ProjectsAgentVersionsCreateCall struct {
// Create: Creates an agent version. The new version points to the agent
// instance in the "default" environment.
//
-// - parent: The agent to create a version for. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to create a version for. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsAgentVersionsService) Create(parent string, googleclouddialogflowv2version *GoogleCloudDialogflowV2Version) *ProjectsAgentVersionsCreateCall {
c := &ProjectsAgentVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -32269,9 +32290,9 @@ type ProjectsAgentVersionsDeleteCall struct {
// Delete: Delete the specified agent version.
//
-// - name: The name of the version to delete. Supported formats: -
-// `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: The name of the version to delete. Supported formats: -
+// `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsAgentVersionsService) Delete(name string) *ProjectsAgentVersionsDeleteCall {
c := &ProjectsAgentVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32405,9 +32426,9 @@ type ProjectsAgentVersionsGetCall struct {
// Get: Retrieves the specified agent version.
//
-// - name: The name of the version. Supported formats: -
-// `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: The name of the version. Supported formats: -
+// `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsAgentVersionsService) Get(name string) *ProjectsAgentVersionsGetCall {
c := &ProjectsAgentVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32554,8 +32575,8 @@ type ProjectsAgentVersionsListCall struct {
// List: Returns the list of all versions of the specified agent.
//
-// - parent: The agent to list all versions from. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to list all versions from. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsAgentVersionsService) List(parent string) *ProjectsAgentVersionsListCall {
c := &ProjectsAgentVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -32753,9 +32774,9 @@ type ProjectsAgentVersionsPatchCall struct {
// points to. It allows you to update only mutable properties of the
// version resource.
//
-// - name: Output only. The unique identifier of this agent version.
-// Supported formats: - `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: Output only. The unique identifier of this agent version.
+// Supported formats: - `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsAgentVersionsService) Patch(nameid string, googleclouddialogflowv2version *GoogleCloudDialogflowV2Version) *ProjectsAgentVersionsPatchCall {
c := &ProjectsAgentVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -32912,8 +32933,8 @@ type ProjectsAnswerRecordsListCall struct {
// List: Returns the list of all answer records in the specified project
// in reverse chronological order.
//
-// - parent: The project to list all answer records for in reverse
-// chronological order. Format: `projects//locations/`.
+// - parent: The project to list all answer records for in reverse
+// chronological order. Format: `projects//locations/`.
func (r *ProjectsAnswerRecordsService) List(parent string) *ProjectsAnswerRecordsListCall {
c := &ProjectsAnswerRecordsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33124,8 +33145,8 @@ type ProjectsAnswerRecordsPatchCall struct {
// Patch: Updates the specified answer record.
//
-// - name: The unique identifier of this answer record. Format:
-// `projects//locations//answerRecords/`.
+// - name: The unique identifier of this answer record. Format:
+// `projects//locations//answerRecords/`.
func (r *ProjectsAnswerRecordsService) Patch(nameid string, googleclouddialogflowv2answerrecord *GoogleCloudDialogflowV2AnswerRecord) *ProjectsAnswerRecordsPatchCall {
c := &ProjectsAnswerRecordsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -33282,8 +33303,8 @@ type ProjectsConversationDatasetsGetCall struct {
// Get: Retrieves the specified conversation dataset.
//
-// - name: The conversation dataset to retrieve. Format:
-// `projects//locations//conversationDatasets/`.
+// - name: The conversation dataset to retrieve. Format:
+// `projects//locations//conversationDatasets/`.
func (r *ProjectsConversationDatasetsService) Get(name string) *ProjectsConversationDatasetsGetCall {
c := &ProjectsConversationDatasetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -33439,8 +33460,8 @@ type ProjectsConversationDatasetsImportConversationDataCall struct {
// fields: - `metadata`: ImportConversationDataOperationMetadata -
// `response`: ImportConversationDataOperationResponse
//
-// - name: Dataset resource name. Format:
-// `projects//locations//conversationDatasets/`.
+// - name: Dataset resource name. Format:
+// `projects//locations//conversationDatasets/`.
func (r *ProjectsConversationDatasetsService) ImportConversationData(name string, googleclouddialogflowv2importconversationdatarequest *GoogleCloudDialogflowV2ImportConversationDataRequest) *ProjectsConversationDatasetsImportConversationDataCall {
c := &ProjectsConversationDatasetsImportConversationDataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -33584,8 +33605,8 @@ type ProjectsConversationDatasetsListCall struct {
// List: Returns the list of all conversation datasets in the specified
// project and location.
//
-// - parent: The project and location name to list all conversation
-// datasets for. Format: `projects//locations/`.
+// - parent: The project and location name to list all conversation
+// datasets for. Format: `projects//locations/`.
func (r *ProjectsConversationDatasetsService) List(parent string) *ProjectsConversationDatasetsListCall {
c := &ProjectsConversationDatasetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33786,8 +33807,8 @@ type ProjectsConversationModelsCreateCall struct {
// fields: - `metadata`: CreateConversationModelOperationMetadata -
// `response`: ConversationModel
//
-// - parent: The project to create conversation model for. Format:
-// `projects/`.
+// - parent: The project to create conversation model for. Format:
+// `projects/`.
func (r *ProjectsConversationModelsService) Create(parent string, googleclouddialogflowv2conversationmodel *GoogleCloudDialogflowV2ConversationModel) *ProjectsConversationModelsCreateCall {
c := &ProjectsConversationModelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33934,8 +33955,8 @@ type ProjectsConversationModelsDeleteCall struct {
// `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The conversation model to delete. Format:
-// `projects//conversationModels/`.
+// - name: The conversation model to delete. Format:
+// `projects//conversationModels/`.
func (r *ProjectsConversationModelsService) Delete(name string) *ProjectsConversationModelsDeleteCall {
c := &ProjectsConversationModelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34077,8 +34098,8 @@ type ProjectsConversationModelsDeployCall struct {
// `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The conversation model to deploy. Format:
-// `projects//conversationModels/`.
+// - name: The conversation model to deploy. Format:
+// `projects//conversationModels/`.
func (r *ProjectsConversationModelsService) Deploy(name string, googleclouddialogflowv2deployconversationmodelrequest *GoogleCloudDialogflowV2DeployConversationModelRequest) *ProjectsConversationModelsDeployCall {
c := &ProjectsConversationModelsDeployCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34221,8 +34242,8 @@ type ProjectsConversationModelsGetCall struct {
// Get: Gets conversation model.
//
-// - name: The conversation model to retrieve. Format:
-// `projects//conversationModels/`.
+// - name: The conversation model to retrieve. Format:
+// `projects//conversationModels/`.
func (r *ProjectsConversationModelsService) Get(name string) *ProjectsConversationModelsGetCall {
c := &ProjectsConversationModelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34371,8 +34392,8 @@ type ProjectsConversationModelsListCall struct {
// List: Lists conversation models.
//
-// - parent: The project to list all conversation models for. Format:
-// `projects/`.
+// - parent: The project to list all conversation models for. Format:
+// `projects/`.
func (r *ProjectsConversationModelsService) List(parent string) *ProjectsConversationModelsListCall {
c := &ProjectsConversationModelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -34576,8 +34597,8 @@ type ProjectsConversationModelsUndeployCall struct {
// `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The conversation model to undeploy. Format:
-// `projects//conversationModels/`.
+// - name: The conversation model to undeploy. Format:
+// `projects//conversationModels/`.
func (r *ProjectsConversationModelsService) Undeploy(name string, googleclouddialogflowv2undeployconversationmodelrequest *GoogleCloudDialogflowV2UndeployConversationModelRequest) *ProjectsConversationModelsUndeployCall {
c := &ProjectsConversationModelsUndeployCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34720,8 +34741,8 @@ type ProjectsConversationModelsEvaluationsGetCall struct {
// Get: Gets an evaluation of conversation model.
//
-// - name: The conversation model evaluation resource name. Format:
-// `projects//conversationModels//evaluations/`.
+// - name: The conversation model evaluation resource name. Format:
+// `projects//conversationModels//evaluations/`.
func (r *ProjectsConversationModelsEvaluationsService) Get(name string) *ProjectsConversationModelsEvaluationsGetCall {
c := &ProjectsConversationModelsEvaluationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34870,8 +34891,8 @@ type ProjectsConversationModelsEvaluationsListCall struct {
// List: Lists evaluations of a conversation model.
//
-// - parent: The conversation model resource name. Format:
-// `projects//conversationModels/`.
+// - parent: The conversation model resource name. Format:
+// `projects//conversationModels/`.
func (r *ProjectsConversationModelsEvaluationsService) List(parent string) *ProjectsConversationModelsEvaluationsListCall {
c := &ProjectsConversationModelsEvaluationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35074,9 +35095,9 @@ type ProjectsConversationProfilesClearSuggestionFeatureConfigCall struct {
// fields: - `metadata`: ClearSuggestionFeatureConfigOperationMetadata -
// `response`: ConversationProfile
//
-// - conversationProfile: The Conversation Profile to add or update the
-// suggestion feature config. Format:
-// `projects//locations//conversationProfiles/`.
+// - conversationProfile: The Conversation Profile to add or update the
+// suggestion feature config. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) ClearSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2clearsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest) *ProjectsConversationProfilesClearSuggestionFeatureConfigCall {
c := &ProjectsConversationProfilesClearSuggestionFeatureConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.conversationProfile = conversationProfile
@@ -35222,8 +35243,8 @@ type ProjectsConversationProfilesCreateCall struct {
// aren't populated in the response. You can retrieve them via
// GetConversationProfile API.
//
-// - parent: The project to create a conversation profile for. Format:
-// `projects//locations/`.
+// - parent: The project to create a conversation profile for. Format:
+// `projects//locations/`.
func (r *ProjectsConversationProfilesService) Create(parent string, googleclouddialogflowv2conversationprofile *GoogleCloudDialogflowV2ConversationProfile) *ProjectsConversationProfilesCreateCall {
c := &ProjectsConversationProfilesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35367,8 +35388,8 @@ type ProjectsConversationProfilesDeleteCall struct {
// Delete: Deletes the specified conversation profile.
//
-// - name: The name of the conversation profile to delete. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The name of the conversation profile to delete. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) Delete(name string) *ProjectsConversationProfilesDeleteCall {
c := &ProjectsConversationProfilesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -35502,8 +35523,8 @@ type ProjectsConversationProfilesGetCall struct {
// Get: Retrieves the specified conversation profile.
//
-// - name: The resource name of the conversation profile. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The resource name of the conversation profile. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) Get(name string) *ProjectsConversationProfilesGetCall {
c := &ProjectsConversationProfilesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -35653,8 +35674,8 @@ type ProjectsConversationProfilesListCall struct {
// List: Returns the list of all conversation profiles in the specified
// project.
//
-// - parent: The project to list all conversation profiles from. Format:
-// `projects//locations/`.
+// - parent: The project to list all conversation profiles from. Format:
+// `projects//locations/`.
func (r *ProjectsConversationProfilesService) List(parent string) *ProjectsConversationProfilesListCall {
c := &ProjectsConversationProfilesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35853,8 +35874,8 @@ type ProjectsConversationProfilesPatchCall struct {
// aren't populated in the response. You can retrieve them via
// GetConversationProfile API.
//
-// - name: The unique identifier of this conversation profile. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The unique identifier of this conversation profile. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) Patch(nameid string, googleclouddialogflowv2conversationprofile *GoogleCloudDialogflowV2ConversationProfile) *ProjectsConversationProfilesPatchCall {
c := &ProjectsConversationProfilesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -36024,9 +36045,9 @@ type ProjectsConversationProfilesSetSuggestionFeatureConfigCall struct {
// the existing long running operation before sending such request,
// otherwise the request will be rejected.
//
-// - conversationProfile: The Conversation Profile to add or update the
-// suggestion feature config. Format:
-// `projects//locations//conversationProfiles/`.
+// - conversationProfile: The Conversation Profile to add or update the
+// suggestion feature config. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) SetSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2setsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest) *ProjectsConversationProfilesSetSuggestionFeatureConfigCall {
c := &ProjectsConversationProfilesSetSuggestionFeatureConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.conversationProfile = conversationProfile
@@ -36170,8 +36191,8 @@ type ProjectsConversationsCompleteCall struct {
// Complete: Completes the specified conversation. Finished
// conversations are purged from the database after 30 days.
//
-// - name: Resource identifier of the conversation to close. Format:
-// `projects//locations//conversations/`.
+// - name: Resource identifier of the conversation to close. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsConversationsService) Complete(nameid string, googleclouddialogflowv2completeconversationrequest *GoogleCloudDialogflowV2CompleteConversationRequest) *ProjectsConversationsCompleteCall {
c := &ProjectsConversationsCompleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -36326,8 +36347,8 @@ type ProjectsConversationsCreateCall struct {
// Intent.live_agent_handoff is triggered, conversation will transfer to
// Assist Stage.
//
-// - parent: Resource identifier of the project creating the
-// conversation. Format: `projects//locations/`.
+// - parent: Resource identifier of the project creating the
+// conversation. Format: `projects//locations/`.
func (r *ProjectsConversationsService) Create(parentid string, googleclouddialogflowv2conversation *GoogleCloudDialogflowV2Conversation) *ProjectsConversationsCreateCall {
c := &ProjectsConversationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -36490,8 +36511,8 @@ type ProjectsConversationsGetCall struct {
// Get: Retrieves the specific conversation.
//
-// - name: The name of the conversation. Format:
-// `projects//locations//conversations/`.
+// - name: The name of the conversation. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsConversationsService) Get(name string) *ProjectsConversationsGetCall {
c := &ProjectsConversationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -36639,8 +36660,8 @@ type ProjectsConversationsListCall struct {
// List: Returns the list of all conversations in the specified project.
//
-// - parent: The project from which to list all conversation. Format:
-// `projects//locations/`.
+// - parent: The project from which to list all conversation. Format:
+// `projects//locations/`.
func (r *ProjectsConversationsService) List(parent string) *ProjectsConversationsListCall {
c := &ProjectsConversationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -36861,8 +36882,8 @@ type ProjectsConversationsMessagesListCall struct {
// `create_time_epoch_microseconds > [first item's create_time of
// previous request]` and empty page_token.
//
-// - parent: The name of the conversation to list messages for. Format:
-// `projects//locations//conversations/`.
+// - parent: The name of the conversation to list messages for. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsConversationsMessagesService) List(parent string) *ProjectsConversationsMessagesListCall {
c := &ProjectsConversationsMessagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -37078,8 +37099,8 @@ type ProjectsConversationsParticipantsAnalyzeContentCall struct {
// sent to virtual agents. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - participant: The name of the participant this text comes from.
-// Format: `projects//locations//conversations//participants/`.
+// - participant: The name of the participant this text comes from.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsService) AnalyzeContent(participant string, googleclouddialogflowv2analyzecontentrequest *GoogleCloudDialogflowV2AnalyzeContentRequest) *ProjectsConversationsParticipantsAnalyzeContentCall {
c := &ProjectsConversationsParticipantsAnalyzeContentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.participant = participant
@@ -37224,8 +37245,8 @@ type ProjectsConversationsParticipantsCreateCall struct {
// Create: Creates a new participant in a conversation.
//
-// - parent: Resource identifier of the conversation adding the
-// participant. Format: `projects//locations//conversations/`.
+// - parent: Resource identifier of the conversation adding the
+// participant. Format: `projects//locations//conversations/`.
func (r *ProjectsConversationsParticipantsService) Create(parentid string, googleclouddialogflowv2participant *GoogleCloudDialogflowV2Participant) *ProjectsConversationsParticipantsCreateCall {
c := &ProjectsConversationsParticipantsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -37369,8 +37390,8 @@ type ProjectsConversationsParticipantsGetCall struct {
// Get: Retrieves a conversation participant.
//
-// - name: The name of the participant. Format:
-// `projects//locations//conversations//participants/`.
+// - name: The name of the participant. Format:
+// `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsService) Get(name string) *ProjectsConversationsParticipantsGetCall {
c := &ProjectsConversationsParticipantsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -37519,8 +37540,8 @@ type ProjectsConversationsParticipantsListCall struct {
// List: Returns the list of all participants in the specified
// conversation.
//
-// - parent: The conversation to list all participants from. Format:
-// `projects//locations//conversations/`.
+// - parent: The conversation to list all participants from. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsConversationsParticipantsService) List(parent string) *ProjectsConversationsParticipantsListCall {
c := &ProjectsConversationsParticipantsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -37607,7 +37628,9 @@ func (c *ProjectsConversationsParticipantsListCall) doRequest(alt string) (*http
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2ListParticipantsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -37715,8 +37738,8 @@ type ProjectsConversationsParticipantsPatchCall struct {
// Patch: Updates the specified participant.
//
-// - name: Optional. The unique identifier of this participant. Format:
-// `projects//locations//conversations//participants/`.
+// - name: Optional. The unique identifier of this participant. Format:
+// `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsService) Patch(nameid string, googleclouddialogflowv2participant *GoogleCloudDialogflowV2Participant) *ProjectsConversationsParticipantsPatchCall {
c := &ProjectsConversationsParticipantsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -37874,8 +37897,8 @@ type ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall struct {
// SuggestArticles: Gets suggested articles for a participant based on
// specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestArticles(parent string, googleclouddialogflowv2suggestarticlesrequest *GoogleCloudDialogflowV2SuggestArticlesRequest) *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall {
c := &ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -38021,8 +38044,8 @@ type ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall struct {
// SuggestFaqAnswers: Gets suggested faq answers for a participant based
// on specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestFaqAnswers(parent string, googleclouddialogflowv2suggestfaqanswersrequest *GoogleCloudDialogflowV2SuggestFaqAnswersRequest) *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall {
c := &ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -38168,8 +38191,8 @@ type ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall struct
// SuggestSmartReplies: Gets smart replies for a participant based on
// specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestSmartReplies(parent string, googleclouddialogflowv2suggestsmartrepliesrequest *GoogleCloudDialogflowV2SuggestSmartRepliesRequest) *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall {
c := &ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -38314,8 +38337,8 @@ type ProjectsKnowledgeBasesCreateCall struct {
// Create: Creates a knowledge base.
//
-// - parent: The project to create a knowledge base for. Format:
-// `projects//locations/`.
+// - parent: The project to create a knowledge base for. Format:
+// `projects//locations/`.
func (r *ProjectsKnowledgeBasesService) Create(parent string, googleclouddialogflowv2knowledgebase *GoogleCloudDialogflowV2KnowledgeBase) *ProjectsKnowledgeBasesCreateCall {
c := &ProjectsKnowledgeBasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -38458,8 +38481,8 @@ type ProjectsKnowledgeBasesDeleteCall struct {
// Delete: Deletes the specified knowledge base.
//
-// - name: The name of the knowledge base to delete. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to delete. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesService) Delete(name string) *ProjectsKnowledgeBasesDeleteCall {
c := &ProjectsKnowledgeBasesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -38606,8 +38629,8 @@ type ProjectsKnowledgeBasesGetCall struct {
// Get: Retrieves the specified knowledge base.
//
-// - name: The name of the knowledge base to retrieve. Format
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to retrieve. Format
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesService) Get(name string) *ProjectsKnowledgeBasesGetCall {
c := &ProjectsKnowledgeBasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -38755,8 +38778,8 @@ type ProjectsKnowledgeBasesListCall struct {
// List: Returns the list of all knowledge bases of the specified agent.
//
-// - parent: The project to list of knowledge bases for. Format:
-// `projects//locations/`.
+// - parent: The project to list of knowledge bases for. Format:
+// `projects//locations/`.
func (r *ProjectsKnowledgeBasesService) List(parent string) *ProjectsKnowledgeBasesListCall {
c := &ProjectsKnowledgeBasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -38975,9 +38998,9 @@ type ProjectsKnowledgeBasesPatchCall struct {
// Patch: Updates the specified knowledge base.
//
-// - name: The knowledge base resource name. The name must be empty when
-// creating a knowledge base. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The knowledge base resource name. The name must be empty when
+// creating a knowledge base. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesService) Patch(name string, googleclouddialogflowv2knowledgebase *GoogleCloudDialogflowV2KnowledgeBase) *ProjectsKnowledgeBasesPatchCall {
c := &ProjectsKnowledgeBasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -39141,8 +39164,8 @@ type ProjectsKnowledgeBasesDocumentsCreateCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// Document
//
-// - parent: The knowledge base to create a document for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to create a document for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Create(parent string, googleclouddialogflowv2document *GoogleCloudDialogflowV2Document) *ProjectsKnowledgeBasesDocumentsCreateCall {
c := &ProjectsKnowledgeBasesDocumentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -39290,8 +39313,8 @@ type ProjectsKnowledgeBasesDocumentsDeleteCall struct {
// Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The name of the document to delete. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to delete. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Delete(name string) *ProjectsKnowledgeBasesDocumentsDeleteCall {
c := &ProjectsKnowledgeBasesDocumentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -39430,8 +39453,8 @@ type ProjectsKnowledgeBasesDocumentsExportCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// Document
//
-// - name: The name of the document to export. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to export. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Export(name string, googleclouddialogflowv2exportdocumentrequest *GoogleCloudDialogflowV2ExportDocumentRequest) *ProjectsKnowledgeBasesDocumentsExportCall {
c := &ProjectsKnowledgeBasesDocumentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -39574,8 +39597,8 @@ type ProjectsKnowledgeBasesDocumentsGetCall struct {
// Get: Retrieves the specified document.
//
-// - name: The name of the document to retrieve. Format
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to retrieve. Format
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Get(name string) *ProjectsKnowledgeBasesDocumentsGetCall {
c := &ProjectsKnowledgeBasesDocumentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -39729,8 +39752,8 @@ type ProjectsKnowledgeBasesDocumentsImportCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// ImportDocumentsResponse
//
-// - parent: The knowledge base to import documents into. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to import documents into. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Import(parent string, googleclouddialogflowv2importdocumentsrequest *GoogleCloudDialogflowV2ImportDocumentsRequest) *ProjectsKnowledgeBasesDocumentsImportCall {
c := &ProjectsKnowledgeBasesDocumentsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -39873,8 +39896,8 @@ type ProjectsKnowledgeBasesDocumentsListCall struct {
// List: Returns the list of all documents of the knowledge base.
//
-// - parent: The knowledge base to list all documents for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to list all documents for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesDocumentsService) List(parent string) *ProjectsKnowledgeBasesDocumentsListCall {
c := &ProjectsKnowledgeBasesDocumentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -40095,9 +40118,9 @@ type ProjectsKnowledgeBasesDocumentsPatchCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// Document
//
-// - name: Optional. The document resource name. The name must be empty
-// when creating a document. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: Optional. The document resource name. The name must be empty
+// when creating a document. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Patch(name string, googleclouddialogflowv2document *GoogleCloudDialogflowV2Document) *ProjectsKnowledgeBasesDocumentsPatchCall {
c := &ProjectsKnowledgeBasesDocumentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -40264,8 +40287,8 @@ type ProjectsKnowledgeBasesDocumentsReloadCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to reload. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to reload. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Reload(name string, googleclouddialogflowv2reloaddocumentrequest *GoogleCloudDialogflowV2ReloadDocumentRequest) *ProjectsKnowledgeBasesDocumentsReloadCall {
c := &ProjectsKnowledgeBasesDocumentsReloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -40407,8 +40430,8 @@ type ProjectsLocationsDeleteAgentCall struct {
// DeleteAgent: Deletes the specified agent.
//
-// - parent: The project that the agent to delete is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to delete is associated with.
+// Format: `projects/`.
func (r *ProjectsLocationsService) DeleteAgent(parent string) *ProjectsLocationsDeleteAgentCall {
c := &ProjectsLocationsDeleteAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -40689,8 +40712,8 @@ type ProjectsLocationsGetAgentCall struct {
// GetAgent: Retrieves the specified agent.
//
-// - parent: The project that the agent to fetch is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to fetch is associated with.
+// Format: `projects/`.
func (r *ProjectsLocationsService) GetAgent(parent string) *ProjectsLocationsGetAgentCall {
c := &ProjectsLocationsGetAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -40838,8 +40861,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -41213,8 +41236,8 @@ type ProjectsLocationsAgentExportCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: ExportAgentResponse
//
-// - parent: The project that the agent to export is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to export is associated with.
+// Format: `projects/`.
func (r *ProjectsLocationsAgentService) Export(parent string, googleclouddialogflowv2exportagentrequest *GoogleCloudDialogflowV2ExportAgentRequest) *ProjectsLocationsAgentExportCall {
c := &ProjectsLocationsAgentExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -41357,8 +41380,8 @@ type ProjectsLocationsAgentGetFulfillmentCall struct {
// GetFulfillment: Retrieves the fulfillment.
//
-// - name: The name of the fulfillment. Format:
-// `projects//agent/fulfillment`.
+// - name: The name of the fulfillment. Format:
+// `projects//agent/fulfillment`.
func (r *ProjectsLocationsAgentService) GetFulfillment(name string) *ProjectsLocationsAgentGetFulfillmentCall {
c := &ProjectsLocationsAgentGetFulfillmentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -41508,8 +41531,8 @@ type ProjectsLocationsAgentGetValidationResultCall struct {
// is performed during training time and is updated automatically when
// training is completed.
//
-// - parent: The project that the agent is associated with. Format:
-// `projects/`.
+// - parent: The project that the agent is associated with. Format:
+// `projects/`.
func (r *ProjectsLocationsAgentService) GetValidationResult(parent string) *ProjectsLocationsAgentGetValidationResultCall {
c := &ProjectsLocationsAgentGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -41691,8 +41714,8 @@ type ProjectsLocationsAgentImportCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to import is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to import is associated with.
+// Format: `projects/`.
func (r *ProjectsLocationsAgentService) Import(parent string, googleclouddialogflowv2importagentrequest *GoogleCloudDialogflowV2ImportAgentRequest) *ProjectsLocationsAgentImportCall {
c := &ProjectsLocationsAgentImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -41852,8 +41875,8 @@ type ProjectsLocationsAgentRestoreCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to restore is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to restore is associated with.
+// Format: `projects/`.
func (r *ProjectsLocationsAgentService) Restore(parent string, googleclouddialogflowv2restoreagentrequest *GoogleCloudDialogflowV2RestoreAgentRequest) *ProjectsLocationsAgentRestoreCall {
c := &ProjectsLocationsAgentRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -42206,8 +42229,8 @@ type ProjectsLocationsAgentTrainCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to train is associated with.
-// Format: `projects/`.
+// - parent: The project that the agent to train is associated with.
+// Format: `projects/`.
func (r *ProjectsLocationsAgentService) Train(parent string, googleclouddialogflowv2trainagentrequest *GoogleCloudDialogflowV2TrainAgentRequest) *ProjectsLocationsAgentTrainCall {
c := &ProjectsLocationsAgentTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -42352,8 +42375,8 @@ type ProjectsLocationsAgentUpdateFulfillmentCall struct {
//
// - name: The unique identifier of the fulfillment. Supported formats:
// - `projects//agent/fulfillment` -
-// `projects//locations//agent/fulfillment` This field is not used for
-// Fulfillment in an Environment.
+// `projects//locations//agent/fulfillment` This field is not used for
+// Fulfillment in an Environment.
func (r *ProjectsLocationsAgentService) UpdateFulfillment(nameid string, googleclouddialogflowv2fulfillment *GoogleCloudDialogflowV2Fulfillment) *ProjectsLocationsAgentUpdateFulfillmentCall {
c := &ProjectsLocationsAgentUpdateFulfillmentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -42521,8 +42544,8 @@ type ProjectsLocationsAgentEntityTypesBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to delete all entities types for.
-// Format: `projects//agent`.
+// - parent: The name of the agent to delete all entities types for.
+// Format: `projects//agent`.
func (r *ProjectsLocationsAgentEntityTypesService) BatchDelete(parent string, googleclouddialogflowv2batchdeleteentitytypesrequest *GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest) *ProjectsLocationsAgentEntityTypesBatchDeleteCall {
c := &ProjectsLocationsAgentEntityTypesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -42673,8 +42696,8 @@ type ProjectsLocationsAgentEntityTypesBatchUpdateCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to update or create entity types in.
-// Format: `projects//agent`.
+// - parent: The name of the agent to update or create entity types in.
+// Format: `projects//agent`.
func (r *ProjectsLocationsAgentEntityTypesService) BatchUpdate(parent string, googleclouddialogflowv2batchupdateentitytypesrequest *GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest) *ProjectsLocationsAgentEntityTypesBatchUpdateCall {
c := &ProjectsLocationsAgentEntityTypesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -42820,8 +42843,8 @@ type ProjectsLocationsAgentEntityTypesCreateCall struct {
// training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The agent to create a entity type for. Format:
-// `projects//agent`.
+// - parent: The agent to create a entity type for. Format:
+// `projects//agent`.
func (r *ProjectsLocationsAgentEntityTypesService) Create(parent string, googleclouddialogflowv2entitytype *GoogleCloudDialogflowV2EntityType) *ProjectsLocationsAgentEntityTypesCreateCall {
c := &ProjectsLocationsAgentEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -42981,8 +43004,8 @@ type ProjectsLocationsAgentEntityTypesDeleteCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The name of the entity type to delete. Format:
-// `projects//agent/entityTypes/`.
+// - name: The name of the entity type to delete. Format:
+// `projects//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesService) Delete(name string) *ProjectsLocationsAgentEntityTypesDeleteCall {
c := &ProjectsLocationsAgentEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -43116,8 +43139,8 @@ type ProjectsLocationsAgentEntityTypesGetCall struct {
// Get: Retrieves the specified entity type.
//
-// - name: The name of the entity type. Format:
-// `projects//agent/entityTypes/`.
+// - name: The name of the entity type. Format:
+// `projects//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesService) Get(name string) *ProjectsLocationsAgentEntityTypesGetCall {
c := &ProjectsLocationsAgentEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -43280,8 +43303,8 @@ type ProjectsLocationsAgentEntityTypesListCall struct {
// List: Returns the list of all entity types in the specified agent.
//
-// - parent: The agent to list all entity types from. Format:
-// `projects//agent`.
+// - parent: The agent to list all entity types from. Format:
+// `projects//agent`.
func (r *ProjectsLocationsAgentEntityTypesService) List(parent string) *ProjectsLocationsAgentEntityTypesListCall {
c := &ProjectsLocationsAgentEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -43493,9 +43516,9 @@ type ProjectsLocationsAgentEntityTypesPatchCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The unique identifier of the entity type. Required for
-// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
-// methods. Format: `projects//agent/entityTypes/`.
+// - name: The unique identifier of the entity type. Required for
+// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
+// methods. Format: `projects//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesService) Patch(nameid string, googleclouddialogflowv2entitytype *GoogleCloudDialogflowV2EntityType) *ProjectsLocationsAgentEntityTypesPatchCall {
c := &ProjectsLocationsAgentEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -43677,8 +43700,8 @@ type ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to create entities in. Format:
-// `projects//agent/entityTypes/`.
+// - parent: The name of the entity type to create entities in. Format:
+// `projects//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchCreate(parent string, googleclouddialogflowv2batchcreateentitiesrequest *GoogleCloudDialogflowV2BatchCreateEntitiesRequest) *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall {
c := &ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -43831,8 +43854,8 @@ type ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to delete entries for. Format:
-// `projects//agent/entityTypes/`.
+// - parent: The name of the entity type to delete entries for. Format:
+// `projects//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchDelete(parent string, googleclouddialogflowv2batchdeleteentitiesrequest *GoogleCloudDialogflowV2BatchDeleteEntitiesRequest) *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall {
c := &ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -43987,8 +44010,8 @@ type ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to update or create entities
-// in. Format: `projects//agent/entityTypes/`.
+// - parent: The name of the entity type to update or create entities
+// in. Format: `projects//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchUpdate(parent string, googleclouddialogflowv2batchupdateentitiesrequest *GoogleCloudDialogflowV2BatchUpdateEntitiesRequest) *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall {
c := &ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -44287,10 +44310,10 @@ type ProjectsLocationsAgentEnvironmentsDeleteCall struct {
// Delete: Deletes the specified agent environment.
//
-// - name: The name of the environment to delete. / Format: -
-// `projects//agent/environments/` -
-// `projects//locations//agent/environments/` The environment ID for
-// the default environment is `-`.
+// - name: The name of the environment to delete. / Format: -
+// `projects//agent/environments/` -
+// `projects//locations//agent/environments/` The environment ID for
+// the default environment is `-`.
func (r *ProjectsLocationsAgentEnvironmentsService) Delete(name string) *ProjectsLocationsAgentEnvironmentsDeleteCall {
c := &ProjectsLocationsAgentEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -44424,10 +44447,10 @@ type ProjectsLocationsAgentEnvironmentsGetCall struct {
// Get: Retrieves the specified agent environment.
//
-// - name: The name of the environment. Supported formats: -
-// `projects//agent/environments/` -
-// `projects//locations//agent/environments/` The environment ID for
-// the default environment is `-`.
+// - name: The name of the environment. Supported formats: -
+// `projects//agent/environments/` -
+// `projects//locations//agent/environments/` The environment ID for
+// the default environment is `-`.
func (r *ProjectsLocationsAgentEnvironmentsService) Get(name string) *ProjectsLocationsAgentEnvironmentsGetCall {
c := &ProjectsLocationsAgentEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -44575,10 +44598,10 @@ type ProjectsLocationsAgentEnvironmentsGetHistoryCall struct {
// GetHistory: Gets the history of the specified environment.
//
-// - parent: The name of the environment to retrieve history for.
-// Supported formats: - `projects//agent/environments/` -
-// `projects//locations//agent/environments/` The environment ID for
-// the default environment is `-`.
+// - parent: The name of the environment to retrieve history for.
+// Supported formats: - `projects//agent/environments/` -
+// `projects//locations//agent/environments/` The environment ID for
+// the default environment is `-`.
func (r *ProjectsLocationsAgentEnvironmentsService) GetHistory(parent string) *ProjectsLocationsAgentEnvironmentsGetHistoryCall {
c := &ProjectsLocationsAgentEnvironmentsGetHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -44774,8 +44797,8 @@ type ProjectsLocationsAgentEnvironmentsListCall struct {
// List: Returns the list of all non-default environments of the
// specified agent.
//
-// - parent: The agent to list all environments from. Format: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to list all environments from. Format: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsLocationsAgentEnvironmentsService) List(parent string) *ProjectsLocationsAgentEnvironmentsListCall {
c := &ProjectsLocationsAgentEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -44862,7 +44885,9 @@ func (c *ProjectsLocationsAgentEnvironmentsListCall) doRequest(alt string) (*htt
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2ListEnvironmentsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -44981,10 +45006,10 @@ type ProjectsLocationsAgentEnvironmentsPatchCall struct {
// undone. You may want to save the draft agent to a version before
// calling this method.
//
-// - name: Output only. The unique identifier of this agent environment.
-// Supported formats: - `projects//agent/environments/` -
-// `projects//locations//agent/environments/` The environment ID for
-// the default environment is `-`.
+// - name: Output only. The unique identifier of this agent environment.
+// Supported formats: - `projects//agent/environments/` -
+// `projects//locations//agent/environments/` The environment ID for
+// the default environment is `-`.
func (r *ProjectsLocationsAgentEnvironmentsService) Patch(nameid string, googleclouddialogflowv2environment *GoogleCloudDialogflowV2Environment) *ProjectsLocationsAgentEnvironmentsPatchCall {
c := &ProjectsLocationsAgentEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -45157,12 +45182,12 @@ type ProjectsLocationsAgentEnvironmentsIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents from. Format:
-// `projects//agent` or `projects//locations//agent`. Alternatively,
-// you can specify the environment to list intents for. Format:
-// `projects//agent/environments/` or
-// `projects//locations//agent/environments/`. Note: training phrases
-// of the intents will not be returned for non-draft environment.
+// - parent: The agent to list all intents from. Format:
+// `projects//agent` or `projects//locations//agent`. Alternatively,
+// you can specify the environment to list intents for. Format:
+// `projects//agent/environments/` or
+// `projects//locations//agent/environments/`. Note: training phrases
+// of the intents will not be returned for non-draft environment.
func (r *ProjectsLocationsAgentEnvironmentsIntentsService) List(parent string) *ProjectsLocationsAgentEnvironmentsIntentsListCall {
c := &ProjectsLocationsAgentEnvironmentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -45173,9 +45198,12 @@ func (r *ProjectsLocationsAgentEnvironmentsIntentsService) List(parent string) *
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentEnvironmentsIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -45396,11 +45424,11 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall struct {
// DeleteContexts: Deletes all active contexts in the specified session.
//
-// - parent: The name of the session to delete all contexts from.
-// Format: `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The name of the session to delete all contexts from.
+// Format: `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsService) DeleteContexts(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -45544,21 +45572,21 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall struct {
// for production traffic. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//agent/sessions/`, or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment
-// (`Environment ID` might be referred to as environment name at some
-// places). If `User ID` is not specified, we are using "-". It's up
-// to the API caller to choose an appropriate `Session ID` and `User
-// Id`. They can be a random number or some type of user and session
-// identifiers (preferably hashed). The length of the `Session ID` and
-// `User ID` must not exceed 36 characters. For more information, see
-// the API interactions guide
-// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
-// Always use agent versions for production traffic. See Versions and
-// environments
-// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
+// - session: The name of the session this query is sent to. Format:
+// `projects//agent/sessions/`, or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment
+// (`Environment ID` might be referred to as environment name at some
+// places). If `User ID` is not specified, we are using "-". It's up
+// to the API caller to choose an appropriate `Session ID` and `User
+// Id`. They can be a random number or some type of user and session
+// identifiers (preferably hashed). The length of the `Session ID` and
+// `User ID` must not exceed 36 characters. For more information, see
+// the API interactions guide
+// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
+// Always use agent versions for production traffic. See Versions and
+// environments
+// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2detectintentrequest *GoogleCloudDialogflowV2DetectIntentRequest) *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -45704,11 +45732,11 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall struct {
// Create: Creates a context. If the specified context already exists,
// overrides the context.
//
-// - parent: The session to create a context for. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to create a context for. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Create(parent string, googleclouddialogflowv2context *GoogleCloudDialogflowV2Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -45850,12 +45878,12 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall struct {
// Delete: Deletes the specified context.
//
-// - name: The name of the context to delete. Format:
-// `projects//agent/sessions//contexts/` or
-// `projects//agent/environments//users//sessions//contexts/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the context to delete. Format:
+// `projects//agent/sessions//contexts/` or
+// `projects//agent/environments//users//sessions//contexts/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Delete(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -45989,12 +46017,12 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall struct {
// Get: Retrieves the specified context.
//
-// - name: The name of the context. Format:
-// `projects//agent/sessions//contexts/` or
-// `projects//agent/environments//users//sessions//contexts/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the context. Format:
+// `projects//agent/sessions//contexts/` or
+// `projects//agent/environments//users//sessions//contexts/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Get(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -46141,11 +46169,11 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall struct {
// List: Returns the list of all contexts in the specified session.
//
-// - parent: The session to list all contexts from. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to list all contexts from. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) List(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -46340,17 +46368,17 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall struct {
// Patch: Updates the specified context.
//
-// - name: The unique identifier of the context. Format:
-// `projects//agent/sessions//contexts/`, or
-// `projects//agent/environments//users//sessions//contexts/`. The
-// `Context ID` is always converted to lowercase, may only contain
-// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user. The following context names are reserved for internal use by
-// Dialogflow. You should not use these contexts or create contexts
-// with these names: * `__system_counters__` * `*_id_dialog_context` *
-// `*_dialog_params_size`.
+// - name: The unique identifier of the context. Format:
+// `projects//agent/sessions//contexts/`, or
+// `projects//agent/environments//users//sessions//contexts/`. The
+// `Context ID` is always converted to lowercase, may only contain
+// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user. The following context names are reserved for internal use by
+// Dialogflow. You should not use these contexts or create contexts
+// with these names: * `__system_counters__` * `*_id_dialog_context` *
+// `*_dialog_params_size`.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Patch(nameid string, googleclouddialogflowv2context *GoogleCloudDialogflowV2Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -46510,11 +46538,11 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall struct
// Dialogflow support if you need to use session entities with Google
// Assistant integration.
//
-// - parent: The session to create a session entity type for. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users// sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to create a session entity type for. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users// sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2sessionentitytype *GoogleCloudDialogflowV2SessionEntityType) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -46661,12 +46689,12 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall struct
// support if you need to use session entities with Google Assistant
// integration.
//
-// - name: The name of the entity type to delete. Format:
-// `projects//agent/sessions//entityTypes/` or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the entity type to delete. Format:
+// `projects//agent/sessions//entityTypes/` or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -46802,12 +46830,12 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The name of the session entity type. Format:
-// `projects//agent/sessions//entityTypes/` or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the session entity type. Format:
+// `projects//agent/sessions//entityTypes/` or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -46959,11 +46987,11 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall struct {
// Contact Dialogflow support if you need to use session entities with
// Google Assistant integration.
//
-// - parent: The session to list all session entity types from. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users// sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to list all session entity types from. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users// sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -47160,13 +47188,13 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall struct
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The unique identifier of this session entity type. Format:
-// `projects//agent/sessions//entityTypes/`, or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user. `` must be the display name of an existing entity type in the
-// same agent that will be overridden or supplemented.
+// - name: The unique identifier of this session entity type. Format:
+// `projects//agent/sessions//entityTypes/`, or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user. “ must be the display name of an existing entity type in the
+// same agent that will be overridden or supplemented.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2sessionentitytype *GoogleCloudDialogflowV2SessionEntityType) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -47334,8 +47362,8 @@ type ProjectsLocationsAgentIntentsBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to delete all entities types for.
-// Format: `projects//agent`.
+// - parent: The name of the agent to delete all entities types for.
+// Format: `projects//agent`.
func (r *ProjectsLocationsAgentIntentsService) BatchDelete(parent string, googleclouddialogflowv2batchdeleteintentsrequest *GoogleCloudDialogflowV2BatchDeleteIntentsRequest) *ProjectsLocationsAgentIntentsBatchDeleteCall {
c := &ProjectsLocationsAgentIntentsBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -47486,8 +47514,8 @@ type ProjectsLocationsAgentIntentsBatchUpdateCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to update or create intents in.
-// Format: `projects//agent`.
+// - parent: The name of the agent to update or create intents in.
+// Format: `projects//agent`.
func (r *ProjectsLocationsAgentIntentsService) BatchUpdate(parent string, googleclouddialogflowv2batchupdateintentsrequest *GoogleCloudDialogflowV2BatchUpdateIntentsRequest) *ProjectsLocationsAgentIntentsBatchUpdateCall {
c := &ProjectsLocationsAgentIntentsBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -47632,8 +47660,8 @@ type ProjectsLocationsAgentIntentsCreateCall struct {
// always train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The agent to create a intent for. Format:
-// `projects//agent`.
+// - parent: The agent to create a intent for. Format:
+// `projects//agent`.
func (r *ProjectsLocationsAgentIntentsService) Create(parent string, googleclouddialogflowv2intent *GoogleCloudDialogflowV2Intent) *ProjectsLocationsAgentIntentsCreateCall {
c := &ProjectsLocationsAgentIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -47645,9 +47673,12 @@ func (r *ProjectsLocationsAgentIntentsService) Create(parent string, googlecloud
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentIntentsCreateCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsCreateCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -47818,9 +47849,9 @@ type ProjectsLocationsAgentIntentsDeleteCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The name of the intent to delete. If this intent has direct
-// or indirect followup intents, we also delete them. Format:
-// `projects//agent/intents/`.
+// - name: The name of the intent to delete. If this intent has direct
+// or indirect followup intents, we also delete them. Format:
+// `projects//agent/intents/`.
func (r *ProjectsLocationsAgentIntentsService) Delete(name string) *ProjectsLocationsAgentIntentsDeleteCall {
c := &ProjectsLocationsAgentIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -47965,9 +47996,12 @@ func (r *ProjectsLocationsAgentIntentsService) Get(name string) *ProjectsLocatio
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentIntentsGetCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsGetCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -48141,12 +48175,12 @@ type ProjectsLocationsAgentIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents from. Format:
-// `projects//agent` or `projects//locations//agent`. Alternatively,
-// you can specify the environment to list intents for. Format:
-// `projects//agent/environments/` or
-// `projects//locations//agent/environments/`. Note: training phrases
-// of the intents will not be returned for non-draft environment.
+// - parent: The agent to list all intents from. Format:
+// `projects//agent` or `projects//locations//agent`. Alternatively,
+// you can specify the environment to list intents for. Format:
+// `projects//agent/environments/` or
+// `projects//locations//agent/environments/`. Note: training phrases
+// of the intents will not be returned for non-draft environment.
func (r *ProjectsLocationsAgentIntentsService) List(parent string) *ProjectsLocationsAgentIntentsListCall {
c := &ProjectsLocationsAgentIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -48157,9 +48191,12 @@ func (r *ProjectsLocationsAgentIntentsService) List(parent string) *ProjectsLoca
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -48383,9 +48420,9 @@ type ProjectsLocationsAgentIntentsPatchCall struct {
// agent prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: Optional. The unique identifier of this intent. Required for
-// Intents.UpdateIntent and Intents.BatchUpdateIntents methods.
-// Format: `projects//agent/intents/`.
+// - name: Optional. The unique identifier of this intent. Required for
+// Intents.UpdateIntent and Intents.BatchUpdateIntents methods.
+// Format: `projects//agent/intents/`.
func (r *ProjectsLocationsAgentIntentsService) Patch(nameid string, googleclouddialogflowv2intent *GoogleCloudDialogflowV2Intent) *ProjectsLocationsAgentIntentsPatchCall {
c := &ProjectsLocationsAgentIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -48397,9 +48434,12 @@ func (r *ProjectsLocationsAgentIntentsService) Patch(nameid string, googlecloudd
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentIntentsPatchCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsPatchCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -48580,11 +48620,11 @@ type ProjectsLocationsAgentSessionsDeleteContextsCall struct {
// DeleteContexts: Deletes all active contexts in the specified session.
//
-// - parent: The name of the session to delete all contexts from.
-// Format: `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The name of the session to delete all contexts from.
+// Format: `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentSessionsService) DeleteContexts(parent string) *ProjectsLocationsAgentSessionsDeleteContextsCall {
c := &ProjectsLocationsAgentSessionsDeleteContextsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -48728,21 +48768,21 @@ type ProjectsLocationsAgentSessionsDetectIntentCall struct {
// for production traffic. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//agent/sessions/`, or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment
-// (`Environment ID` might be referred to as environment name at some
-// places). If `User ID` is not specified, we are using "-". It's up
-// to the API caller to choose an appropriate `Session ID` and `User
-// Id`. They can be a random number or some type of user and session
-// identifiers (preferably hashed). The length of the `Session ID` and
-// `User ID` must not exceed 36 characters. For more information, see
-// the API interactions guide
-// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
-// Always use agent versions for production traffic. See Versions and
-// environments
-// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
+// - session: The name of the session this query is sent to. Format:
+// `projects//agent/sessions/`, or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment
+// (`Environment ID` might be referred to as environment name at some
+// places). If `User ID` is not specified, we are using "-". It's up
+// to the API caller to choose an appropriate `Session ID` and `User
+// Id`. They can be a random number or some type of user and session
+// identifiers (preferably hashed). The length of the `Session ID` and
+// `User ID` must not exceed 36 characters. For more information, see
+// the API interactions guide
+// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
+// Always use agent versions for production traffic. See Versions and
+// environments
+// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
func (r *ProjectsLocationsAgentSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2detectintentrequest *GoogleCloudDialogflowV2DetectIntentRequest) *ProjectsLocationsAgentSessionsDetectIntentCall {
c := &ProjectsLocationsAgentSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -48888,11 +48928,11 @@ type ProjectsLocationsAgentSessionsContextsCreateCall struct {
// Create: Creates a context. If the specified context already exists,
// overrides the context.
//
-// - parent: The session to create a context for. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to create a context for. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentSessionsContextsService) Create(parent string, googleclouddialogflowv2context *GoogleCloudDialogflowV2Context) *ProjectsLocationsAgentSessionsContextsCreateCall {
c := &ProjectsLocationsAgentSessionsContextsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -49034,12 +49074,12 @@ type ProjectsLocationsAgentSessionsContextsDeleteCall struct {
// Delete: Deletes the specified context.
//
-// - name: The name of the context to delete. Format:
-// `projects//agent/sessions//contexts/` or
-// `projects//agent/environments//users//sessions//contexts/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the context to delete. Format:
+// `projects//agent/sessions//contexts/` or
+// `projects//agent/environments//users//sessions//contexts/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentSessionsContextsService) Delete(name string) *ProjectsLocationsAgentSessionsContextsDeleteCall {
c := &ProjectsLocationsAgentSessionsContextsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -49173,12 +49213,12 @@ type ProjectsLocationsAgentSessionsContextsGetCall struct {
// Get: Retrieves the specified context.
//
-// - name: The name of the context. Format:
-// `projects//agent/sessions//contexts/` or
-// `projects//agent/environments//users//sessions//contexts/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the context. Format:
+// `projects//agent/sessions//contexts/` or
+// `projects//agent/environments//users//sessions//contexts/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentSessionsContextsService) Get(name string) *ProjectsLocationsAgentSessionsContextsGetCall {
c := &ProjectsLocationsAgentSessionsContextsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -49325,11 +49365,11 @@ type ProjectsLocationsAgentSessionsContextsListCall struct {
// List: Returns the list of all contexts in the specified session.
//
-// - parent: The session to list all contexts from. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users//sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to list all contexts from. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users//sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentSessionsContextsService) List(parent string) *ProjectsLocationsAgentSessionsContextsListCall {
c := &ProjectsLocationsAgentSessionsContextsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -49524,17 +49564,17 @@ type ProjectsLocationsAgentSessionsContextsPatchCall struct {
// Patch: Updates the specified context.
//
-// - name: The unique identifier of the context. Format:
-// `projects//agent/sessions//contexts/`, or
-// `projects//agent/environments//users//sessions//contexts/`. The
-// `Context ID` is always converted to lowercase, may only contain
-// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user. The following context names are reserved for internal use by
-// Dialogflow. You should not use these contexts or create contexts
-// with these names: * `__system_counters__` * `*_id_dialog_context` *
-// `*_dialog_params_size`.
+// - name: The unique identifier of the context. Format:
+// `projects//agent/sessions//contexts/`, or
+// `projects//agent/environments//users//sessions//contexts/`. The
+// `Context ID` is always converted to lowercase, may only contain
+// characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user. The following context names are reserved for internal use by
+// Dialogflow. You should not use these contexts or create contexts
+// with these names: * `__system_counters__` * `*_id_dialog_context` *
+// `*_dialog_params_size`.
func (r *ProjectsLocationsAgentSessionsContextsService) Patch(nameid string, googleclouddialogflowv2context *GoogleCloudDialogflowV2Context) *ProjectsLocationsAgentSessionsContextsPatchCall {
c := &ProjectsLocationsAgentSessionsContextsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -49694,11 +49734,11 @@ type ProjectsLocationsAgentSessionsEntityTypesCreateCall struct {
// Dialogflow support if you need to use session entities with Google
// Assistant integration.
//
-// - parent: The session to create a session entity type for. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users// sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to create a session entity type for. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users// sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2sessionentitytype *GoogleCloudDialogflowV2SessionEntityType) *ProjectsLocationsAgentSessionsEntityTypesCreateCall {
c := &ProjectsLocationsAgentSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -49845,12 +49885,12 @@ type ProjectsLocationsAgentSessionsEntityTypesDeleteCall struct {
// support if you need to use session entities with Google Assistant
// integration.
//
-// - name: The name of the entity type to delete. Format:
-// `projects//agent/sessions//entityTypes/` or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the entity type to delete. Format:
+// `projects//agent/sessions//entityTypes/` or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentSessionsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -49986,12 +50026,12 @@ type ProjectsLocationsAgentSessionsEntityTypesGetCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The name of the session entity type. Format:
-// `projects//agent/sessions//entityTypes/` or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - name: The name of the session entity type. Format:
+// `projects//agent/sessions//entityTypes/` or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentSessionsEntityTypesGetCall {
c := &ProjectsLocationsAgentSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -50143,11 +50183,11 @@ type ProjectsLocationsAgentSessionsEntityTypesListCall struct {
// Contact Dialogflow support if you need to use session entities with
// Google Assistant integration.
//
-// - parent: The session to list all session entity types from. Format:
-// `projects//agent/sessions/` or
-// `projects//agent/environments//users// sessions/`. If `Environment
-// ID` is not specified, we assume default 'draft' environment. If
-// `User ID` is not specified, we assume default '-' user.
+// - parent: The session to list all session entity types from. Format:
+// `projects//agent/sessions/` or
+// `projects//agent/environments//users// sessions/`. If `Environment
+// ID` is not specified, we assume default 'draft' environment. If
+// `User ID` is not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentSessionsEntityTypesListCall {
c := &ProjectsLocationsAgentSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -50344,13 +50384,13 @@ type ProjectsLocationsAgentSessionsEntityTypesPatchCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The unique identifier of this session entity type. Format:
-// `projects//agent/sessions//entityTypes/`, or
-// `projects//agent/environments//users//sessions//entityTypes/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user. `` must be the display name of an existing entity type in the
-// same agent that will be overridden or supplemented.
+// - name: The unique identifier of this session entity type. Format:
+// `projects//agent/sessions//entityTypes/`, or
+// `projects//agent/environments//users//sessions//entityTypes/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user. “ must be the display name of an existing entity type in the
+// same agent that will be overridden or supplemented.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2sessionentitytype *GoogleCloudDialogflowV2SessionEntityType) *ProjectsLocationsAgentSessionsEntityTypesPatchCall {
c := &ProjectsLocationsAgentSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -50509,8 +50549,8 @@ type ProjectsLocationsAgentVersionsCreateCall struct {
// Create: Creates an agent version. The new version points to the agent
// instance in the "default" environment.
//
-// - parent: The agent to create a version for. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to create a version for. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsLocationsAgentVersionsService) Create(parent string, googleclouddialogflowv2version *GoogleCloudDialogflowV2Version) *ProjectsLocationsAgentVersionsCreateCall {
c := &ProjectsLocationsAgentVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -50652,9 +50692,9 @@ type ProjectsLocationsAgentVersionsDeleteCall struct {
// Delete: Delete the specified agent version.
//
-// - name: The name of the version to delete. Supported formats: -
-// `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: The name of the version to delete. Supported formats: -
+// `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsLocationsAgentVersionsService) Delete(name string) *ProjectsLocationsAgentVersionsDeleteCall {
c := &ProjectsLocationsAgentVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -50788,9 +50828,9 @@ type ProjectsLocationsAgentVersionsGetCall struct {
// Get: Retrieves the specified agent version.
//
-// - name: The name of the version. Supported formats: -
-// `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: The name of the version. Supported formats: -
+// `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsLocationsAgentVersionsService) Get(name string) *ProjectsLocationsAgentVersionsGetCall {
c := &ProjectsLocationsAgentVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -50937,8 +50977,8 @@ type ProjectsLocationsAgentVersionsListCall struct {
// List: Returns the list of all versions of the specified agent.
//
-// - parent: The agent to list all versions from. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to list all versions from. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsLocationsAgentVersionsService) List(parent string) *ProjectsLocationsAgentVersionsListCall {
c := &ProjectsLocationsAgentVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -51136,9 +51176,9 @@ type ProjectsLocationsAgentVersionsPatchCall struct {
// points to. It allows you to update only mutable properties of the
// version resource.
//
-// - name: Output only. The unique identifier of this agent version.
-// Supported formats: - `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: Output only. The unique identifier of this agent version.
+// Supported formats: - `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsLocationsAgentVersionsService) Patch(nameid string, googleclouddialogflowv2version *GoogleCloudDialogflowV2Version) *ProjectsLocationsAgentVersionsPatchCall {
c := &ProjectsLocationsAgentVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -51295,8 +51335,8 @@ type ProjectsLocationsAnswerRecordsListCall struct {
// List: Returns the list of all answer records in the specified project
// in reverse chronological order.
//
-// - parent: The project to list all answer records for in reverse
-// chronological order. Format: `projects//locations/`.
+// - parent: The project to list all answer records for in reverse
+// chronological order. Format: `projects//locations/`.
func (r *ProjectsLocationsAnswerRecordsService) List(parent string) *ProjectsLocationsAnswerRecordsListCall {
c := &ProjectsLocationsAnswerRecordsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -51507,8 +51547,8 @@ type ProjectsLocationsAnswerRecordsPatchCall struct {
// Patch: Updates the specified answer record.
//
-// - name: The unique identifier of this answer record. Format:
-// `projects//locations//answerRecords/`.
+// - name: The unique identifier of this answer record. Format:
+// `projects//locations//answerRecords/`.
func (r *ProjectsLocationsAnswerRecordsService) Patch(nameid string, googleclouddialogflowv2answerrecord *GoogleCloudDialogflowV2AnswerRecord) *ProjectsLocationsAnswerRecordsPatchCall {
c := &ProjectsLocationsAnswerRecordsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -51670,8 +51710,8 @@ type ProjectsLocationsConversationDatasetsCreateCall struct {
// fields: - `metadata`: CreateConversationDatasetOperationMetadata -
// `response`: ConversationDataset
//
-// - parent: The project to create conversation dataset for. Format:
-// `projects//locations/`.
+// - parent: The project to create conversation dataset for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsConversationDatasetsService) Create(parent string, googleclouddialogflowv2conversationdataset *GoogleCloudDialogflowV2ConversationDataset) *ProjectsLocationsConversationDatasetsCreateCall {
c := &ProjectsLocationsConversationDatasetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -51819,8 +51859,8 @@ type ProjectsLocationsConversationDatasetsDeleteCall struct {
// `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The conversation dataset to delete. Format:
-// `projects//locations//conversationDatasets/`.
+// - name: The conversation dataset to delete. Format:
+// `projects//locations//conversationDatasets/`.
func (r *ProjectsLocationsConversationDatasetsService) Delete(name string) *ProjectsLocationsConversationDatasetsDeleteCall {
c := &ProjectsLocationsConversationDatasetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -51954,8 +51994,8 @@ type ProjectsLocationsConversationDatasetsGetCall struct {
// Get: Retrieves the specified conversation dataset.
//
-// - name: The conversation dataset to retrieve. Format:
-// `projects//locations//conversationDatasets/`.
+// - name: The conversation dataset to retrieve. Format:
+// `projects//locations//conversationDatasets/`.
func (r *ProjectsLocationsConversationDatasetsService) Get(name string) *ProjectsLocationsConversationDatasetsGetCall {
c := &ProjectsLocationsConversationDatasetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -52111,8 +52151,8 @@ type ProjectsLocationsConversationDatasetsImportConversationDataCall struct {
// fields: - `metadata`: ImportConversationDataOperationMetadata -
// `response`: ImportConversationDataOperationResponse
//
-// - name: Dataset resource name. Format:
-// `projects//locations//conversationDatasets/`.
+// - name: Dataset resource name. Format:
+// `projects//locations//conversationDatasets/`.
func (r *ProjectsLocationsConversationDatasetsService) ImportConversationData(name string, googleclouddialogflowv2importconversationdatarequest *GoogleCloudDialogflowV2ImportConversationDataRequest) *ProjectsLocationsConversationDatasetsImportConversationDataCall {
c := &ProjectsLocationsConversationDatasetsImportConversationDataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -52256,8 +52296,8 @@ type ProjectsLocationsConversationDatasetsListCall struct {
// List: Returns the list of all conversation datasets in the specified
// project and location.
//
-// - parent: The project and location name to list all conversation
-// datasets for. Format: `projects//locations/`.
+// - parent: The project and location name to list all conversation
+// datasets for. Format: `projects//locations/`.
func (r *ProjectsLocationsConversationDatasetsService) List(parent string) *ProjectsLocationsConversationDatasetsListCall {
c := &ProjectsLocationsConversationDatasetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -52458,8 +52498,8 @@ type ProjectsLocationsConversationModelsCreateCall struct {
// fields: - `metadata`: CreateConversationModelOperationMetadata -
// `response`: ConversationModel
//
-// - parent: The project to create conversation model for. Format:
-// `projects/`.
+// - parent: The project to create conversation model for. Format:
+// `projects/`.
func (r *ProjectsLocationsConversationModelsService) Create(parent string, googleclouddialogflowv2conversationmodel *GoogleCloudDialogflowV2ConversationModel) *ProjectsLocationsConversationModelsCreateCall {
c := &ProjectsLocationsConversationModelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -52606,8 +52646,8 @@ type ProjectsLocationsConversationModelsDeleteCall struct {
// `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The conversation model to delete. Format:
-// `projects//conversationModels/`.
+// - name: The conversation model to delete. Format:
+// `projects//conversationModels/`.
func (r *ProjectsLocationsConversationModelsService) Delete(name string) *ProjectsLocationsConversationModelsDeleteCall {
c := &ProjectsLocationsConversationModelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -52749,8 +52789,8 @@ type ProjectsLocationsConversationModelsDeployCall struct {
// `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The conversation model to deploy. Format:
-// `projects//conversationModels/`.
+// - name: The conversation model to deploy. Format:
+// `projects//conversationModels/`.
func (r *ProjectsLocationsConversationModelsService) Deploy(name string, googleclouddialogflowv2deployconversationmodelrequest *GoogleCloudDialogflowV2DeployConversationModelRequest) *ProjectsLocationsConversationModelsDeployCall {
c := &ProjectsLocationsConversationModelsDeployCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -52893,8 +52933,8 @@ type ProjectsLocationsConversationModelsGetCall struct {
// Get: Gets conversation model.
//
-// - name: The conversation model to retrieve. Format:
-// `projects//conversationModels/`.
+// - name: The conversation model to retrieve. Format:
+// `projects//conversationModels/`.
func (r *ProjectsLocationsConversationModelsService) Get(name string) *ProjectsLocationsConversationModelsGetCall {
c := &ProjectsLocationsConversationModelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -53043,8 +53083,8 @@ type ProjectsLocationsConversationModelsListCall struct {
// List: Lists conversation models.
//
-// - parent: The project to list all conversation models for. Format:
-// `projects/`.
+// - parent: The project to list all conversation models for. Format:
+// `projects/`.
func (r *ProjectsLocationsConversationModelsService) List(parent string) *ProjectsLocationsConversationModelsListCall {
c := &ProjectsLocationsConversationModelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -53248,8 +53288,8 @@ type ProjectsLocationsConversationModelsUndeployCall struct {
// `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The conversation model to undeploy. Format:
-// `projects//conversationModels/`.
+// - name: The conversation model to undeploy. Format:
+// `projects//conversationModels/`.
func (r *ProjectsLocationsConversationModelsService) Undeploy(name string, googleclouddialogflowv2undeployconversationmodelrequest *GoogleCloudDialogflowV2UndeployConversationModelRequest) *ProjectsLocationsConversationModelsUndeployCall {
c := &ProjectsLocationsConversationModelsUndeployCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -53392,8 +53432,8 @@ type ProjectsLocationsConversationModelsEvaluationsCreateCall struct {
// Create: Creates evaluation of a conversation model.
//
-// - parent: The conversation model resource name. Format:
-// `projects//locations//conversationModels/`.
+// - parent: The conversation model resource name. Format:
+// `projects//locations//conversationModels/`.
func (r *ProjectsLocationsConversationModelsEvaluationsService) Create(parent string, googleclouddialogflowv2createconversationmodelevaluationrequest *GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest) *ProjectsLocationsConversationModelsEvaluationsCreateCall {
c := &ProjectsLocationsConversationModelsEvaluationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -53536,8 +53576,8 @@ type ProjectsLocationsConversationModelsEvaluationsGetCall struct {
// Get: Gets an evaluation of conversation model.
//
-// - name: The conversation model evaluation resource name. Format:
-// `projects//conversationModels//evaluations/`.
+// - name: The conversation model evaluation resource name. Format:
+// `projects//conversationModels//evaluations/`.
func (r *ProjectsLocationsConversationModelsEvaluationsService) Get(name string) *ProjectsLocationsConversationModelsEvaluationsGetCall {
c := &ProjectsLocationsConversationModelsEvaluationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -53686,8 +53726,8 @@ type ProjectsLocationsConversationModelsEvaluationsListCall struct {
// List: Lists evaluations of a conversation model.
//
-// - parent: The conversation model resource name. Format:
-// `projects//conversationModels/`.
+// - parent: The conversation model resource name. Format:
+// `projects//conversationModels/`.
func (r *ProjectsLocationsConversationModelsEvaluationsService) List(parent string) *ProjectsLocationsConversationModelsEvaluationsListCall {
c := &ProjectsLocationsConversationModelsEvaluationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -53890,9 +53930,9 @@ type ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall struc
// fields: - `metadata`: ClearSuggestionFeatureConfigOperationMetadata -
// `response`: ConversationProfile
//
-// - conversationProfile: The Conversation Profile to add or update the
-// suggestion feature config. Format:
-// `projects//locations//conversationProfiles/`.
+// - conversationProfile: The Conversation Profile to add or update the
+// suggestion feature config. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) ClearSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2clearsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest) *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall {
c := &ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.conversationProfile = conversationProfile
@@ -54038,8 +54078,8 @@ type ProjectsLocationsConversationProfilesCreateCall struct {
// aren't populated in the response. You can retrieve them via
// GetConversationProfile API.
//
-// - parent: The project to create a conversation profile for. Format:
-// `projects//locations/`.
+// - parent: The project to create a conversation profile for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsConversationProfilesService) Create(parent string, googleclouddialogflowv2conversationprofile *GoogleCloudDialogflowV2ConversationProfile) *ProjectsLocationsConversationProfilesCreateCall {
c := &ProjectsLocationsConversationProfilesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -54183,8 +54223,8 @@ type ProjectsLocationsConversationProfilesDeleteCall struct {
// Delete: Deletes the specified conversation profile.
//
-// - name: The name of the conversation profile to delete. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The name of the conversation profile to delete. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) Delete(name string) *ProjectsLocationsConversationProfilesDeleteCall {
c := &ProjectsLocationsConversationProfilesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -54318,8 +54358,8 @@ type ProjectsLocationsConversationProfilesGetCall struct {
// Get: Retrieves the specified conversation profile.
//
-// - name: The resource name of the conversation profile. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The resource name of the conversation profile. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) Get(name string) *ProjectsLocationsConversationProfilesGetCall {
c := &ProjectsLocationsConversationProfilesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -54469,8 +54509,8 @@ type ProjectsLocationsConversationProfilesListCall struct {
// List: Returns the list of all conversation profiles in the specified
// project.
//
-// - parent: The project to list all conversation profiles from. Format:
-// `projects//locations/`.
+// - parent: The project to list all conversation profiles from. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsConversationProfilesService) List(parent string) *ProjectsLocationsConversationProfilesListCall {
c := &ProjectsLocationsConversationProfilesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -54669,8 +54709,8 @@ type ProjectsLocationsConversationProfilesPatchCall struct {
// aren't populated in the response. You can retrieve them via
// GetConversationProfile API.
//
-// - name: The unique identifier of this conversation profile. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The unique identifier of this conversation profile. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) Patch(nameid string, googleclouddialogflowv2conversationprofile *GoogleCloudDialogflowV2ConversationProfile) *ProjectsLocationsConversationProfilesPatchCall {
c := &ProjectsLocationsConversationProfilesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -54840,9 +54880,9 @@ type ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall struct
// the existing long running operation before sending such request,
// otherwise the request will be rejected.
//
-// - conversationProfile: The Conversation Profile to add or update the
-// suggestion feature config. Format:
-// `projects//locations//conversationProfiles/`.
+// - conversationProfile: The Conversation Profile to add or update the
+// suggestion feature config. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) SetSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2setsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest) *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall {
c := &ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.conversationProfile = conversationProfile
@@ -54986,8 +55026,8 @@ type ProjectsLocationsConversationsCompleteCall struct {
// Complete: Completes the specified conversation. Finished
// conversations are purged from the database after 30 days.
//
-// - name: Resource identifier of the conversation to close. Format:
-// `projects//locations//conversations/`.
+// - name: Resource identifier of the conversation to close. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsService) Complete(nameid string, googleclouddialogflowv2completeconversationrequest *GoogleCloudDialogflowV2CompleteConversationRequest) *ProjectsLocationsConversationsCompleteCall {
c := &ProjectsLocationsConversationsCompleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -55142,8 +55182,8 @@ type ProjectsLocationsConversationsCreateCall struct {
// Intent.live_agent_handoff is triggered, conversation will transfer to
// Assist Stage.
//
-// - parent: Resource identifier of the project creating the
-// conversation. Format: `projects//locations/`.
+// - parent: Resource identifier of the project creating the
+// conversation. Format: `projects//locations/`.
func (r *ProjectsLocationsConversationsService) Create(parentid string, googleclouddialogflowv2conversation *GoogleCloudDialogflowV2Conversation) *ProjectsLocationsConversationsCreateCall {
c := &ProjectsLocationsConversationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -55306,8 +55346,8 @@ type ProjectsLocationsConversationsGetCall struct {
// Get: Retrieves the specific conversation.
//
-// - name: The name of the conversation. Format:
-// `projects//locations//conversations/`.
+// - name: The name of the conversation. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsService) Get(name string) *ProjectsLocationsConversationsGetCall {
c := &ProjectsLocationsConversationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -55455,8 +55495,8 @@ type ProjectsLocationsConversationsListCall struct {
// List: Returns the list of all conversations in the specified project.
//
-// - parent: The project from which to list all conversation. Format:
-// `projects//locations/`.
+// - parent: The project from which to list all conversation. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsConversationsService) List(parent string) *ProjectsLocationsConversationsListCall {
c := &ProjectsLocationsConversationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -55677,8 +55717,8 @@ type ProjectsLocationsConversationsMessagesListCall struct {
// `create_time_epoch_microseconds > [first item's create_time of
// previous request]` and empty page_token.
//
-// - parent: The name of the conversation to list messages for. Format:
-// `projects//locations//conversations/`.
+// - parent: The name of the conversation to list messages for. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsMessagesService) List(parent string) *ProjectsLocationsConversationsMessagesListCall {
c := &ProjectsLocationsConversationsMessagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -55894,8 +55934,8 @@ type ProjectsLocationsConversationsParticipantsAnalyzeContentCall struct {
// sent to virtual agents. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - participant: The name of the participant this text comes from.
-// Format: `projects//locations//conversations//participants/`.
+// - participant: The name of the participant this text comes from.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsService) AnalyzeContent(participant string, googleclouddialogflowv2analyzecontentrequest *GoogleCloudDialogflowV2AnalyzeContentRequest) *ProjectsLocationsConversationsParticipantsAnalyzeContentCall {
c := &ProjectsLocationsConversationsParticipantsAnalyzeContentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.participant = participant
@@ -56040,8 +56080,8 @@ type ProjectsLocationsConversationsParticipantsCreateCall struct {
// Create: Creates a new participant in a conversation.
//
-// - parent: Resource identifier of the conversation adding the
-// participant. Format: `projects//locations//conversations/`.
+// - parent: Resource identifier of the conversation adding the
+// participant. Format: `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsParticipantsService) Create(parentid string, googleclouddialogflowv2participant *GoogleCloudDialogflowV2Participant) *ProjectsLocationsConversationsParticipantsCreateCall {
c := &ProjectsLocationsConversationsParticipantsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -56185,8 +56225,8 @@ type ProjectsLocationsConversationsParticipantsGetCall struct {
// Get: Retrieves a conversation participant.
//
-// - name: The name of the participant. Format:
-// `projects//locations//conversations//participants/`.
+// - name: The name of the participant. Format:
+// `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsService) Get(name string) *ProjectsLocationsConversationsParticipantsGetCall {
c := &ProjectsLocationsConversationsParticipantsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -56335,8 +56375,8 @@ type ProjectsLocationsConversationsParticipantsListCall struct {
// List: Returns the list of all participants in the specified
// conversation.
//
-// - parent: The conversation to list all participants from. Format:
-// `projects//locations//conversations/`.
+// - parent: The conversation to list all participants from. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsParticipantsService) List(parent string) *ProjectsLocationsConversationsParticipantsListCall {
c := &ProjectsLocationsConversationsParticipantsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -56423,7 +56463,9 @@ func (c *ProjectsLocationsConversationsParticipantsListCall) doRequest(alt strin
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2ListParticipantsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -56531,8 +56573,8 @@ type ProjectsLocationsConversationsParticipantsPatchCall struct {
// Patch: Updates the specified participant.
//
-// - name: Optional. The unique identifier of this participant. Format:
-// `projects//locations//conversations//participants/`.
+// - name: Optional. The unique identifier of this participant. Format:
+// `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsService) Patch(nameid string, googleclouddialogflowv2participant *GoogleCloudDialogflowV2Participant) *ProjectsLocationsConversationsParticipantsPatchCall {
c := &ProjectsLocationsConversationsParticipantsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -56690,8 +56732,8 @@ type ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall st
// SuggestArticles: Gets suggested articles for a participant based on
// specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestArticles(parent string, googleclouddialogflowv2suggestarticlesrequest *GoogleCloudDialogflowV2SuggestArticlesRequest) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall {
c := &ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -56837,8 +56879,8 @@ type ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
// SuggestFaqAnswers: Gets suggested faq answers for a participant based
// on specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestFaqAnswers(parent string, googleclouddialogflowv2suggestfaqanswersrequest *GoogleCloudDialogflowV2SuggestFaqAnswersRequest) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall {
c := &ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -56984,8 +57026,8 @@ type ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCal
// SuggestSmartReplies: Gets smart replies for a participant based on
// specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestSmartReplies(parent string, googleclouddialogflowv2suggestsmartrepliesrequest *GoogleCloudDialogflowV2SuggestSmartRepliesRequest) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall {
c := &ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -57130,8 +57172,8 @@ type ProjectsLocationsKnowledgeBasesCreateCall struct {
// Create: Creates a knowledge base.
//
-// - parent: The project to create a knowledge base for. Format:
-// `projects//locations/`.
+// - parent: The project to create a knowledge base for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsKnowledgeBasesService) Create(parent string, googleclouddialogflowv2knowledgebase *GoogleCloudDialogflowV2KnowledgeBase) *ProjectsLocationsKnowledgeBasesCreateCall {
c := &ProjectsLocationsKnowledgeBasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -57274,8 +57316,8 @@ type ProjectsLocationsKnowledgeBasesDeleteCall struct {
// Delete: Deletes the specified knowledge base.
//
-// - name: The name of the knowledge base to delete. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to delete. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesService) Delete(name string) *ProjectsLocationsKnowledgeBasesDeleteCall {
c := &ProjectsLocationsKnowledgeBasesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -57422,8 +57464,8 @@ type ProjectsLocationsKnowledgeBasesGetCall struct {
// Get: Retrieves the specified knowledge base.
//
-// - name: The name of the knowledge base to retrieve. Format
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to retrieve. Format
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesService) Get(name string) *ProjectsLocationsKnowledgeBasesGetCall {
c := &ProjectsLocationsKnowledgeBasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -57571,8 +57613,8 @@ type ProjectsLocationsKnowledgeBasesListCall struct {
// List: Returns the list of all knowledge bases of the specified agent.
//
-// - parent: The project to list of knowledge bases for. Format:
-// `projects//locations/`.
+// - parent: The project to list of knowledge bases for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsKnowledgeBasesService) List(parent string) *ProjectsLocationsKnowledgeBasesListCall {
c := &ProjectsLocationsKnowledgeBasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -57791,9 +57833,9 @@ type ProjectsLocationsKnowledgeBasesPatchCall struct {
// Patch: Updates the specified knowledge base.
//
-// - name: The knowledge base resource name. The name must be empty when
-// creating a knowledge base. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The knowledge base resource name. The name must be empty when
+// creating a knowledge base. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesService) Patch(name string, googleclouddialogflowv2knowledgebase *GoogleCloudDialogflowV2KnowledgeBase) *ProjectsLocationsKnowledgeBasesPatchCall {
c := &ProjectsLocationsKnowledgeBasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -57957,8 +57999,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsCreateCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// Document
//
-// - parent: The knowledge base to create a document for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to create a document for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Create(parent string, googleclouddialogflowv2document *GoogleCloudDialogflowV2Document) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -58106,8 +58148,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsDeleteCall struct {
// Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The name of the document to delete. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to delete. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Delete(name string) *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -58246,8 +58288,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsExportCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// Document
//
-// - name: The name of the document to export. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to export. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Export(name string, googleclouddialogflowv2exportdocumentrequest *GoogleCloudDialogflowV2ExportDocumentRequest) *ProjectsLocationsKnowledgeBasesDocumentsExportCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -58390,8 +58432,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsGetCall struct {
// Get: Retrieves the specified document.
//
-// - name: The name of the document to retrieve. Format
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to retrieve. Format
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Get(name string) *ProjectsLocationsKnowledgeBasesDocumentsGetCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -58545,8 +58587,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsImportCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// ImportDocumentsResponse
//
-// - parent: The knowledge base to import documents into. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to import documents into. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Import(parent string, googleclouddialogflowv2importdocumentsrequest *GoogleCloudDialogflowV2ImportDocumentsRequest) *ProjectsLocationsKnowledgeBasesDocumentsImportCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -58689,8 +58731,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsListCall struct {
// List: Returns the list of all documents of the knowledge base.
//
-// - parent: The knowledge base to list all documents for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to list all documents for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) List(parent string) *ProjectsLocationsKnowledgeBasesDocumentsListCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -58911,9 +58953,9 @@ type ProjectsLocationsKnowledgeBasesDocumentsPatchCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// Document
//
-// - name: Optional. The document resource name. The name must be empty
-// when creating a document. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: Optional. The document resource name. The name must be empty
+// when creating a document. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Patch(name string, googleclouddialogflowv2document *GoogleCloudDialogflowV2Document) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -59080,8 +59122,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsReloadCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to reload. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to reload. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Reload(name string, googleclouddialogflowv2reloaddocumentrequest *GoogleCloudDialogflowV2ReloadDocumentRequest) *ProjectsLocationsKnowledgeBasesDocumentsReloadCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsReloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go
index d6b731a7fe5..6d3c41cfc32 100644
--- a/dialogflow/v2beta1/dialogflow-gen.go
+++ b/dialogflow/v2beta1/dialogflow-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/dialogflow/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dialogflow/v2beta1"
-// ...
-// ctx := context.Background()
-// dialogflowService, err := dialogflow.NewService(ctx)
+// import "google.golang.org/api/dialogflow/v2beta1"
+// ...
+// ctx := context.Background()
+// dialogflowService, err := dialogflow.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dialogflow // import "google.golang.org/api/dialogflow/v2beta1"
@@ -3939,7 +3939,8 @@ func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) UnmarshalJSON(data [
}
// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue:
-// Represents a value for an intent parameter.
+//
+// Represents a value for an intent parameter.
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct {
// OriginalValue: Always present. Original text value extracted from
// user utterance.
@@ -8326,7 +8327,7 @@ func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error)
// GoogleCloudDialogflowV2EventInput: Events allow for matching intents
// by event name instead of the natural language input. For instance,
-// input `` can trigger a personalized welcome response. The parameter
+// input “ can trigger a personalized welcome response. The parameter
// `name` may be used by the agent in the response: "Hello
// #welcome_event.name! What can I do for you today?".
type GoogleCloudDialogflowV2EventInput struct {
@@ -13529,7 +13530,7 @@ func (s *GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry) MarshalJSON() ([]b
// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching
// intents by event name instead of the natural language input. For
-// instance, input `` can trigger a personalized welcome response. The
+// instance, input “ can trigger a personalized welcome response. The
// parameter `name` may be used by the agent in the response: "Hello
// #welcome_event.name! What can I do for you today?".
type GoogleCloudDialogflowV2beta1EventInput struct {
@@ -14143,7 +14144,8 @@ func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisCon
}
// GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig:
-// Detail human agent assistant config.
+//
+// Detail human agent assistant config.
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig struct {
// FeatureConfigs: Configuration of different suggestion features. One
// feature can have only one config.
@@ -15379,7 +15381,8 @@ func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON()
}
// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction:
-// Opens the given URI.
+//
+// Opens the given URI.
type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct {
// Uri: Required. The HTTP or HTTPS scheme URI.
Uri string `json:"uri,omitempty"`
@@ -20808,8 +20811,8 @@ type ProjectsDeleteAgentCall struct {
// DeleteAgent: Deletes the specified agent.
//
-// - parent: The project that the agent to delete is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to delete is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsService) DeleteAgent(parent string) *ProjectsDeleteAgentCall {
c := &ProjectsDeleteAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20943,8 +20946,8 @@ type ProjectsGetAgentCall struct {
// GetAgent: Retrieves the specified agent.
//
-// - parent: The project that the agent to fetch is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to fetch is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsService) GetAgent(parent string) *ProjectsGetAgentCall {
c := &ProjectsGetAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21094,8 +21097,8 @@ type ProjectsSetAgentCall struct {
// always train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project of this agent. Format: `projects/` or
-// `projects//locations/`.
+// - parent: The project of this agent. Format: `projects/` or
+// `projects//locations/`.
func (r *ProjectsService) SetAgent(parent string, googleclouddialogflowv2beta1agent *GoogleCloudDialogflowV2beta1Agent) *ProjectsSetAgentCall {
c := &ProjectsSetAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21258,8 +21261,8 @@ type ProjectsAgentExportCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: ExportAgentResponse
//
-// - parent: The project that the agent to export is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to export is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsAgentService) Export(parent string, googleclouddialogflowv2beta1exportagentrequest *GoogleCloudDialogflowV2beta1ExportAgentRequest) *ProjectsAgentExportCall {
c := &ProjectsAgentExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21402,9 +21405,9 @@ type ProjectsAgentGetFulfillmentCall struct {
// GetFulfillment: Retrieves the fulfillment.
//
-// - name: The name of the fulfillment. Supported formats: -
-// `projects//agent/fulfillment` -
-// `projects//locations//agent/fulfillment`.
+// - name: The name of the fulfillment. Supported formats: -
+// `projects//agent/fulfillment` -
+// `projects//locations//agent/fulfillment`.
func (r *ProjectsAgentService) GetFulfillment(name string) *ProjectsAgentGetFulfillmentCall {
c := &ProjectsAgentGetFulfillmentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21554,8 +21557,8 @@ type ProjectsAgentGetValidationResultCall struct {
// is performed during training time and is updated automatically when
// training is completed.
//
-// - parent: The project that the agent is associated with. Format:
-// `projects/` or `projects//locations/`.
+// - parent: The project that the agent is associated with. Format:
+// `projects/` or `projects//locations/`.
func (r *ProjectsAgentService) GetValidationResult(parent string) *ProjectsAgentGetValidationResultCall {
c := &ProjectsAgentGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21738,8 +21741,8 @@ type ProjectsAgentImportCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to import is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to import is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsAgentService) Import(parent string, googleclouddialogflowv2beta1importagentrequest *GoogleCloudDialogflowV2beta1ImportAgentRequest) *ProjectsAgentImportCall {
c := &ProjectsAgentImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21899,8 +21902,8 @@ type ProjectsAgentRestoreCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to restore is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to restore is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsAgentService) Restore(parent string, googleclouddialogflowv2beta1restoreagentrequest *GoogleCloudDialogflowV2beta1RestoreAgentRequest) *ProjectsAgentRestoreCall {
c := &ProjectsAgentRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22048,8 +22051,8 @@ type ProjectsAgentSearchCall struct {
// Sub-Collections
// (https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
//
-// - parent: The project to list agents from. Format: `projects/` or
-// `projects//locations/`.
+// - parent: The project to list agents from. Format: `projects/` or
+// `projects//locations/`.
func (r *ProjectsAgentService) Search(parent string) *ProjectsAgentSearchCall {
c := &ProjectsAgentSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22254,8 +22257,8 @@ type ProjectsAgentTrainCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to train is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to train is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsAgentService) Train(parent string, googleclouddialogflowv2beta1trainagentrequest *GoogleCloudDialogflowV2beta1TrainAgentRequest) *ProjectsAgentTrainCall {
c := &ProjectsAgentTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22400,8 +22403,8 @@ type ProjectsAgentUpdateFulfillmentCall struct {
//
// - name: The unique identifier of the fulfillment. Supported formats:
// - `projects//agent/fulfillment` -
-// `projects//locations//agent/fulfillment` This field is not used for
-// Fulfillment in an Environment.
+// `projects//locations//agent/fulfillment` This field is not used for
+// Fulfillment in an Environment.
func (r *ProjectsAgentService) UpdateFulfillment(nameid string, googleclouddialogflowv2beta1fulfillment *GoogleCloudDialogflowV2beta1Fulfillment) *ProjectsAgentUpdateFulfillmentCall {
c := &ProjectsAgentUpdateFulfillmentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -22569,9 +22572,9 @@ type ProjectsAgentEntityTypesBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to delete all entities types for.
-// Supported formats: - `projects//agent`, -
-// `projects//locations//agent`.
+// - parent: The name of the agent to delete all entities types for.
+// Supported formats: - `projects//agent`, -
+// `projects//locations//agent`.
func (r *ProjectsAgentEntityTypesService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteentitytypesrequest *GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest) *ProjectsAgentEntityTypesBatchDeleteCall {
c := &ProjectsAgentEntityTypesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22722,9 +22725,9 @@ type ProjectsAgentEntityTypesBatchUpdateCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to update or create entity types in.
-// Supported formats: - `projects//agent` -
-// `projects//locations//agent`.
+// - parent: The name of the agent to update or create entity types in.
+// Supported formats: - `projects//agent` -
+// `projects//locations//agent`.
func (r *ProjectsAgentEntityTypesService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateentitytypesrequest *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest) *ProjectsAgentEntityTypesBatchUpdateCall {
c := &ProjectsAgentEntityTypesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22870,8 +22873,8 @@ type ProjectsAgentEntityTypesCreateCall struct {
// training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The agent to create a entity type for. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to create a entity type for. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsAgentEntityTypesService) Create(parent string, googleclouddialogflowv2beta1entitytype *GoogleCloudDialogflowV2beta1EntityType) *ProjectsAgentEntityTypesCreateCall {
c := &ProjectsAgentEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23031,9 +23034,9 @@ type ProjectsAgentEntityTypesDeleteCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The name of the entity type to delete. Supported formats: -
-// `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - name: The name of the entity type to delete. Supported formats: -
+// `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesService) Delete(name string) *ProjectsAgentEntityTypesDeleteCall {
c := &ProjectsAgentEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23167,9 +23170,9 @@ type ProjectsAgentEntityTypesGetCall struct {
// Get: Retrieves the specified entity type.
//
-// - name: The name of the entity type. Supported formats: -
-// `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - name: The name of the entity type. Supported formats: -
+// `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesService) Get(name string) *ProjectsAgentEntityTypesGetCall {
c := &ProjectsAgentEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23545,10 +23548,10 @@ type ProjectsAgentEntityTypesPatchCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The unique identifier of the entity type. Required for
-// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
-// methods. Supported formats: - `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - name: The unique identifier of the entity type. Required for
+// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
+// methods. Supported formats: - `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1entitytype *GoogleCloudDialogflowV2beta1EntityType) *ProjectsAgentEntityTypesPatchCall {
c := &ProjectsAgentEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -23730,9 +23733,9 @@ type ProjectsAgentEntityTypesEntitiesBatchCreateCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to create entities in.
-// Supported formats: - `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - parent: The name of the entity type to create entities in.
+// Supported formats: - `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesEntitiesService) BatchCreate(parent string, googleclouddialogflowv2beta1batchcreateentitiesrequest *GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest) *ProjectsAgentEntityTypesEntitiesBatchCreateCall {
c := &ProjectsAgentEntityTypesEntitiesBatchCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23885,9 +23888,9 @@ type ProjectsAgentEntityTypesEntitiesBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to delete entries for.
-// Supported formats: - `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - parent: The name of the entity type to delete entries for.
+// Supported formats: - `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesEntitiesService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteentitiesrequest *GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest) *ProjectsAgentEntityTypesEntitiesBatchDeleteCall {
c := &ProjectsAgentEntityTypesEntitiesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24041,9 +24044,9 @@ type ProjectsAgentEntityTypesEntitiesBatchUpdateCall struct {
// - `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - parent: The name of the entity type to update or create entities
-// in. Supported formats: - `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - parent: The name of the entity type to update or create entities
+// in. Supported formats: - `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsAgentEntityTypesEntitiesService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateentitiesrequest *GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest) *ProjectsAgentEntityTypesEntitiesBatchUpdateCall {
c := &ProjectsAgentEntityTypesEntitiesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24342,9 +24345,9 @@ type ProjectsAgentEnvironmentsDeleteCall struct {
// Delete: Deletes the specified agent environment.
//
-// - name: The name of the environment to delete. / Format: -
-// `projects//agent/environments/` -
-// `projects//locations//agent/environments/`.
+// - name: The name of the environment to delete. / Format: -
+// `projects//agent/environments/` -
+// `projects//locations//agent/environments/`.
func (r *ProjectsAgentEnvironmentsService) Delete(name string) *ProjectsAgentEnvironmentsDeleteCall {
c := &ProjectsAgentEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24478,9 +24481,9 @@ type ProjectsAgentEnvironmentsGetCall struct {
// Get: Retrieves the specified agent environment.
//
-// - name: The name of the environment. Supported formats: -
-// `projects//agent/environments/` -
-// `projects//locations//agent/environments/`.
+// - name: The name of the environment. Supported formats: -
+// `projects//agent/environments/` -
+// `projects//locations//agent/environments/`.
func (r *ProjectsAgentEnvironmentsService) Get(name string) *ProjectsAgentEnvironmentsGetCall {
c := &ProjectsAgentEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24628,9 +24631,9 @@ type ProjectsAgentEnvironmentsGetHistoryCall struct {
// GetHistory: Gets the history of the specified environment.
//
-// - parent: The name of the environment to retrieve history for.
-// Supported formats: - `projects//agent/environments/` -
-// `projects//locations//agent/environments/`.
+// - parent: The name of the environment to retrieve history for.
+// Supported formats: - `projects//agent/environments/` -
+// `projects//locations//agent/environments/`.
func (r *ProjectsAgentEnvironmentsService) GetHistory(parent string) *ProjectsAgentEnvironmentsGetHistoryCall {
c := &ProjectsAgentEnvironmentsGetHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24826,8 +24829,8 @@ type ProjectsAgentEnvironmentsListCall struct {
// List: Returns the list of all non-draft environments of the specified
// agent.
//
-// - parent: The agent to list all environments from. Format: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to list all environments from. Format: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsAgentEnvironmentsService) List(parent string) *ProjectsAgentEnvironmentsListCall {
c := &ProjectsAgentEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25032,9 +25035,9 @@ type ProjectsAgentEnvironmentsPatchCall struct {
// recent changes to draft and can't be undone. You may want to save the
// draft to a version before calling this function.
//
-// - name: Output only. The unique identifier of this agent environment.
-// Supported formats: - `projects//agent/environments/` -
-// `projects//locations//agent/environments/`.
+// - name: Output only. The unique identifier of this agent environment.
+// Supported formats: - `projects//agent/environments/` -
+// `projects//locations//agent/environments/`.
func (r *ProjectsAgentEnvironmentsService) Patch(nameid string, googleclouddialogflowv2beta1environment *GoogleCloudDialogflowV2beta1Environment) *ProjectsAgentEnvironmentsPatchCall {
c := &ProjectsAgentEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -25207,12 +25210,12 @@ type ProjectsAgentEnvironmentsIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents from. Format:
-// `projects//agent` or `projects//locations//agent`. Alternatively,
-// you can specify the environment to list intents for. Format:
-// `projects//agent/environments/` or
-// `projects//locations//agent/environments/`. Note: training phrases
-// of the intents will not be returned for non-draft environment.
+// - parent: The agent to list all intents from. Format:
+// `projects//agent` or `projects//locations//agent`. Alternatively,
+// you can specify the environment to list intents for. Format:
+// `projects//agent/environments/` or
+// `projects//locations//agent/environments/`. Note: training phrases
+// of the intents will not be returned for non-draft environment.
func (r *ProjectsAgentEnvironmentsIntentsService) List(parent string) *ProjectsAgentEnvironmentsIntentsListCall {
c := &ProjectsAgentEnvironmentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25223,9 +25226,12 @@ func (r *ProjectsAgentEnvironmentsIntentsService) List(parent string) *ProjectsA
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentEnvironmentsIntentsListCall) IntentView(intentView string) *ProjectsAgentEnvironmentsIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -25321,7 +25327,9 @@ func (c *ProjectsAgentEnvironmentsIntentsListCall) doRequest(alt string) (*http.
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ListIntentsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -25446,15 +25454,15 @@ type ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall struct {
// DeleteContexts: Deletes all active contexts in the specified session.
//
-// - parent: The name of the session to delete all contexts from.
-// Supported formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The name of the session to delete all contexts from.
+// Supported formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentEnvironmentsUsersSessionsService) DeleteContexts(parent string) *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall {
c := &ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25598,24 +25606,24 @@ type ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall struct {
// for production traffic. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - session: The name of the session this query is sent to. Supported
-// formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment (`Environment ID` might be referred to as environment
-// name at some places). If `User ID` is not specified, we are using
-// "-". It's up to the API caller to choose an appropriate `Session
-// ID` and `User Id`. They can be a random number or some type of user
-// and session identifiers (preferably hashed). The length of the
-// `Session ID` and `User ID` must not exceed 36 characters. For more
-// information, see the API interactions guide
-// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
-// Always use agent versions for production traffic. See Versions and
-// environments
-// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
+// - session: The name of the session this query is sent to. Supported
+// formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment (`Environment ID` might be referred to as environment
+// name at some places). If `User ID` is not specified, we are using
+// "-". It's up to the API caller to choose an appropriate `Session
+// ID` and `User Id`. They can be a random number or some type of user
+// and session identifiers (preferably hashed). The length of the
+// `Session ID` and `User ID` must not exceed 36 characters. For more
+// information, see the API interactions guide
+// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
+// Always use agent versions for production traffic. See Versions and
+// environments
+// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
func (r *ProjectsAgentEnvironmentsUsersSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2beta1detectintentrequest *GoogleCloudDialogflowV2beta1DetectIntentRequest) *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall {
c := &ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -25761,15 +25769,15 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall struct {
// Create: Creates a context. If the specified context already exists,
// overrides the context.
//
-// - parent: The session to create a context for. Supported formats: -
-// `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to create a context for. Supported formats: -
+// `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Create(parent string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25912,15 +25920,15 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall struct {
// Delete: Deletes the specified context.
//
-// - name: The name of the context to delete. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, If `Location ID` is not specified we assume default 'us'
-// location. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user.
+// - name: The name of the context to delete. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, If `Location ID` is not specified we assume default 'us'
+// location. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Delete(name string) *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26054,15 +26062,15 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsGetCall struct {
// Get: Retrieves the specified context.
//
-// - name: The name of the context. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, If `Location ID` is not specified we assume default 'us'
-// location. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user.
+// - name: The name of the context. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, If `Location ID` is not specified we assume default 'us'
+// location. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Get(name string) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26210,15 +26218,15 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsListCall struct {
// List: Returns the list of all contexts in the specified session.
//
-// - parent: The session to list all contexts from. Supported formats: -
-// `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to list all contexts from. Supported formats: -
+// `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) List(parent string) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26413,19 +26421,19 @@ type ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall struct {
// Patch: Updates the specified context.
//
-// - name: The unique identifier of the context. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, The `Context ID` is always converted to lowercase, may only
-// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes
-// long. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user. The following context names are reserved for
-// internal use by Dialogflow. You should not use these contexts or
-// create contexts with these names: * `__system_counters__` *
-// `*_id_dialog_context` * `*_dialog_params_size`.
+// - name: The unique identifier of the context. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, The `Context ID` is always converted to lowercase, may only
+// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes
+// long. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user. The following context names are reserved for
+// internal use by Dialogflow. You should not use these contexts or
+// create contexts with these names: * `__system_counters__` *
+// `*_id_dialog_context` * `*_dialog_params_size`.
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Patch(nameid string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall {
c := &ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -26586,15 +26594,15 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall struct {
// Dialogflow support if you need to use session entities with Google
// Assistant integration.
//
-// - parent: The session to create a session entity type for. Supported
-// formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to create a session entity type for. Supported
+// formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26741,15 +26749,15 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall struct {
// support if you need to use session entities with Google Assistant
// integration.
//
-// - name: The name of the entity type to delete. Supported formats: -
-// `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user.
+// - name: The name of the entity type to delete. Supported formats: -
+// `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Delete(name string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26885,15 +26893,15 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The name of the session entity type. Supported formats: -
-// `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user.
+// - name: The name of the session entity type. Supported formats: -
+// `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Get(name string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27045,15 +27053,15 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall struct {
// Contact Dialogflow support if you need to use session entities with
// Google Assistant integration.
//
-// - parent: The session to list all session entity types from.
-// Supported formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to list all session entity types from.
+// Supported formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) List(parent string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27251,17 +27259,17 @@ type ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The unique identifier of this session entity type. Supported
-// formats: - `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user. `` must be the display
-// name of an existing entity type in the same agent that will be
-// overridden or supplemented.
+// - name: The unique identifier of this session entity type. Supported
+// formats: - `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user. “ must be the display
+// name of an existing entity type in the same agent that will be
+// overridden or supplemented.
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall {
c := &ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -27429,9 +27437,9 @@ type ProjectsAgentIntentsBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to delete all entities types for.
-// Supported formats: - `projects//agent` -
-// `projects//locations//agent`.
+// - parent: The name of the agent to delete all entities types for.
+// Supported formats: - `projects//agent` -
+// `projects//locations//agent`.
func (r *ProjectsAgentIntentsService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteintentsrequest *GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest) *ProjectsAgentIntentsBatchDeleteCall {
c := &ProjectsAgentIntentsBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27582,9 +27590,9 @@ type ProjectsAgentIntentsBatchUpdateCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to update or create intents in.
-// Supported formats: - `projects//agent` -
-// `projects//locations//agent`.
+// - parent: The name of the agent to update or create intents in.
+// Supported formats: - `projects//agent` -
+// `projects//locations//agent`.
func (r *ProjectsAgentIntentsService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateintentsrequest *GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest) *ProjectsAgentIntentsBatchUpdateCall {
c := &ProjectsAgentIntentsBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27729,8 +27737,8 @@ type ProjectsAgentIntentsCreateCall struct {
// always train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The agent to create a intent for. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to create a intent for. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsAgentIntentsService) Create(parent string, googleclouddialogflowv2beta1intent *GoogleCloudDialogflowV2beta1Intent) *ProjectsAgentIntentsCreateCall {
c := &ProjectsAgentIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27742,9 +27750,12 @@ func (r *ProjectsAgentIntentsService) Create(parent string, googleclouddialogflo
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentIntentsCreateCall) IntentView(intentView string) *ProjectsAgentIntentsCreateCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -27916,10 +27927,10 @@ type ProjectsAgentIntentsDeleteCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The name of the intent to delete. If this intent has direct
-// or indirect followup intents, we also delete them. Supported
-// formats: - `projects//agent/intents/` -
-// `projects//locations//agent/intents/`.
+// - name: The name of the intent to delete. If this intent has direct
+// or indirect followup intents, we also delete them. Supported
+// formats: - `projects//agent/intents/` -
+// `projects//locations//agent/intents/`.
func (r *ProjectsAgentIntentsService) Delete(name string) *ProjectsAgentIntentsDeleteCall {
c := &ProjectsAgentIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28053,8 +28064,8 @@ type ProjectsAgentIntentsGetCall struct {
// Get: Retrieves the specified intent.
//
-// - name: The name of the intent. Supported formats: -
-// `projects//agent/intents/` - `projects//locations//agent/intents/`.
+// - name: The name of the intent. Supported formats: -
+// `projects//agent/intents/` - `projects//locations//agent/intents/`.
func (r *ProjectsAgentIntentsService) Get(name string) *ProjectsAgentIntentsGetCall {
c := &ProjectsAgentIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28065,9 +28076,12 @@ func (r *ProjectsAgentIntentsService) Get(name string) *ProjectsAgentIntentsGetC
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentIntentsGetCall) IntentView(intentView string) *ProjectsAgentIntentsGetCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -28242,12 +28256,12 @@ type ProjectsAgentIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents from. Format:
-// `projects//agent` or `projects//locations//agent`. Alternatively,
-// you can specify the environment to list intents for. Format:
-// `projects//agent/environments/` or
-// `projects//locations//agent/environments/`. Note: training phrases
-// of the intents will not be returned for non-draft environment.
+// - parent: The agent to list all intents from. Format:
+// `projects//agent` or `projects//locations//agent`. Alternatively,
+// you can specify the environment to list intents for. Format:
+// `projects//agent/environments/` or
+// `projects//locations//agent/environments/`. Note: training phrases
+// of the intents will not be returned for non-draft environment.
func (r *ProjectsAgentIntentsService) List(parent string) *ProjectsAgentIntentsListCall {
c := &ProjectsAgentIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -28258,9 +28272,12 @@ func (r *ProjectsAgentIntentsService) List(parent string) *ProjectsAgentIntentsL
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentIntentsListCall) IntentView(intentView string) *ProjectsAgentIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -28356,7 +28373,9 @@ func (c *ProjectsAgentIntentsListCall) doRequest(alt string) (*http.Response, er
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ListIntentsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -28484,10 +28503,10 @@ type ProjectsAgentIntentsPatchCall struct {
// agent prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: Optional. The unique identifier of this intent. Required for
-// Intents.UpdateIntent and Intents.BatchUpdateIntents methods.
-// Supported formats: - `projects//agent/intents/` -
-// `projects//locations//agent/intents/`.
+// - name: Optional. The unique identifier of this intent. Required for
+// Intents.UpdateIntent and Intents.BatchUpdateIntents methods.
+// Supported formats: - `projects//agent/intents/` -
+// `projects//locations//agent/intents/`.
func (r *ProjectsAgentIntentsService) Patch(nameid string, googleclouddialogflowv2beta1intent *GoogleCloudDialogflowV2beta1Intent) *ProjectsAgentIntentsPatchCall {
c := &ProjectsAgentIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -28499,9 +28518,12 @@ func (r *ProjectsAgentIntentsService) Patch(nameid string, googleclouddialogflow
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsAgentIntentsPatchCall) IntentView(intentView string) *ProjectsAgentIntentsPatchCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -28686,8 +28708,8 @@ type ProjectsAgentKnowledgeBasesCreateCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - parent: The project to create a knowledge base for. Format:
-// `projects//locations/`.
+// - parent: The project to create a knowledge base for. Format:
+// `projects//locations/`.
func (r *ProjectsAgentKnowledgeBasesService) Create(parent string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsAgentKnowledgeBasesCreateCall {
c := &ProjectsAgentKnowledgeBasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -28833,8 +28855,8 @@ type ProjectsAgentKnowledgeBasesDeleteCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - name: The name of the knowledge base to delete. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to delete. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesService) Delete(name string) *ProjectsAgentKnowledgeBasesDeleteCall {
c := &ProjectsAgentKnowledgeBasesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28983,8 +29005,8 @@ type ProjectsAgentKnowledgeBasesGetCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - name: The name of the knowledge base to retrieve. Format
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to retrieve. Format
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesService) Get(name string) *ProjectsAgentKnowledgeBasesGetCall {
c := &ProjectsAgentKnowledgeBasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29135,8 +29157,8 @@ type ProjectsAgentKnowledgeBasesListCall struct {
// Note: The `projects.agent.knowledgeBases` resource is deprecated;
// only use `projects.knowledgeBases`.
//
-// - parent: The project to list of knowledge bases for. Format:
-// `projects//locations/`.
+// - parent: The project to list of knowledge bases for. Format:
+// `projects//locations/`.
func (r *ProjectsAgentKnowledgeBasesService) List(parent string) *ProjectsAgentKnowledgeBasesListCall {
c := &ProjectsAgentKnowledgeBasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29358,9 +29380,9 @@ type ProjectsAgentKnowledgeBasesPatchCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - name: The knowledge base resource name. The name must be empty when
-// creating a knowledge base. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The knowledge base resource name. The name must be empty when
+// creating a knowledge base. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesService) Patch(name string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsAgentKnowledgeBasesPatchCall {
c := &ProjectsAgentKnowledgeBasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29526,8 +29548,8 @@ type ProjectsAgentKnowledgeBasesDocumentsCreateCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - parent: The knowledge base to create a document for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to create a document for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Create(parent string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsAgentKnowledgeBasesDocumentsCreateCall {
c := &ProjectsAgentKnowledgeBasesDocumentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29691,8 +29713,8 @@ type ProjectsAgentKnowledgeBasesDocumentsDeleteCall struct {
// Note: The `projects.agent.knowledgeBases.documents` resource is
// deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to delete. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to delete. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Delete(name string) *ProjectsAgentKnowledgeBasesDocumentsDeleteCall {
c := &ProjectsAgentKnowledgeBasesDocumentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29828,8 +29850,8 @@ type ProjectsAgentKnowledgeBasesDocumentsGetCall struct {
// `projects.agent.knowledgeBases.documents` resource is deprecated;
// only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to retrieve. Format
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to retrieve. Format
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Get(name string) *ProjectsAgentKnowledgeBasesDocumentsGetCall {
c := &ProjectsAgentKnowledgeBasesDocumentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29979,8 +30001,8 @@ type ProjectsAgentKnowledgeBasesDocumentsListCall struct {
// The `projects.agent.knowledgeBases.documents` resource is deprecated;
// only use `projects.knowledgeBases.documents`.
//
-// - parent: The knowledge base to list all documents for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to list all documents for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) List(parent string) *ProjectsAgentKnowledgeBasesDocumentsListCall {
c := &ProjectsAgentKnowledgeBasesDocumentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30202,9 +30224,9 @@ type ProjectsAgentKnowledgeBasesDocumentsPatchCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: Optional. The document resource name. The name must be empty
-// when creating a document. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: Optional. The document resource name. The name must be empty
+// when creating a document. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Patch(name string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsAgentKnowledgeBasesDocumentsPatchCall {
c := &ProjectsAgentKnowledgeBasesDocumentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30375,8 +30397,8 @@ type ProjectsAgentKnowledgeBasesDocumentsReloadCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to reload. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to reload. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Reload(name string, googleclouddialogflowv2beta1reloaddocumentrequest *GoogleCloudDialogflowV2beta1ReloadDocumentRequest) *ProjectsAgentKnowledgeBasesDocumentsReloadCall {
c := &ProjectsAgentKnowledgeBasesDocumentsReloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30518,15 +30540,15 @@ type ProjectsAgentSessionsDeleteContextsCall struct {
// DeleteContexts: Deletes all active contexts in the specified session.
//
-// - parent: The name of the session to delete all contexts from.
-// Supported formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The name of the session to delete all contexts from.
+// Supported formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentSessionsService) DeleteContexts(parent string) *ProjectsAgentSessionsDeleteContextsCall {
c := &ProjectsAgentSessionsDeleteContextsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30670,24 +30692,24 @@ type ProjectsAgentSessionsDetectIntentCall struct {
// for production traffic. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - session: The name of the session this query is sent to. Supported
-// formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment (`Environment ID` might be referred to as environment
-// name at some places). If `User ID` is not specified, we are using
-// "-". It's up to the API caller to choose an appropriate `Session
-// ID` and `User Id`. They can be a random number or some type of user
-// and session identifiers (preferably hashed). The length of the
-// `Session ID` and `User ID` must not exceed 36 characters. For more
-// information, see the API interactions guide
-// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
-// Always use agent versions for production traffic. See Versions and
-// environments
-// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
+// - session: The name of the session this query is sent to. Supported
+// formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment (`Environment ID` might be referred to as environment
+// name at some places). If `User ID` is not specified, we are using
+// "-". It's up to the API caller to choose an appropriate `Session
+// ID` and `User Id`. They can be a random number or some type of user
+// and session identifiers (preferably hashed). The length of the
+// `Session ID` and `User ID` must not exceed 36 characters. For more
+// information, see the API interactions guide
+// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
+// Always use agent versions for production traffic. See Versions and
+// environments
+// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
func (r *ProjectsAgentSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2beta1detectintentrequest *GoogleCloudDialogflowV2beta1DetectIntentRequest) *ProjectsAgentSessionsDetectIntentCall {
c := &ProjectsAgentSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -30833,15 +30855,15 @@ type ProjectsAgentSessionsContextsCreateCall struct {
// Create: Creates a context. If the specified context already exists,
// overrides the context.
//
-// - parent: The session to create a context for. Supported formats: -
-// `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to create a context for. Supported formats: -
+// `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentSessionsContextsService) Create(parent string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsAgentSessionsContextsCreateCall {
c := &ProjectsAgentSessionsContextsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30984,15 +31006,15 @@ type ProjectsAgentSessionsContextsDeleteCall struct {
// Delete: Deletes the specified context.
//
-// - name: The name of the context to delete. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, If `Location ID` is not specified we assume default 'us'
-// location. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user.
+// - name: The name of the context to delete. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, If `Location ID` is not specified we assume default 'us'
+// location. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user.
func (r *ProjectsAgentSessionsContextsService) Delete(name string) *ProjectsAgentSessionsContextsDeleteCall {
c := &ProjectsAgentSessionsContextsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31126,15 +31148,15 @@ type ProjectsAgentSessionsContextsGetCall struct {
// Get: Retrieves the specified context.
//
-// - name: The name of the context. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, If `Location ID` is not specified we assume default 'us'
-// location. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user.
+// - name: The name of the context. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, If `Location ID` is not specified we assume default 'us'
+// location. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user.
func (r *ProjectsAgentSessionsContextsService) Get(name string) *ProjectsAgentSessionsContextsGetCall {
c := &ProjectsAgentSessionsContextsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31282,15 +31304,15 @@ type ProjectsAgentSessionsContextsListCall struct {
// List: Returns the list of all contexts in the specified session.
//
-// - parent: The session to list all contexts from. Supported formats: -
-// `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to list all contexts from. Supported formats: -
+// `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentSessionsContextsService) List(parent string) *ProjectsAgentSessionsContextsListCall {
c := &ProjectsAgentSessionsContextsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31485,19 +31507,19 @@ type ProjectsAgentSessionsContextsPatchCall struct {
// Patch: Updates the specified context.
//
-// - name: The unique identifier of the context. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, The `Context ID` is always converted to lowercase, may only
-// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes
-// long. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user. The following context names are reserved for
-// internal use by Dialogflow. You should not use these contexts or
-// create contexts with these names: * `__system_counters__` *
-// `*_id_dialog_context` * `*_dialog_params_size`.
+// - name: The unique identifier of the context. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, The `Context ID` is always converted to lowercase, may only
+// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes
+// long. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user. The following context names are reserved for
+// internal use by Dialogflow. You should not use these contexts or
+// create contexts with these names: * `__system_counters__` *
+// `*_id_dialog_context` * `*_dialog_params_size`.
func (r *ProjectsAgentSessionsContextsService) Patch(nameid string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsAgentSessionsContextsPatchCall {
c := &ProjectsAgentSessionsContextsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -31658,15 +31680,15 @@ type ProjectsAgentSessionsEntityTypesCreateCall struct {
// Dialogflow support if you need to use session entities with Google
// Assistant integration.
//
-// - parent: The session to create a session entity type for. Supported
-// formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to create a session entity type for. Supported
+// formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsAgentSessionsEntityTypesCreateCall {
c := &ProjectsAgentSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31813,15 +31835,15 @@ type ProjectsAgentSessionsEntityTypesDeleteCall struct {
// support if you need to use session entities with Google Assistant
// integration.
//
-// - name: The name of the entity type to delete. Supported formats: -
-// `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user.
+// - name: The name of the entity type to delete. Supported formats: -
+// `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user.
func (r *ProjectsAgentSessionsEntityTypesService) Delete(name string) *ProjectsAgentSessionsEntityTypesDeleteCall {
c := &ProjectsAgentSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31957,15 +31979,15 @@ type ProjectsAgentSessionsEntityTypesGetCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The name of the session entity type. Supported formats: -
-// `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user.
+// - name: The name of the session entity type. Supported formats: -
+// `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user.
func (r *ProjectsAgentSessionsEntityTypesService) Get(name string) *ProjectsAgentSessionsEntityTypesGetCall {
c := &ProjectsAgentSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32117,15 +32139,15 @@ type ProjectsAgentSessionsEntityTypesListCall struct {
// Contact Dialogflow support if you need to use session entities with
// Google Assistant integration.
//
-// - parent: The session to list all session entity types from.
-// Supported formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to list all session entity types from.
+// Supported formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsAgentSessionsEntityTypesService) List(parent string) *ProjectsAgentSessionsEntityTypesListCall {
c := &ProjectsAgentSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -32323,17 +32345,17 @@ type ProjectsAgentSessionsEntityTypesPatchCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The unique identifier of this session entity type. Supported
-// formats: - `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user. `` must be the display
-// name of an existing entity type in the same agent that will be
-// overridden or supplemented.
+// - name: The unique identifier of this session entity type. Supported
+// formats: - `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user. “ must be the display
+// name of an existing entity type in the same agent that will be
+// overridden or supplemented.
func (r *ProjectsAgentSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsAgentSessionsEntityTypesPatchCall {
c := &ProjectsAgentSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -32492,8 +32514,8 @@ type ProjectsAgentVersionsCreateCall struct {
// Create: Creates an agent version. The new version points to the agent
// instance in the "default" environment.
//
-// - parent: The agent to create a version for. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to create a version for. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsAgentVersionsService) Create(parent string, googleclouddialogflowv2beta1version *GoogleCloudDialogflowV2beta1Version) *ProjectsAgentVersionsCreateCall {
c := &ProjectsAgentVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -32636,9 +32658,9 @@ type ProjectsAgentVersionsDeleteCall struct {
// Delete: Delete the specified agent version.
//
-// - name: The name of the version to delete. Supported formats: -
-// `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: The name of the version to delete. Supported formats: -
+// `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsAgentVersionsService) Delete(name string) *ProjectsAgentVersionsDeleteCall {
c := &ProjectsAgentVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32772,9 +32794,9 @@ type ProjectsAgentVersionsGetCall struct {
// Get: Retrieves the specified agent version.
//
-// - name: The name of the version. Supported formats: -
-// `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: The name of the version. Supported formats: -
+// `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsAgentVersionsService) Get(name string) *ProjectsAgentVersionsGetCall {
c := &ProjectsAgentVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32922,8 +32944,8 @@ type ProjectsAgentVersionsListCall struct {
// List: Returns the list of all versions of the specified agent.
//
-// - parent: The agent to list all versions from. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to list all versions from. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsAgentVersionsService) List(parent string) *ProjectsAgentVersionsListCall {
c := &ProjectsAgentVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33121,9 +33143,9 @@ type ProjectsAgentVersionsPatchCall struct {
// points to. It allows you to update only mutable properties of the
// version resource.
//
-// - name: Output only. The unique identifier of this agent version.
-// Supported formats: - `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: Output only. The unique identifier of this agent version.
+// Supported formats: - `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsAgentVersionsService) Patch(nameid string, googleclouddialogflowv2beta1version *GoogleCloudDialogflowV2beta1Version) *ProjectsAgentVersionsPatchCall {
c := &ProjectsAgentVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -33280,8 +33302,8 @@ type ProjectsAnswerRecordsGetCall struct {
// Get: Deprecated. Retrieves a specific answer record.
//
-// - name: The name of the answer record to retrieve. Format:
-// `projects//locations//answerRecords/`.
+// - name: The name of the answer record to retrieve. Format:
+// `projects//locations//answerRecords/`.
func (r *ProjectsAnswerRecordsService) Get(name string) *ProjectsAnswerRecordsGetCall {
c := &ProjectsAnswerRecordsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -33431,8 +33453,8 @@ type ProjectsAnswerRecordsListCall struct {
// List: Returns the list of all answer records in the specified project
// in reverse chronological order.
//
-// - parent: The project to list all answer records for in reverse
-// chronological order. Format: `projects//locations/`.
+// - parent: The project to list all answer records for in reverse
+// chronological order. Format: `projects//locations/`.
func (r *ProjectsAnswerRecordsService) List(parent string) *ProjectsAnswerRecordsListCall {
c := &ProjectsAnswerRecordsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33642,9 +33664,9 @@ type ProjectsAnswerRecordsPatchCall struct {
// Patch: Updates the specified answer record.
//
-// - name: The unique identifier of this answer record. Required for
-// AnswerRecords.UpdateAnswerRecord method. Format:
-// `projects//locations//answerRecords/`.
+// - name: The unique identifier of this answer record. Required for
+// AnswerRecords.UpdateAnswerRecord method. Format:
+// `projects//locations//answerRecords/`.
func (r *ProjectsAnswerRecordsService) Patch(nameid string, googleclouddialogflowv2beta1answerrecord *GoogleCloudDialogflowV2beta1AnswerRecord) *ProjectsAnswerRecordsPatchCall {
c := &ProjectsAnswerRecordsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -33808,9 +33830,9 @@ type ProjectsConversationProfilesClearSuggestionFeatureConfigCall struct {
// fields: - `metadata`: ClearSuggestionFeatureConfigOperationMetadata -
// `response`: ConversationProfile
//
-// - conversationProfile: The Conversation Profile to add or update the
-// suggestion feature config. Format:
-// `projects//locations//conversationProfiles/`.
+// - conversationProfile: The Conversation Profile to add or update the
+// suggestion feature config. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) ClearSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2beta1clearsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest) *ProjectsConversationProfilesClearSuggestionFeatureConfigCall {
c := &ProjectsConversationProfilesClearSuggestionFeatureConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.conversationProfile = conversationProfile
@@ -33956,8 +33978,8 @@ type ProjectsConversationProfilesCreateCall struct {
// aren't populated in the response. You can retrieve them via
// GetConversationProfile API.
//
-// - parent: The project to create a conversation profile for. Format:
-// `projects//locations/`.
+// - parent: The project to create a conversation profile for. Format:
+// `projects//locations/`.
func (r *ProjectsConversationProfilesService) Create(parent string, googleclouddialogflowv2beta1conversationprofile *GoogleCloudDialogflowV2beta1ConversationProfile) *ProjectsConversationProfilesCreateCall {
c := &ProjectsConversationProfilesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -34023,7 +34045,9 @@ func (c *ProjectsConversationProfilesCreateCall) doRequest(alt string) (*http.Re
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ConversationProfile.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -34101,8 +34125,8 @@ type ProjectsConversationProfilesDeleteCall struct {
// Delete: Deletes the specified conversation profile.
//
-// - name: The name of the conversation profile to delete. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The name of the conversation profile to delete. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) Delete(name string) *ProjectsConversationProfilesDeleteCall {
c := &ProjectsConversationProfilesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34236,8 +34260,8 @@ type ProjectsConversationProfilesGetCall struct {
// Get: Retrieves the specified conversation profile.
//
-// - name: The resource name of the conversation profile. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The resource name of the conversation profile. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) Get(name string) *ProjectsConversationProfilesGetCall {
c := &ProjectsConversationProfilesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34310,7 +34334,9 @@ func (c *ProjectsConversationProfilesGetCall) doRequest(alt string) (*http.Respo
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ConversationProfile.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -34387,8 +34413,8 @@ type ProjectsConversationProfilesListCall struct {
// List: Returns the list of all conversation profiles in the specified
// project.
//
-// - parent: The project to list all conversation profiles from. Format:
-// `projects//locations/`.
+// - parent: The project to list all conversation profiles from. Format:
+// `projects//locations/`.
func (r *ProjectsConversationProfilesService) List(parent string) *ProjectsConversationProfilesListCall {
c := &ProjectsConversationProfilesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -34587,8 +34613,8 @@ type ProjectsConversationProfilesPatchCall struct {
// aren't populated in the response. You can retrieve them via
// GetConversationProfile API.
//
-// - name: The unique identifier of this conversation profile. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The unique identifier of this conversation profile. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) Patch(nameid string, googleclouddialogflowv2beta1conversationprofile *GoogleCloudDialogflowV2beta1ConversationProfile) *ProjectsConversationProfilesPatchCall {
c := &ProjectsConversationProfilesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -34661,7 +34687,9 @@ func (c *ProjectsConversationProfilesPatchCall) doRequest(alt string) (*http.Res
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ConversationProfile.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -34758,9 +34786,9 @@ type ProjectsConversationProfilesSetSuggestionFeatureConfigCall struct {
// the existing long running operation before sending such request,
// otherwise the request will be rejected.
//
-// - conversationProfile: The Conversation Profile to add or update the
-// suggestion feature config. Format:
-// `projects//locations//conversationProfiles/`.
+// - conversationProfile: The Conversation Profile to add or update the
+// suggestion feature config. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsConversationProfilesService) SetSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2beta1setsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest) *ProjectsConversationProfilesSetSuggestionFeatureConfigCall {
c := &ProjectsConversationProfilesSetSuggestionFeatureConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.conversationProfile = conversationProfile
@@ -34904,8 +34932,8 @@ type ProjectsConversationsCompleteCall struct {
// Complete: Completes the specified conversation. Finished
// conversations are purged from the database after 30 days.
//
-// - name: Resource identifier of the conversation to close. Format:
-// `projects//locations//conversations/`.
+// - name: Resource identifier of the conversation to close. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsConversationsService) Complete(nameid string, googleclouddialogflowv2beta1completeconversationrequest *GoogleCloudDialogflowV2beta1CompleteConversationRequest) *ProjectsConversationsCompleteCall {
c := &ProjectsConversationsCompleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -35061,8 +35089,8 @@ type ProjectsConversationsCreateCall struct {
// Intent.live_agent_handoff is triggered, conversation will transfer to
// Assist Stage.
//
-// - parent: Resource identifier of the project creating the
-// conversation. Format: `projects//locations/`.
+// - parent: Resource identifier of the project creating the
+// conversation. Format: `projects//locations/`.
func (r *ProjectsConversationsService) Create(parentid string, googleclouddialogflowv2beta1conversation *GoogleCloudDialogflowV2beta1Conversation) *ProjectsConversationsCreateCall {
c := &ProjectsConversationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -35226,8 +35254,8 @@ type ProjectsConversationsGetCall struct {
// Get: Retrieves the specific conversation.
//
-// - name: The name of the conversation. Format:
-// `projects//locations//conversations/`.
+// - name: The name of the conversation. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsConversationsService) Get(name string) *ProjectsConversationsGetCall {
c := &ProjectsConversationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -35376,8 +35404,8 @@ type ProjectsConversationsListCall struct {
// List: Returns the list of all conversations in the specified project.
//
-// - parent: The project from which to list all conversation. Format:
-// `projects//locations/`.
+// - parent: The project from which to list all conversation. Format:
+// `projects//locations/`.
func (r *ProjectsConversationsService) List(parent string) *ProjectsConversationsListCall {
c := &ProjectsConversationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35595,8 +35623,8 @@ type ProjectsConversationsMessagesBatchCreateCall struct {
// BatchCreate: Batch ingests messages to conversation. Customers can
// use this RPC to ingest historical messages to conversation.
//
-// - parent: Resource identifier of the conversation to create message.
-// Format: `projects//locations//conversations/`.
+// - parent: Resource identifier of the conversation to create message.
+// Format: `projects//locations//conversations/`.
func (r *ProjectsConversationsMessagesService) BatchCreate(parentid string, googleclouddialogflowv2beta1batchcreatemessagesrequest *GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest) *ProjectsConversationsMessagesBatchCreateCall {
c := &ProjectsConversationsMessagesBatchCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -35746,8 +35774,8 @@ type ProjectsConversationsMessagesListCall struct {
// `create_time_epoch_microseconds > [first item's create_time of
// previous request]` and empty page_token.
//
-// - parent: The name of the conversation to list messages for. Format:
-// `projects//locations//conversations/`.
+// - parent: The name of the conversation to list messages for. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsConversationsMessagesService) List(parent string) *ProjectsConversationsMessagesListCall {
c := &ProjectsConversationsMessagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35963,8 +35991,8 @@ type ProjectsConversationsParticipantsAnalyzeContentCall struct {
// sent to virtual agents. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - participant: The name of the participant this text comes from.
-// Format: `projects//locations//conversations//participants/`.
+// - participant: The name of the participant this text comes from.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsService) AnalyzeContent(participant string, googleclouddialogflowv2beta1analyzecontentrequest *GoogleCloudDialogflowV2beta1AnalyzeContentRequest) *ProjectsConversationsParticipantsAnalyzeContentCall {
c := &ProjectsConversationsParticipantsAnalyzeContentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.participant = participant
@@ -36109,8 +36137,8 @@ type ProjectsConversationsParticipantsCreateCall struct {
// Create: Creates a new participant in a conversation.
//
-// - parent: Resource identifier of the conversation adding the
-// participant. Format: `projects//locations//conversations/`.
+// - parent: Resource identifier of the conversation adding the
+// participant. Format: `projects//locations//conversations/`.
func (r *ProjectsConversationsParticipantsService) Create(parentid string, googleclouddialogflowv2beta1participant *GoogleCloudDialogflowV2beta1Participant) *ProjectsConversationsParticipantsCreateCall {
c := &ProjectsConversationsParticipantsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -36254,8 +36282,8 @@ type ProjectsConversationsParticipantsGetCall struct {
// Get: Retrieves a conversation participant.
//
-// - name: The name of the participant. Format:
-// `projects//locations//conversations//participants/`.
+// - name: The name of the participant. Format:
+// `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsService) Get(name string) *ProjectsConversationsParticipantsGetCall {
c := &ProjectsConversationsParticipantsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -36404,8 +36432,8 @@ type ProjectsConversationsParticipantsListCall struct {
// List: Returns the list of all participants in the specified
// conversation.
//
-// - parent: The conversation to list all participants from. Format:
-// `projects//locations//conversations/`.
+// - parent: The conversation to list all participants from. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsConversationsParticipantsService) List(parent string) *ProjectsConversationsParticipantsListCall {
c := &ProjectsConversationsParticipantsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -36600,8 +36628,8 @@ type ProjectsConversationsParticipantsPatchCall struct {
// Patch: Updates the specified participant.
//
-// - name: Optional. The unique identifier of this participant. Format:
-// `projects//locations//conversations//participants/`.
+// - name: Optional. The unique identifier of this participant. Format:
+// `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsService) Patch(nameid string, googleclouddialogflowv2beta1participant *GoogleCloudDialogflowV2beta1Participant) *ProjectsConversationsParticipantsPatchCall {
c := &ProjectsConversationsParticipantsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -36763,8 +36791,8 @@ type ProjectsConversationsParticipantsSuggestionsCompileCall struct {
// compile suggestion based on the provided conversation context in the
// real time.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsSuggestionsService) Compile(parent string, googleclouddialogflowv2beta1compilesuggestionrequest *GoogleCloudDialogflowV2beta1CompileSuggestionRequest) *ProjectsConversationsParticipantsSuggestionsCompileCall {
c := &ProjectsConversationsParticipantsSuggestionsCompileCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -36922,8 +36950,8 @@ type ProjectsConversationsParticipantsSuggestionsListCall struct {
// send request with filter `create_time_epoch_microseconds > [first
// item's create_time of previous request]` and empty page_token.
//
-// - parent: The name of the participant to fetch suggestions for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestions for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsSuggestionsService) List(parent string) *ProjectsConversationsParticipantsSuggestionsListCall {
c := &ProjectsConversationsParticipantsSuggestionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -37140,8 +37168,8 @@ type ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall struct {
// to compile suggestion based on the provided conversation context in
// the real time.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestArticles(parent string, googleclouddialogflowv2beta1suggestarticlesrequest *GoogleCloudDialogflowV2beta1SuggestArticlesRequest) *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall {
c := &ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -37287,8 +37315,8 @@ type ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall struct {
// SuggestFaqAnswers: Gets suggested faq answers for a participant based
// on specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestFaqAnswers(parent string, googleclouddialogflowv2beta1suggestfaqanswersrequest *GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest) *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall {
c := &ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -37434,8 +37462,8 @@ type ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall struct
// SuggestSmartReplies: Gets smart replies for a participant based on
// specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestSmartReplies(parent string, googleclouddialogflowv2beta1suggestsmartrepliesrequest *GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest) *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall {
c := &ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -37583,8 +37611,8 @@ type ProjectsKnowledgeBasesCreateCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - parent: The project to create a knowledge base for. Format:
-// `projects//locations/`.
+// - parent: The project to create a knowledge base for. Format:
+// `projects//locations/`.
func (r *ProjectsKnowledgeBasesService) Create(parent string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsKnowledgeBasesCreateCall {
c := &ProjectsKnowledgeBasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -37730,8 +37758,8 @@ type ProjectsKnowledgeBasesDeleteCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - name: The name of the knowledge base to delete. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to delete. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesService) Delete(name string) *ProjectsKnowledgeBasesDeleteCall {
c := &ProjectsKnowledgeBasesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -37880,8 +37908,8 @@ type ProjectsKnowledgeBasesGetCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - name: The name of the knowledge base to retrieve. Format
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to retrieve. Format
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesService) Get(name string) *ProjectsKnowledgeBasesGetCall {
c := &ProjectsKnowledgeBasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -38032,8 +38060,8 @@ type ProjectsKnowledgeBasesListCall struct {
// Note: The `projects.agent.knowledgeBases` resource is deprecated;
// only use `projects.knowledgeBases`.
//
-// - parent: The project to list of knowledge bases for. Format:
-// `projects//locations/`.
+// - parent: The project to list of knowledge bases for. Format:
+// `projects//locations/`.
func (r *ProjectsKnowledgeBasesService) List(parent string) *ProjectsKnowledgeBasesListCall {
c := &ProjectsKnowledgeBasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -38255,9 +38283,9 @@ type ProjectsKnowledgeBasesPatchCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - name: The knowledge base resource name. The name must be empty when
-// creating a knowledge base. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The knowledge base resource name. The name must be empty when
+// creating a knowledge base. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesService) Patch(name string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsKnowledgeBasesPatchCall {
c := &ProjectsKnowledgeBasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -38423,8 +38451,8 @@ type ProjectsKnowledgeBasesDocumentsCreateCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - parent: The knowledge base to create a document for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to create a document for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Create(parent string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsKnowledgeBasesDocumentsCreateCall {
c := &ProjectsKnowledgeBasesDocumentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -38588,8 +38616,8 @@ type ProjectsKnowledgeBasesDocumentsDeleteCall struct {
// Note: The `projects.agent.knowledgeBases.documents` resource is
// deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to delete. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to delete. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Delete(name string) *ProjectsKnowledgeBasesDocumentsDeleteCall {
c := &ProjectsKnowledgeBasesDocumentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -38725,8 +38753,8 @@ type ProjectsKnowledgeBasesDocumentsGetCall struct {
// `projects.agent.knowledgeBases.documents` resource is deprecated;
// only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to retrieve. Format
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to retrieve. Format
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Get(name string) *ProjectsKnowledgeBasesDocumentsGetCall {
c := &ProjectsKnowledgeBasesDocumentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -38881,8 +38909,8 @@ type ProjectsKnowledgeBasesDocumentsImportCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// ImportDocumentsResponse
//
-// - parent: The knowledge base to import documents into. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to import documents into. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Import(parent string, googleclouddialogflowv2beta1importdocumentsrequest *GoogleCloudDialogflowV2beta1ImportDocumentsRequest) *ProjectsKnowledgeBasesDocumentsImportCall {
c := &ProjectsKnowledgeBasesDocumentsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -39027,8 +39055,8 @@ type ProjectsKnowledgeBasesDocumentsListCall struct {
// The `projects.agent.knowledgeBases.documents` resource is deprecated;
// only use `projects.knowledgeBases.documents`.
//
-// - parent: The knowledge base to list all documents for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to list all documents for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsKnowledgeBasesDocumentsService) List(parent string) *ProjectsKnowledgeBasesDocumentsListCall {
c := &ProjectsKnowledgeBasesDocumentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -39250,9 +39278,9 @@ type ProjectsKnowledgeBasesDocumentsPatchCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: Optional. The document resource name. The name must be empty
-// when creating a document. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: Optional. The document resource name. The name must be empty
+// when creating a document. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Patch(name string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsKnowledgeBasesDocumentsPatchCall {
c := &ProjectsKnowledgeBasesDocumentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -39423,8 +39451,8 @@ type ProjectsKnowledgeBasesDocumentsReloadCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to reload. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to reload. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsKnowledgeBasesDocumentsService) Reload(name string, googleclouddialogflowv2beta1reloaddocumentrequest *GoogleCloudDialogflowV2beta1ReloadDocumentRequest) *ProjectsKnowledgeBasesDocumentsReloadCall {
c := &ProjectsKnowledgeBasesDocumentsReloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -39566,8 +39594,8 @@ type ProjectsLocationsDeleteAgentCall struct {
// DeleteAgent: Deletes the specified agent.
//
-// - parent: The project that the agent to delete is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to delete is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsLocationsService) DeleteAgent(parent string) *ProjectsLocationsDeleteAgentCall {
c := &ProjectsLocationsDeleteAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -39848,8 +39876,8 @@ type ProjectsLocationsGetAgentCall struct {
// GetAgent: Retrieves the specified agent.
//
-// - parent: The project that the agent to fetch is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to fetch is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsLocationsService) GetAgent(parent string) *ProjectsLocationsGetAgentCall {
c := &ProjectsLocationsGetAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -39998,8 +40026,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -40211,8 +40239,8 @@ type ProjectsLocationsSetAgentCall struct {
// always train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project of this agent. Format: `projects/` or
-// `projects//locations/`.
+// - parent: The project of this agent. Format: `projects/` or
+// `projects//locations/`.
func (r *ProjectsLocationsService) SetAgent(parent string, googleclouddialogflowv2beta1agent *GoogleCloudDialogflowV2beta1Agent) *ProjectsLocationsSetAgentCall {
c := &ProjectsLocationsSetAgentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -40375,8 +40403,8 @@ type ProjectsLocationsAgentExportCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: ExportAgentResponse
//
-// - parent: The project that the agent to export is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to export is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsLocationsAgentService) Export(parent string, googleclouddialogflowv2beta1exportagentrequest *GoogleCloudDialogflowV2beta1ExportAgentRequest) *ProjectsLocationsAgentExportCall {
c := &ProjectsLocationsAgentExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -40519,9 +40547,9 @@ type ProjectsLocationsAgentGetFulfillmentCall struct {
// GetFulfillment: Retrieves the fulfillment.
//
-// - name: The name of the fulfillment. Supported formats: -
-// `projects//agent/fulfillment` -
-// `projects//locations//agent/fulfillment`.
+// - name: The name of the fulfillment. Supported formats: -
+// `projects//agent/fulfillment` -
+// `projects//locations//agent/fulfillment`.
func (r *ProjectsLocationsAgentService) GetFulfillment(name string) *ProjectsLocationsAgentGetFulfillmentCall {
c := &ProjectsLocationsAgentGetFulfillmentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -40671,8 +40699,8 @@ type ProjectsLocationsAgentGetValidationResultCall struct {
// is performed during training time and is updated automatically when
// training is completed.
//
-// - parent: The project that the agent is associated with. Format:
-// `projects/` or `projects//locations/`.
+// - parent: The project that the agent is associated with. Format:
+// `projects/` or `projects//locations/`.
func (r *ProjectsLocationsAgentService) GetValidationResult(parent string) *ProjectsLocationsAgentGetValidationResultCall {
c := &ProjectsLocationsAgentGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -40855,8 +40883,8 @@ type ProjectsLocationsAgentImportCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to import is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to import is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsLocationsAgentService) Import(parent string, googleclouddialogflowv2beta1importagentrequest *GoogleCloudDialogflowV2beta1ImportAgentRequest) *ProjectsLocationsAgentImportCall {
c := &ProjectsLocationsAgentImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -41016,8 +41044,8 @@ type ProjectsLocationsAgentRestoreCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to restore is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to restore is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsLocationsAgentService) Restore(parent string, googleclouddialogflowv2beta1restoreagentrequest *GoogleCloudDialogflowV2beta1RestoreAgentRequest) *ProjectsLocationsAgentRestoreCall {
c := &ProjectsLocationsAgentRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -41165,8 +41193,8 @@ type ProjectsLocationsAgentSearchCall struct {
// Sub-Collections
// (https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
//
-// - parent: The project to list agents from. Format: `projects/` or
-// `projects//locations/`.
+// - parent: The project to list agents from. Format: `projects/` or
+// `projects//locations/`.
func (r *ProjectsLocationsAgentService) Search(parent string) *ProjectsLocationsAgentSearchCall {
c := &ProjectsLocationsAgentSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -41371,8 +41399,8 @@ type ProjectsLocationsAgentTrainCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The project that the agent to train is associated with.
-// Format: `projects/` or `projects//locations/`.
+// - parent: The project that the agent to train is associated with.
+// Format: `projects/` or `projects//locations/`.
func (r *ProjectsLocationsAgentService) Train(parent string, googleclouddialogflowv2beta1trainagentrequest *GoogleCloudDialogflowV2beta1TrainAgentRequest) *ProjectsLocationsAgentTrainCall {
c := &ProjectsLocationsAgentTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -41517,8 +41545,8 @@ type ProjectsLocationsAgentUpdateFulfillmentCall struct {
//
// - name: The unique identifier of the fulfillment. Supported formats:
// - `projects//agent/fulfillment` -
-// `projects//locations//agent/fulfillment` This field is not used for
-// Fulfillment in an Environment.
+// `projects//locations//agent/fulfillment` This field is not used for
+// Fulfillment in an Environment.
func (r *ProjectsLocationsAgentService) UpdateFulfillment(nameid string, googleclouddialogflowv2beta1fulfillment *GoogleCloudDialogflowV2beta1Fulfillment) *ProjectsLocationsAgentUpdateFulfillmentCall {
c := &ProjectsLocationsAgentUpdateFulfillmentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -41686,9 +41714,9 @@ type ProjectsLocationsAgentEntityTypesBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to delete all entities types for.
-// Supported formats: - `projects//agent`, -
-// `projects//locations//agent`.
+// - parent: The name of the agent to delete all entities types for.
+// Supported formats: - `projects//agent`, -
+// `projects//locations//agent`.
func (r *ProjectsLocationsAgentEntityTypesService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteentitytypesrequest *GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest) *ProjectsLocationsAgentEntityTypesBatchDeleteCall {
c := &ProjectsLocationsAgentEntityTypesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -41839,9 +41867,9 @@ type ProjectsLocationsAgentEntityTypesBatchUpdateCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to update or create entity types in.
-// Supported formats: - `projects//agent` -
-// `projects//locations//agent`.
+// - parent: The name of the agent to update or create entity types in.
+// Supported formats: - `projects//agent` -
+// `projects//locations//agent`.
func (r *ProjectsLocationsAgentEntityTypesService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateentitytypesrequest *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest) *ProjectsLocationsAgentEntityTypesBatchUpdateCall {
c := &ProjectsLocationsAgentEntityTypesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -41987,8 +42015,8 @@ type ProjectsLocationsAgentEntityTypesCreateCall struct {
// training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The agent to create a entity type for. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to create a entity type for. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsLocationsAgentEntityTypesService) Create(parent string, googleclouddialogflowv2beta1entitytype *GoogleCloudDialogflowV2beta1EntityType) *ProjectsLocationsAgentEntityTypesCreateCall {
c := &ProjectsLocationsAgentEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -42148,9 +42176,9 @@ type ProjectsLocationsAgentEntityTypesDeleteCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The name of the entity type to delete. Supported formats: -
-// `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - name: The name of the entity type to delete. Supported formats: -
+// `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesService) Delete(name string) *ProjectsLocationsAgentEntityTypesDeleteCall {
c := &ProjectsLocationsAgentEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -42284,9 +42312,9 @@ type ProjectsLocationsAgentEntityTypesGetCall struct {
// Get: Retrieves the specified entity type.
//
-// - name: The name of the entity type. Supported formats: -
-// `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - name: The name of the entity type. Supported formats: -
+// `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesService) Get(name string) *ProjectsLocationsAgentEntityTypesGetCall {
c := &ProjectsLocationsAgentEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -42662,10 +42690,10 @@ type ProjectsLocationsAgentEntityTypesPatchCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The unique identifier of the entity type. Required for
-// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
-// methods. Supported formats: - `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - name: The unique identifier of the entity type. Required for
+// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes
+// methods. Supported formats: - `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1entitytype *GoogleCloudDialogflowV2beta1EntityType) *ProjectsLocationsAgentEntityTypesPatchCall {
c := &ProjectsLocationsAgentEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -42847,9 +42875,9 @@ type ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to create entities in.
-// Supported formats: - `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - parent: The name of the entity type to create entities in.
+// Supported formats: - `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchCreate(parent string, googleclouddialogflowv2beta1batchcreateentitiesrequest *GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest) *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall {
c := &ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -43002,9 +43030,9 @@ type ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the entity type to delete entries for.
-// Supported formats: - `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - parent: The name of the entity type to delete entries for.
+// Supported formats: - `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteentitiesrequest *GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest) *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall {
c := &ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -43158,9 +43186,9 @@ type ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall struct {
// - `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - parent: The name of the entity type to update or create entities
-// in. Supported formats: - `projects//agent/entityTypes/` -
-// `projects//locations//agent/entityTypes/`.
+// - parent: The name of the entity type to update or create entities
+// in. Supported formats: - `projects//agent/entityTypes/` -
+// `projects//locations//agent/entityTypes/`.
func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateentitiesrequest *GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest) *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall {
c := &ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -43459,9 +43487,9 @@ type ProjectsLocationsAgentEnvironmentsDeleteCall struct {
// Delete: Deletes the specified agent environment.
//
-// - name: The name of the environment to delete. / Format: -
-// `projects//agent/environments/` -
-// `projects//locations//agent/environments/`.
+// - name: The name of the environment to delete. / Format: -
+// `projects//agent/environments/` -
+// `projects//locations//agent/environments/`.
func (r *ProjectsLocationsAgentEnvironmentsService) Delete(name string) *ProjectsLocationsAgentEnvironmentsDeleteCall {
c := &ProjectsLocationsAgentEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -43595,9 +43623,9 @@ type ProjectsLocationsAgentEnvironmentsGetCall struct {
// Get: Retrieves the specified agent environment.
//
-// - name: The name of the environment. Supported formats: -
-// `projects//agent/environments/` -
-// `projects//locations//agent/environments/`.
+// - name: The name of the environment. Supported formats: -
+// `projects//agent/environments/` -
+// `projects//locations//agent/environments/`.
func (r *ProjectsLocationsAgentEnvironmentsService) Get(name string) *ProjectsLocationsAgentEnvironmentsGetCall {
c := &ProjectsLocationsAgentEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -43745,9 +43773,9 @@ type ProjectsLocationsAgentEnvironmentsGetHistoryCall struct {
// GetHistory: Gets the history of the specified environment.
//
-// - parent: The name of the environment to retrieve history for.
-// Supported formats: - `projects//agent/environments/` -
-// `projects//locations//agent/environments/`.
+// - parent: The name of the environment to retrieve history for.
+// Supported formats: - `projects//agent/environments/` -
+// `projects//locations//agent/environments/`.
func (r *ProjectsLocationsAgentEnvironmentsService) GetHistory(parent string) *ProjectsLocationsAgentEnvironmentsGetHistoryCall {
c := &ProjectsLocationsAgentEnvironmentsGetHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -43943,8 +43971,8 @@ type ProjectsLocationsAgentEnvironmentsListCall struct {
// List: Returns the list of all non-draft environments of the specified
// agent.
//
-// - parent: The agent to list all environments from. Format: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to list all environments from. Format: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsLocationsAgentEnvironmentsService) List(parent string) *ProjectsLocationsAgentEnvironmentsListCall {
c := &ProjectsLocationsAgentEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -44149,9 +44177,9 @@ type ProjectsLocationsAgentEnvironmentsPatchCall struct {
// recent changes to draft and can't be undone. You may want to save the
// draft to a version before calling this function.
//
-// - name: Output only. The unique identifier of this agent environment.
-// Supported formats: - `projects//agent/environments/` -
-// `projects//locations//agent/environments/`.
+// - name: Output only. The unique identifier of this agent environment.
+// Supported formats: - `projects//agent/environments/` -
+// `projects//locations//agent/environments/`.
func (r *ProjectsLocationsAgentEnvironmentsService) Patch(nameid string, googleclouddialogflowv2beta1environment *GoogleCloudDialogflowV2beta1Environment) *ProjectsLocationsAgentEnvironmentsPatchCall {
c := &ProjectsLocationsAgentEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -44324,12 +44352,12 @@ type ProjectsLocationsAgentEnvironmentsIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents from. Format:
-// `projects//agent` or `projects//locations//agent`. Alternatively,
-// you can specify the environment to list intents for. Format:
-// `projects//agent/environments/` or
-// `projects//locations//agent/environments/`. Note: training phrases
-// of the intents will not be returned for non-draft environment.
+// - parent: The agent to list all intents from. Format:
+// `projects//agent` or `projects//locations//agent`. Alternatively,
+// you can specify the environment to list intents for. Format:
+// `projects//agent/environments/` or
+// `projects//locations//agent/environments/`. Note: training phrases
+// of the intents will not be returned for non-draft environment.
func (r *ProjectsLocationsAgentEnvironmentsIntentsService) List(parent string) *ProjectsLocationsAgentEnvironmentsIntentsListCall {
c := &ProjectsLocationsAgentEnvironmentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -44340,9 +44368,12 @@ func (r *ProjectsLocationsAgentEnvironmentsIntentsService) List(parent string) *
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentEnvironmentsIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -44438,7 +44469,9 @@ func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) doRequest(alt string
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ListIntentsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -44563,15 +44596,15 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall struct {
// DeleteContexts: Deletes all active contexts in the specified session.
//
-// - parent: The name of the session to delete all contexts from.
-// Supported formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The name of the session to delete all contexts from.
+// Supported formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsService) DeleteContexts(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -44715,24 +44748,24 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall struct {
// for production traffic. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - session: The name of the session this query is sent to. Supported
-// formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment (`Environment ID` might be referred to as environment
-// name at some places). If `User ID` is not specified, we are using
-// "-". It's up to the API caller to choose an appropriate `Session
-// ID` and `User Id`. They can be a random number or some type of user
-// and session identifiers (preferably hashed). The length of the
-// `Session ID` and `User ID` must not exceed 36 characters. For more
-// information, see the API interactions guide
-// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
-// Always use agent versions for production traffic. See Versions and
-// environments
-// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
+// - session: The name of the session this query is sent to. Supported
+// formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment (`Environment ID` might be referred to as environment
+// name at some places). If `User ID` is not specified, we are using
+// "-". It's up to the API caller to choose an appropriate `Session
+// ID` and `User Id`. They can be a random number or some type of user
+// and session identifiers (preferably hashed). The length of the
+// `Session ID` and `User ID` must not exceed 36 characters. For more
+// information, see the API interactions guide
+// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
+// Always use agent versions for production traffic. See Versions and
+// environments
+// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2beta1detectintentrequest *GoogleCloudDialogflowV2beta1DetectIntentRequest) *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -44878,15 +44911,15 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall struct {
// Create: Creates a context. If the specified context already exists,
// overrides the context.
//
-// - parent: The session to create a context for. Supported formats: -
-// `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to create a context for. Supported formats: -
+// `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Create(parent string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -45029,15 +45062,15 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall struct {
// Delete: Deletes the specified context.
//
-// - name: The name of the context to delete. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, If `Location ID` is not specified we assume default 'us'
-// location. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user.
+// - name: The name of the context to delete. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, If `Location ID` is not specified we assume default 'us'
+// location. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Delete(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -45171,15 +45204,15 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall struct {
// Get: Retrieves the specified context.
//
-// - name: The name of the context. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, If `Location ID` is not specified we assume default 'us'
-// location. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user.
+// - name: The name of the context. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, If `Location ID` is not specified we assume default 'us'
+// location. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Get(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -45327,15 +45360,15 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall struct {
// List: Returns the list of all contexts in the specified session.
//
-// - parent: The session to list all contexts from. Supported formats: -
-// `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to list all contexts from. Supported formats: -
+// `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) List(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -45530,19 +45563,19 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall struct {
// Patch: Updates the specified context.
//
-// - name: The unique identifier of the context. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, The `Context ID` is always converted to lowercase, may only
-// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes
-// long. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user. The following context names are reserved for
-// internal use by Dialogflow. You should not use these contexts or
-// create contexts with these names: * `__system_counters__` *
-// `*_id_dialog_context` * `*_dialog_params_size`.
+// - name: The unique identifier of the context. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, The `Context ID` is always converted to lowercase, may only
+// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes
+// long. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user. The following context names are reserved for
+// internal use by Dialogflow. You should not use these contexts or
+// create contexts with these names: * `__system_counters__` *
+// `*_id_dialog_context` * `*_dialog_params_size`.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Patch(nameid string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -45703,15 +45736,15 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall struct
// Dialogflow support if you need to use session entities with Google
// Assistant integration.
//
-// - parent: The session to create a session entity type for. Supported
-// formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to create a session entity type for. Supported
+// formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -45858,15 +45891,15 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall struct
// support if you need to use session entities with Google Assistant
// integration.
//
-// - name: The name of the entity type to delete. Supported formats: -
-// `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user.
+// - name: The name of the entity type to delete. Supported formats: -
+// `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -46002,15 +46035,15 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The name of the session entity type. Supported formats: -
-// `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user.
+// - name: The name of the session entity type. Supported formats: -
+// `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -46162,15 +46195,15 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall struct {
// Contact Dialogflow support if you need to use session entities with
// Google Assistant integration.
//
-// - parent: The session to list all session entity types from.
-// Supported formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to list all session entity types from.
+// Supported formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -46368,17 +46401,17 @@ type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall struct
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The unique identifier of this session entity type. Supported
-// formats: - `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user. `` must be the display
-// name of an existing entity type in the same agent that will be
-// overridden or supplemented.
+// - name: The unique identifier of this session entity type. Supported
+// formats: - `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user. “ must be the display
+// name of an existing entity type in the same agent that will be
+// overridden or supplemented.
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall {
c := &ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -46546,9 +46579,9 @@ type ProjectsLocationsAgentIntentsBatchDeleteCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to delete all entities types for.
-// Supported formats: - `projects//agent` -
-// `projects//locations//agent`.
+// - parent: The name of the agent to delete all entities types for.
+// Supported formats: - `projects//agent` -
+// `projects//locations//agent`.
func (r *ProjectsLocationsAgentIntentsService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteintentsrequest *GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest) *ProjectsLocationsAgentIntentsBatchDeleteCall {
c := &ProjectsLocationsAgentIntentsBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -46699,9 +46732,9 @@ type ProjectsLocationsAgentIntentsBatchUpdateCall struct {
// train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The name of the agent to update or create intents in.
-// Supported formats: - `projects//agent` -
-// `projects//locations//agent`.
+// - parent: The name of the agent to update or create intents in.
+// Supported formats: - `projects//agent` -
+// `projects//locations//agent`.
func (r *ProjectsLocationsAgentIntentsService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateintentsrequest *GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest) *ProjectsLocationsAgentIntentsBatchUpdateCall {
c := &ProjectsLocationsAgentIntentsBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -46846,8 +46879,8 @@ type ProjectsLocationsAgentIntentsCreateCall struct {
// always train an agent prior to sending it queries. See the training
// documentation (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - parent: The agent to create a intent for. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to create a intent for. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsLocationsAgentIntentsService) Create(parent string, googleclouddialogflowv2beta1intent *GoogleCloudDialogflowV2beta1Intent) *ProjectsLocationsAgentIntentsCreateCall {
c := &ProjectsLocationsAgentIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -46859,9 +46892,12 @@ func (r *ProjectsLocationsAgentIntentsService) Create(parent string, googlecloud
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentIntentsCreateCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsCreateCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -47033,10 +47069,10 @@ type ProjectsLocationsAgentIntentsDeleteCall struct {
// sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: The name of the intent to delete. If this intent has direct
-// or indirect followup intents, we also delete them. Supported
-// formats: - `projects//agent/intents/` -
-// `projects//locations//agent/intents/`.
+// - name: The name of the intent to delete. If this intent has direct
+// or indirect followup intents, we also delete them. Supported
+// formats: - `projects//agent/intents/` -
+// `projects//locations//agent/intents/`.
func (r *ProjectsLocationsAgentIntentsService) Delete(name string) *ProjectsLocationsAgentIntentsDeleteCall {
c := &ProjectsLocationsAgentIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -47170,8 +47206,8 @@ type ProjectsLocationsAgentIntentsGetCall struct {
// Get: Retrieves the specified intent.
//
-// - name: The name of the intent. Supported formats: -
-// `projects//agent/intents/` - `projects//locations//agent/intents/`.
+// - name: The name of the intent. Supported formats: -
+// `projects//agent/intents/` - `projects//locations//agent/intents/`.
func (r *ProjectsLocationsAgentIntentsService) Get(name string) *ProjectsLocationsAgentIntentsGetCall {
c := &ProjectsLocationsAgentIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -47182,9 +47218,12 @@ func (r *ProjectsLocationsAgentIntentsService) Get(name string) *ProjectsLocatio
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentIntentsGetCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsGetCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -47359,12 +47398,12 @@ type ProjectsLocationsAgentIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents from. Format:
-// `projects//agent` or `projects//locations//agent`. Alternatively,
-// you can specify the environment to list intents for. Format:
-// `projects//agent/environments/` or
-// `projects//locations//agent/environments/`. Note: training phrases
-// of the intents will not be returned for non-draft environment.
+// - parent: The agent to list all intents from. Format:
+// `projects//agent` or `projects//locations//agent`. Alternatively,
+// you can specify the environment to list intents for. Format:
+// `projects//agent/environments/` or
+// `projects//locations//agent/environments/`. Note: training phrases
+// of the intents will not be returned for non-draft environment.
func (r *ProjectsLocationsAgentIntentsService) List(parent string) *ProjectsLocationsAgentIntentsListCall {
c := &ProjectsLocationsAgentIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -47375,9 +47414,12 @@ func (r *ProjectsLocationsAgentIntentsService) List(parent string) *ProjectsLoca
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -47473,7 +47515,9 @@ func (c *ProjectsLocationsAgentIntentsListCall) doRequest(alt string) (*http.Res
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ListIntentsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -47601,10 +47645,10 @@ type ProjectsLocationsAgentIntentsPatchCall struct {
// agent prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/es/docs/training).
//
-// - name: Optional. The unique identifier of this intent. Required for
-// Intents.UpdateIntent and Intents.BatchUpdateIntents methods.
-// Supported formats: - `projects//agent/intents/` -
-// `projects//locations//agent/intents/`.
+// - name: Optional. The unique identifier of this intent. Required for
+// Intents.UpdateIntent and Intents.BatchUpdateIntents methods.
+// Supported formats: - `projects//agent/intents/` -
+// `projects//locations//agent/intents/`.
func (r *ProjectsLocationsAgentIntentsService) Patch(nameid string, googleclouddialogflowv2beta1intent *GoogleCloudDialogflowV2beta1Intent) *ProjectsLocationsAgentIntentsPatchCall {
c := &ProjectsLocationsAgentIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -47616,9 +47660,12 @@ func (r *ProjectsLocationsAgentIntentsService) Patch(nameid string, googlecloudd
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
+// "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
+//
// in the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentIntentsPatchCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsPatchCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -47800,15 +47847,15 @@ type ProjectsLocationsAgentSessionsDeleteContextsCall struct {
// DeleteContexts: Deletes all active contexts in the specified session.
//
-// - parent: The name of the session to delete all contexts from.
-// Supported formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The name of the session to delete all contexts from.
+// Supported formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentSessionsService) DeleteContexts(parent string) *ProjectsLocationsAgentSessionsDeleteContextsCall {
c := &ProjectsLocationsAgentSessionsDeleteContextsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -47952,24 +47999,24 @@ type ProjectsLocationsAgentSessionsDetectIntentCall struct {
// for production traffic. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - session: The name of the session this query is sent to. Supported
-// formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment (`Environment ID` might be referred to as environment
-// name at some places). If `User ID` is not specified, we are using
-// "-". It's up to the API caller to choose an appropriate `Session
-// ID` and `User Id`. They can be a random number or some type of user
-// and session identifiers (preferably hashed). The length of the
-// `Session ID` and `User ID` must not exceed 36 characters. For more
-// information, see the API interactions guide
-// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
-// Always use agent versions for production traffic. See Versions and
-// environments
-// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
+// - session: The name of the session this query is sent to. Supported
+// formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment (`Environment ID` might be referred to as environment
+// name at some places). If `User ID` is not specified, we are using
+// "-". It's up to the API caller to choose an appropriate `Session
+// ID` and `User Id`. They can be a random number or some type of user
+// and session identifiers (preferably hashed). The length of the
+// `Session ID` and `User ID` must not exceed 36 characters. For more
+// information, see the API interactions guide
+// (https://cloud.google.com/dialogflow/docs/api-overview). Note:
+// Always use agent versions for production traffic. See Versions and
+// environments
+// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
func (r *ProjectsLocationsAgentSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2beta1detectintentrequest *GoogleCloudDialogflowV2beta1DetectIntentRequest) *ProjectsLocationsAgentSessionsDetectIntentCall {
c := &ProjectsLocationsAgentSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -48115,15 +48162,15 @@ type ProjectsLocationsAgentSessionsContextsCreateCall struct {
// Create: Creates a context. If the specified context already exists,
// overrides the context.
//
-// - parent: The session to create a context for. Supported formats: -
-// `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to create a context for. Supported formats: -
+// `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentSessionsContextsService) Create(parent string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsLocationsAgentSessionsContextsCreateCall {
c := &ProjectsLocationsAgentSessionsContextsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -48266,15 +48313,15 @@ type ProjectsLocationsAgentSessionsContextsDeleteCall struct {
// Delete: Deletes the specified context.
//
-// - name: The name of the context to delete. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, If `Location ID` is not specified we assume default 'us'
-// location. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user.
+// - name: The name of the context to delete. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, If `Location ID` is not specified we assume default 'us'
+// location. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user.
func (r *ProjectsLocationsAgentSessionsContextsService) Delete(name string) *ProjectsLocationsAgentSessionsContextsDeleteCall {
c := &ProjectsLocationsAgentSessionsContextsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -48408,15 +48455,15 @@ type ProjectsLocationsAgentSessionsContextsGetCall struct {
// Get: Retrieves the specified context.
//
-// - name: The name of the context. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, If `Location ID` is not specified we assume default 'us'
-// location. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user.
+// - name: The name of the context. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, If `Location ID` is not specified we assume default 'us'
+// location. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user.
func (r *ProjectsLocationsAgentSessionsContextsService) Get(name string) *ProjectsLocationsAgentSessionsContextsGetCall {
c := &ProjectsLocationsAgentSessionsContextsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -48564,15 +48611,15 @@ type ProjectsLocationsAgentSessionsContextsListCall struct {
// List: Returns the list of all contexts in the specified session.
//
-// - parent: The session to list all contexts from. Supported formats: -
-// `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to list all contexts from. Supported formats: -
+// `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentSessionsContextsService) List(parent string) *ProjectsLocationsAgentSessionsContextsListCall {
c := &ProjectsLocationsAgentSessionsContextsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -48767,19 +48814,19 @@ type ProjectsLocationsAgentSessionsContextsPatchCall struct {
// Patch: Updates the specified context.
//
-// - name: The unique identifier of the context. Supported formats: -
-// `projects//agent/sessions//contexts/`, -
-// `projects//locations//agent/sessions//contexts/`, -
-// `projects//agent/environments//users//sessions//contexts/`, -
-// `projects//locations//agent/environments//users//sessions//contexts/
-// `, The `Context ID` is always converted to lowercase, may only
-// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes
-// long. If `Environment ID` is not specified, we assume default
-// 'draft' environment. If `User ID` is not specified, we assume
-// default '-' user. The following context names are reserved for
-// internal use by Dialogflow. You should not use these contexts or
-// create contexts with these names: * `__system_counters__` *
-// `*_id_dialog_context` * `*_dialog_params_size`.
+// - name: The unique identifier of the context. Supported formats: -
+// `projects//agent/sessions//contexts/`, -
+// `projects//locations//agent/sessions//contexts/`, -
+// `projects//agent/environments//users//sessions//contexts/`, -
+// `projects//locations//agent/environments//users//sessions//contexts/
+// `, The `Context ID` is always converted to lowercase, may only
+// contain characters in a-zA-Z0-9_-% and may be at most 250 bytes
+// long. If `Environment ID` is not specified, we assume default
+// 'draft' environment. If `User ID` is not specified, we assume
+// default '-' user. The following context names are reserved for
+// internal use by Dialogflow. You should not use these contexts or
+// create contexts with these names: * `__system_counters__` *
+// `*_id_dialog_context` * `*_dialog_params_size`.
func (r *ProjectsLocationsAgentSessionsContextsService) Patch(nameid string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsLocationsAgentSessionsContextsPatchCall {
c := &ProjectsLocationsAgentSessionsContextsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -48940,15 +48987,15 @@ type ProjectsLocationsAgentSessionsEntityTypesCreateCall struct {
// Dialogflow support if you need to use session entities with Google
// Assistant integration.
//
-// - parent: The session to create a session entity type for. Supported
-// formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to create a session entity type for. Supported
+// formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsLocationsAgentSessionsEntityTypesCreateCall {
c := &ProjectsLocationsAgentSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -49095,15 +49142,15 @@ type ProjectsLocationsAgentSessionsEntityTypesDeleteCall struct {
// support if you need to use session entities with Google Assistant
// integration.
//
-// - name: The name of the entity type to delete. Supported formats: -
-// `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user.
+// - name: The name of the entity type to delete. Supported formats: -
+// `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentSessionsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -49239,15 +49286,15 @@ type ProjectsLocationsAgentSessionsEntityTypesGetCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The name of the session entity type. Supported formats: -
-// `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user.
+// - name: The name of the session entity type. Supported formats: -
+// `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentSessionsEntityTypesGetCall {
c := &ProjectsLocationsAgentSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -49399,15 +49446,15 @@ type ProjectsLocationsAgentSessionsEntityTypesListCall struct {
// Contact Dialogflow support if you need to use session entities with
// Google Assistant integration.
//
-// - parent: The session to list all session entity types from.
-// Supported formats: - `projects//agent/sessions/, -
-// `projects//locations//agent/sessions/`, -
-// `projects//agent/environments//users//sessions/`, -
-// `projects//locations//agent/environments//users//sessions/`, If
-// `Location ID` is not specified we assume default 'us' location. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. If `User ID` is not specified, we assume default '-'
-// user.
+// - parent: The session to list all session entity types from.
+// Supported formats: - `projects//agent/sessions/, -
+// `projects//locations//agent/sessions/`, -
+// `projects//agent/environments//users//sessions/`, -
+// `projects//locations//agent/environments//users//sessions/`, If
+// `Location ID` is not specified we assume default 'us' location. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. If `User ID` is not specified, we assume default '-'
+// user.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentSessionsEntityTypesListCall {
c := &ProjectsLocationsAgentSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -49605,17 +49652,17 @@ type ProjectsLocationsAgentSessionsEntityTypesPatchCall struct {
// work with Google Assistant integration. Contact Dialogflow support if
// you need to use session entities with Google Assistant integration.
//
-// - name: The unique identifier of this session entity type. Supported
-// formats: - `projects//agent/sessions//entityTypes/` -
-// `projects//locations//agent/sessions//entityTypes/` -
-// `projects//agent/environments//users//sessions//entityTypes/` -
-// `projects//locations//agent/environments/
-// /users//sessions//entityTypes/` If `Location ID` is not specified
-// we assume default 'us' location. If `Environment ID` is not
-// specified, we assume default 'draft' environment. If `User ID` is
-// not specified, we assume default '-' user. `` must be the display
-// name of an existing entity type in the same agent that will be
-// overridden or supplemented.
+// - name: The unique identifier of this session entity type. Supported
+// formats: - `projects//agent/sessions//entityTypes/` -
+// `projects//locations//agent/sessions//entityTypes/` -
+// `projects//agent/environments//users//sessions//entityTypes/` -
+// `projects//locations//agent/environments/
+// /users//sessions//entityTypes/` If `Location ID` is not specified
+// we assume default 'us' location. If `Environment ID` is not
+// specified, we assume default 'draft' environment. If `User ID` is
+// not specified, we assume default '-' user. “ must be the display
+// name of an existing entity type in the same agent that will be
+// overridden or supplemented.
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsLocationsAgentSessionsEntityTypesPatchCall {
c := &ProjectsLocationsAgentSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -49774,8 +49821,8 @@ type ProjectsLocationsAgentVersionsCreateCall struct {
// Create: Creates an agent version. The new version points to the agent
// instance in the "default" environment.
//
-// - parent: The agent to create a version for. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to create a version for. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsLocationsAgentVersionsService) Create(parent string, googleclouddialogflowv2beta1version *GoogleCloudDialogflowV2beta1Version) *ProjectsLocationsAgentVersionsCreateCall {
c := &ProjectsLocationsAgentVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -49918,9 +49965,9 @@ type ProjectsLocationsAgentVersionsDeleteCall struct {
// Delete: Delete the specified agent version.
//
-// - name: The name of the version to delete. Supported formats: -
-// `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: The name of the version to delete. Supported formats: -
+// `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsLocationsAgentVersionsService) Delete(name string) *ProjectsLocationsAgentVersionsDeleteCall {
c := &ProjectsLocationsAgentVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -50054,9 +50101,9 @@ type ProjectsLocationsAgentVersionsGetCall struct {
// Get: Retrieves the specified agent version.
//
-// - name: The name of the version. Supported formats: -
-// `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: The name of the version. Supported formats: -
+// `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsLocationsAgentVersionsService) Get(name string) *ProjectsLocationsAgentVersionsGetCall {
c := &ProjectsLocationsAgentVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -50204,8 +50251,8 @@ type ProjectsLocationsAgentVersionsListCall struct {
// List: Returns the list of all versions of the specified agent.
//
-// - parent: The agent to list all versions from. Supported formats: -
-// `projects//agent` - `projects//locations//agent`.
+// - parent: The agent to list all versions from. Supported formats: -
+// `projects//agent` - `projects//locations//agent`.
func (r *ProjectsLocationsAgentVersionsService) List(parent string) *ProjectsLocationsAgentVersionsListCall {
c := &ProjectsLocationsAgentVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -50403,9 +50450,9 @@ type ProjectsLocationsAgentVersionsPatchCall struct {
// points to. It allows you to update only mutable properties of the
// version resource.
//
-// - name: Output only. The unique identifier of this agent version.
-// Supported formats: - `projects//agent/versions/` -
-// `projects//locations//agent/versions/`.
+// - name: Output only. The unique identifier of this agent version.
+// Supported formats: - `projects//agent/versions/` -
+// `projects//locations//agent/versions/`.
func (r *ProjectsLocationsAgentVersionsService) Patch(nameid string, googleclouddialogflowv2beta1version *GoogleCloudDialogflowV2beta1Version) *ProjectsLocationsAgentVersionsPatchCall {
c := &ProjectsLocationsAgentVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -50562,8 +50609,8 @@ type ProjectsLocationsAnswerRecordsGetCall struct {
// Get: Deprecated. Retrieves a specific answer record.
//
-// - name: The name of the answer record to retrieve. Format:
-// `projects//locations//answerRecords/`.
+// - name: The name of the answer record to retrieve. Format:
+// `projects//locations//answerRecords/`.
func (r *ProjectsLocationsAnswerRecordsService) Get(name string) *ProjectsLocationsAnswerRecordsGetCall {
c := &ProjectsLocationsAnswerRecordsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -50713,8 +50760,8 @@ type ProjectsLocationsAnswerRecordsListCall struct {
// List: Returns the list of all answer records in the specified project
// in reverse chronological order.
//
-// - parent: The project to list all answer records for in reverse
-// chronological order. Format: `projects//locations/`.
+// - parent: The project to list all answer records for in reverse
+// chronological order. Format: `projects//locations/`.
func (r *ProjectsLocationsAnswerRecordsService) List(parent string) *ProjectsLocationsAnswerRecordsListCall {
c := &ProjectsLocationsAnswerRecordsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -50924,9 +50971,9 @@ type ProjectsLocationsAnswerRecordsPatchCall struct {
// Patch: Updates the specified answer record.
//
-// - name: The unique identifier of this answer record. Required for
-// AnswerRecords.UpdateAnswerRecord method. Format:
-// `projects//locations//answerRecords/`.
+// - name: The unique identifier of this answer record. Required for
+// AnswerRecords.UpdateAnswerRecord method. Format:
+// `projects//locations//answerRecords/`.
func (r *ProjectsLocationsAnswerRecordsService) Patch(nameid string, googleclouddialogflowv2beta1answerrecord *GoogleCloudDialogflowV2beta1AnswerRecord) *ProjectsLocationsAnswerRecordsPatchCall {
c := &ProjectsLocationsAnswerRecordsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -51090,9 +51137,9 @@ type ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall struc
// fields: - `metadata`: ClearSuggestionFeatureConfigOperationMetadata -
// `response`: ConversationProfile
//
-// - conversationProfile: The Conversation Profile to add or update the
-// suggestion feature config. Format:
-// `projects//locations//conversationProfiles/`.
+// - conversationProfile: The Conversation Profile to add or update the
+// suggestion feature config. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) ClearSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2beta1clearsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest) *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall {
c := &ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.conversationProfile = conversationProfile
@@ -51238,8 +51285,8 @@ type ProjectsLocationsConversationProfilesCreateCall struct {
// aren't populated in the response. You can retrieve them via
// GetConversationProfile API.
//
-// - parent: The project to create a conversation profile for. Format:
-// `projects//locations/`.
+// - parent: The project to create a conversation profile for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsConversationProfilesService) Create(parent string, googleclouddialogflowv2beta1conversationprofile *GoogleCloudDialogflowV2beta1ConversationProfile) *ProjectsLocationsConversationProfilesCreateCall {
c := &ProjectsLocationsConversationProfilesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -51305,7 +51352,9 @@ func (c *ProjectsLocationsConversationProfilesCreateCall) doRequest(alt string)
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ConversationProfile.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -51383,8 +51432,8 @@ type ProjectsLocationsConversationProfilesDeleteCall struct {
// Delete: Deletes the specified conversation profile.
//
-// - name: The name of the conversation profile to delete. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The name of the conversation profile to delete. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) Delete(name string) *ProjectsLocationsConversationProfilesDeleteCall {
c := &ProjectsLocationsConversationProfilesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -51518,8 +51567,8 @@ type ProjectsLocationsConversationProfilesGetCall struct {
// Get: Retrieves the specified conversation profile.
//
-// - name: The resource name of the conversation profile. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The resource name of the conversation profile. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) Get(name string) *ProjectsLocationsConversationProfilesGetCall {
c := &ProjectsLocationsConversationProfilesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -51592,7 +51641,9 @@ func (c *ProjectsLocationsConversationProfilesGetCall) doRequest(alt string) (*h
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ConversationProfile.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -51669,8 +51720,8 @@ type ProjectsLocationsConversationProfilesListCall struct {
// List: Returns the list of all conversation profiles in the specified
// project.
//
-// - parent: The project to list all conversation profiles from. Format:
-// `projects//locations/`.
+// - parent: The project to list all conversation profiles from. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsConversationProfilesService) List(parent string) *ProjectsLocationsConversationProfilesListCall {
c := &ProjectsLocationsConversationProfilesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -51869,8 +51920,8 @@ type ProjectsLocationsConversationProfilesPatchCall struct {
// aren't populated in the response. You can retrieve them via
// GetConversationProfile API.
//
-// - name: The unique identifier of this conversation profile. Format:
-// `projects//locations//conversationProfiles/`.
+// - name: The unique identifier of this conversation profile. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) Patch(nameid string, googleclouddialogflowv2beta1conversationprofile *GoogleCloudDialogflowV2beta1ConversationProfile) *ProjectsLocationsConversationProfilesPatchCall {
c := &ProjectsLocationsConversationProfilesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -51943,7 +51994,9 @@ func (c *ProjectsLocationsConversationProfilesPatchCall) doRequest(alt string) (
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowV2beta1ConversationProfile.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -52040,9 +52093,9 @@ type ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall struct
// the existing long running operation before sending such request,
// otherwise the request will be rejected.
//
-// - conversationProfile: The Conversation Profile to add or update the
-// suggestion feature config. Format:
-// `projects//locations//conversationProfiles/`.
+// - conversationProfile: The Conversation Profile to add or update the
+// suggestion feature config. Format:
+// `projects//locations//conversationProfiles/`.
func (r *ProjectsLocationsConversationProfilesService) SetSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2beta1setsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest) *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall {
c := &ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.conversationProfile = conversationProfile
@@ -52186,8 +52239,8 @@ type ProjectsLocationsConversationsCompleteCall struct {
// Complete: Completes the specified conversation. Finished
// conversations are purged from the database after 30 days.
//
-// - name: Resource identifier of the conversation to close. Format:
-// `projects//locations//conversations/`.
+// - name: Resource identifier of the conversation to close. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsService) Complete(nameid string, googleclouddialogflowv2beta1completeconversationrequest *GoogleCloudDialogflowV2beta1CompleteConversationRequest) *ProjectsLocationsConversationsCompleteCall {
c := &ProjectsLocationsConversationsCompleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -52343,8 +52396,8 @@ type ProjectsLocationsConversationsCreateCall struct {
// Intent.live_agent_handoff is triggered, conversation will transfer to
// Assist Stage.
//
-// - parent: Resource identifier of the project creating the
-// conversation. Format: `projects//locations/`.
+// - parent: Resource identifier of the project creating the
+// conversation. Format: `projects//locations/`.
func (r *ProjectsLocationsConversationsService) Create(parentid string, googleclouddialogflowv2beta1conversation *GoogleCloudDialogflowV2beta1Conversation) *ProjectsLocationsConversationsCreateCall {
c := &ProjectsLocationsConversationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -52508,8 +52561,8 @@ type ProjectsLocationsConversationsGetCall struct {
// Get: Retrieves the specific conversation.
//
-// - name: The name of the conversation. Format:
-// `projects//locations//conversations/`.
+// - name: The name of the conversation. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsService) Get(name string) *ProjectsLocationsConversationsGetCall {
c := &ProjectsLocationsConversationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -52658,8 +52711,8 @@ type ProjectsLocationsConversationsListCall struct {
// List: Returns the list of all conversations in the specified project.
//
-// - parent: The project from which to list all conversation. Format:
-// `projects//locations/`.
+// - parent: The project from which to list all conversation. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsConversationsService) List(parent string) *ProjectsLocationsConversationsListCall {
c := &ProjectsLocationsConversationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -52877,8 +52930,8 @@ type ProjectsLocationsConversationsMessagesBatchCreateCall struct {
// BatchCreate: Batch ingests messages to conversation. Customers can
// use this RPC to ingest historical messages to conversation.
//
-// - parent: Resource identifier of the conversation to create message.
-// Format: `projects//locations//conversations/`.
+// - parent: Resource identifier of the conversation to create message.
+// Format: `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsMessagesService) BatchCreate(parentid string, googleclouddialogflowv2beta1batchcreatemessagesrequest *GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest) *ProjectsLocationsConversationsMessagesBatchCreateCall {
c := &ProjectsLocationsConversationsMessagesBatchCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -53028,8 +53081,8 @@ type ProjectsLocationsConversationsMessagesListCall struct {
// `create_time_epoch_microseconds > [first item's create_time of
// previous request]` and empty page_token.
//
-// - parent: The name of the conversation to list messages for. Format:
-// `projects//locations//conversations/`.
+// - parent: The name of the conversation to list messages for. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsMessagesService) List(parent string) *ProjectsLocationsConversationsMessagesListCall {
c := &ProjectsLocationsConversationsMessagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -53245,8 +53298,8 @@ type ProjectsLocationsConversationsParticipantsAnalyzeContentCall struct {
// sent to virtual agents. See Versions and environments
// (https://cloud.google.com/dialogflow/es/docs/agents-versions).
//
-// - participant: The name of the participant this text comes from.
-// Format: `projects//locations//conversations//participants/`.
+// - participant: The name of the participant this text comes from.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsService) AnalyzeContent(participant string, googleclouddialogflowv2beta1analyzecontentrequest *GoogleCloudDialogflowV2beta1AnalyzeContentRequest) *ProjectsLocationsConversationsParticipantsAnalyzeContentCall {
c := &ProjectsLocationsConversationsParticipantsAnalyzeContentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.participant = participant
@@ -53391,8 +53444,8 @@ type ProjectsLocationsConversationsParticipantsCreateCall struct {
// Create: Creates a new participant in a conversation.
//
-// - parent: Resource identifier of the conversation adding the
-// participant. Format: `projects//locations//conversations/`.
+// - parent: Resource identifier of the conversation adding the
+// participant. Format: `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsParticipantsService) Create(parentid string, googleclouddialogflowv2beta1participant *GoogleCloudDialogflowV2beta1Participant) *ProjectsLocationsConversationsParticipantsCreateCall {
c := &ProjectsLocationsConversationsParticipantsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -53536,8 +53589,8 @@ type ProjectsLocationsConversationsParticipantsGetCall struct {
// Get: Retrieves a conversation participant.
//
-// - name: The name of the participant. Format:
-// `projects//locations//conversations//participants/`.
+// - name: The name of the participant. Format:
+// `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsService) Get(name string) *ProjectsLocationsConversationsParticipantsGetCall {
c := &ProjectsLocationsConversationsParticipantsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -53686,8 +53739,8 @@ type ProjectsLocationsConversationsParticipantsListCall struct {
// List: Returns the list of all participants in the specified
// conversation.
//
-// - parent: The conversation to list all participants from. Format:
-// `projects//locations//conversations/`.
+// - parent: The conversation to list all participants from. Format:
+// `projects//locations//conversations/`.
func (r *ProjectsLocationsConversationsParticipantsService) List(parent string) *ProjectsLocationsConversationsParticipantsListCall {
c := &ProjectsLocationsConversationsParticipantsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -53882,8 +53935,8 @@ type ProjectsLocationsConversationsParticipantsPatchCall struct {
// Patch: Updates the specified participant.
//
-// - name: Optional. The unique identifier of this participant. Format:
-// `projects//locations//conversations//participants/`.
+// - name: Optional. The unique identifier of this participant. Format:
+// `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsService) Patch(nameid string, googleclouddialogflowv2beta1participant *GoogleCloudDialogflowV2beta1Participant) *ProjectsLocationsConversationsParticipantsPatchCall {
c := &ProjectsLocationsConversationsParticipantsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -54044,8 +54097,8 @@ type ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall st
// to compile suggestion based on the provided conversation context in
// the real time.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestArticles(parent string, googleclouddialogflowv2beta1suggestarticlesrequest *GoogleCloudDialogflowV2beta1SuggestArticlesRequest) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall {
c := &ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -54191,8 +54244,8 @@ type ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
// SuggestFaqAnswers: Gets suggested faq answers for a participant based
// on specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestFaqAnswers(parent string, googleclouddialogflowv2beta1suggestfaqanswersrequest *GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall {
c := &ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -54338,8 +54391,8 @@ type ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCal
// SuggestSmartReplies: Gets smart replies for a participant based on
// specific historical messages.
//
-// - parent: The name of the participant to fetch suggestion for.
-// Format: `projects//locations//conversations//participants/`.
+// - parent: The name of the participant to fetch suggestion for.
+// Format: `projects//locations//conversations//participants/`.
func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestSmartReplies(parent string, googleclouddialogflowv2beta1suggestsmartrepliesrequest *GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall {
c := &ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -54487,8 +54540,8 @@ type ProjectsLocationsKnowledgeBasesCreateCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - parent: The project to create a knowledge base for. Format:
-// `projects//locations/`.
+// - parent: The project to create a knowledge base for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsKnowledgeBasesService) Create(parent string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsLocationsKnowledgeBasesCreateCall {
c := &ProjectsLocationsKnowledgeBasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -54634,8 +54687,8 @@ type ProjectsLocationsKnowledgeBasesDeleteCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - name: The name of the knowledge base to delete. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to delete. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesService) Delete(name string) *ProjectsLocationsKnowledgeBasesDeleteCall {
c := &ProjectsLocationsKnowledgeBasesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -54784,8 +54837,8 @@ type ProjectsLocationsKnowledgeBasesGetCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - name: The name of the knowledge base to retrieve. Format
-// `projects//locations//knowledgeBases/`.
+// - name: The name of the knowledge base to retrieve. Format
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesService) Get(name string) *ProjectsLocationsKnowledgeBasesGetCall {
c := &ProjectsLocationsKnowledgeBasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -54936,8 +54989,8 @@ type ProjectsLocationsKnowledgeBasesListCall struct {
// Note: The `projects.agent.knowledgeBases` resource is deprecated;
// only use `projects.knowledgeBases`.
//
-// - parent: The project to list of knowledge bases for. Format:
-// `projects//locations/`.
+// - parent: The project to list of knowledge bases for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsKnowledgeBasesService) List(parent string) *ProjectsLocationsKnowledgeBasesListCall {
c := &ProjectsLocationsKnowledgeBasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -55159,9 +55212,9 @@ type ProjectsLocationsKnowledgeBasesPatchCall struct {
// `projects.agent.knowledgeBases` resource is deprecated; only use
// `projects.knowledgeBases`.
//
-// - name: The knowledge base resource name. The name must be empty when
-// creating a knowledge base. Format:
-// `projects//locations//knowledgeBases/`.
+// - name: The knowledge base resource name. The name must be empty when
+// creating a knowledge base. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesService) Patch(name string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsLocationsKnowledgeBasesPatchCall {
c := &ProjectsLocationsKnowledgeBasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -55327,8 +55380,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsCreateCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - parent: The knowledge base to create a document for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to create a document for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Create(parent string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -55492,8 +55545,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsDeleteCall struct {
// Note: The `projects.agent.knowledgeBases.documents` resource is
// deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to delete. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to delete. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Delete(name string) *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -55629,8 +55682,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsGetCall struct {
// `projects.agent.knowledgeBases.documents` resource is deprecated;
// only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to retrieve. Format
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to retrieve. Format
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Get(name string) *ProjectsLocationsKnowledgeBasesDocumentsGetCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -55785,8 +55838,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsImportCall struct {
// fields: - `metadata`: KnowledgeOperationMetadata - `response`:
// ImportDocumentsResponse
//
-// - parent: The knowledge base to import documents into. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to import documents into. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Import(parent string, googleclouddialogflowv2beta1importdocumentsrequest *GoogleCloudDialogflowV2beta1ImportDocumentsRequest) *ProjectsLocationsKnowledgeBasesDocumentsImportCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -55931,8 +55984,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsListCall struct {
// The `projects.agent.knowledgeBases.documents` resource is deprecated;
// only use `projects.knowledgeBases.documents`.
//
-// - parent: The knowledge base to list all documents for. Format:
-// `projects//locations//knowledgeBases/`.
+// - parent: The knowledge base to list all documents for. Format:
+// `projects//locations//knowledgeBases/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) List(parent string) *ProjectsLocationsKnowledgeBasesDocumentsListCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -56154,9 +56207,9 @@ type ProjectsLocationsKnowledgeBasesDocumentsPatchCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: Optional. The document resource name. The name must be empty
-// when creating a document. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: Optional. The document resource name. The name must be empty
+// when creating a document. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Patch(name string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -56327,8 +56380,8 @@ type ProjectsLocationsKnowledgeBasesDocumentsReloadCall struct {
// Document Note: The `projects.agent.knowledgeBases.documents` resource
// is deprecated; only use `projects.knowledgeBases.documents`.
//
-// - name: The name of the document to reload. Format:
-// `projects//locations//knowledgeBases//documents/`.
+// - name: The name of the document to reload. Format:
+// `projects//locations//knowledgeBases//documents/`.
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Reload(name string, googleclouddialogflowv2beta1reloaddocumentrequest *GoogleCloudDialogflowV2beta1ReloadDocumentRequest) *ProjectsLocationsKnowledgeBasesDocumentsReloadCall {
c := &ProjectsLocationsKnowledgeBasesDocumentsReloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go
index 54c94caa12f..4ab946fb0c3 100644
--- a/dialogflow/v3/dialogflow-gen.go
+++ b/dialogflow/v3/dialogflow-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/dialogflow/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dialogflow/v3"
-// ...
-// ctx := context.Background()
-// dialogflowService, err := dialogflow.NewService(ctx)
+// import "google.golang.org/api/dialogflow/v3"
+// ...
+// ctx := context.Background()
+// dialogflowService, err := dialogflow.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dialogflow // import "google.golang.org/api/dialogflow/v3"
@@ -8000,7 +8000,8 @@ func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) UnmarshalJSON(data [
}
// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue:
-// Represents a value for an intent parameter.
+//
+// Represents a value for an intent parameter.
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct {
// OriginalValue: Always present. Original text value extracted from
// user utterance.
@@ -12387,7 +12388,7 @@ func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error)
// GoogleCloudDialogflowV2EventInput: Events allow for matching intents
// by event name instead of the natural language input. For instance,
-// input `` can trigger a personalized welcome response. The parameter
+// input “ can trigger a personalized welcome response. The parameter
// `name` may be used by the agent in the response: "Hello
// #welcome_event.name! What can I do for you today?".
type GoogleCloudDialogflowV2EventInput struct {
@@ -15618,7 +15619,7 @@ func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, er
// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching
// intents by event name instead of the natural language input. For
-// instance, input `` can trigger a personalized welcome response. The
+// instance, input “ can trigger a personalized welcome response. The
// parameter `name` may be used by the agent in the response: "Hello
// #welcome_event.name! What can I do for you today?".
type GoogleCloudDialogflowV2beta1EventInput struct {
@@ -16296,7 +16297,8 @@ func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON()
}
// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction:
-// Opens the given URI.
+//
+// Opens the given URI.
type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct {
// Uri: Required. The HTTP or HTTPS scheme URI.
Uri string `json:"uri,omitempty"`
@@ -19574,8 +19576,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19788,8 +19790,8 @@ type ProjectsLocationsAgentsCreateCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The location to create a agent for. Format:
-// `projects//locations/`.
+// - parent: The location to create a agent for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsCreateCall {
c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19931,8 +19933,8 @@ type ProjectsLocationsAgentsDeleteCall struct {
// Delete: Deletes the specified agent.
//
-// - name: The name of the agent to delete. Format:
-// `projects//locations//agents/`.
+// - name: The name of the agent to delete. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall {
c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20072,8 +20074,8 @@ type ProjectsLocationsAgentsExportCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: ExportAgentResponse
//
-// - name: The name of the agent to export. Format:
-// `projects//locations//agents/`.
+// - name: The name of the agent to export. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3exportagentrequest *GoogleCloudDialogflowCxV3ExportAgentRequest) *ProjectsLocationsAgentsExportCall {
c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20216,8 +20218,8 @@ type ProjectsLocationsAgentsGetCall struct {
// Get: Retrieves the specified agent.
//
-// - name: The name of the agent. Format:
-// `projects//locations//agents/`.
+// - name: The name of the agent. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall {
c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20365,8 +20367,8 @@ type ProjectsLocationsAgentsGetValidationResultCall struct {
// GetValidationResult: Gets the latest agent validation result. Agent
// validation is performed when ValidateAgent is called.
//
-// - name: The agent name. Format:
-// `projects//locations//agents//validationResult`.
+// - name: The agent name. Format:
+// `projects//locations//agents//validationResult`.
func (r *ProjectsLocationsAgentsService) GetValidationResult(name string) *ProjectsLocationsAgentsGetValidationResultCall {
c := &ProjectsLocationsAgentsGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20527,8 +20529,8 @@ type ProjectsLocationsAgentsListCall struct {
// List: Returns the list of all agents in the specified location.
//
-// - parent: The location to list all agents for. Format:
-// `projects//locations/`.
+// - parent: The location to list all agents for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall {
c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20725,9 +20727,9 @@ type ProjectsLocationsAgentsPatchCall struct {
// flows prior to sending them queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the agent. Required for the
-// Agents.UpdateAgent method. Agents.CreateAgent populates the name
-// automatically. Format: `projects//locations//agents/`.
+// - name: The unique identifier of the agent. Required for the
+// Agents.UpdateAgent method. Agents.CreateAgent populates the name
+// automatically. Format: `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsPatchCall {
c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -20896,8 +20898,8 @@ type ProjectsLocationsAgentsRestoreCall struct {
// See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The name of the agent to restore into. Format:
-// `projects//locations//agents/`.
+// - name: The name of the agent to restore into. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3restoreagentrequest *GoogleCloudDialogflowCxV3RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall {
c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21043,8 +21045,8 @@ type ProjectsLocationsAgentsValidateCall struct {
// call this API after the training is completed to get the complete
// validation results.
//
-// - name: The agent to validate. Format:
-// `projects//locations//agents/`.
+// - name: The agent to validate. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Validate(name string, googleclouddialogflowcxv3validateagentrequest *GoogleCloudDialogflowCxV3ValidateAgentRequest) *ProjectsLocationsAgentsValidateCall {
c := &ProjectsLocationsAgentsValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21189,8 +21191,8 @@ type ProjectsLocationsAgentsChangelogsGetCall struct {
// Get: Retrieves the specified Changelog.
//
-// - name: The name of the changelog to get. Format:
-// `projects//locations//agents//changelogs/`.
+// - name: The name of the changelog to get. Format:
+// `projects//locations//agents//changelogs/`.
func (r *ProjectsLocationsAgentsChangelogsService) Get(name string) *ProjectsLocationsAgentsChangelogsGetCall {
c := &ProjectsLocationsAgentsChangelogsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21338,8 +21340,8 @@ type ProjectsLocationsAgentsChangelogsListCall struct {
// List: Returns the list of Changelogs.
//
-// - parent: The agent containing the changelogs. Format:
-// `projects//locations//agents/`.
+// - parent: The agent containing the changelogs. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsChangelogsService) List(parent string) *ProjectsLocationsAgentsChangelogsListCall {
c := &ProjectsLocationsAgentsChangelogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21443,7 +21445,9 @@ func (c *ProjectsLocationsAgentsChangelogsListCall) doRequest(alt string) (*http
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowCxV3ListChangelogsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -21559,8 +21563,8 @@ type ProjectsLocationsAgentsEntityTypesCreateCall struct {
// training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The agent to create a entity type for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create a entity type for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall {
c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21724,8 +21728,8 @@ type ProjectsLocationsAgentsEntityTypesDeleteCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The name of the entity type to delete. Format:
-// `projects//locations//agents//entityTypes/`.
+// - name: The name of the entity type to delete. Format:
+// `projects//locations//agents//entityTypes/`.
func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21877,8 +21881,8 @@ type ProjectsLocationsAgentsEntityTypesGetCall struct {
// Get: Retrieves the specified entity type.
//
-// - name: The name of the entity type. Format:
-// `projects//locations//agents//entityTypes/`.
+// - name: The name of the entity type. Format:
+// `projects//locations//agents//entityTypes/`.
func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall {
c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22045,8 +22049,8 @@ type ProjectsLocationsAgentsEntityTypesListCall struct {
// List: Returns the list of all entity types in the specified agent.
//
-// - parent: The agent to list all entity types for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to list all entity types for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall {
c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22263,9 +22267,9 @@ type ProjectsLocationsAgentsEntityTypesPatchCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the entity type. Required for
-// EntityTypes.UpdateEntityType. Format:
-// `projects//locations//agents//entityTypes/`.
+// - name: The unique identifier of the entity type. Required for
+// EntityTypes.UpdateEntityType. Format:
+// `projects//locations//agents//entityTypes/`.
func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall {
c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -22446,8 +22450,8 @@ type ProjectsLocationsAgentsEnvironmentsCreateCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: Environment
//
-// - parent: The Agent to create an Environment for. Format:
-// `projects//locations//agents/`.
+// - parent: The Agent to create an Environment for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall {
c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22589,8 +22593,8 @@ type ProjectsLocationsAgentsEnvironmentsDeleteCall struct {
// Delete: Deletes the specified Environment.
//
-// - name: The name of the Environment to delete. Format:
-// `projects//locations//agents//environments/`.
+// - name: The name of the Environment to delete. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall {
c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22729,8 +22733,8 @@ type ProjectsLocationsAgentsEnvironmentsDeployFlowCall struct {
// fields: - `metadata`: DeployFlowMetadata - `response`:
// DeployFlowResponse
//
-// - environment: The environment to deploy the flow to. Format:
-// `projects//locations//agents// environments/`.
+// - environment: The environment to deploy the flow to. Format:
+// `projects//locations//agents// environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) DeployFlow(environment string, googleclouddialogflowcxv3deployflowrequest *GoogleCloudDialogflowCxV3DeployFlowRequest) *ProjectsLocationsAgentsEnvironmentsDeployFlowCall {
c := &ProjectsLocationsAgentsEnvironmentsDeployFlowCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.environment = environment
@@ -22873,8 +22877,8 @@ type ProjectsLocationsAgentsEnvironmentsGetCall struct {
// Get: Retrieves the specified Environment.
//
-// - name: The name of the Environment. Format:
-// `projects//locations//agents//environments/`.
+// - name: The name of the Environment. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall {
c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23022,8 +23026,8 @@ type ProjectsLocationsAgentsEnvironmentsListCall struct {
// List: Returns the list of all environments in the specified Agent.
//
-// - parent: The Agent to list all environments for. Format:
-// `projects//locations//agents/`.
+// - parent: The Agent to list all environments for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall {
c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23219,8 +23223,8 @@ type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct {
// LookupEnvironmentHistory: Looks up the history of the specified
// Environment.
//
-// - name: Resource name of the environment to look up the history for.
-// Format: `projects//locations//agents//environments/`.
+// - name: Resource name of the environment to look up the history for.
+// Format: `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall {
c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23422,8 +23426,8 @@ type ProjectsLocationsAgentsEnvironmentsPatchCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: Environment
//
-// - name: The name of the environment. Format:
-// `projects//locations//agents//environments/`.
+// - name: The name of the environment. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall {
c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23728,8 +23732,8 @@ type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall struct {
// List: Fetches a list of continuous test results for a given
// environment.
//
-// - parent: The environment to list results for. Format:
-// `projects//locations//agents// environments/`.
+// - parent: The environment to list results for. Format:
+// `projects//locations//agents// environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall {
c := &ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23925,8 +23929,8 @@ type ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall struct {
// Get: Retrieves the specified Deployment.
//
-// - name: The name of the Deployment. Format:
-// `projects//locations//agents//environments//deployments/`.
+// - name: The name of the Deployment. Format:
+// `projects//locations//agents//environments//deployments/`.
func (r *ProjectsLocationsAgentsEnvironmentsDeploymentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall {
c := &ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24075,8 +24079,8 @@ type ProjectsLocationsAgentsEnvironmentsDeploymentsListCall struct {
// List: Returns the list of all deployments in the specified
// Environment.
//
-// - parent: The Environment to list all environments for. Format:
-// `projects//locations//agents//environments/`.
+// - parent: The Environment to list all environments for. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsDeploymentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall {
c := &ProjectsLocationsAgentsEnvironmentsDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24271,8 +24275,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall struct {
// Create: Creates an Experiment in the specified Environment.
//
-// - parent: The Agent to create an Environment for. Format:
-// `projects//locations//agents//environments/`.
+// - parent: The Agent to create an Environment for. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Create(parent string, googleclouddialogflowcxv3experiment *GoogleCloudDialogflowCxV3Experiment) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24415,8 +24419,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall struct {
// Delete: Deletes the specified Experiment.
//
-// - name: The name of the Environment to delete. Format:
-// `projects//locations//agents//environments//experiments/`.
+// - name: The name of the Environment to delete. Format:
+// `projects//locations//agents//environments//experiments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24550,8 +24554,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsGetCall struct {
// Get: Retrieves the specified Experiment.
//
-// - name: The name of the Environment. Format:
-// `projects//locations//agents//environments//experiments/`.
+// - name: The name of the Environment. Format:
+// `projects//locations//agents//environments//experiments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24700,8 +24704,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsListCall struct {
// List: Returns the list of all experiments in the specified
// Environment.
//
-// - parent: The Environment to list all environments for. Format:
-// `projects//locations//agents//environments/`.
+// - parent: The Environment to list all environments for. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24896,8 +24900,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall struct {
// Patch: Updates the specified Experiment.
//
-// - name: The name of the experiment. Format:
-// projects//locations//agents//environments//experiments/..
+// - name: The name of the experiment. Format:
+// projects//locations//agents//environments//experiments/..
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Patch(name string, googleclouddialogflowcxv3experiment *GoogleCloudDialogflowCxV3Experiment) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25055,8 +25059,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsStartCall struct {
// Start: Starts the specified Experiment. This rpc only changes the
// state of experiment from PENDING to RUNNING.
//
-// - name: Resource name of the experiment to start. Format:
-// `projects//locations//agents//environments//experiments/`.
+// - name: Resource name of the experiment to start. Format:
+// `projects//locations//agents//environments//experiments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Start(name string, googleclouddialogflowcxv3startexperimentrequest *GoogleCloudDialogflowCxV3StartExperimentRequest) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25201,8 +25205,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsStopCall struct {
// Stop: Stops the specified Experiment. This rpc only changes the state
// of experiment from RUNNING to DONE.
//
-// - name: Resource name of the experiment to stop. Format:
-// `projects//locations//agents//environments//experiments/`.
+// - name: Resource name of the experiment to stop. Format:
+// `projects//locations//agents//environments//experiments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Stop(name string, googleclouddialogflowcxv3stopexperimentrequest *GoogleCloudDialogflowCxV3StopExperimentRequest) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25352,19 +25356,19 @@ type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct {
// environments
// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
-// Note: Always use agent versions for production traffic. See
-// Versions and environments
-// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// Note: Always use agent versions for production traffic. See
+// Versions and environments
+// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -25511,16 +25515,16 @@ type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct {
// Must be called after MatchIntent, with input from
// MatchIntentResponse. Otherwise, the behavior is undefined.
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -25666,16 +25670,16 @@ type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct {
// MatchIntent: Returns preliminary intent match results, doesn't change
// the session status.
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -25820,11 +25824,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct {
// Create: Creates a session entity type.
//
-// - parent: The session to create a session entity type for. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - parent: The session to create a session entity type for. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25968,11 +25972,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct {
// Delete: Deletes the specified session entity type.
//
-// - name: The name of the session entity type to delete. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The name of the session entity type to delete. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26106,11 +26110,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct {
// Get: Retrieves the specified session entity type.
//
-// - name: The name of the session entity type. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The name of the session entity type. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26260,11 +26264,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct {
// List: Returns the list of all session entity types in the specified
// session.
//
-// - parent: The session to list all session entity types from. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - parent: The session to list all session entity types from. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26460,11 +26464,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct {
// Patch: Updates the specified session entity type.
//
-// - name: The unique identifier of the session entity type. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The unique identifier of the session entity type. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -26625,8 +26629,8 @@ type ProjectsLocationsAgentsFlowsCreateCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The agent to create a flow for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create a flow for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsCreateCall {
c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26788,8 +26792,8 @@ type ProjectsLocationsAgentsFlowsDeleteCall struct {
// Delete: Deletes a specified flow.
//
-// - name: The name of the flow to delete. Format:
-// `projects//locations//agents//flows/`.
+// - name: The name of the flow to delete. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall {
c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26947,8 +26951,8 @@ type ProjectsLocationsAgentsFlowsExportCall struct {
// - `response`: ExportFlowResponse Note that resources (e.g. intents,
// entities, webhooks) that the flow references will also be exported.
//
-// - name: The name of the flow to export. Format:
-// `projects//locations//agents//flows/`.
+// - name: The name of the flow to export. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Export(name string, googleclouddialogflowcxv3exportflowrequest *GoogleCloudDialogflowCxV3ExportFlowRequest) *ProjectsLocationsAgentsFlowsExportCall {
c := &ProjectsLocationsAgentsFlowsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27091,8 +27095,8 @@ type ProjectsLocationsAgentsFlowsGetCall struct {
// Get: Retrieves the specified flow.
//
-// - name: The name of the flow to get. Format:
-// `projects//locations//agents//flows/`.
+// - name: The name of the flow to get. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall {
c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27260,8 +27264,8 @@ type ProjectsLocationsAgentsFlowsGetValidationResultCall struct {
// GetValidationResult: Gets the latest flow validation result. Flow
// validation is performed when ValidateFlow is called.
//
-// - name: The flow name. Format:
-// `projects//locations//agents//flows//validationResult`.
+// - name: The flow name. Format:
+// `projects//locations//agents//flows//validationResult`.
func (r *ProjectsLocationsAgentsFlowsService) GetValidationResult(name string) *ProjectsLocationsAgentsFlowsGetValidationResultCall {
c := &ProjectsLocationsAgentsFlowsGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27430,8 +27434,8 @@ type ProjectsLocationsAgentsFlowsImportCall struct {
// prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The agent to import the flow into. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to import the flow into. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsFlowsService) Import(parent string, googleclouddialogflowcxv3importflowrequest *GoogleCloudDialogflowCxV3ImportFlowRequest) *ProjectsLocationsAgentsFlowsImportCall {
c := &ProjectsLocationsAgentsFlowsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27574,8 +27578,8 @@ type ProjectsLocationsAgentsFlowsListCall struct {
// List: Returns the list of all flows in the specified agent.
//
-// - parent: The agent containing the flows. Format:
-// `projects//locations//agents/`.
+// - parent: The agent containing the flows. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall {
c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27792,8 +27796,8 @@ type ProjectsLocationsAgentsFlowsPatchCall struct {
// flow prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the flow. Format:
-// `projects//locations//agents//flows/`.
+// - name: The unique identifier of the flow. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsPatchCall {
c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -27980,8 +27984,8 @@ type ProjectsLocationsAgentsFlowsTrainCall struct {
// the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The flow to train. Format:
-// `projects//locations//agents//flows/`.
+// - name: The flow to train. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3trainflowrequest *GoogleCloudDialogflowCxV3TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall {
c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28126,8 +28130,8 @@ type ProjectsLocationsAgentsFlowsValidateCall struct {
// validation results. Please call this API after the training is
// completed to get the complete validation results.
//
-// - name: The flow to validate. Format:
-// `projects//locations//agents//flows/`.
+// - name: The flow to validate. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Validate(name string, googleclouddialogflowcxv3validateflowrequest *GoogleCloudDialogflowCxV3ValidateFlowRequest) *ProjectsLocationsAgentsFlowsValidateCall {
c := &ProjectsLocationsAgentsFlowsValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28275,8 +28279,8 @@ type ProjectsLocationsAgentsFlowsPagesCreateCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The flow to create a page for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The flow to create a page for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesCreateCall {
c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -28449,8 +28453,8 @@ type ProjectsLocationsAgentsFlowsPagesDeleteCall struct {
// flow prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The name of the page to delete. Format:
-// `projects//locations//agents//Flows//pages/`.
+// - name: The name of the page to delete. Format:
+// `projects//locations//agents//Flows//pages/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall {
c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28601,8 +28605,8 @@ type ProjectsLocationsAgentsFlowsPagesGetCall struct {
// Get: Retrieves the specified page.
//
-// - name: The name of the page. Format:
-// `projects//locations//agents//flows//pages/`.
+// - name: The name of the page. Format:
+// `projects//locations//agents//flows//pages/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall {
c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28778,8 +28782,8 @@ type ProjectsLocationsAgentsFlowsPagesListCall struct {
// List: Returns the list of all pages in the specified flow.
//
-// - parent: The flow to list all pages for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The flow to list all pages for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall {
c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29005,10 +29009,10 @@ type ProjectsLocationsAgentsFlowsPagesPatchCall struct {
// flow prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the page. Required for the
-// Pages.UpdatePage method. Pages.CreatePage populates the name
-// automatically. Format:
-// `projects//locations//agents//flows//pages/`.
+// - name: The unique identifier of the page. Required for the
+// Pages.UpdatePage method. Pages.CreatePage populates the name
+// automatically. Format:
+// `projects//locations//agents//flows//pages/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesPatchCall {
c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -29197,8 +29201,8 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct {
// training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The flow to create an TransitionRouteGroup for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The flow to create an TransitionRouteGroup for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29365,8 +29369,8 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The name of the TransitionRouteGroup to delete. Format:
-// `projects//locations//agents//flows//transitionRouteGroups/`.
+// - name: The name of the TransitionRouteGroup to delete. Format:
+// `projects//locations//agents//flows//transitionRouteGroups/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29517,8 +29521,8 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct {
// Get: Retrieves the specified TransitionRouteGroup.
//
-// - name: The name of the TransitionRouteGroup. Format:
-// `projects//locations//agents//flows//transitionRouteGroups/`.
+// - name: The name of the TransitionRouteGroup. Format:
+// `projects//locations//agents//flows//transitionRouteGroups/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29689,8 +29693,8 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct {
// List: Returns the list of all transition route groups in the
// specified flow.
//
-// - parent: The flow to list all transition route groups for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The flow to list all transition route groups for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29910,10 +29914,10 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the transition route group.
-// TransitionRouteGroups.CreateTransitionRouteGroup populates the name
-// automatically. Format:
-// `projects//locations//agents//flows//transitionRouteGroups/`.
+// - name: The unique identifier of the transition route group.
+// TransitionRouteGroups.CreateTransitionRouteGroup populates the name
+// automatically. Format:
+// `projects//locations//agents//flows//transitionRouteGroups/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -30092,10 +30096,10 @@ type ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall struct {
// CompareVersions: Compares the specified base version with target
// version.
//
-// - baseVersion: Name of the base flow version to compare with the
-// target version. Use version ID `0` to indicate the draft version of
-// the specified flow. Format: `projects//locations//agents/
-// /flows//versions/`.
+// - baseVersion: Name of the base flow version to compare with the
+// target version. Use version ID `0` to indicate the draft version of
+// the specified flow. Format: `projects//locations//agents/
+// /flows//versions/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) CompareVersions(baseVersion string, googleclouddialogflowcxv3compareversionsrequest *GoogleCloudDialogflowCxV3CompareVersionsRequest) *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall {
c := &ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.baseVersion = baseVersion
@@ -30245,8 +30249,8 @@ type ProjectsLocationsAgentsFlowsVersionsCreateCall struct {
// fields: - `metadata`: CreateVersionOperationMetadata - `response`:
// Version
//
-// - parent: The Flow to create an Version for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The Flow to create an Version for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall {
c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30388,8 +30392,8 @@ type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct {
// Delete: Deletes the specified Version.
//
-// - name: The name of the Version to delete. Format:
-// `projects//locations//agents//flows//versions/`.
+// - name: The name of the Version to delete. Format:
+// `projects//locations//agents//flows//versions/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall {
c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30523,8 +30527,8 @@ type ProjectsLocationsAgentsFlowsVersionsGetCall struct {
// Get: Retrieves the specified Version.
//
-// - name: The name of the Version. Format:
-// `projects//locations//agents//flows//versions/`.
+// - name: The name of the Version. Format:
+// `projects//locations//agents//flows//versions/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall {
c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30671,8 +30675,8 @@ type ProjectsLocationsAgentsFlowsVersionsListCall struct {
// List: Returns the list of all versions in the specified Flow.
//
-// - parent: The Flow to list all versions for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The Flow to list all versions for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall {
c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30874,8 +30878,8 @@ type ProjectsLocationsAgentsFlowsVersionsLoadCall struct {
// - `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The Version to be loaded to draft flow. Format:
-// `projects//locations//agents//flows//versions/`.
+// - name: The Version to be loaded to draft flow. Format:
+// `projects//locations//agents//flows//versions/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3loadversionrequest *GoogleCloudDialogflowCxV3LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall {
c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31018,9 +31022,9 @@ type ProjectsLocationsAgentsFlowsVersionsPatchCall struct {
// Patch: Updates the specified Version.
//
-// - name: Format: projects//locations//agents//flows//versions/.
-// Version ID is a self-increasing number generated by Dialogflow upon
-// version creation.
+// - name: Format: projects//locations//agents//flows//versions/.
+// Version ID is a self-increasing number generated by Dialogflow upon
+// version creation.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall {
c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31180,8 +31184,8 @@ type ProjectsLocationsAgentsIntentsCreateCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The agent to create an intent for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create an intent for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsCreateCall {
c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31342,8 +31346,8 @@ type ProjectsLocationsAgentsIntentsDeleteCall struct {
// flow prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The name of the intent to delete. Format:
-// `projects//locations//agents//intents/`.
+// - name: The name of the intent to delete. Format:
+// `projects//locations//agents//intents/`.
func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall {
c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31477,8 +31481,8 @@ type ProjectsLocationsAgentsIntentsGetCall struct {
// Get: Retrieves the specified intent.
//
-// - name: The name of the intent. Format:
-// `projects//locations//agents//intents/`.
+// - name: The name of the intent. Format:
+// `projects//locations//agents//intents/`.
func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall {
c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31642,8 +31646,8 @@ type ProjectsLocationsAgentsIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to list all intents for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall {
c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31654,11 +31658,16 @@ func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLoc
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as
+//
+// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as
+//
// INTENT_VIEW_FULL.
-// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in
+//
+// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in
+//
// the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -31886,10 +31895,10 @@ type ProjectsLocationsAgentsIntentsPatchCall struct {
// flow prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the intent. Required for the
-// Intents.UpdateIntent method. Intents.CreateIntent populates the
-// name automatically. Format:
-// `projects//locations//agents//intents/`.
+// - name: The unique identifier of the intent. Required for the
+// Intents.UpdateIntent method. Intents.CreateIntent populates the
+// name automatically. Format:
+// `projects//locations//agents//intents/`.
func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsPatchCall {
c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -32069,19 +32078,19 @@ type ProjectsLocationsAgentsSessionsDetectIntentCall struct {
// environments
// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
-// Note: Always use agent versions for production traffic. See
-// Versions and environments
-// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// Note: Always use agent versions for production traffic. See
+// Versions and environments
+// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall {
c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -32228,16 +32237,16 @@ type ProjectsLocationsAgentsSessionsFulfillIntentCall struct {
// Must be called after MatchIntent, with input from
// MatchIntentResponse. Otherwise, the behavior is undefined.
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall {
c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -32383,16 +32392,16 @@ type ProjectsLocationsAgentsSessionsMatchIntentCall struct {
// MatchIntent: Returns preliminary intent match results, doesn't change
// the session status.
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall {
c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -32537,11 +32546,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct {
// Create: Creates a session entity type.
//
-// - parent: The session to create a session entity type for. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - parent: The session to create a session entity type for. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -32685,11 +32694,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct {
// Delete: Deletes the specified session entity type.
//
-// - name: The name of the session entity type to delete. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The name of the session entity type to delete. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32823,11 +32832,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct {
// Get: Retrieves the specified session entity type.
//
-// - name: The name of the session entity type. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The name of the session entity type. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32977,11 +32986,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesListCall struct {
// List: Returns the list of all session entity types in the specified
// session.
//
-// - parent: The session to list all session entity types from. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - parent: The session to list all session entity types from. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33177,11 +33186,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct {
// Patch: Updates the specified session entity type.
//
-// - name: The unique identifier of the session entity type. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The unique identifier of the session entity type. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -33339,8 +33348,8 @@ type ProjectsLocationsAgentsTestCasesBatchDeleteCall struct {
// BatchDelete: Batch deletes test cases.
//
-// - parent: The agent to delete test cases from. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to delete test cases from. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) BatchDelete(parent string, googleclouddialogflowcxv3batchdeletetestcasesrequest *GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchDeleteCall {
c := &ProjectsLocationsAgentsTestCasesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33631,8 +33640,8 @@ type ProjectsLocationsAgentsTestCasesCalculateCoverageCall struct {
// CalculateCoverage: Calculates the test coverage for an agent.
//
-// - agent: The agent to calculate coverage for. Format:
-// `projects//locations//agents/`.
+// - agent: The agent to calculate coverage for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) CalculateCoverage(agent string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall {
c := &ProjectsLocationsAgentsTestCasesCalculateCoverageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.agent = agent
@@ -33643,10 +33652,11 @@ func (r *ProjectsLocationsAgentsTestCasesService) CalculateCoverage(agent string
// coverage requested.
//
// Possible values:
-// "COVERAGE_TYPE_UNSPECIFIED" - Should never be used.
-// "INTENT" - Intent coverage.
-// "PAGE_TRANSITION" - Page transition coverage.
-// "TRANSITION_ROUTE_GROUP" - Transition route group coverage.
+//
+// "COVERAGE_TYPE_UNSPECIFIED" - Should never be used.
+// "INTENT" - Intent coverage.
+// "PAGE_TRANSITION" - Page transition coverage.
+// "TRANSITION_ROUTE_GROUP" - Transition route group coverage.
func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Type(type_ string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall {
c.urlParams_.Set("type", type_)
return c
@@ -33811,8 +33821,8 @@ type ProjectsLocationsAgentsTestCasesCreateCall struct {
// Create: Creates a test case for the given agent.
//
-// - parent: The agent to create the test case for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create the test case for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) Create(parent string, googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase) *ProjectsLocationsAgentsTestCasesCreateCall {
c := &ProjectsLocationsAgentsTestCasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33962,8 +33972,8 @@ type ProjectsLocationsAgentsTestCasesExportCall struct {
// fields: - `metadata`: ExportTestCasesMetadata - `response`:
// ExportTestCasesResponse
//
-// - parent: The agent where to export test cases from. Format:
-// `projects//locations//agents/`.
+// - parent: The agent where to export test cases from. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) Export(parent string, googleclouddialogflowcxv3exporttestcasesrequest *GoogleCloudDialogflowCxV3ExportTestCasesRequest) *ProjectsLocationsAgentsTestCasesExportCall {
c := &ProjectsLocationsAgentsTestCasesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -34106,8 +34116,8 @@ type ProjectsLocationsAgentsTestCasesGetCall struct {
// Get: Gets a test case.
//
-// - name: The name of the testcase. Format:
-// `projects//locations//agents//testCases/`.
+// - name: The name of the testcase. Format:
+// `projects//locations//agents//testCases/`.
func (r *ProjectsLocationsAgentsTestCasesService) Get(name string) *ProjectsLocationsAgentsTestCasesGetCall {
c := &ProjectsLocationsAgentsTestCasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34262,8 +34272,8 @@ type ProjectsLocationsAgentsTestCasesImportCall struct {
// fields: - `metadata`: ImportTestCasesMetadata - `response`:
// ImportTestCasesResponse
//
-// - parent: The agent to import test cases to. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to import test cases to. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) Import(parent string, googleclouddialogflowcxv3importtestcasesrequest *GoogleCloudDialogflowCxV3ImportTestCasesRequest) *ProjectsLocationsAgentsTestCasesImportCall {
c := &ProjectsLocationsAgentsTestCasesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -34406,8 +34416,8 @@ type ProjectsLocationsAgentsTestCasesListCall struct {
// List: Fetches a list of test cases for a given agent.
//
-// - parent: The agent to list all pages for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to list all pages for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) List(parent string) *ProjectsLocationsAgentsTestCasesListCall {
c := &ProjectsLocationsAgentsTestCasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -34434,11 +34444,16 @@ func (c *ProjectsLocationsAgentsTestCasesListCall) PageToken(pageToken string) *
// should include all fields or just the metadata.
//
// Possible values:
-// "TEST_CASE_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
+// "TEST_CASE_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
// will default to the BASIC view.
-// "BASIC" - Include basic metadata about the test case, but not the
+//
+// "BASIC" - Include basic metadata about the test case, but not the
+//
// conversation turns. This is the default value.
-// "FULL" - Include everything.
+//
+// "FULL" - Include everything.
func (c *ProjectsLocationsAgentsTestCasesListCall) View(view string) *ProjectsLocationsAgentsTestCasesListCall {
c.urlParams_.Set("view", view)
return c
@@ -34633,9 +34648,9 @@ type ProjectsLocationsAgentsTestCasesPatchCall struct {
// Patch: Updates the specified test case.
//
-// - name: The unique identifier of the test case.
-// TestCases.CreateTestCase will populate the name automatically.
-// Otherwise use format: `projects//locations//agents/ /testCases/`.
+// - name: The unique identifier of the test case.
+// TestCases.CreateTestCase will populate the name automatically.
+// Otherwise use format: `projects//locations//agents/ /testCases/`.
func (r *ProjectsLocationsAgentsTestCasesService) Patch(nameid string, googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase) *ProjectsLocationsAgentsTestCasesPatchCall {
c := &ProjectsLocationsAgentsTestCasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -34798,8 +34813,8 @@ type ProjectsLocationsAgentsTestCasesRunCall struct {
// fields: - `metadata`: RunTestCaseMetadata - `response`:
// RunTestCaseResponse
//
-// - name: Format of test case name to run: `projects//locations/
-// /agents//testCases/`.
+// - name: Format of test case name to run: `projects//locations/
+// /agents//testCases/`.
func (r *ProjectsLocationsAgentsTestCasesService) Run(name string, googleclouddialogflowcxv3runtestcaserequest *GoogleCloudDialogflowCxV3RunTestCaseRequest) *ProjectsLocationsAgentsTestCasesRunCall {
c := &ProjectsLocationsAgentsTestCasesRunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34942,8 +34957,8 @@ type ProjectsLocationsAgentsTestCasesResultsGetCall struct {
// Get: Gets a test case result.
//
-// - name: The name of the testcase. Format:
-// `projects//locations//agents//testCases//results/`.
+// - name: The name of the testcase. Format:
+// `projects//locations//agents//testCases//results/`.
func (r *ProjectsLocationsAgentsTestCasesResultsService) Get(name string) *ProjectsLocationsAgentsTestCasesResultsGetCall {
c := &ProjectsLocationsAgentsTestCasesResultsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -35091,10 +35106,10 @@ type ProjectsLocationsAgentsTestCasesResultsListCall struct {
// List: Fetches a list of results for a given test case.
//
-// - parent: The test case to list results for. Format:
-// `projects//locations//agents// testCases/`. Specify a `-` as a
-// wildcard for TestCase ID to list results across multiple test
-// cases.
+// - parent: The test case to list results for. Format:
+// `projects//locations//agents// testCases/`. Specify a `-` as a
+// wildcard for TestCase ID to list results across multiple test
+// cases.
func (r *ProjectsLocationsAgentsTestCasesResultsService) List(parent string) *ProjectsLocationsAgentsTestCasesResultsListCall {
c := &ProjectsLocationsAgentsTestCasesResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35313,8 +35328,8 @@ type ProjectsLocationsAgentsWebhooksCreateCall struct {
// Create: Creates a webhook in the specified agent.
//
-// - parent: The agent to create a webhook for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create a webhook for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsWebhooksService) Create(parent string, googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook) *ProjectsLocationsAgentsWebhooksCreateCall {
c := &ProjectsLocationsAgentsWebhooksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35456,8 +35471,8 @@ type ProjectsLocationsAgentsWebhooksDeleteCall struct {
// Delete: Deletes the specified webhook.
//
-// - name: The name of the webhook to delete. Format:
-// `projects//locations//agents//webhooks/`.
+// - name: The name of the webhook to delete. Format:
+// `projects//locations//agents//webhooks/`.
func (r *ProjectsLocationsAgentsWebhooksService) Delete(name string) *ProjectsLocationsAgentsWebhooksDeleteCall {
c := &ProjectsLocationsAgentsWebhooksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -35608,8 +35623,8 @@ type ProjectsLocationsAgentsWebhooksGetCall struct {
// Get: Retrieves the specified webhook.
//
-// - name: The name of the webhook. Format:
-// `projects//locations//agents//webhooks/`.
+// - name: The name of the webhook. Format:
+// `projects//locations//agents//webhooks/`.
func (r *ProjectsLocationsAgentsWebhooksService) Get(name string) *ProjectsLocationsAgentsWebhooksGetCall {
c := &ProjectsLocationsAgentsWebhooksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -35756,8 +35771,8 @@ type ProjectsLocationsAgentsWebhooksListCall struct {
// List: Returns the list of all webhooks in the specified agent.
//
-// - parent: The agent to list all webhooks for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to list all webhooks for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsWebhooksService) List(parent string) *ProjectsLocationsAgentsWebhooksListCall {
c := &ProjectsLocationsAgentsWebhooksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35952,10 +35967,10 @@ type ProjectsLocationsAgentsWebhooksPatchCall struct {
// Patch: Updates the specified webhook.
//
-// - name: The unique identifier of the webhook. Required for the
-// Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the
-// name automatically. Format:
-// `projects//locations//agents//webhooks/`.
+// - name: The unique identifier of the webhook. Required for the
+// Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the
+// name automatically. Format:
+// `projects//locations//agents//webhooks/`.
func (r *ProjectsLocationsAgentsWebhooksService) Patch(nameid string, googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook) *ProjectsLocationsAgentsWebhooksPatchCall {
c := &ProjectsLocationsAgentsWebhooksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -36618,8 +36633,8 @@ type ProjectsLocationsSecuritySettingsCreateCall struct {
// Create: Create security settings in the specified location.
//
-// - parent: The location to create an SecuritySettings for. Format:
-// `projects//locations/`.
+// - parent: The location to create an SecuritySettings for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsSecuritySettingsService) Create(parent string, googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings) *ProjectsLocationsSecuritySettingsCreateCall {
c := &ProjectsLocationsSecuritySettingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -36763,8 +36778,8 @@ type ProjectsLocationsSecuritySettingsDeleteCall struct {
// Delete: Deletes the specified SecuritySettings.
//
-// - name: The name of the SecuritySettings to delete. Format:
-// `projects//locations//securitySettings/`.
+// - name: The name of the SecuritySettings to delete. Format:
+// `projects//locations//securitySettings/`.
func (r *ProjectsLocationsSecuritySettingsService) Delete(name string) *ProjectsLocationsSecuritySettingsDeleteCall {
c := &ProjectsLocationsSecuritySettingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -36899,8 +36914,8 @@ type ProjectsLocationsSecuritySettingsGetCall struct {
// Get: Retrieves the specified SecuritySettings. The returned settings
// may be stale by up to 1 minute.
//
-// - name: Resource name of the settings. Format:
-// `projects//locations//securitySettings/`.
+// - name: Resource name of the settings. Format:
+// `projects//locations//securitySettings/`.
func (r *ProjectsLocationsSecuritySettingsService) Get(name string) *ProjectsLocationsSecuritySettingsGetCall {
c := &ProjectsLocationsSecuritySettingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -37050,8 +37065,8 @@ type ProjectsLocationsSecuritySettingsListCall struct {
// List: Returns the list of all security settings in the specified
// location.
//
-// - parent: The location to list all security settings for. Format:
-// `projects//locations/`.
+// - parent: The location to list all security settings for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsSecuritySettingsService) List(parent string) *ProjectsLocationsSecuritySettingsListCall {
c := &ProjectsLocationsSecuritySettingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -37246,10 +37261,10 @@ type ProjectsLocationsSecuritySettingsPatchCall struct {
// Patch: Updates the specified SecuritySettings.
//
-// - name: Resource name of the settings. Required for the
-// SecuritySettingsService.UpdateSecuritySettings method.
-// SecuritySettingsService.CreateSecuritySettings populates the name
-// automatically. Format: `projects//locations//securitySettings/`.
+// - name: Resource name of the settings. Required for the
+// SecuritySettingsService.UpdateSecuritySettings method.
+// SecuritySettingsService.CreateSecuritySettings populates the name
+// automatically. Format: `projects//locations//securitySettings/`.
func (r *ProjectsLocationsSecuritySettingsService) Patch(name string, googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings) *ProjectsLocationsSecuritySettingsPatchCall {
c := &ProjectsLocationsSecuritySettingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/dialogflow/v3alpha1/dialogflow-gen.go b/dialogflow/v3alpha1/dialogflow-gen.go
index 163f250908b..aaafdab874f 100644
--- a/dialogflow/v3alpha1/dialogflow-gen.go
+++ b/dialogflow/v3alpha1/dialogflow-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/dialogflow/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dialogflow/v3alpha1"
-// ...
-// ctx := context.Background()
-// dialogflowService, err := dialogflow.NewService(ctx)
+// import "google.golang.org/api/dialogflow/v3alpha1"
+// ...
+// ctx := context.Background()
+// dialogflowService, err := dialogflow.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dialogflow // import "google.golang.org/api/dialogflow/v3alpha1"
@@ -425,20 +425,30 @@ func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSO
// approach is
// as follows:
//
-// * If at least one OutputAudioText response is present, then all
-// OutputAudioText responses are linearly concatenated, and the result
+// - If at least one OutputAudioText response is present, then all
+// OutputAudioText responses are linearly concatenated, and the result
+//
// is used
-// for output audio synthesis.
+//
+// for output audio synthesis.
+//
// * If the OutputAudioText responses are a mixture of text and SSML,
// then the
-// concatenated result is treated as SSML; otherwise, the result is
+//
+// concatenated result is treated as SSML; otherwise, the result is
+//
// treated as
-// either text or SSML as appropriate. The agent designer should
+//
+// either text or SSML as appropriate. The agent designer should
+//
// ideally use
-// either text or SSML consistently throughout the bot design.
+//
+// either text or SSML consistently throughout the bot design.
+//
// * Otherwise, all Text responses are linearly concatenated, and the
// result is
-// used for output audio synthesis.
+//
+// used for output audio synthesis.
//
// This approach allows for more sophisticated user experience
// scenarios, where
@@ -497,11 +507,13 @@ func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, e
// ConversationSuccess.
//
// You may set this, for example:
-// * In the entry_fulfillment of a Page if
-// entering the page indicates that the conversation succeeded.
-// * In a webhook response when you determine that you handled the
+// - In the entry_fulfillment of a Page if
+// entering the page indicates that the conversation succeeded.
+// - In a webhook response when you determine that you handled the
+//
// customer
-// issue.
+//
+// issue.
type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct {
// Metadata: Custom metadata. Dialogflow doesn't impose any structure on
// this.
@@ -541,12 +553,14 @@ func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) Marsh
// is up to you and your handoff procedures.
//
// You may set this, for example:
-// * In the entry_fulfillment of a Page if
-// entering the page indicates something went extremely wrong in the
-// conversation.
-// * In a webhook response when you determine that the customer issue
+// - In the entry_fulfillment of a Page if
+// entering the page indicates something went extremely wrong in the
+// conversation.
+// - In a webhook response when you determine that the customer issue
+//
// can only
-// be handled by a human.
+//
+// be handled by a human.
type GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff struct {
// Metadata: Custom metadata for your handoff procedure. Dialogflow
// doesn't impose
@@ -4468,7 +4482,8 @@ func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON()
}
// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction:
-// Opens the given URI.
+//
+// Opens the given URI.
type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct {
// Uri: Required. The HTTP or HTTPS scheme URI.
Uri string `json:"uri,omitempty"`
@@ -5133,14 +5148,14 @@ func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON()
// Business Messaging (RBM) Media displayed in Cards
// The following media-types are currently supported:
//
-// Image Types
+// # Image Types
//
// * image/jpeg
// * image/jpg'
// * image/gif
// * image/png
//
-// Video Types
+// # Video Types
//
// * video/h263
// * video/m4v
@@ -7114,10 +7129,12 @@ func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) {
// request
// or the response type of an API method. For instance:
//
-// service Foo {
-// rpc Bar(google.protobuf.Empty) returns
+// service Foo {
+// rpc Bar(google.protobuf.Empty) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// The JSON representation for `Empty` is empty JSON object `{}`.
type GoogleProtobufEmpty struct {
@@ -7189,7 +7206,9 @@ type ProjectsLocationsOperationsCancelCall struct {
}
// Cancel: Starts asynchronous cancellation on a long-running operation.
-// The server
+//
+// The server
+//
// makes a best effort to cancel the operation, but success is
// not
// guaranteed. If the server doesn't support this method, it
@@ -7706,7 +7725,9 @@ type ProjectsOperationsCancelCall struct {
}
// Cancel: Starts asynchronous cancellation on a long-running operation.
-// The server
+//
+// The server
+//
// makes a best effort to cancel the operation, but success is
// not
// guaranteed. If the server doesn't support this method, it
diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go
index b95c19ffb03..76c8bd98fc6 100644
--- a/dialogflow/v3beta1/dialogflow-gen.go
+++ b/dialogflow/v3beta1/dialogflow-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/dialogflow/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dialogflow/v3beta1"
-// ...
-// ctx := context.Background()
-// dialogflowService, err := dialogflow.NewService(ctx)
+// import "google.golang.org/api/dialogflow/v3beta1"
+// ...
+// ctx := context.Background()
+// dialogflowService, err := dialogflow.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dialogflow // import "google.golang.org/api/dialogflow/v3beta1"
@@ -3627,7 +3627,8 @@ func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) UnmarshalJSON(data [
}
// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue:
-// Represents a value for an intent parameter.
+//
+// Represents a value for an intent parameter.
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct {
// OriginalValue: Always present. Original text value extracted from
// user utterance.
@@ -12392,7 +12393,7 @@ func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error)
// GoogleCloudDialogflowV2EventInput: Events allow for matching intents
// by event name instead of the natural language input. For instance,
-// input `` can trigger a personalized welcome response. The parameter
+// input “ can trigger a personalized welcome response. The parameter
// `name` may be used by the agent in the response: "Hello
// #welcome_event.name! What can I do for you today?".
type GoogleCloudDialogflowV2EventInput struct {
@@ -15623,7 +15624,7 @@ func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, er
// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching
// intents by event name instead of the natural language input. For
-// instance, input `` can trigger a personalized welcome response. The
+// instance, input “ can trigger a personalized welcome response. The
// parameter `name` may be used by the agent in the response: "Hello
// #welcome_event.name! What can I do for you today?".
type GoogleCloudDialogflowV2beta1EventInput struct {
@@ -16301,7 +16302,8 @@ func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON()
}
// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction:
-// Opens the given URI.
+//
+// Opens the given URI.
type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct {
// Uri: Required. The HTTP or HTTPS scheme URI.
Uri string `json:"uri,omitempty"`
@@ -19579,8 +19581,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19793,8 +19795,8 @@ type ProjectsLocationsAgentsCreateCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The location to create a agent for. Format:
-// `projects//locations/`.
+// - parent: The location to create a agent for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsCreateCall {
c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19937,8 +19939,8 @@ type ProjectsLocationsAgentsDeleteCall struct {
// Delete: Deletes the specified agent.
//
-// - name: The name of the agent to delete. Format:
-// `projects//locations//agents/`.
+// - name: The name of the agent to delete. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall {
c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20078,8 +20080,8 @@ type ProjectsLocationsAgentsExportCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: ExportAgentResponse
//
-// - name: The name of the agent to export. Format:
-// `projects//locations//agents/`.
+// - name: The name of the agent to export. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) *ProjectsLocationsAgentsExportCall {
c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20222,8 +20224,8 @@ type ProjectsLocationsAgentsGetCall struct {
// Get: Retrieves the specified agent.
//
-// - name: The name of the agent. Format:
-// `projects//locations//agents/`.
+// - name: The name of the agent. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall {
c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20372,8 +20374,8 @@ type ProjectsLocationsAgentsGetValidationResultCall struct {
// GetValidationResult: Gets the latest agent validation result. Agent
// validation is performed when ValidateAgent is called.
//
-// - name: The agent name. Format:
-// `projects//locations//agents//validationResult`.
+// - name: The agent name. Format:
+// `projects//locations//agents//validationResult`.
func (r *ProjectsLocationsAgentsService) GetValidationResult(name string) *ProjectsLocationsAgentsGetValidationResultCall {
c := &ProjectsLocationsAgentsGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20534,8 +20536,8 @@ type ProjectsLocationsAgentsListCall struct {
// List: Returns the list of all agents in the specified location.
//
-// - parent: The location to list all agents for. Format:
-// `projects//locations/`.
+// - parent: The location to list all agents for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall {
c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20732,9 +20734,9 @@ type ProjectsLocationsAgentsPatchCall struct {
// flow prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the agent. Required for the
-// Agents.UpdateAgent method. Agents.CreateAgent populates the name
-// automatically. Format: `projects//locations//agents/`.
+// - name: The unique identifier of the agent. Required for the
+// Agents.UpdateAgent method. Agents.CreateAgent populates the name
+// automatically. Format: `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsPatchCall {
c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -20904,8 +20906,8 @@ type ProjectsLocationsAgentsRestoreCall struct {
// the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The name of the agent to restore into. Format:
-// `projects//locations//agents/`.
+// - name: The name of the agent to restore into. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall {
c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21051,8 +21053,8 @@ type ProjectsLocationsAgentsValidateCall struct {
// call this API after the training is completed to get the complete
// validation results.
//
-// - name: The agent to validate. Format:
-// `projects//locations//agents/`.
+// - name: The agent to validate. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsService) Validate(name string, googleclouddialogflowcxv3beta1validateagentrequest *GoogleCloudDialogflowCxV3beta1ValidateAgentRequest) *ProjectsLocationsAgentsValidateCall {
c := &ProjectsLocationsAgentsValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21197,8 +21199,8 @@ type ProjectsLocationsAgentsChangelogsGetCall struct {
// Get: Retrieves the specified Changelog.
//
-// - name: The name of the changelog to get. Format:
-// `projects//locations//agents//changelogs/`.
+// - name: The name of the changelog to get. Format:
+// `projects//locations//agents//changelogs/`.
func (r *ProjectsLocationsAgentsChangelogsService) Get(name string) *ProjectsLocationsAgentsChangelogsGetCall {
c := &ProjectsLocationsAgentsChangelogsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21346,8 +21348,8 @@ type ProjectsLocationsAgentsChangelogsListCall struct {
// List: Returns the list of Changelogs.
//
-// - parent: The agent containing the changelogs. Format:
-// `projects//locations//agents/`.
+// - parent: The agent containing the changelogs. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsChangelogsService) List(parent string) *ProjectsLocationsAgentsChangelogsListCall {
c := &ProjectsLocationsAgentsChangelogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21564,8 +21566,8 @@ type ProjectsLocationsAgentsEntityTypesCreateCall struct {
// Create: Creates an entity type in the specified agent.
//
-// - parent: The agent to create a entity type for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create a entity type for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall {
c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21730,8 +21732,8 @@ type ProjectsLocationsAgentsEntityTypesDeleteCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The name of the entity type to delete. Format:
-// `projects//locations//agents//entityTypes/`.
+// - name: The name of the entity type to delete. Format:
+// `projects//locations//agents//entityTypes/`.
func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21883,8 +21885,8 @@ type ProjectsLocationsAgentsEntityTypesGetCall struct {
// Get: Retrieves the specified entity type.
//
-// - name: The name of the entity type. Format:
-// `projects//locations//agents//entityTypes/`.
+// - name: The name of the entity type. Format:
+// `projects//locations//agents//entityTypes/`.
func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall {
c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22052,8 +22054,8 @@ type ProjectsLocationsAgentsEntityTypesListCall struct {
// List: Returns the list of all entity types in the specified agent.
//
-// - parent: The agent to list all entity types for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to list all entity types for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall {
c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22270,9 +22272,9 @@ type ProjectsLocationsAgentsEntityTypesPatchCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the entity type. Required for
-// EntityTypes.UpdateEntityType. Format:
-// `projects//locations//agents//entityTypes/`.
+// - name: The unique identifier of the entity type. Required for
+// EntityTypes.UpdateEntityType. Format:
+// `projects//locations//agents//entityTypes/`.
func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall {
c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -22454,8 +22456,8 @@ type ProjectsLocationsAgentsEnvironmentsCreateCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: Environment
//
-// - parent: The Agent to create an Environment for. Format:
-// `projects//locations//agents/`.
+// - parent: The Agent to create an Environment for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall {
c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22597,8 +22599,8 @@ type ProjectsLocationsAgentsEnvironmentsDeleteCall struct {
// Delete: Deletes the specified Environment.
//
-// - name: The name of the Environment to delete. Format:
-// `projects//locations//agents//environments/`.
+// - name: The name of the Environment to delete. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall {
c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22737,8 +22739,8 @@ type ProjectsLocationsAgentsEnvironmentsDeployFlowCall struct {
// fields: - `metadata`: DeployFlowMetadata - `response`:
// DeployFlowResponse
//
-// - environment: The environment to deploy the flow to. Format:
-// `projects//locations//agents// environments/`.
+// - environment: The environment to deploy the flow to. Format:
+// `projects//locations//agents// environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) DeployFlow(environment string, googleclouddialogflowcxv3beta1deployflowrequest *GoogleCloudDialogflowCxV3beta1DeployFlowRequest) *ProjectsLocationsAgentsEnvironmentsDeployFlowCall {
c := &ProjectsLocationsAgentsEnvironmentsDeployFlowCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.environment = environment
@@ -22881,8 +22883,8 @@ type ProjectsLocationsAgentsEnvironmentsGetCall struct {
// Get: Retrieves the specified Environment.
//
-// - name: The name of the Environment. Format:
-// `projects//locations//agents//environments/`.
+// - name: The name of the Environment. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall {
c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23031,8 +23033,8 @@ type ProjectsLocationsAgentsEnvironmentsListCall struct {
// List: Returns the list of all environments in the specified Agent.
//
-// - parent: The Agent to list all environments for. Format:
-// `projects//locations//agents/`.
+// - parent: The Agent to list all environments for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall {
c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23229,8 +23231,8 @@ type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct {
// LookupEnvironmentHistory: Looks up the history of the specified
// Environment.
//
-// - name: Resource name of the environment to look up the history for.
-// Format: `projects//locations//agents//environments/`.
+// - name: Resource name of the environment to look up the history for.
+// Format: `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall {
c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23432,8 +23434,8 @@ type ProjectsLocationsAgentsEnvironmentsPatchCall struct {
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: Environment
//
-// - name: The name of the environment. Format:
-// `projects//locations//agents//environments/`.
+// - name: The name of the environment. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall {
c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23738,8 +23740,8 @@ type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall struct {
// List: Fetches a list of continuous test results for a given
// environment.
//
-// - parent: The environment to list results for. Format:
-// `projects//locations//agents// environments/`.
+// - parent: The environment to list results for. Format:
+// `projects//locations//agents// environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall {
c := &ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23935,8 +23937,8 @@ type ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall struct {
// Get: Retrieves the specified Deployment.
//
-// - name: The name of the Deployment. Format:
-// `projects//locations//agents//environments//deployments/`.
+// - name: The name of the Deployment. Format:
+// `projects//locations//agents//environments//deployments/`.
func (r *ProjectsLocationsAgentsEnvironmentsDeploymentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall {
c := &ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24086,8 +24088,8 @@ type ProjectsLocationsAgentsEnvironmentsDeploymentsListCall struct {
// List: Returns the list of all deployments in the specified
// Environment.
//
-// - parent: The Environment to list all environments for. Format:
-// `projects//locations//agents//environments/`.
+// - parent: The Environment to list all environments for. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsDeploymentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall {
c := &ProjectsLocationsAgentsEnvironmentsDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24282,8 +24284,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall struct {
// Create: Creates an Experiment in the specified Environment.
//
-// - parent: The Agent to create an Environment for. Format:
-// `projects//locations//agents//environments/`.
+// - parent: The Agent to create an Environment for. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Create(parent string, googleclouddialogflowcxv3beta1experiment *GoogleCloudDialogflowCxV3beta1Experiment) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24427,8 +24429,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall struct {
// Delete: Deletes the specified Experiment.
//
-// - name: The name of the Environment to delete. Format:
-// `projects//locations//agents//environments//experiments/`.
+// - name: The name of the Environment to delete. Format:
+// `projects//locations//agents//environments//experiments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24562,8 +24564,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsGetCall struct {
// Get: Retrieves the specified Experiment.
//
-// - name: The name of the Environment. Format:
-// `projects//locations//agents//environments//experiments/`.
+// - name: The name of the Environment. Format:
+// `projects//locations//agents//environments//experiments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24713,8 +24715,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsListCall struct {
// List: Returns the list of all experiments in the specified
// Environment.
//
-// - parent: The Environment to list all environments for. Format:
-// `projects//locations//agents//environments/`.
+// - parent: The Environment to list all environments for. Format:
+// `projects//locations//agents//environments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24909,8 +24911,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall struct {
// Patch: Updates the specified Experiment.
//
-// - name: The name of the experiment. Format:
-// projects//locations//agents//environments//experiments/..
+// - name: The name of the experiment. Format:
+// projects//locations//agents//environments//experiments/..
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Patch(name string, googleclouddialogflowcxv3beta1experiment *GoogleCloudDialogflowCxV3beta1Experiment) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25069,8 +25071,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsStartCall struct {
// Start: Starts the specified Experiment. This rpc only changes the
// state of experiment from PENDING to RUNNING.
//
-// - name: Resource name of the experiment to start. Format:
-// `projects//locations//agents//environments//experiments/`.
+// - name: Resource name of the experiment to start. Format:
+// `projects//locations//agents//environments//experiments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Start(name string, googleclouddialogflowcxv3beta1startexperimentrequest *GoogleCloudDialogflowCxV3beta1StartExperimentRequest) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25216,8 +25218,8 @@ type ProjectsLocationsAgentsEnvironmentsExperimentsStopCall struct {
// Stop: Stops the specified Experiment. This rpc only changes the state
// of experiment from RUNNING to DONE.
//
-// - name: Resource name of the experiment to stop. Format:
-// `projects//locations//agents//environments//experiments/`.
+// - name: Resource name of the experiment to stop. Format:
+// `projects//locations//agents//environments//experiments/`.
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Stop(name string, googleclouddialogflowcxv3beta1stopexperimentrequest *GoogleCloudDialogflowCxV3beta1StopExperimentRequest) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall {
c := &ProjectsLocationsAgentsEnvironmentsExperimentsStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25368,19 +25370,19 @@ type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct {
// environments
// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
-// Note: Always use agent versions for production traffic. See
-// Versions and environments
-// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// Note: Always use agent versions for production traffic. See
+// Versions and environments
+// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -25527,16 +25529,16 @@ type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct {
// Must be called after MatchIntent, with input from
// MatchIntentResponse. Otherwise, the behavior is undefined.
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -25682,16 +25684,16 @@ type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct {
// MatchIntent: Returns preliminary intent match results, doesn't change
// the session status.
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -25836,11 +25838,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct {
// Create: Creates a session entity type.
//
-// - parent: The session to create a session entity type for. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - parent: The session to create a session entity type for. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25906,7 +25908,9 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doReq
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -25984,11 +25988,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct {
// Delete: Deletes the specified session entity type.
//
-// - name: The name of the session entity type to delete. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The name of the session entity type to delete. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26122,11 +26126,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct {
// Get: Retrieves the specified session entity type.
//
-// - name: The name of the session entity type. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The name of the session entity type. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26199,7 +26203,9 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doReques
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -26276,11 +26282,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct {
// List: Returns the list of all session entity types in the specified
// session.
//
-// - parent: The session to list all session entity types from. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - parent: The session to list all session entity types from. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26476,11 +26482,11 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct {
// Patch: Updates the specified session entity type.
//
-// - name: The unique identifier of the session entity type. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The unique identifier of the session entity type. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall {
c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -26553,7 +26559,9 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequ
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -26641,8 +26649,8 @@ type ProjectsLocationsAgentsFlowsCreateCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The agent to create a flow for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create a flow for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsCreateCall {
c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26805,8 +26813,8 @@ type ProjectsLocationsAgentsFlowsDeleteCall struct {
// Delete: Deletes a specified flow.
//
-// - name: The name of the flow to delete. Format:
-// `projects//locations//agents//flows/`.
+// - name: The name of the flow to delete. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall {
c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26964,8 +26972,8 @@ type ProjectsLocationsAgentsFlowsExportCall struct {
// - `response`: ExportFlowResponse Note that resources (e.g. intents,
// entities, webhooks) that the flow references will also be exported.
//
-// - name: The name of the flow to export. Format:
-// `projects//locations//agents//flows/`.
+// - name: The name of the flow to export. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Export(name string, googleclouddialogflowcxv3beta1exportflowrequest *GoogleCloudDialogflowCxV3beta1ExportFlowRequest) *ProjectsLocationsAgentsFlowsExportCall {
c := &ProjectsLocationsAgentsFlowsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27108,8 +27116,8 @@ type ProjectsLocationsAgentsFlowsGetCall struct {
// Get: Retrieves the specified flow.
//
-// - name: The name of the flow to get. Format:
-// `projects//locations//agents//flows/`.
+// - name: The name of the flow to get. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall {
c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27278,8 +27286,8 @@ type ProjectsLocationsAgentsFlowsGetValidationResultCall struct {
// GetValidationResult: Gets the latest flow validation result. Flow
// validation is performed when ValidateFlow is called.
//
-// - name: The flow name. Format:
-// `projects//locations//agents//flows//validationResult`.
+// - name: The flow name. Format:
+// `projects//locations//agents//flows//validationResult`.
func (r *ProjectsLocationsAgentsFlowsService) GetValidationResult(name string) *ProjectsLocationsAgentsFlowsGetValidationResultCall {
c := &ProjectsLocationsAgentsFlowsGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27448,8 +27456,8 @@ type ProjectsLocationsAgentsFlowsImportCall struct {
// prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The agent to import the flow into. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to import the flow into. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsFlowsService) Import(parent string, googleclouddialogflowcxv3beta1importflowrequest *GoogleCloudDialogflowCxV3beta1ImportFlowRequest) *ProjectsLocationsAgentsFlowsImportCall {
c := &ProjectsLocationsAgentsFlowsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27592,8 +27600,8 @@ type ProjectsLocationsAgentsFlowsListCall struct {
// List: Returns the list of all flows in the specified agent.
//
-// - parent: The agent containing the flows. Format:
-// `projects//locations//agents/`.
+// - parent: The agent containing the flows. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall {
c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27695,7 +27703,9 @@ func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Resp
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowCxV3beta1ListFlowsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -27810,8 +27820,8 @@ type ProjectsLocationsAgentsFlowsPatchCall struct {
// flow prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the flow. Format:
-// `projects//locations//agents//flows/`.
+// - name: The unique identifier of the flow. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsPatchCall {
c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -27999,8 +28009,8 @@ type ProjectsLocationsAgentsFlowsTrainCall struct {
// the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The flow to train. Format:
-// `projects//locations//agents//flows/`.
+// - name: The flow to train. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall {
c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28145,8 +28155,8 @@ type ProjectsLocationsAgentsFlowsValidateCall struct {
// validation results. Please call this API after the training is
// completed to get the complete validation results.
//
-// - name: The flow to validate. Format:
-// `projects//locations//agents//flows/`.
+// - name: The flow to validate. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsService) Validate(name string, googleclouddialogflowcxv3beta1validateflowrequest *GoogleCloudDialogflowCxV3beta1ValidateFlowRequest) *ProjectsLocationsAgentsFlowsValidateCall {
c := &ProjectsLocationsAgentsFlowsValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28291,8 +28301,8 @@ type ProjectsLocationsAgentsFlowsPagesCreateCall struct {
// Create: Creates a page in the specified flow.
//
-// - parent: The flow to create a page for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The flow to create a page for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesCreateCall {
c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -28464,8 +28474,8 @@ type ProjectsLocationsAgentsFlowsPagesDeleteCall struct {
// Delete: Deletes the specified page.
//
-// - name: The name of the page to delete. Format:
-// `projects//locations//agents//Flows//pages/`.
+// - name: The name of the page to delete. Format:
+// `projects//locations//agents//Flows//pages/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall {
c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28616,8 +28626,8 @@ type ProjectsLocationsAgentsFlowsPagesGetCall struct {
// Get: Retrieves the specified page.
//
-// - name: The name of the page. Format:
-// `projects//locations//agents//flows//pages/`.
+// - name: The name of the page. Format:
+// `projects//locations//agents//flows//pages/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall {
c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28794,8 +28804,8 @@ type ProjectsLocationsAgentsFlowsPagesListCall struct {
// List: Returns the list of all pages in the specified flow.
//
-// - parent: The flow to list all pages for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The flow to list all pages for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall {
c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -28906,7 +28916,9 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowCxV3beta1ListPagesResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -29019,10 +29031,10 @@ type ProjectsLocationsAgentsFlowsPagesPatchCall struct {
// Patch: Updates the specified page.
//
-// - name: The unique identifier of the page. Required for the
-// Pages.UpdatePage method. Pages.CreatePage populates the name
-// automatically. Format:
-// `projects//locations//agents//flows//pages/`.
+// - name: The unique identifier of the page. Required for the
+// Pages.UpdatePage method. Pages.CreatePage populates the name
+// automatically. Format:
+// `projects//locations//agents//flows//pages/`.
func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesPatchCall {
c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -29212,8 +29224,8 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct {
// training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The flow to create an TransitionRouteGroup for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The flow to create an TransitionRouteGroup for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29380,8 +29392,8 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The name of the TransitionRouteGroup to delete. Format:
-// `projects//locations//agents//flows//transitionRouteGroups/`.
+// - name: The name of the TransitionRouteGroup to delete. Format:
+// `projects//locations//agents//flows//transitionRouteGroups/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29532,8 +29544,8 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct {
// Get: Retrieves the specified TransitionRouteGroup.
//
-// - name: The name of the TransitionRouteGroup. Format:
-// `projects//locations//agents//flows//transitionRouteGroups/`.
+// - name: The name of the TransitionRouteGroup. Format:
+// `projects//locations//agents//flows//transitionRouteGroups/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -29704,8 +29716,8 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct {
// List: Returns the list of all transition route groups in the
// specified flow.
//
-// - parent: The flow to list all transition route groups for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The flow to list all transition route groups for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29925,10 +29937,10 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the transition route group.
-// TransitionRouteGroups.CreateTransitionRouteGroup populates the name
-// automatically. Format:
-// `projects//locations//agents//flows//transitionRouteGroups/`.
+// - name: The unique identifier of the transition route group.
+// TransitionRouteGroups.CreateTransitionRouteGroup populates the name
+// automatically. Format:
+// `projects//locations//agents//flows//transitionRouteGroups/`.
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall {
c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -30107,10 +30119,10 @@ type ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall struct {
// CompareVersions: Compares the specified base version with target
// version.
//
-// - baseVersion: Name of the base flow version to compare with the
-// target version. Use version ID `0` to indicate the draft version of
-// the specified flow. Format: `projects//locations//agents/
-// /flows//versions/`.
+// - baseVersion: Name of the base flow version to compare with the
+// target version. Use version ID `0` to indicate the draft version of
+// the specified flow. Format: `projects//locations//agents/
+// /flows//versions/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) CompareVersions(baseVersion string, googleclouddialogflowcxv3beta1compareversionsrequest *GoogleCloudDialogflowCxV3beta1CompareVersionsRequest) *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall {
c := &ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.baseVersion = baseVersion
@@ -30260,8 +30272,8 @@ type ProjectsLocationsAgentsFlowsVersionsCreateCall struct {
// fields: - `metadata`: CreateVersionOperationMetadata - `response`:
// Version
//
-// - parent: The Flow to create an Version for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The Flow to create an Version for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall {
c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30403,8 +30415,8 @@ type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct {
// Delete: Deletes the specified Version.
//
-// - name: The name of the Version to delete. Format:
-// `projects//locations//agents//flows//versions/`.
+// - name: The name of the Version to delete. Format:
+// `projects//locations//agents//flows//versions/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall {
c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30538,8 +30550,8 @@ type ProjectsLocationsAgentsFlowsVersionsGetCall struct {
// Get: Retrieves the specified Version.
//
-// - name: The name of the Version. Format:
-// `projects//locations//agents//flows//versions/`.
+// - name: The name of the Version. Format:
+// `projects//locations//agents//flows//versions/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall {
c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30687,8 +30699,8 @@ type ProjectsLocationsAgentsFlowsVersionsListCall struct {
// List: Returns the list of all versions in the specified Flow.
//
-// - parent: The Flow to list all versions for. Format:
-// `projects//locations//agents//flows/`.
+// - parent: The Flow to list all versions for. Format:
+// `projects//locations//agents//flows/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall {
c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30890,8 +30902,8 @@ type ProjectsLocationsAgentsFlowsVersionsLoadCall struct {
// - `response`: An Empty message
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
-// - name: The Version to be loaded to draft flow. Format:
-// `projects//locations//agents//flows//versions/`.
+// - name: The Version to be loaded to draft flow. Format:
+// `projects//locations//agents//flows//versions/`.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall {
c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31034,9 +31046,9 @@ type ProjectsLocationsAgentsFlowsVersionsPatchCall struct {
// Patch: Updates the specified Version.
//
-// - name: Format: projects//locations//agents//flows//versions/.
-// Version ID is a self-increasing number generated by Dialogflow upon
-// version creation.
+// - name: Format: projects//locations//agents//flows//versions/.
+// Version ID is a self-increasing number generated by Dialogflow upon
+// version creation.
func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall {
c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31197,8 +31209,8 @@ type ProjectsLocationsAgentsIntentsCreateCall struct {
// documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - parent: The agent to create an intent for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create an intent for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsCreateCall {
c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31360,8 +31372,8 @@ type ProjectsLocationsAgentsIntentsDeleteCall struct {
// flow prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The name of the intent to delete. Format:
-// `projects//locations//agents//intents/`.
+// - name: The name of the intent to delete. Format:
+// `projects//locations//agents//intents/`.
func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall {
c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31495,8 +31507,8 @@ type ProjectsLocationsAgentsIntentsGetCall struct {
// Get: Retrieves the specified intent.
//
-// - name: The name of the intent. Format:
-// `projects//locations//agents//intents/`.
+// - name: The name of the intent. Format:
+// `projects//locations//agents//intents/`.
func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall {
c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -31661,8 +31673,8 @@ type ProjectsLocationsAgentsIntentsListCall struct {
// List: Returns the list of all intents in the specified agent.
//
-// - parent: The agent to list all intents for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to list all intents for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall {
c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31673,11 +31685,16 @@ func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLoc
// view to apply to the returned intent.
//
// Possible values:
-// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as
+//
+// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as
+//
// INTENT_VIEW_FULL.
-// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in
+//
+// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in
+//
// the response.
-// "INTENT_VIEW_FULL" - All fields are populated.
+//
+// "INTENT_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall {
c.urlParams_.Set("intentView", intentView)
return c
@@ -31905,10 +31922,10 @@ type ProjectsLocationsAgentsIntentsPatchCall struct {
// flow prior to sending it queries. See the training documentation
// (https://cloud.google.com/dialogflow/cx/docs/concept/training).
//
-// - name: The unique identifier of the intent. Required for the
-// Intents.UpdateIntent method. Intents.CreateIntent populates the
-// name automatically. Format:
-// `projects//locations//agents//intents/`.
+// - name: The unique identifier of the intent. Required for the
+// Intents.UpdateIntent method. Intents.CreateIntent populates the
+// name automatically. Format:
+// `projects//locations//agents//intents/`.
func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsPatchCall {
c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -32089,19 +32106,19 @@ type ProjectsLocationsAgentsSessionsDetectIntentCall struct {
// environments
// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
-// Note: Always use agent versions for production traffic. See
-// Versions and environments
-// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// Note: Always use agent versions for production traffic. See
+// Versions and environments
+// (https://cloud.google.com/dialogflow/cx/docs/concept/version).
func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall {
c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -32248,16 +32265,16 @@ type ProjectsLocationsAgentsSessionsFulfillIntentCall struct {
// Must be called after MatchIntent, with input from
// MatchIntentResponse. Otherwise, the behavior is undefined.
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall {
c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -32403,16 +32420,16 @@ type ProjectsLocationsAgentsSessionsMatchIntentCall struct {
// MatchIntent: Returns preliminary intent match results, doesn't change
// the session status.
//
-// - session: The name of the session this query is sent to. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment. It's up to the API caller to choose an appropriate
-// `Session ID`. It can be a random number or some type of session
-// identifiers (preferably hashed). The length of the `Session ID`
-// must not exceed 36 characters. For more information, see the
-// sessions guide
-// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
+// - session: The name of the session this query is sent to. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment. It's up to the API caller to choose an appropriate
+// `Session ID`. It can be a random number or some type of session
+// identifiers (preferably hashed). The length of the `Session ID`
+// must not exceed 36 characters. For more information, see the
+// sessions guide
+// (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall {
c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sessionid = sessionid
@@ -32557,11 +32574,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct {
// Create: Creates a session entity type.
//
-// - parent: The session to create a session entity type for. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - parent: The session to create a session entity type for. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -32627,7 +32644,9 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt str
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -32705,11 +32724,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct {
// Delete: Deletes the specified session entity type.
//
-// - name: The name of the session entity type to delete. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The name of the session entity type to delete. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32843,11 +32862,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct {
// Get: Retrieves the specified session entity type.
//
-// - name: The name of the session entity type. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The name of the session entity type. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32920,7 +32939,9 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -32997,11 +33018,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesListCall struct {
// List: Returns the list of all session entity types in the specified
// session.
//
-// - parent: The session to list all session entity types from. Format:
-// `projects//locations//agents//sessions/` or
-// `projects//locations//agents//environments//sessions/`. If
-// `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - parent: The session to list all session entity types from. Format:
+// `projects//locations//agents//sessions/` or
+// `projects//locations//agents//environments//sessions/`. If
+// `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33197,11 +33218,11 @@ type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct {
// Patch: Updates the specified session entity type.
//
-// - name: The unique identifier of the session entity type. Format:
-// `projects//locations//agents//sessions//entityTypes/` or
-// `projects//locations//agents//environments//sessions//entityTypes/`.
-// If `Environment ID` is not specified, we assume default 'draft'
-// environment.
+// - name: The unique identifier of the session entity type. Format:
+// `projects//locations//agents//sessions//entityTypes/` or
+// `projects//locations//agents//environments//sessions//entityTypes/`.
+// If `Environment ID` is not specified, we assume default 'draft'
+// environment.
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall {
c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -33274,7 +33295,9 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt stri
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -33359,8 +33382,8 @@ type ProjectsLocationsAgentsTestCasesBatchDeleteCall struct {
// BatchDelete: Batch deletes test cases.
//
-// - parent: The agent to delete test cases from. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to delete test cases from. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) BatchDelete(parent string, googleclouddialogflowcxv3beta1batchdeletetestcasesrequest *GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchDeleteCall {
c := &ProjectsLocationsAgentsTestCasesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33651,8 +33674,8 @@ type ProjectsLocationsAgentsTestCasesCalculateCoverageCall struct {
// CalculateCoverage: Calculates the test coverage for an agent.
//
-// - agent: The agent to calculate coverage for. Format:
-// `projects//locations//agents/`.
+// - agent: The agent to calculate coverage for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) CalculateCoverage(agent string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall {
c := &ProjectsLocationsAgentsTestCasesCalculateCoverageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.agent = agent
@@ -33663,10 +33686,11 @@ func (r *ProjectsLocationsAgentsTestCasesService) CalculateCoverage(agent string
// coverage requested.
//
// Possible values:
-// "COVERAGE_TYPE_UNSPECIFIED" - Should never be used.
-// "INTENT" - Intent coverage.
-// "PAGE_TRANSITION" - Page transition coverage.
-// "TRANSITION_ROUTE_GROUP" - Transition route group coverage.
+//
+// "COVERAGE_TYPE_UNSPECIFIED" - Should never be used.
+// "INTENT" - Intent coverage.
+// "PAGE_TRANSITION" - Page transition coverage.
+// "TRANSITION_ROUTE_GROUP" - Transition route group coverage.
func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Type(type_ string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall {
c.urlParams_.Set("type", type_)
return c
@@ -33832,8 +33856,8 @@ type ProjectsLocationsAgentsTestCasesCreateCall struct {
// Create: Creates a test case for the given agent.
//
-// - parent: The agent to create the test case for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create the test case for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) Create(parent string, googleclouddialogflowcxv3beta1testcase *GoogleCloudDialogflowCxV3beta1TestCase) *ProjectsLocationsAgentsTestCasesCreateCall {
c := &ProjectsLocationsAgentsTestCasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -33983,8 +34007,8 @@ type ProjectsLocationsAgentsTestCasesExportCall struct {
// fields: - `metadata`: ExportTestCasesMetadata - `response`:
// ExportTestCasesResponse
//
-// - parent: The agent where to export test cases from. Format:
-// `projects//locations//agents/`.
+// - parent: The agent where to export test cases from. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) Export(parent string, googleclouddialogflowcxv3beta1exporttestcasesrequest *GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest) *ProjectsLocationsAgentsTestCasesExportCall {
c := &ProjectsLocationsAgentsTestCasesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -34127,8 +34151,8 @@ type ProjectsLocationsAgentsTestCasesGetCall struct {
// Get: Gets a test case.
//
-// - name: The name of the testcase. Format:
-// `projects//locations//agents//testCases/`.
+// - name: The name of the testcase. Format:
+// `projects//locations//agents//testCases/`.
func (r *ProjectsLocationsAgentsTestCasesService) Get(name string) *ProjectsLocationsAgentsTestCasesGetCall {
c := &ProjectsLocationsAgentsTestCasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34283,8 +34307,8 @@ type ProjectsLocationsAgentsTestCasesImportCall struct {
// fields: - `metadata`: ImportTestCasesMetadata - `response`:
// ImportTestCasesResponse
//
-// - parent: The agent to import test cases to. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to import test cases to. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) Import(parent string, googleclouddialogflowcxv3beta1importtestcasesrequest *GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest) *ProjectsLocationsAgentsTestCasesImportCall {
c := &ProjectsLocationsAgentsTestCasesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -34427,8 +34451,8 @@ type ProjectsLocationsAgentsTestCasesListCall struct {
// List: Fetches a list of test cases for a given agent.
//
-// - parent: The agent to list all pages for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to list all pages for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsTestCasesService) List(parent string) *ProjectsLocationsAgentsTestCasesListCall {
c := &ProjectsLocationsAgentsTestCasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -34455,11 +34479,16 @@ func (c *ProjectsLocationsAgentsTestCasesListCall) PageToken(pageToken string) *
// should include all fields or just the metadata.
//
// Possible values:
-// "TEST_CASE_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
+// "TEST_CASE_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
// will default to the BASIC view.
-// "BASIC" - Include basic metadata about the test case, but not the
+//
+// "BASIC" - Include basic metadata about the test case, but not the
+//
// conversation turns. This is the default value.
-// "FULL" - Include everything.
+//
+// "FULL" - Include everything.
func (c *ProjectsLocationsAgentsTestCasesListCall) View(view string) *ProjectsLocationsAgentsTestCasesListCall {
c.urlParams_.Set("view", view)
return c
@@ -34654,9 +34683,9 @@ type ProjectsLocationsAgentsTestCasesPatchCall struct {
// Patch: Updates the specified test case.
//
-// - name: The unique identifier of the test case.
-// TestCases.CreateTestCase will populate the name automatically.
-// Otherwise use format: `projects//locations//agents/ /testCases/`.
+// - name: The unique identifier of the test case.
+// TestCases.CreateTestCase will populate the name automatically.
+// Otherwise use format: `projects//locations//agents/ /testCases/`.
func (r *ProjectsLocationsAgentsTestCasesService) Patch(nameid string, googleclouddialogflowcxv3beta1testcase *GoogleCloudDialogflowCxV3beta1TestCase) *ProjectsLocationsAgentsTestCasesPatchCall {
c := &ProjectsLocationsAgentsTestCasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -34819,8 +34848,8 @@ type ProjectsLocationsAgentsTestCasesRunCall struct {
// fields: - `metadata`: RunTestCaseMetadata - `response`:
// RunTestCaseResponse
//
-// - name: Format of test case name to run: `projects//locations/
-// /agents//testCases/`.
+// - name: Format of test case name to run: `projects//locations/
+// /agents//testCases/`.
func (r *ProjectsLocationsAgentsTestCasesService) Run(name string, googleclouddialogflowcxv3beta1runtestcaserequest *GoogleCloudDialogflowCxV3beta1RunTestCaseRequest) *ProjectsLocationsAgentsTestCasesRunCall {
c := &ProjectsLocationsAgentsTestCasesRunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -34963,8 +34992,8 @@ type ProjectsLocationsAgentsTestCasesResultsGetCall struct {
// Get: Gets a test case result.
//
-// - name: The name of the testcase. Format:
-// `projects//locations//agents//testCases//results/`.
+// - name: The name of the testcase. Format:
+// `projects//locations//agents//testCases//results/`.
func (r *ProjectsLocationsAgentsTestCasesResultsService) Get(name string) *ProjectsLocationsAgentsTestCasesResultsGetCall {
c := &ProjectsLocationsAgentsTestCasesResultsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -35113,10 +35142,10 @@ type ProjectsLocationsAgentsTestCasesResultsListCall struct {
// List: Fetches a list of results for a given test case.
//
-// - parent: The test case to list results for. Format:
-// `projects//locations//agents// testCases/`. Specify a `-` as a
-// wildcard for TestCase ID to list results across multiple test
-// cases.
+// - parent: The test case to list results for. Format:
+// `projects//locations//agents// testCases/`. Specify a `-` as a
+// wildcard for TestCase ID to list results across multiple test
+// cases.
func (r *ProjectsLocationsAgentsTestCasesResultsService) List(parent string) *ProjectsLocationsAgentsTestCasesResultsListCall {
c := &ProjectsLocationsAgentsTestCasesResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35336,8 +35365,8 @@ type ProjectsLocationsAgentsWebhooksCreateCall struct {
// Create: Creates a webhook in the specified agent.
//
-// - parent: The agent to create a webhook for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to create a webhook for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsWebhooksService) Create(parent string, googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook) *ProjectsLocationsAgentsWebhooksCreateCall {
c := &ProjectsLocationsAgentsWebhooksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35480,8 +35509,8 @@ type ProjectsLocationsAgentsWebhooksDeleteCall struct {
// Delete: Deletes the specified webhook.
//
-// - name: The name of the webhook to delete. Format:
-// `projects//locations//agents//webhooks/`.
+// - name: The name of the webhook to delete. Format:
+// `projects//locations//agents//webhooks/`.
func (r *ProjectsLocationsAgentsWebhooksService) Delete(name string) *ProjectsLocationsAgentsWebhooksDeleteCall {
c := &ProjectsLocationsAgentsWebhooksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -35632,8 +35661,8 @@ type ProjectsLocationsAgentsWebhooksGetCall struct {
// Get: Retrieves the specified webhook.
//
-// - name: The name of the webhook. Format:
-// `projects//locations//agents//webhooks/`.
+// - name: The name of the webhook. Format:
+// `projects//locations//agents//webhooks/`.
func (r *ProjectsLocationsAgentsWebhooksService) Get(name string) *ProjectsLocationsAgentsWebhooksGetCall {
c := &ProjectsLocationsAgentsWebhooksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -35781,8 +35810,8 @@ type ProjectsLocationsAgentsWebhooksListCall struct {
// List: Returns the list of all webhooks in the specified agent.
//
-// - parent: The agent to list all webhooks for. Format:
-// `projects//locations//agents/`.
+// - parent: The agent to list all webhooks for. Format:
+// `projects//locations//agents/`.
func (r *ProjectsLocationsAgentsWebhooksService) List(parent string) *ProjectsLocationsAgentsWebhooksListCall {
c := &ProjectsLocationsAgentsWebhooksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -35977,10 +36006,10 @@ type ProjectsLocationsAgentsWebhooksPatchCall struct {
// Patch: Updates the specified webhook.
//
-// - name: The unique identifier of the webhook. Required for the
-// Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the
-// name automatically. Format:
-// `projects//locations//agents//webhooks/`.
+// - name: The unique identifier of the webhook. Required for the
+// Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the
+// name automatically. Format:
+// `projects//locations//agents//webhooks/`.
func (r *ProjectsLocationsAgentsWebhooksService) Patch(nameid string, googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook) *ProjectsLocationsAgentsWebhooksPatchCall {
c := &ProjectsLocationsAgentsWebhooksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -36644,8 +36673,8 @@ type ProjectsLocationsSecuritySettingsCreateCall struct {
// Create: Create security settings in the specified location.
//
-// - parent: The location to create an SecuritySettings for. Format:
-// `projects//locations/`.
+// - parent: The location to create an SecuritySettings for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsSecuritySettingsService) Create(parent string, googleclouddialogflowcxv3beta1securitysettings *GoogleCloudDialogflowCxV3beta1SecuritySettings) *ProjectsLocationsSecuritySettingsCreateCall {
c := &ProjectsLocationsSecuritySettingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -36789,8 +36818,8 @@ type ProjectsLocationsSecuritySettingsDeleteCall struct {
// Delete: Deletes the specified SecuritySettings.
//
-// - name: The name of the SecuritySettings to delete. Format:
-// `projects//locations//securitySettings/`.
+// - name: The name of the SecuritySettings to delete. Format:
+// `projects//locations//securitySettings/`.
func (r *ProjectsLocationsSecuritySettingsService) Delete(name string) *ProjectsLocationsSecuritySettingsDeleteCall {
c := &ProjectsLocationsSecuritySettingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -36925,8 +36954,8 @@ type ProjectsLocationsSecuritySettingsGetCall struct {
// Get: Retrieves the specified SecuritySettings. The returned settings
// may be stale by up to 1 minute.
//
-// - name: Resource name of the settings. Format:
-// `projects//locations//securitySettings/`.
+// - name: Resource name of the settings. Format:
+// `projects//locations//securitySettings/`.
func (r *ProjectsLocationsSecuritySettingsService) Get(name string) *ProjectsLocationsSecuritySettingsGetCall {
c := &ProjectsLocationsSecuritySettingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -37076,8 +37105,8 @@ type ProjectsLocationsSecuritySettingsListCall struct {
// List: Returns the list of all security settings in the specified
// location.
//
-// - parent: The location to list all security settings for. Format:
-// `projects//locations/`.
+// - parent: The location to list all security settings for. Format:
+// `projects//locations/`.
func (r *ProjectsLocationsSecuritySettingsService) List(parent string) *ProjectsLocationsSecuritySettingsListCall {
c := &ProjectsLocationsSecuritySettingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -37273,10 +37302,10 @@ type ProjectsLocationsSecuritySettingsPatchCall struct {
// Patch: Updates the specified SecuritySettings.
//
-// - name: Resource name of the settings. Required for the
-// SecuritySettingsService.UpdateSecuritySettings method.
-// SecuritySettingsService.CreateSecuritySettings populates the name
-// automatically. Format: `projects//locations//securitySettings/`.
+// - name: Resource name of the settings. Required for the
+// SecuritySettingsService.UpdateSecuritySettings method.
+// SecuritySettingsService.CreateSecuritySettings populates the name
+// automatically. Format: `projects//locations//securitySettings/`.
func (r *ProjectsLocationsSecuritySettingsService) Patch(name string, googleclouddialogflowcxv3beta1securitysettings *GoogleCloudDialogflowCxV3beta1SecuritySettings) *ProjectsLocationsSecuritySettingsPatchCall {
c := &ProjectsLocationsSecuritySettingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/digitalassetlinks/v1/digitalassetlinks-gen.go b/digitalassetlinks/v1/digitalassetlinks-gen.go
index c034092d0d2..d9c7f070801 100644
--- a/digitalassetlinks/v1/digitalassetlinks-gen.go
+++ b/digitalassetlinks/v1/digitalassetlinks-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/digital-asset-links/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/digitalassetlinks/v1"
-// ...
-// ctx := context.Background()
-// digitalassetlinksService, err := digitalassetlinks.NewService(ctx)
+// import "google.golang.org/api/digitalassetlinks/v1"
+// ...
+// ctx := context.Background()
+// digitalassetlinksService, err := digitalassetlinks.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// digitalassetlinksService, err := digitalassetlinks.NewService(ctx, option.WithAPIKey("AIza..."))
+// digitalassetlinksService, err := digitalassetlinks.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// digitalassetlinksService, err := digitalassetlinks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// digitalassetlinksService, err := digitalassetlinks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package digitalassetlinks // import "google.golang.org/api/digitalassetlinks/v1"
@@ -808,7 +808,7 @@ func (r *AssetlinksService) Check() *AssetlinksCheckCall {
// Relation sets the optional parameter "relation": Query string for the
// relation. We identify relations with strings of the format `/`, where
-// `` must be one of a set of pre-defined purpose categories, and `` is
+// “ must be one of a set of pre-defined purpose categories, and “ is
// a free-form lowercase alphanumeric string that describes the specific
// use case of the statement. Refer to our API documentation
// (/digital-asset-links/v1/relation-strings) for the current list of
diff --git a/discovery/v1/discovery-gen.go b/discovery/v1/discovery-gen.go
index 3aaaefcb189..992c735623f 100644
--- a/discovery/v1/discovery-gen.go
+++ b/discovery/v1/discovery-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/discovery/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/discovery/v1"
-// ...
-// ctx := context.Background()
-// discoveryService, err := discovery.NewService(ctx)
+// import "google.golang.org/api/discovery/v1"
+// ...
+// ctx := context.Background()
+// discoveryService, err := discovery.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// discoveryService, err := discovery.NewService(ctx, option.WithAPIKey("AIza..."))
+// discoveryService, err := discovery.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// discoveryService, err := discovery.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// discoveryService, err := discovery.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package discovery // import "google.golang.org/api/discovery/v1"
diff --git a/displayvideo/v1/displayvideo-gen.go b/displayvideo/v1/displayvideo-gen.go
index 79a5faea80a..489f15ff91b 100644
--- a/displayvideo/v1/displayvideo-gen.go
+++ b/displayvideo/v1/displayvideo-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/display-video/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/displayvideo/v1"
-// ...
-// ctx := context.Background()
-// displayvideoService, err := displayvideo.NewService(ctx)
+// import "google.golang.org/api/displayvideo/v1"
+// ...
+// ctx := context.Background()
+// displayvideoService, err := displayvideo.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithAPIKey("AIza..."))
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package displayvideo // import "google.golang.org/api/displayvideo/v1"
@@ -17381,8 +17381,8 @@ type AdvertisersPatchCall struct {
// Patch: Updates an existing advertiser. Returns the updated advertiser
// if successful.
//
-// - advertiserId: Output only. The unique ID of the advertiser.
-// Assigned by the system.
+// - advertiserId: Output only. The unique ID of the advertiser.
+// Assigned by the system.
func (r *AdvertisersService) Patch(advertiserId int64, advertiser *Advertiser) *AdvertisersPatchCall {
c := &AdvertisersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -17771,9 +17771,9 @@ type AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall struct {
// BulkListCampaignAssignedTargetingOptions: Lists assigned targeting
// options of a campaign across targeting types.
//
-// - advertiserId: The ID of the advertiser the campaign belongs to.
-// - campaignId: The ID of the campaign to list assigned targeting
-// options for.
+// - advertiserId: The ID of the advertiser the campaign belongs to.
+// - campaignId: The ID of the campaign to list assigned targeting
+// options for.
func (r *AdvertisersCampaignsService) BulkListCampaignAssignedTargetingOptions(advertiserId int64, campaignId int64) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall {
c := &AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -18023,8 +18023,8 @@ type AdvertisersCampaignsCreateCall struct {
// Create: Creates a new campaign. Returns the newly created campaign if
// successful.
//
-// - advertiserId: Output only. The unique ID of the advertiser the
-// campaign belongs to.
+// - advertiserId: Output only. The unique ID of the advertiser the
+// campaign belongs to.
func (r *AdvertisersCampaignsService) Create(advertiserId int64, campaign *Campaign) *AdvertisersCampaignsCreateCall {
c := &AdvertisersCampaignsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -18723,10 +18723,10 @@ type AdvertisersCampaignsPatchCall struct {
// Patch: Updates an existing campaign. Returns the updated campaign if
// successful.
//
-// - advertiserId: Output only. The unique ID of the advertiser the
-// campaign belongs to.
-// - campaignId: Output only. The unique ID of the campaign. Assigned by
-// the system.
+// - advertiserId: Output only. The unique ID of the advertiser the
+// campaign belongs to.
+// - campaignId: Output only. The unique ID of the campaign. Assigned by
+// the system.
func (r *AdvertisersCampaignsService) Patch(advertiserId int64, campaignId int64, campaign *Campaign) *AdvertisersCampaignsPatchCall {
c := &AdvertisersCampaignsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -18897,29 +18897,29 @@ type AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall struct {
// Get: Gets a single targeting option assigned to a campaign.
//
-// - advertiserId: The ID of the advertiser the campaign belongs to.
-// - assignedTargetingOptionId: An identifier unique to the targeting
-// type in this campaign that identifies the assigned targeting option
-// being requested.
-// - campaignId: The ID of the campaign the assigned targeting option
-// belongs to.
-// - targetingType: Identifies the type of this assigned targeting
-// option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` *
-// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *
-// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *
-// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *
-// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
-// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *
-// `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *
-// `TARGETING_TYPE_HOUSEHOLD_INCOME` *
-// `TARGETING_TYPE_INVENTORY_SOURCE` *
-// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE`
-// * `TARGETING_TYPE_ON_SCREEN_POSITION` *
-// `TARGETING_TYPE_PARENTAL_STATUS` *
-// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *
-// `TARGETING_TYPE_SUB_EXCHANGE` *
-// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` *
-// `TARGETING_TYPE_VIEWABILITY`.
+// - advertiserId: The ID of the advertiser the campaign belongs to.
+// - assignedTargetingOptionId: An identifier unique to the targeting
+// type in this campaign that identifies the assigned targeting option
+// being requested.
+// - campaignId: The ID of the campaign the assigned targeting option
+// belongs to.
+// - targetingType: Identifies the type of this assigned targeting
+// option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` *
+// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *
+// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *
+// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *
+// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
+// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *
+// `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *
+// `TARGETING_TYPE_HOUSEHOLD_INCOME` *
+// `TARGETING_TYPE_INVENTORY_SOURCE` *
+// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE`
+// - `TARGETING_TYPE_ON_SCREEN_POSITION` *
+// `TARGETING_TYPE_PARENTAL_STATUS` *
+// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *
+// `TARGETING_TYPE_SUB_EXCHANGE` *
+// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` *
+// `TARGETING_TYPE_VIEWABILITY`.
func (r *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService) Get(advertiserId int64, campaignId int64, targetingType string, assignedTargetingOptionId string) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall {
c := &AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -19196,26 +19196,26 @@ type AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall struct {
// List: Lists the targeting options assigned to a campaign for a
// specified targeting type.
//
-// - advertiserId: The ID of the advertiser the campaign belongs to.
-// - campaignId: The ID of the campaign to list assigned targeting
-// options for.
-// - targetingType: Identifies the type of assigned targeting options to
-// list. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` *
-// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *
-// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *
-// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *
-// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
-// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *
-// `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *
-// `TARGETING_TYPE_HOUSEHOLD_INCOME` *
-// `TARGETING_TYPE_INVENTORY_SOURCE` *
-// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE`
-// * `TARGETING_TYPE_ON_SCREEN_POSITION` *
-// `TARGETING_TYPE_PARENTAL_STATUS` *
-// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *
-// `TARGETING_TYPE_SUB_EXCHANGE` *
-// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` *
-// `TARGETING_TYPE_VIEWABILITY`.
+// - advertiserId: The ID of the advertiser the campaign belongs to.
+// - campaignId: The ID of the campaign to list assigned targeting
+// options for.
+// - targetingType: Identifies the type of assigned targeting options to
+// list. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` *
+// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *
+// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *
+// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *
+// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
+// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *
+// `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *
+// `TARGETING_TYPE_HOUSEHOLD_INCOME` *
+// `TARGETING_TYPE_INVENTORY_SOURCE` *
+// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE`
+// - `TARGETING_TYPE_ON_SCREEN_POSITION` *
+// `TARGETING_TYPE_PARENTAL_STATUS` *
+// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *
+// `TARGETING_TYPE_SUB_EXCHANGE` *
+// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` *
+// `TARGETING_TYPE_VIEWABILITY`.
func (r *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService) List(advertiserId int64, campaignId int64, targetingType string) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall {
c := &AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -19570,8 +19570,8 @@ type AdvertisersChannelsCreateCall struct {
// Create: Creates a new channel. Returns the newly created channel if
// successful.
//
-// - advertiserId: The ID of the advertiser that owns the created
-// channel.
+// - advertiserId: The ID of the advertiser that owns the created
+// channel.
func (r *AdvertisersChannelsService) Create(advertiserId int64, channel *Channel) *AdvertisersChannelsCreateCall {
c := &AdvertisersChannelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -19728,9 +19728,9 @@ type AdvertisersChannelsGetCall struct {
// Get: Gets a channel for a partner or advertiser.
//
-// - advertiserId: The ID of the advertiser that owns the fetched
-// channel.
-// - channelId: The ID of the channel to fetch.
+// - advertiserId: The ID of the advertiser that owns the fetched
+// channel.
+// - channelId: The ID of the channel to fetch.
func (r *AdvertisersChannelsService) Get(advertiserId int64, channelId int64) *AdvertisersChannelsGetCall {
c := &AdvertisersChannelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -20146,10 +20146,10 @@ type AdvertisersChannelsPatchCall struct {
// Patch: Updates a channel. Returns the updated channel if successful.
//
-// - advertiserId: The ID of the advertiser that owns the created
-// channel.
-// - channelId: Output only. The unique ID of the channel. Assigned by
-// the system.
+// - advertiserId: The ID of the advertiser that owns the created
+// channel.
+// - channelId: Output only. The unique ID of the channel. Assigned by
+// the system.
func (r *AdvertisersChannelsService) Patch(advertiserId int64, channelId int64, channel *Channel) *AdvertisersChannelsPatchCall {
c := &AdvertisersChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -20331,9 +20331,9 @@ type AdvertisersChannelsSitesBulkEditCall struct {
// delete the sites provided in BulkEditSitesRequest.deleted_sites and
// then create the sites provided in BulkEditSitesRequest.created_sites.
//
-// - advertiserId: The ID of the advertiser that owns the parent
-// channel.
-// - channelId: The ID of the parent channel to which the sites belong.
+// - advertiserId: The ID of the advertiser that owns the parent
+// channel.
+// - channelId: The ID of the parent channel to which the sites belong.
func (r *AdvertisersChannelsSitesService) BulkEdit(advertiserId int64, channelId int64, bulkeditsitesrequest *BulkEditSitesRequest) *AdvertisersChannelsSitesBulkEditCall {
c := &AdvertisersChannelsSitesBulkEditCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -20487,10 +20487,10 @@ type AdvertisersChannelsSitesCreateCall struct {
// Create: Creates a site in a channel.
//
-// - advertiserId: The ID of the advertiser that owns the parent
-// channel.
-// - channelId: The ID of the parent channel in which the site will be
-// created.
+// - advertiserId: The ID of the advertiser that owns the parent
+// channel.
+// - channelId: The ID of the parent channel in which the site will be
+// created.
func (r *AdvertisersChannelsSitesService) Create(advertiserId int64, channelId int64, site *Site) *AdvertisersChannelsSitesCreateCall {
c := &AdvertisersChannelsSitesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -20657,10 +20657,10 @@ type AdvertisersChannelsSitesDeleteCall struct {
// Delete: Deletes a site from a channel.
//
-// - advertiserId: The ID of the advertiser that owns the parent
-// channel.
-// - channelId: The ID of the parent channel to which the site belongs.
-// - urlOrAppId: The URL or app ID of the site to delete.
+// - advertiserId: The ID of the advertiser that owns the parent
+// channel.
+// - channelId: The ID of the parent channel to which the site belongs.
+// - urlOrAppId: The URL or app ID of the site to delete.
func (r *AdvertisersChannelsSitesService) Delete(advertiserId int64, channelId int64, urlOrAppId string) *AdvertisersChannelsSitesDeleteCall {
c := &AdvertisersChannelsSitesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -20828,10 +20828,10 @@ type AdvertisersChannelsSitesListCall struct {
// List: Lists sites in a channel.
//
-// - advertiserId: The ID of the advertiser that owns the parent
-// channel.
-// - channelId: The ID of the parent channel to which the requested
-// sites belong.
+// - advertiserId: The ID of the advertiser that owns the parent
+// channel.
+// - channelId: The ID of the parent channel to which the requested
+// sites belong.
func (r *AdvertisersChannelsSitesService) List(advertiserId int64, channelId int64) *AdvertisersChannelsSitesListCall {
c := &AdvertisersChannelsSitesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -21087,10 +21087,10 @@ type AdvertisersChannelsSitesReplaceCall struct {
// operation will replace the sites under a channel with the sites
// provided in ReplaceSitesRequest.new_sites.
//
-// - advertiserId: The ID of the advertiser that owns the parent
-// channel.
-// - channelId: The ID of the parent channel whose sites will be
-// replaced.
+// - advertiserId: The ID of the advertiser that owns the parent
+// channel.
+// - channelId: The ID of the parent channel whose sites will be
+// replaced.
func (r *AdvertisersChannelsSitesService) Replace(advertiserId int64, channelId int64, replacesitesrequest *ReplaceSitesRequest) *AdvertisersChannelsSitesReplaceCall {
c := &AdvertisersChannelsSitesReplaceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -21244,8 +21244,8 @@ type AdvertisersCreativesCreateCall struct {
// Create: Creates a new creative. Returns the newly created creative if
// successful.
//
-// - advertiserId: Output only. The unique ID of the advertiser the
-// creative belongs to.
+// - advertiserId: Output only. The unique ID of the advertiser the
+// creative belongs to.
func (r *AdvertisersCreativesService) Create(advertiserId int64, creative *Creative) *AdvertisersCreativesCreateCall {
c := &AdvertisersCreativesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -21969,10 +21969,10 @@ type AdvertisersCreativesPatchCall struct {
// Patch: Updates an existing creative. Returns the updated creative if
// successful.
//
-// - advertiserId: Output only. The unique ID of the advertiser the
-// creative belongs to.
-// - creativeId: Output only. The unique ID of the creative. Assigned by
-// the system.
+// - advertiserId: Output only. The unique ID of the advertiser the
+// creative belongs to.
+// - creativeId: Output only. The unique ID of the creative. Assigned by
+// the system.
func (r *AdvertisersCreativesService) Patch(advertiserId int64, creativeId int64, creative *Creative) *AdvertisersCreativesPatchCall {
c := &AdvertisersCreativesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -22141,10 +22141,10 @@ type AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCal
// BulkListInsertionOrderAssignedTargetingOptions: Lists assigned
// targeting options of an insertion order across targeting types.
//
-// - advertiserId: The ID of the advertiser the insertion order belongs
-// to.
-// - insertionOrderId: The ID of the insertion order to list assigned
-// targeting options for.
+// - advertiserId: The ID of the advertiser the insertion order belongs
+// to.
+// - insertionOrderId: The ID of the insertion order to list assigned
+// targeting options for.
func (r *AdvertisersInsertionOrdersService) BulkListInsertionOrderAssignedTargetingOptions(advertiserId int64, insertionOrderId int64) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall {
c := &AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -22395,8 +22395,8 @@ type AdvertisersInsertionOrdersCreateCall struct {
// Create: Creates a new insertion order. Returns the newly created
// insertion order if successful.
//
-// - advertiserId: Output only. The unique ID of the advertiser the
-// insertion order belongs to.
+// - advertiserId: Output only. The unique ID of the advertiser the
+// insertion order belongs to.
func (r *AdvertisersInsertionOrdersService) Create(advertiserId int64, insertionorder *InsertionOrder) *AdvertisersInsertionOrdersCreateCall {
c := &AdvertisersInsertionOrdersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -22542,9 +22542,9 @@ type AdvertisersInsertionOrdersDeleteCall struct {
// archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`,
// to be able to delete it.
//
-// - advertiserId: The ID of the advertiser this insertion order belongs
-// to.
-// - insertionOrderId: The ID of the insertion order we need to delete.
+// - advertiserId: The ID of the advertiser this insertion order belongs
+// to.
+// - insertionOrderId: The ID of the insertion order we need to delete.
func (r *AdvertisersInsertionOrdersService) Delete(advertiserId int64, insertionOrderId int64) *AdvertisersInsertionOrdersDeleteCall {
c := &AdvertisersInsertionOrdersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -22691,9 +22691,9 @@ type AdvertisersInsertionOrdersGetCall struct {
// Get: Gets an insertion order. Returns error code `NOT_FOUND` if the
// insertion order does not exist.
//
-// - advertiserId: The ID of the advertiser this insertion order belongs
-// to.
-// - insertionOrderId: The ID of the insertion order to fetch.
+// - advertiserId: The ID of the advertiser this insertion order belongs
+// to.
+// - insertionOrderId: The ID of the insertion order to fetch.
func (r *AdvertisersInsertionOrdersService) Get(advertiserId int64, insertionOrderId int64) *AdvertisersInsertionOrdersGetCall {
c := &AdvertisersInsertionOrdersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -22854,8 +22854,8 @@ type AdvertisersInsertionOrdersListCall struct {
// specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be
// included in the results.
//
-// - advertiserId: The ID of the advertiser to list insertion orders
-// for.
+// - advertiserId: The ID of the advertiser to list insertion orders
+// for.
func (r *AdvertisersInsertionOrdersService) List(advertiserId int64) *AdvertisersInsertionOrdersListCall {
c := &AdvertisersInsertionOrdersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -23106,10 +23106,10 @@ type AdvertisersInsertionOrdersPatchCall struct {
// Patch: Updates an existing insertion order. Returns the updated
// insertion order if successful.
//
-// - advertiserId: Output only. The unique ID of the advertiser the
-// insertion order belongs to.
-// - insertionOrderId: Output only. The unique ID of the insertion
-// order. Assigned by the system.
+// - advertiserId: Output only. The unique ID of the advertiser the
+// insertion order belongs to.
+// - insertionOrderId: Output only. The unique ID of the insertion
+// order. Assigned by the system.
func (r *AdvertisersInsertionOrdersService) Patch(advertiserId int64, insertionOrderId int64, insertionorder *InsertionOrder) *AdvertisersInsertionOrdersPatchCall {
c := &AdvertisersInsertionOrdersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -23279,15 +23279,15 @@ type AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall str
// Get: Gets a single targeting option assigned to an insertion order.
//
-// - advertiserId: The ID of the advertiser the insertion order belongs
-// to.
-// - assignedTargetingOptionId: An identifier unique to the targeting
-// type in this insertion order that identifies the assigned targeting
-// option being requested.
-// - insertionOrderId: The ID of the insertion order the assigned
-// targeting option belongs to.
-// - targetingType: Identifies the type of this assigned targeting
-// option.
+// - advertiserId: The ID of the advertiser the insertion order belongs
+// to.
+// - assignedTargetingOptionId: An identifier unique to the targeting
+// type in this insertion order that identifies the assigned targeting
+// option being requested.
+// - insertionOrderId: The ID of the insertion order the assigned
+// targeting option belongs to.
+// - targetingType: Identifies the type of this assigned targeting
+// option.
func (r *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService) Get(advertiserId int64, insertionOrderId int64, targetingType string, assignedTargetingOptionId string) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall {
c := &AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -23563,12 +23563,12 @@ type AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall st
// List: Lists the targeting options assigned to an insertion order.
//
-// - advertiserId: The ID of the advertiser the insertion order belongs
-// to.
-// - insertionOrderId: The ID of the insertion order to list assigned
-// targeting options for.
-// - targetingType: Identifies the type of assigned targeting options to
-// list.
+// - advertiserId: The ID of the advertiser the insertion order belongs
+// to.
+// - insertionOrderId: The ID of the insertion order to list assigned
+// targeting options for.
+// - targetingType: Identifies the type of assigned targeting options to
+// list.
func (r *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService) List(advertiserId int64, insertionOrderId int64, targetingType string) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall {
c := &AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -23945,9 +23945,10 @@ func (c *AdvertisersInvoicesListCall) IssueMonth(issueMonth string) *Advertisers
// ignored otherwise.
//
// Possible values:
-// "LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED" - Value is not specified.
-// "LOI_SAPIN_INVOICE_TYPE_MEDIA" - Invoices with Media cost.
-// "LOI_SAPIN_INVOICE_TYPE_PLATFORM" - Invoices with Platform fee.
+//
+// "LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED" - Value is not specified.
+// "LOI_SAPIN_INVOICE_TYPE_MEDIA" - Invoices with Media cost.
+// "LOI_SAPIN_INVOICE_TYPE_PLATFORM" - Invoices with Platform fee.
func (c *AdvertisersInvoicesListCall) LoiSapinInvoiceType(loiSapinInvoiceType string) *AdvertisersInvoicesListCall {
c.urlParams_.Set("loiSapinInvoiceType", loiSapinInvoiceType)
return c
@@ -24339,9 +24340,9 @@ type AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall struct {
// CreateLineItemAssignedTargetingOption *
// DeleteLineItemAssignedTargetingOption
//
-// - advertiserId: The ID of the advertiser the line item belongs to.
-// - lineItemId: The ID of the line item the assigned targeting option
-// will belong to.
+// - advertiserId: The ID of the advertiser the line item belongs to.
+// - lineItemId: The ID of the line item the assigned targeting option
+// will belong to.
func (r *AdvertisersLineItemsService) BulkEditLineItemAssignedTargetingOptions(advertiserId int64, lineItemId int64, bulkeditlineitemassignedtargetingoptionsrequest *BulkEditLineItemAssignedTargetingOptionsRequest) *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall {
c := &AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -24499,9 +24500,9 @@ type AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall struct {
// BulkListLineItemAssignedTargetingOptions: Lists assigned targeting
// options of a line item across targeting types.
//
-// - advertiserId: The ID of the advertiser the line item belongs to.
-// - lineItemId: The ID of the line item to list assigned targeting
-// options for.
+// - advertiserId: The ID of the advertiser the line item belongs to.
+// - lineItemId: The ID of the line item to list assigned targeting
+// options for.
func (r *AdvertisersLineItemsService) BulkListLineItemAssignedTargetingOptions(advertiserId int64, lineItemId int64) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall {
c := &AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -24751,8 +24752,8 @@ type AdvertisersLineItemsCreateCall struct {
// Create: Creates a new line item. Returns the newly created line item
// if successful.
//
-// - advertiserId: Output only. The unique ID of the advertiser the line
-// item belongs to.
+// - advertiserId: Output only. The unique ID of the advertiser the line
+// item belongs to.
func (r *AdvertisersLineItemsService) Create(advertiserId int64, lineitem *LineItem) *AdvertisersLineItemsCreateCall {
c := &AdvertisersLineItemsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -25618,10 +25619,10 @@ type AdvertisersLineItemsPatchCall struct {
// CreateLineItemAssignedTargetingOption *
// DeleteLineItemAssignedTargetingOption
//
-// - advertiserId: Output only. The unique ID of the advertiser the line
-// item belongs to.
-// - lineItemId: Output only. The unique ID of the line item. Assigned
-// by the system.
+// - advertiserId: Output only. The unique ID of the advertiser the line
+// item belongs to.
+// - lineItemId: Output only. The unique ID of the line item. Assigned
+// by the system.
func (r *AdvertisersLineItemsService) Patch(advertiserId int64, lineItemId int64, lineitem *LineItem) *AdvertisersLineItemsPatchCall {
c := &AdvertisersLineItemsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -25795,11 +25796,11 @@ type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall struct
// UpdateLineItem * CreateLineItemAssignedTargetingOption *
// DeleteLineItemAssignedTargetingOption
//
-// - advertiserId: The ID of the advertiser the line item belongs to.
-// - lineItemId: The ID of the line item the assigned targeting option
-// will belong to.
-// - targetingType: Identifies the type of this assigned targeting
-// option.
+// - advertiserId: The ID of the advertiser the line item belongs to.
+// - lineItemId: The ID of the line item the assigned targeting option
+// will belong to.
+// - targetingType: Identifies the type of this assigned targeting
+// option.
func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) Create(advertiserId int64, lineItemId int64, targetingType string, assignedtargetingoption *AssignedTargetingOption) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall {
c := &AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -26066,13 +26067,13 @@ type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall struct
// CreateLineItemAssignedTargetingOption *
// DeleteLineItemAssignedTargetingOption
//
-// - advertiserId: The ID of the advertiser the line item belongs to.
-// - assignedTargetingOptionId: The ID of the assigned targeting option
-// to delete.
-// - lineItemId: The ID of the line item the assigned targeting option
-// belongs to.
-// - targetingType: Identifies the type of this assigned targeting
-// option.
+// - advertiserId: The ID of the advertiser the line item belongs to.
+// - assignedTargetingOptionId: The ID of the assigned targeting option
+// to delete.
+// - lineItemId: The ID of the line item the assigned targeting option
+// belongs to.
+// - targetingType: Identifies the type of this assigned targeting
+// option.
func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) Delete(advertiserId int64, lineItemId int64, targetingType string, assignedTargetingOptionId string) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall {
c := &AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -26336,14 +26337,14 @@ type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall struct {
// Get: Gets a single targeting option assigned to a line item.
//
-// - advertiserId: The ID of the advertiser the line item belongs to.
-// - assignedTargetingOptionId: An identifier unique to the targeting
-// type in this line item that identifies the assigned targeting
-// option being requested.
-// - lineItemId: The ID of the line item the assigned targeting option
-// belongs to.
-// - targetingType: Identifies the type of this assigned targeting
-// option.
+// - advertiserId: The ID of the advertiser the line item belongs to.
+// - assignedTargetingOptionId: An identifier unique to the targeting
+// type in this line item that identifies the assigned targeting
+// option being requested.
+// - lineItemId: The ID of the line item the assigned targeting option
+// belongs to.
+// - targetingType: Identifies the type of this assigned targeting
+// option.
func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) Get(advertiserId int64, lineItemId int64, targetingType string, assignedTargetingOptionId string) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall {
c := &AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -26619,11 +26620,11 @@ type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall struct {
// List: Lists the targeting options assigned to a line item.
//
-// - advertiserId: The ID of the advertiser the line item belongs to.
-// - lineItemId: The ID of the line item to list assigned targeting
-// options for.
-// - targetingType: Identifies the type of assigned targeting options to
-// list.
+// - advertiserId: The ID of the advertiser the line item belongs to.
+// - lineItemId: The ID of the line item to list assigned targeting
+// options for.
+// - targetingType: Identifies the type of assigned targeting options to
+// list.
func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) List(advertiserId int64, lineItemId int64, targetingType string) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall {
c := &AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -26978,8 +26979,8 @@ type AdvertisersLocationListsCreateCall struct {
// Create: Creates a new location list. Returns the newly created
// location list if successful.
//
-// - advertiserId: The ID of the DV360 advertiser to which the location
-// list belongs.
+// - advertiserId: The ID of the DV360 advertiser to which the location
+// list belongs.
func (r *AdvertisersLocationListsService) Create(advertiserId int64, locationlist *LocationList) *AdvertisersLocationListsCreateCall {
c := &AdvertisersLocationListsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -27123,9 +27124,9 @@ type AdvertisersLocationListsGetCall struct {
// Get: Gets a location list.
//
-// - advertiserId: The ID of the DV360 advertiser to which the fetched
-// location list belongs.
-// - locationListId: The ID of the location list to fetch.
+// - advertiserId: The ID of the DV360 advertiser to which the fetched
+// location list belongs.
+// - locationListId: The ID of the location list to fetch.
func (r *AdvertisersLocationListsService) Get(advertiserId int64, locationListId int64) *AdvertisersLocationListsGetCall {
c := &AdvertisersLocationListsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -27283,8 +27284,8 @@ type AdvertisersLocationListsListCall struct {
// List: Lists location lists based on a given advertiser id.
//
-// - advertiserId: The ID of the DV360 advertiser to which the fetched
-// location lists belong.
+// - advertiserId: The ID of the DV360 advertiser to which the fetched
+// location lists belong.
func (r *AdvertisersLocationListsService) List(advertiserId int64) *AdvertisersLocationListsListCall {
c := &AdvertisersLocationListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -27517,10 +27518,10 @@ type AdvertisersLocationListsPatchCall struct {
// Patch: Updates a location list. Returns the updated location list if
// successful.
//
-// - advertiserId: The ID of the DV360 advertiser to which the location
-// lists belongs.
-// - locationListId: Output only. The unique ID of the location list.
-// Assigned by the system.
+// - advertiserId: The ID of the DV360 advertiser to which the location
+// lists belongs.
+// - locationListId: Output only. The unique ID of the location list.
+// Assigned by the system.
func (r *AdvertisersLocationListsService) Patch(advertiserId int64, locationListId int64, locationlist *LocationList) *AdvertisersLocationListsPatchCall {
c := &AdvertisersLocationListsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -27692,10 +27693,10 @@ type AdvertisersLocationListsAssignedLocationsBulkEditCall struct {
// create the assigned locations provided in
// BulkEditAssignedLocationsRequest.created_assigned_locations.
//
-// - advertiserId: The ID of the DV360 advertiser to which the location
-// list belongs.
-// - locationListId: The ID of the location list to which these
-// assignments are assigned.
+// - advertiserId: The ID of the DV360 advertiser to which the location
+// list belongs.
+// - locationListId: The ID of the location list to which these
+// assignments are assigned.
func (r *AdvertisersLocationListsAssignedLocationsService) BulkEdit(advertiserId int64, locationListId int64, bulkeditassignedlocationsrequest *BulkEditAssignedLocationsRequest) *AdvertisersLocationListsAssignedLocationsBulkEditCall {
c := &AdvertisersLocationListsAssignedLocationsBulkEditCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -27850,10 +27851,10 @@ type AdvertisersLocationListsAssignedLocationsCreateCall struct {
// Create: Creates an assignment between a location and a location list.
//
-// - advertiserId: The ID of the DV360 advertiser to which the location
-// list belongs.
-// - locationListId: The ID of the location list for which the
-// assignment will be created.
+// - advertiserId: The ID of the DV360 advertiser to which the location
+// list belongs.
+// - locationListId: The ID of the location list for which the
+// assignment will be created.
func (r *AdvertisersLocationListsAssignedLocationsService) Create(advertiserId int64, locationListId int64, assignedlocation *AssignedLocation) *AdvertisersLocationListsAssignedLocationsCreateCall {
c := &AdvertisersLocationListsAssignedLocationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -28007,11 +28008,11 @@ type AdvertisersLocationListsAssignedLocationsDeleteCall struct {
// Delete: Deletes the assignment between a location and a location
// list.
//
-// - advertiserId: The ID of the DV360 advertiser to which the location
-// list belongs.
-// - assignedLocationId: The ID of the assigned location to delete.
-// - locationListId: The ID of the location list to which this
-// assignment is assigned.
+// - advertiserId: The ID of the DV360 advertiser to which the location
+// list belongs.
+// - assignedLocationId: The ID of the assigned location to delete.
+// - locationListId: The ID of the location list to which this
+// assignment is assigned.
func (r *AdvertisersLocationListsAssignedLocationsService) Delete(advertiserId int64, locationListId int64, assignedLocationId int64) *AdvertisersLocationListsAssignedLocationsDeleteCall {
c := &AdvertisersLocationListsAssignedLocationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -28166,10 +28167,10 @@ type AdvertisersLocationListsAssignedLocationsListCall struct {
// List: Lists locations assigned to a location list.
//
-// - advertiserId: The ID of the DV360 advertiser to which the location
-// list belongs.
-// - locationListId: The ID of the location list to which these
-// assignments are assigned.
+// - advertiserId: The ID of the DV360 advertiser to which the location
+// list belongs.
+// - locationListId: The ID of the location list to which these
+// assignments are assigned.
func (r *AdvertisersLocationListsAssignedLocationsService) List(advertiserId int64, locationListId int64) *AdvertisersLocationListsAssignedLocationsListCall {
c := &AdvertisersLocationListsAssignedLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -28411,9 +28412,9 @@ type AdvertisersManualTriggersActivateCall struct {
// trigger must be at least 5 minutes apart, otherwise an error will be
// returned.
//
-// - advertiserId: The ID of the advertiser that the manual trigger
-// belongs.
-// - triggerId: The ID of the manual trigger to activate.
+// - advertiserId: The ID of the advertiser that the manual trigger
+// belongs.
+// - triggerId: The ID of the manual trigger to activate.
func (r *AdvertisersManualTriggersService) Activate(advertiserId int64, triggerId int64, activatemanualtriggerrequest *ActivateManualTriggerRequest) *AdvertisersManualTriggersActivateCall {
c := &AdvertisersManualTriggersActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -28568,8 +28569,8 @@ type AdvertisersManualTriggersCreateCall struct {
// Create: Creates a new manual trigger. Returns the newly created
// manual trigger if successful.
//
-// - advertiserId: Immutable. The unique ID of the advertiser that the
-// manual trigger belongs to.
+// - advertiserId: Immutable. The unique ID of the advertiser that the
+// manual trigger belongs to.
func (r *AdvertisersManualTriggersService) Create(advertiserId int64, manualtrigger *ManualTrigger) *AdvertisersManualTriggersCreateCall {
c := &AdvertisersManualTriggersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -28713,9 +28714,9 @@ type AdvertisersManualTriggersDeactivateCall struct {
// Deactivate: Deactivates a manual trigger.
//
-// - advertiserId: The ID of the advertiser that the manual trigger
-// belongs.
-// - triggerId: The ID of the manual trigger to deactivate.
+// - advertiserId: The ID of the advertiser that the manual trigger
+// belongs.
+// - triggerId: The ID of the manual trigger to deactivate.
func (r *AdvertisersManualTriggersService) Deactivate(advertiserId int64, triggerId int64, deactivatemanualtriggerrequest *DeactivateManualTriggerRequest) *AdvertisersManualTriggersDeactivateCall {
c := &AdvertisersManualTriggersDeactivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -28870,9 +28871,9 @@ type AdvertisersManualTriggersGetCall struct {
// Get: Gets a manual trigger.
//
-// - advertiserId: The ID of the advertiser this manual trigger belongs
-// to.
-// - triggerId: The ID of the manual trigger to fetch.
+// - advertiserId: The ID of the advertiser this manual trigger belongs
+// to.
+// - triggerId: The ID of the manual trigger to fetch.
func (r *AdvertisersManualTriggersService) Get(advertiserId int64, triggerId int64) *AdvertisersManualTriggersGetCall {
c := &AdvertisersManualTriggersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -29032,8 +29033,8 @@ type AdvertisersManualTriggersListCall struct {
// for a given advertiser ID. The order is defined by the order_by
// parameter. A single advertiser_id is required.
//
-// - advertiserId: The ID of the advertiser that the fetched manual
-// triggers belong to.
+// - advertiserId: The ID of the advertiser that the fetched manual
+// triggers belong to.
func (r *AdvertisersManualTriggersService) List(advertiserId int64) *AdvertisersManualTriggersListCall {
c := &AdvertisersManualTriggersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -29265,9 +29266,9 @@ type AdvertisersManualTriggersPatchCall struct {
// Patch: Updates a manual trigger. Returns the updated manual trigger
// if successful.
//
-// - advertiserId: Immutable. The unique ID of the advertiser that the
-// manual trigger belongs to.
-// - triggerId: Output only. The unique ID of the manual trigger.
+// - advertiserId: Immutable. The unique ID of the advertiser that the
+// manual trigger belongs to.
+// - triggerId: Output only. The unique ID of the manual trigger.
func (r *AdvertisersManualTriggersService) Patch(advertiserId int64, triggerId int64, manualtrigger *ManualTrigger) *AdvertisersManualTriggersPatchCall {
c := &AdvertisersManualTriggersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -29435,8 +29436,8 @@ type AdvertisersNegativeKeywordListsCreateCall struct {
// Create: Creates a new negative keyword list. Returns the newly
// created negative keyword list if successful.
//
-// - advertiserId: The ID of the DV360 advertiser to which the negative
-// keyword list will belong.
+// - advertiserId: The ID of the DV360 advertiser to which the negative
+// keyword list will belong.
func (r *AdvertisersNegativeKeywordListsService) Create(advertiserId int64, negativekeywordlist *NegativeKeywordList) *AdvertisersNegativeKeywordListsCreateCall {
c := &AdvertisersNegativeKeywordListsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -29580,10 +29581,10 @@ type AdvertisersNegativeKeywordListsDeleteCall struct {
// Delete: Deletes a negative keyword list given an advertiser ID and a
// negative keyword list ID.
//
-// - advertiserId: The ID of the DV360 advertiser to which the negative
-// keyword list belongs.
-// - negativeKeywordListId: The ID of the negative keyword list to
-// delete.
+// - advertiserId: The ID of the DV360 advertiser to which the negative
+// keyword list belongs.
+// - negativeKeywordListId: The ID of the negative keyword list to
+// delete.
func (r *AdvertisersNegativeKeywordListsService) Delete(advertiserId int64, negativeKeywordListId int64) *AdvertisersNegativeKeywordListsDeleteCall {
c := &AdvertisersNegativeKeywordListsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -29730,10 +29731,10 @@ type AdvertisersNegativeKeywordListsGetCall struct {
// Get: Gets a negative keyword list given an advertiser ID and a
// negative keyword list ID.
//
-// - advertiserId: The ID of the DV360 advertiser to which the fetched
-// negative keyword list belongs.
-// - negativeKeywordListId: The ID of the negative keyword list to
-// fetch.
+// - advertiserId: The ID of the DV360 advertiser to which the fetched
+// negative keyword list belongs.
+// - negativeKeywordListId: The ID of the negative keyword list to
+// fetch.
func (r *AdvertisersNegativeKeywordListsService) Get(advertiserId int64, negativeKeywordListId int64) *AdvertisersNegativeKeywordListsGetCall {
c := &AdvertisersNegativeKeywordListsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -29891,8 +29892,8 @@ type AdvertisersNegativeKeywordListsListCall struct {
// List: Lists negative keyword lists based on a given advertiser id.
//
-// - advertiserId: The ID of the DV360 advertiser to which the fetched
-// negative keyword lists belong.
+// - advertiserId: The ID of the DV360 advertiser to which the fetched
+// negative keyword lists belong.
func (r *AdvertisersNegativeKeywordListsService) List(advertiserId int64) *AdvertisersNegativeKeywordListsListCall {
c := &AdvertisersNegativeKeywordListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -30091,10 +30092,10 @@ type AdvertisersNegativeKeywordListsPatchCall struct {
// Patch: Updates a negative keyword list. Returns the updated negative
// keyword list if successful.
//
-// - advertiserId: The ID of the DV360 advertiser to which the negative
-// keyword list belongs.
-// - negativeKeywordListId: Output only. The unique ID of the negative
-// keyword list. Assigned by the system.
+// - advertiserId: The ID of the DV360 advertiser to which the negative
+// keyword list belongs.
+// - negativeKeywordListId: Output only. The unique ID of the negative
+// keyword list. Assigned by the system.
func (r *AdvertisersNegativeKeywordListsService) Patch(advertiserId int64, negativeKeywordListId int64, negativekeywordlist *NegativeKeywordList) *AdvertisersNegativeKeywordListsPatchCall {
c := &AdvertisersNegativeKeywordListsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -30267,10 +30268,10 @@ type AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall struct {
// operation is guaranteed to be atomic and will never result in a
// partial success or partial failure.
//
-// - advertiserId: The ID of the DV360 advertiser to which the parent
-// negative keyword list belongs.
-// - negativeKeywordListId: The ID of the parent negative keyword list
-// to which the negative keywords belong.
+// - advertiserId: The ID of the DV360 advertiser to which the parent
+// negative keyword list belongs.
+// - negativeKeywordListId: The ID of the parent negative keyword list
+// to which the negative keywords belong.
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) BulkEdit(advertiserId int64, negativeKeywordListId int64, bulkeditnegativekeywordsrequest *BulkEditNegativeKeywordsRequest) *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall {
c := &AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -30424,10 +30425,10 @@ type AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall struct {
// Create: Creates a negative keyword in a negative keyword list.
//
-// - advertiserId: The ID of the DV360 advertiser to which the parent
-// negative keyword list belongs.
-// - negativeKeywordListId: The ID of the parent negative keyword list
-// in which the negative keyword will be created.
+// - advertiserId: The ID of the DV360 advertiser to which the parent
+// negative keyword list belongs.
+// - negativeKeywordListId: The ID of the parent negative keyword list
+// in which the negative keyword will be created.
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) Create(advertiserId int64, negativeKeywordListId int64, negativekeyword *NegativeKeyword) *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall {
c := &AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -30581,11 +30582,11 @@ type AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall struct {
// Delete: Deletes a negative keyword from a negative keyword list.
//
-// - advertiserId: The ID of the DV360 advertiser to which the parent
-// negative keyword list belongs.
-// - keywordValue: The keyword value of the negative keyword to delete.
-// - negativeKeywordListId: The ID of the parent negative keyword list
-// to which the negative keyword belongs.
+// - advertiserId: The ID of the DV360 advertiser to which the parent
+// negative keyword list belongs.
+// - keywordValue: The keyword value of the negative keyword to delete.
+// - negativeKeywordListId: The ID of the parent negative keyword list
+// to which the negative keyword belongs.
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) Delete(advertiserId int64, negativeKeywordListId int64, keywordValue string) *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall {
c := &AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -30740,10 +30741,10 @@ type AdvertisersNegativeKeywordListsNegativeKeywordsListCall struct {
// List: Lists negative keywords in a negative keyword list.
//
-// - advertiserId: The ID of the DV360 advertiser to which the parent
-// negative keyword list belongs.
-// - negativeKeywordListId: The ID of the parent negative keyword list
-// to which the requested negative keywords belong.
+// - advertiserId: The ID of the DV360 advertiser to which the parent
+// negative keyword list belongs.
+// - negativeKeywordListId: The ID of the parent negative keyword list
+// to which the requested negative keywords belong.
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) List(advertiserId int64, negativeKeywordListId int64) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall {
c := &AdvertisersNegativeKeywordListsNegativeKeywordsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -30988,10 +30989,10 @@ type AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall struct {
// list with keywords provided in
// ReplaceNegativeKeywordsRequest.new_negative_keywords.
//
-// - advertiserId: The ID of the DV360 advertiser to which the parent
-// negative keyword list belongs.
-// - negativeKeywordListId: The ID of the parent negative keyword list
-// to which the negative keywords belong.
+// - advertiserId: The ID of the DV360 advertiser to which the parent
+// negative keyword list belongs.
+// - negativeKeywordListId: The ID of the parent negative keyword list
+// to which the negative keywords belong.
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) Replace(advertiserId int64, negativeKeywordListId int64, replacenegativekeywordsrequest *ReplaceNegativeKeywordsRequest) *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall {
c := &AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -31146,12 +31147,12 @@ type AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall struct {
// Create: Assigns a targeting option to an advertiser. Returns the
// assigned targeting option if successful.
//
-// - advertiserId: The ID of the advertiser.
-// - targetingType: Identifies the type of this assigned targeting
-// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *
-// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
-// `TARGETING_TYPE_OMID` *
-// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
+// - advertiserId: The ID of the advertiser.
+// - targetingType: Identifies the type of this assigned targeting
+// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *
+// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
+// `TARGETING_TYPE_OMID` *
+// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) Create(advertiserId int64, targetingType string, assignedtargetingoption *AssignedTargetingOption) *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall {
c := &AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -31401,14 +31402,14 @@ type AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall struct {
// Delete: Deletes an assigned targeting option from an advertiser.
//
-// - advertiserId: The ID of the advertiser.
-// - assignedTargetingOptionId: The ID of the assigned targeting option
-// to delete.
-// - targetingType: Identifies the type of this assigned targeting
-// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *
-// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
-// `TARGETING_TYPE_OMID` *
-// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
+// - advertiserId: The ID of the advertiser.
+// - assignedTargetingOptionId: The ID of the assigned targeting option
+// to delete.
+// - targetingType: Identifies the type of this assigned targeting
+// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *
+// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
+// `TARGETING_TYPE_OMID` *
+// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) Delete(advertiserId int64, targetingType string, assignedTargetingOptionId string) *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall {
c := &AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -31660,15 +31661,15 @@ type AdvertisersTargetingTypesAssignedTargetingOptionsGetCall struct {
// Get: Gets a single targeting option assigned to an advertiser.
//
-// - advertiserId: The ID of the advertiser.
-// - assignedTargetingOptionId: An identifier unique to the targeting
-// type in this advertiser that identifies the assigned targeting
-// option being requested.
-// - targetingType: Identifies the type of this assigned targeting
-// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *
-// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
-// `TARGETING_TYPE_OMID` *
-// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
+// - advertiserId: The ID of the advertiser.
+// - assignedTargetingOptionId: An identifier unique to the targeting
+// type in this advertiser that identifies the assigned targeting
+// option being requested.
+// - targetingType: Identifies the type of this assigned targeting
+// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *
+// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
+// `TARGETING_TYPE_OMID` *
+// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) Get(advertiserId int64, targetingType string, assignedTargetingOptionId string) *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall {
c := &AdvertisersTargetingTypesAssignedTargetingOptionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -31932,12 +31933,12 @@ type AdvertisersTargetingTypesAssignedTargetingOptionsListCall struct {
// List: Lists the targeting options assigned to an advertiser.
//
-// - advertiserId: The ID of the advertiser.
-// - targetingType: Identifies the type of assigned targeting options to
-// list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *
-// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
-// `TARGETING_TYPE_OMID` *
-// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
+// - advertiserId: The ID of the advertiser.
+// - targetingType: Identifies the type of assigned targeting options to
+// list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *
+// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
+// `TARGETING_TYPE_OMID` *
+// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) List(advertiserId int64, targetingType string) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall {
c := &AdvertisersTargetingTypesAssignedTargetingOptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.advertiserId = advertiserId
@@ -32817,8 +32818,8 @@ type CustomBiddingAlgorithmsGetCall struct {
// Get: Gets a custom bidding algorithm.
//
-// - customBiddingAlgorithmId: The ID of the custom bidding algorithm to
-// fetch.
+// - customBiddingAlgorithmId: The ID of the custom bidding algorithm to
+// fetch.
func (r *CustomBiddingAlgorithmsService) Get(customBiddingAlgorithmId int64) *CustomBiddingAlgorithmsGetCall {
c := &CustomBiddingAlgorithmsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customBiddingAlgorithmId = customBiddingAlgorithmId
@@ -33245,8 +33246,8 @@ type CustomBiddingAlgorithmsPatchCall struct {
// Patch: Updates an existing custom bidding algorithm. Returns the
// updated custom bidding algorithm if successful.
//
-// - customBiddingAlgorithmId: Output only. The unique ID of the custom
-// bidding algorithm. Assigned by the system.
+// - customBiddingAlgorithmId: Output only. The unique ID of the custom
+// bidding algorithm. Assigned by the system.
func (r *CustomBiddingAlgorithmsService) Patch(customBiddingAlgorithmId int64, custombiddingalgorithm *CustomBiddingAlgorithm) *CustomBiddingAlgorithmsPatchCall {
c := &CustomBiddingAlgorithmsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customBiddingAlgorithmId = customBiddingAlgorithmId
@@ -33406,8 +33407,8 @@ type CustomBiddingAlgorithmsUploadScriptCall struct {
// should be included in when creating a new custom bidding script
// object.
//
-// - customBiddingAlgorithmId: The ID of the custom bidding algorithm
-// owns the script.
+// - customBiddingAlgorithmId: The ID of the custom bidding algorithm
+// owns the script.
func (r *CustomBiddingAlgorithmsService) UploadScript(customBiddingAlgorithmId int64) *CustomBiddingAlgorithmsUploadScriptCall {
c := &CustomBiddingAlgorithmsUploadScriptCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customBiddingAlgorithmId = customBiddingAlgorithmId
@@ -33582,8 +33583,8 @@ type CustomBiddingAlgorithmsScriptsCreateCall struct {
// Create: Creates a new custom bidding script. Returns the newly
// created script if successful.
//
-// - customBiddingAlgorithmId: The ID of the custom bidding algorithm
-// that owns the script.
+// - customBiddingAlgorithmId: The ID of the custom bidding algorithm
+// that owns the script.
func (r *CustomBiddingAlgorithmsScriptsService) Create(customBiddingAlgorithmId int64, custombiddingscript *CustomBiddingScript) *CustomBiddingAlgorithmsScriptsCreateCall {
c := &CustomBiddingAlgorithmsScriptsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customBiddingAlgorithmId = customBiddingAlgorithmId
@@ -33754,10 +33755,10 @@ type CustomBiddingAlgorithmsScriptsGetCall struct {
// Get: Gets a custom bidding script.
//
-// - customBiddingAlgorithmId: The ID of the custom bidding algorithm
-// owns the script.
-// - customBiddingScriptId: The ID of the custom bidding script to
-// fetch.
+// - customBiddingAlgorithmId: The ID of the custom bidding algorithm
+// owns the script.
+// - customBiddingScriptId: The ID of the custom bidding script to
+// fetch.
func (r *CustomBiddingAlgorithmsScriptsService) Get(customBiddingAlgorithmId int64, customBiddingScriptId int64) *CustomBiddingAlgorithmsScriptsGetCall {
c := &CustomBiddingAlgorithmsScriptsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customBiddingAlgorithmId = customBiddingAlgorithmId
@@ -33943,8 +33944,8 @@ type CustomBiddingAlgorithmsScriptsListCall struct {
// List: Lists custom bidding scripts that belong to the given
// algorithm. The order is defined by the order_by parameter.
//
-// - customBiddingAlgorithmId: The ID of the custom bidding algorithm
-// owns the script.
+// - customBiddingAlgorithmId: The ID of the custom bidding algorithm
+// owns the script.
func (r *CustomBiddingAlgorithmsScriptsService) List(customBiddingAlgorithmId int64) *CustomBiddingAlgorithmsScriptsListCall {
c := &CustomBiddingAlgorithmsScriptsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customBiddingAlgorithmId = customBiddingAlgorithmId
@@ -34715,8 +34716,8 @@ type FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall struct {
// audience. Only supported for the following audience_type: *
// `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
//
-// - firstAndThirdPartyAudienceId: The ID of the Customer Match
-// FirstAndThirdPartyAudience whose members will be edited.
+// - firstAndThirdPartyAudienceId: The ID of the Customer Match
+// FirstAndThirdPartyAudience whose members will be edited.
func (r *FirstAndThirdPartyAudiencesService) EditCustomerMatchMembers(firstAndThirdPartyAudienceId int64, editcustomermatchmembersrequest *EditCustomerMatchMembersRequest) *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall {
c := &FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.firstAndThirdPartyAudienceId = firstAndThirdPartyAudienceId
@@ -34859,8 +34860,8 @@ type FirstAndThirdPartyAudiencesGetCall struct {
// Get: Gets a first and third party audience.
//
-// - firstAndThirdPartyAudienceId: The ID of the first and third party
-// audience to fetch.
+// - firstAndThirdPartyAudienceId: The ID of the first and third party
+// audience to fetch.
func (r *FirstAndThirdPartyAudiencesService) Get(firstAndThirdPartyAudienceId int64) *FirstAndThirdPartyAudiencesGetCall {
c := &FirstAndThirdPartyAudiencesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.firstAndThirdPartyAudienceId = firstAndThirdPartyAudienceId
@@ -35282,8 +35283,8 @@ type FirstAndThirdPartyAudiencesPatchCall struct {
// for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` *
// `CUSTOMER_MATCH_DEVICE_ID`
//
-// - firstAndThirdPartyAudienceId: Output only. The unique ID of the
-// first and third party audience. Assigned by the system.
+// - firstAndThirdPartyAudienceId: Output only. The unique ID of the
+// first and third party audience. Assigned by the system.
func (r *FirstAndThirdPartyAudiencesService) Patch(firstAndThirdPartyAudienceId int64, firstandthirdpartyaudience *FirstAndThirdPartyAudience) *FirstAndThirdPartyAudiencesPatchCall {
c := &FirstAndThirdPartyAudiencesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.firstAndThirdPartyAudienceId = firstAndThirdPartyAudienceId
@@ -35616,8 +35617,8 @@ type FloodlightGroupsPatchCall struct {
// Patch: Updates an existing Floodlight group. Returns the updated
// Floodlight group if successful.
//
-// - floodlightGroupId: Output only. The unique ID of the Floodlight
-// group. Assigned by the system.
+// - floodlightGroupId: Output only. The unique ID of the Floodlight
+// group. Assigned by the system.
func (r *FloodlightGroupsService) Patch(floodlightGroupId int64, floodlightgroup *FloodlightGroup) *FloodlightGroupsPatchCall {
c := &FloodlightGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.floodlightGroupId = floodlightGroupId
@@ -36353,8 +36354,8 @@ type GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall struct {
// EditGuaranteedOrderReadAccessors: Edits read advertisers of a
// guaranteed order.
//
-// - guaranteedOrderId: The ID of the guaranteed order to edit. The ID
-// is of the format `{exchange}-{legacy_guaranteed_order_id}`.
+// - guaranteedOrderId: The ID of the guaranteed order to edit. The ID
+// is of the format `{exchange}-{legacy_guaranteed_order_id}`.
func (r *GuaranteedOrdersService) EditGuaranteedOrderReadAccessors(guaranteedOrderId string, editguaranteedorderreadaccessorsrequest *EditGuaranteedOrderReadAccessorsRequest) *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall {
c := &GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.guaranteedOrderId = guaranteedOrderId
@@ -36498,8 +36499,8 @@ type GuaranteedOrdersGetCall struct {
// Get: Gets a guaranteed order.
//
-// - guaranteedOrderId: The ID of the guaranteed order to fetch. The ID
-// is of the format `{exchange}-{legacy_guaranteed_order_id}`.
+// - guaranteedOrderId: The ID of the guaranteed order to fetch. The ID
+// is of the format `{exchange}-{legacy_guaranteed_order_id}`.
func (r *GuaranteedOrdersService) Get(guaranteedOrderId string) *GuaranteedOrdersGetCall {
c := &GuaranteedOrdersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.guaranteedOrderId = guaranteedOrderId
@@ -36919,9 +36920,9 @@ type GuaranteedOrdersPatchCall struct {
// Patch: Updates an existing guaranteed order. Returns the updated
// guaranteed order if successful.
//
-// - guaranteedOrderId: Output only. The unique identifier of the
-// guaranteed order. The guaranteed order IDs have the format
-// `{exchange}-{legacy_guaranteed_order_id}`.
+// - guaranteedOrderId: Output only. The unique identifier of the
+// guaranteed order. The guaranteed order IDs have the format
+// `{exchange}-{legacy_guaranteed_order_id}`.
func (r *GuaranteedOrdersService) Patch(guaranteedOrderId string, guaranteedorder *GuaranteedOrder) *GuaranteedOrdersPatchCall {
c := &GuaranteedOrdersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.guaranteedOrderId = guaranteedOrderId
@@ -37257,8 +37258,8 @@ type InventorySourceGroupsDeleteCall struct {
// Delete: Deletes an inventory source group.
//
-// - inventorySourceGroupId: The ID of the inventory source group to
-// delete.
+// - inventorySourceGroupId: The ID of the inventory source group to
+// delete.
func (r *InventorySourceGroupsService) Delete(inventorySourceGroupId int64) *InventorySourceGroupsDeleteCall {
c := &InventorySourceGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.inventorySourceGroupId = inventorySourceGroupId
@@ -37420,8 +37421,8 @@ type InventorySourceGroupsGetCall struct {
// Get: Gets an inventory source group.
//
-// - inventorySourceGroupId: The ID of the inventory source group to
-// fetch.
+// - inventorySourceGroupId: The ID of the inventory source group to
+// fetch.
func (r *InventorySourceGroupsService) Get(inventorySourceGroupId int64) *InventorySourceGroupsGetCall {
c := &InventorySourceGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.inventorySourceGroupId = inventorySourceGroupId
@@ -37840,8 +37841,8 @@ type InventorySourceGroupsPatchCall struct {
// Patch: Updates an inventory source group. Returns the updated
// inventory source group if successful.
//
-// - inventorySourceGroupId: Output only. The unique ID of the inventory
-// source group. Assigned by the system.
+// - inventorySourceGroupId: Output only. The unique ID of the inventory
+// source group. Assigned by the system.
func (r *InventorySourceGroupsService) Patch(inventorySourceGroupId int64, inventorysourcegroup *InventorySourceGroup) *InventorySourceGroupsPatchCall {
c := &InventorySourceGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.inventorySourceGroupId = inventorySourceGroupId
@@ -38030,8 +38031,8 @@ type InventorySourceGroupsAssignedInventorySourcesBulkEditCall struct {
// BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sou
// rces.
//
-// - inventorySourceGroupId: The ID of the inventory source group to
-// which the assignments are assigned.
+// - inventorySourceGroupId: The ID of the inventory source group to
+// which the assignments are assigned.
func (r *InventorySourceGroupsAssignedInventorySourcesService) BulkEdit(inventorySourceGroupId int64, bulkeditassignedinventorysourcesrequest *BulkEditAssignedInventorySourcesRequest) *InventorySourceGroupsAssignedInventorySourcesBulkEditCall {
c := &InventorySourceGroupsAssignedInventorySourcesBulkEditCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.inventorySourceGroupId = inventorySourceGroupId
@@ -38177,8 +38178,8 @@ type InventorySourceGroupsAssignedInventorySourcesCreateCall struct {
// Create: Creates an assignment between an inventory source and an
// inventory source group.
//
-// - inventorySourceGroupId: The ID of the inventory source group to
-// which the assignment will be assigned.
+// - inventorySourceGroupId: The ID of the inventory source group to
+// which the assignment will be assigned.
func (r *InventorySourceGroupsAssignedInventorySourcesService) Create(inventorySourceGroupId int64, assignedinventorysource *AssignedInventorySource) *InventorySourceGroupsAssignedInventorySourcesCreateCall {
c := &InventorySourceGroupsAssignedInventorySourcesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.inventorySourceGroupId = inventorySourceGroupId
@@ -38351,10 +38352,10 @@ type InventorySourceGroupsAssignedInventorySourcesDeleteCall struct {
// Delete: Deletes the assignment between an inventory source and an
// inventory source group.
//
-// - assignedInventorySourceId: The ID of the assigned inventory source
-// to delete.
-// - inventorySourceGroupId: The ID of the inventory source group to
-// which this assignment is assigned.
+// - assignedInventorySourceId: The ID of the assigned inventory source
+// to delete.
+// - inventorySourceGroupId: The ID of the inventory source group to
+// which this assignment is assigned.
func (r *InventorySourceGroupsAssignedInventorySourcesService) Delete(inventorySourceGroupId int64, assignedInventorySourceId int64) *InventorySourceGroupsAssignedInventorySourcesDeleteCall {
c := &InventorySourceGroupsAssignedInventorySourcesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.inventorySourceGroupId = inventorySourceGroupId
@@ -38528,8 +38529,8 @@ type InventorySourceGroupsAssignedInventorySourcesListCall struct {
// List: Lists inventory sources assigned to an inventory source group.
//
-// - inventorySourceGroupId: The ID of the inventory source group to
-// which these assignments are assigned.
+// - inventorySourceGroupId: The ID of the inventory source group to
+// which these assignments are assigned.
func (r *InventorySourceGroupsAssignedInventorySourcesService) List(inventorySourceGroupId int64) *InventorySourceGroupsAssignedInventorySourcesListCall {
c := &InventorySourceGroupsAssignedInventorySourcesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.inventorySourceGroupId = inventorySourceGroupId
@@ -39498,8 +39499,8 @@ type InventorySourcesPatchCall struct {
// Patch: Updates an existing inventory source. Returns the updated
// inventory source if successful.
//
-// - inventorySourceId: Output only. The unique ID of the inventory
-// source. Assigned by the system.
+// - inventorySourceId: Output only. The unique ID of the inventory
+// source. Assigned by the system.
func (r *InventorySourcesService) Patch(inventorySourceId int64, inventorysource *InventorySource) *InventorySourcesPatchCall {
c := &InventorySourcesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.inventorySourceId = inventorySourceId
@@ -39683,8 +39684,8 @@ type MediaDownloadCall struct {
// `/download/{resource_name=**}?alt=media.` **Note**: Download requests
// will not be successful without including `alt=media` query string.
//
-// - resourceName: Name of the media that is being downloaded. See
-// ReadRequest.resource_name.
+// - resourceName: Name of the media that is being downloaded. See
+// ReadRequest.resource_name.
func (r *MediaService) Download(resourceName string) *MediaDownloadCall {
c := &MediaDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resourceName = resourceName
@@ -39852,8 +39853,8 @@ type MediaUploadCall struct {
// Upload requests will not be successful without including
// `upload_type=media` query string.
//
-// - resourceName: Name of the media that is being downloaded. See
-// ReadRequest.resource_name.
+// - resourceName: Name of the media that is being downloaded. See
+// ReadRequest.resource_name.
func (r *MediaService) Upload(resourceName string, googlebytestreammedia *GoogleBytestreamMedia) *MediaUploadCall {
c := &MediaUploadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resourceName = resourceName
@@ -40146,7 +40147,9 @@ func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) doRequest(alt stri
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *BulkEditPartnerAssignedTargetingOptionsResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -41161,9 +41164,9 @@ type PartnersChannelsPatchCall struct {
// Patch: Updates a channel. Returns the updated channel if successful.
//
-// - channelId: Output only. The unique ID of the channel. Assigned by
-// the system.
-// - partnerId: The ID of the partner that owns the created channel.
+// - channelId: Output only. The unique ID of the channel. Assigned by
+// the system.
+// - partnerId: The ID of the partner that owns the created channel.
func (r *PartnersChannelsService) Patch(partnerId int64, channelId int64, channel *Channel) *PartnersChannelsPatchCall {
c := &PartnersChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.partnerId = partnerId
@@ -41500,9 +41503,9 @@ type PartnersChannelsSitesCreateCall struct {
// Create: Creates a site in a channel.
//
-// - channelId: The ID of the parent channel in which the site will be
-// created.
-// - partnerId: The ID of the partner that owns the parent channel.
+// - channelId: The ID of the parent channel in which the site will be
+// created.
+// - partnerId: The ID of the partner that owns the parent channel.
func (r *PartnersChannelsSitesService) Create(partnerId int64, channelId int64, site *Site) *PartnersChannelsSitesCreateCall {
c := &PartnersChannelsSitesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.partnerId = partnerId
@@ -41839,9 +41842,9 @@ type PartnersChannelsSitesListCall struct {
// List: Lists sites in a channel.
//
-// - channelId: The ID of the parent channel to which the requested
-// sites belong.
-// - partnerId: The ID of the partner that owns the parent channel.
+// - channelId: The ID of the parent channel to which the requested
+// sites belong.
+// - partnerId: The ID of the partner that owns the parent channel.
func (r *PartnersChannelsSitesService) List(partnerId int64, channelId int64) *PartnersChannelsSitesListCall {
c := &PartnersChannelsSitesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.partnerId = partnerId
@@ -42097,9 +42100,9 @@ type PartnersChannelsSitesReplaceCall struct {
// operation will replace the sites under a channel with the sites
// provided in ReplaceSitesRequest.new_sites.
//
-// - channelId: The ID of the parent channel whose sites will be
-// replaced.
-// - partnerId: The ID of the partner that owns the parent channel.
+// - channelId: The ID of the parent channel whose sites will be
+// replaced.
+// - partnerId: The ID of the partner that owns the parent channel.
func (r *PartnersChannelsSitesService) Replace(partnerId int64, channelId int64, replacesitesrequest *ReplaceSitesRequest) *PartnersChannelsSitesReplaceCall {
c := &PartnersChannelsSitesReplaceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.partnerId = partnerId
@@ -42254,9 +42257,9 @@ type PartnersTargetingTypesAssignedTargetingOptionsCreateCall struct {
// Create: Assigns a targeting option to a partner. Returns the assigned
// targeting option if successful.
//
-// - partnerId: The ID of the partner.
-// - targetingType: Identifies the type of this assigned targeting
-// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
+// - partnerId: The ID of the partner.
+// - targetingType: Identifies the type of this assigned targeting
+// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
func (r *PartnersTargetingTypesAssignedTargetingOptionsService) Create(partnerId int64, targetingType string, assignedtargetingoption *AssignedTargetingOption) *PartnersTargetingTypesAssignedTargetingOptionsCreateCall {
c := &PartnersTargetingTypesAssignedTargetingOptionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.partnerId = partnerId
@@ -42506,11 +42509,11 @@ type PartnersTargetingTypesAssignedTargetingOptionsDeleteCall struct {
// Delete: Deletes an assigned targeting option from a partner.
//
-// - assignedTargetingOptionId: The ID of the assigned targeting option
-// to delete.
-// - partnerId: The ID of the partner.
-// - targetingType: Identifies the type of this assigned targeting
-// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
+// - assignedTargetingOptionId: The ID of the assigned targeting option
+// to delete.
+// - partnerId: The ID of the partner.
+// - targetingType: Identifies the type of this assigned targeting
+// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
func (r *PartnersTargetingTypesAssignedTargetingOptionsService) Delete(partnerId int64, targetingType string, assignedTargetingOptionId string) *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall {
c := &PartnersTargetingTypesAssignedTargetingOptionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.partnerId = partnerId
@@ -42762,12 +42765,12 @@ type PartnersTargetingTypesAssignedTargetingOptionsGetCall struct {
// Get: Gets a single targeting option assigned to a partner.
//
-// - assignedTargetingOptionId: An identifier unique to the targeting
-// type in this partner that identifies the assigned targeting option
-// being requested.
-// - partnerId: The ID of the partner.
-// - targetingType: Identifies the type of this assigned targeting
-// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
+// - assignedTargetingOptionId: An identifier unique to the targeting
+// type in this partner that identifies the assigned targeting option
+// being requested.
+// - partnerId: The ID of the partner.
+// - targetingType: Identifies the type of this assigned targeting
+// option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
func (r *PartnersTargetingTypesAssignedTargetingOptionsService) Get(partnerId int64, targetingType string, assignedTargetingOptionId string) *PartnersTargetingTypesAssignedTargetingOptionsGetCall {
c := &PartnersTargetingTypesAssignedTargetingOptionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.partnerId = partnerId
@@ -43031,9 +43034,9 @@ type PartnersTargetingTypesAssignedTargetingOptionsListCall struct {
// List: Lists the targeting options assigned to a partner.
//
-// - partnerId: The ID of the partner.
-// - targetingType: Identifies the type of assigned targeting options to
-// list. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
+// - partnerId: The ID of the partner.
+// - targetingType: Identifies the type of assigned targeting options to
+// list. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
func (r *PartnersTargetingTypesAssignedTargetingOptionsService) List(partnerId int64, targetingType string) *PartnersTargetingTypesAssignedTargetingOptionsListCall {
c := &PartnersTargetingTypesAssignedTargetingOptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.partnerId = partnerId
@@ -43656,28 +43659,28 @@ type TargetingTypesTargetingOptionsGetCall struct {
// Get: Gets a single targeting option.
//
-// - targetingOptionId: The ID of the of targeting option to retrieve.
-// - targetingType: The type of targeting option to retrieve. Accepted
-// values are: * `TARGETING_TYPE_APP_CATEGORY` *
-// `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` *
-// `TARGETING_TYPE_VIDEO_PLAYER_SIZE` *
-// `TARGETING_TYPE_USER_REWARDED_CONTENT` *
-// `TARGETING_TYPE_PARENTAL_STATUS` *
-// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *
-// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *
-// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` *
-// `TARGETING_TYPE_HOUSEHOLD_INCOME` *
-// `TARGETING_TYPE_ON_SCREEN_POSITION` *
-// `TARGETING_TYPE_CARRIER_AND_ISP` *
-// `TARGETING_TYPE_OPERATING_SYSTEM` *
-// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` *
-// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` *
-// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *
-// `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` *
-// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
-// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *
-// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` *
-// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`.
+// - targetingOptionId: The ID of the of targeting option to retrieve.
+// - targetingType: The type of targeting option to retrieve. Accepted
+// values are: * `TARGETING_TYPE_APP_CATEGORY` *
+// `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` *
+// `TARGETING_TYPE_VIDEO_PLAYER_SIZE` *
+// `TARGETING_TYPE_USER_REWARDED_CONTENT` *
+// `TARGETING_TYPE_PARENTAL_STATUS` *
+// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *
+// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *
+// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` *
+// `TARGETING_TYPE_HOUSEHOLD_INCOME` *
+// `TARGETING_TYPE_ON_SCREEN_POSITION` *
+// `TARGETING_TYPE_CARRIER_AND_ISP` *
+// `TARGETING_TYPE_OPERATING_SYSTEM` *
+// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` *
+// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` *
+// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *
+// `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` *
+// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
+// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *
+// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` *
+// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`.
func (r *TargetingTypesTargetingOptionsService) Get(targetingType string, targetingOptionId string) *TargetingTypesTargetingOptionsGetCall {
c := &TargetingTypesTargetingOptionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.targetingType = targetingType
@@ -43942,27 +43945,27 @@ type TargetingTypesTargetingOptionsListCall struct {
// List: Lists targeting options of a given type.
//
-// - targetingType: The type of targeting option to be listed. Accepted
-// values are: * `TARGETING_TYPE_APP_CATEGORY` *
-// `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` *
-// `TARGETING_TYPE_VIDEO_PLAYER_SIZE` *
-// `TARGETING_TYPE_USER_REWARDED_CONTENT` *
-// `TARGETING_TYPE_PARENTAL_STATUS` *
-// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *
-// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *
-// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` *
-// `TARGETING_TYPE_HOUSEHOLD_INCOME` *
-// `TARGETING_TYPE_ON_SCREEN_POSITION` *
-// `TARGETING_TYPE_CARRIER_AND_ISP` *
-// `TARGETING_TYPE_OPERATING_SYSTEM` *
-// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` *
-// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` *
-// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *
-// `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` *
-// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
-// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *
-// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` *
-// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`.
+// - targetingType: The type of targeting option to be listed. Accepted
+// values are: * `TARGETING_TYPE_APP_CATEGORY` *
+// `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` *
+// `TARGETING_TYPE_VIDEO_PLAYER_SIZE` *
+// `TARGETING_TYPE_USER_REWARDED_CONTENT` *
+// `TARGETING_TYPE_PARENTAL_STATUS` *
+// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *
+// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *
+// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` *
+// `TARGETING_TYPE_HOUSEHOLD_INCOME` *
+// `TARGETING_TYPE_ON_SCREEN_POSITION` *
+// `TARGETING_TYPE_CARRIER_AND_ISP` *
+// `TARGETING_TYPE_OPERATING_SYSTEM` *
+// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` *
+// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` *
+// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *
+// `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` *
+// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *
+// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *
+// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` *
+// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`.
func (r *TargetingTypesTargetingOptionsService) List(targetingType string) *TargetingTypesTargetingOptionsListCall {
c := &TargetingTypesTargetingOptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.targetingType = targetingType
@@ -44309,9 +44312,9 @@ type TargetingTypesTargetingOptionsSearchCall struct {
// Search: Searches for targeting options of a given type based on the
// given search terms.
//
-// - targetingType: The type of targeting options to retrieve. Accepted
-// values are: * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` *
-// `TARGETING_TYPE_BUSINESS_CHAIN`.
+// - targetingType: The type of targeting options to retrieve. Accepted
+// values are: * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` *
+// `TARGETING_TYPE_BUSINESS_CHAIN`.
func (r *TargetingTypesTargetingOptionsService) Search(targetingType string, searchtargetingoptionsrequest *SearchTargetingOptionsRequest) *TargetingTypesTargetingOptionsSearchCall {
c := &TargetingTypesTargetingOptionsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.targetingType = targetingType
@@ -45356,8 +45359,8 @@ type UsersPatchCall struct {
// Patch: Updates an existing user. Returns the updated user if
// successful.
//
-// - userId: Output only. The unique ID of the user. Assigned by the
-// system.
+// - userId: Output only. The unique ID of the user. Assigned by the
+// system.
func (r *UsersService) Patch(userId int64, user *User) *UsersPatchCall {
c := &UsersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
diff --git a/displayvideo/v1beta/displayvideo-gen.go b/displayvideo/v1beta/displayvideo-gen.go
index a623ef5904b..ce10d4d995f 100644
--- a/displayvideo/v1beta/displayvideo-gen.go
+++ b/displayvideo/v1beta/displayvideo-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/display-video/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/displayvideo/v1beta"
-// ...
-// ctx := context.Background()
-// displayvideoService, err := displayvideo.NewService(ctx)
+// import "google.golang.org/api/displayvideo/v1beta"
+// ...
+// ctx := context.Background()
+// displayvideoService, err := displayvideo.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithAPIKey("AIza..."))
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package displayvideo // import "google.golang.org/api/displayvideo/v1beta"
diff --git a/displayvideo/v1beta2/displayvideo-gen.go b/displayvideo/v1beta2/displayvideo-gen.go
index 62a109c2a9c..d0fa2359917 100644
--- a/displayvideo/v1beta2/displayvideo-gen.go
+++ b/displayvideo/v1beta2/displayvideo-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/display-video/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/displayvideo/v1beta2"
-// ...
-// ctx := context.Background()
-// displayvideoService, err := displayvideo.NewService(ctx)
+// import "google.golang.org/api/displayvideo/v1beta2"
+// ...
+// ctx := context.Background()
+// displayvideoService, err := displayvideo.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithAPIKey("AIza..."))
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package displayvideo // import "google.golang.org/api/displayvideo/v1beta2"
diff --git a/displayvideo/v1dev/displayvideo-gen.go b/displayvideo/v1dev/displayvideo-gen.go
index 0627601dd21..270a2eb4c36 100644
--- a/displayvideo/v1dev/displayvideo-gen.go
+++ b/displayvideo/v1dev/displayvideo-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/display-video/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/displayvideo/v1dev"
-// ...
-// ctx := context.Background()
-// displayvideoService, err := displayvideo.NewService(ctx)
+// import "google.golang.org/api/displayvideo/v1dev"
+// ...
+// ctx := context.Background()
+// displayvideoService, err := displayvideo.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithAPIKey("AIza..."))
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package displayvideo // import "google.golang.org/api/displayvideo/v1dev"
diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go
index a91bb540543..70e48d6ce20 100644
--- a/dlp/v2/dlp-gen.go
+++ b/dlp/v2/dlp-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/dlp/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dlp/v2"
-// ...
-// ctx := context.Background()
-// dlpService, err := dlp.NewService(ctx)
+// import "google.golang.org/api/dlp/v2"
+// ...
+// ctx := context.Background()
+// dlpService, err := dlp.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dlpService, err := dlp.NewService(ctx, option.WithAPIKey("AIza..."))
+// dlpService, err := dlp.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dlpService, err := dlp.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dlpService, err := dlp.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dlp // import "google.golang.org/api/dlp/v2"
@@ -9472,8 +9472,8 @@ type LocationsInfoTypesListCall struct {
// supports. See https://cloud.google.com/dlp/docs/infotypes-reference
// to learn more.
//
-// - parent: The parent resource name. The format of this value is as
-// follows: locations/ LOCATION_ID.
+// - parent: The parent resource name. The format of this value is as
+// follows: locations/ LOCATION_ID.
func (r *LocationsInfoTypesService) List(parent string) *LocationsInfoTypesListCall {
c := &LocationsInfoTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9662,20 +9662,20 @@ type OrganizationsDeidentifyTemplatesCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsDeidentifyTemplatesService) Create(parentid string, googleprivacydlpv2createdeidentifytemplaterequest *GooglePrivacyDlpV2CreateDeidentifyTemplateRequest) *OrganizationsDeidentifyTemplatesCreateCall {
c := &OrganizationsDeidentifyTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -9819,10 +9819,10 @@ type OrganizationsDeidentifyTemplatesDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of the organization and deidentify template to
-// be deleted, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of the organization and deidentify template to
+// be deleted, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *OrganizationsDeidentifyTemplatesService) Delete(name string) *OrganizationsDeidentifyTemplatesDeleteCall {
c := &OrganizationsDeidentifyTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9957,10 +9957,10 @@ type OrganizationsDeidentifyTemplatesGetCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of the organization and deidentify template to
-// be read, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of the organization and deidentify template to
+// be read, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *OrganizationsDeidentifyTemplatesService) Get(name string) *OrganizationsDeidentifyTemplatesGetCall {
c := &OrganizationsDeidentifyTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10109,20 +10109,20 @@ type OrganizationsDeidentifyTemplatesListCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsDeidentifyTemplatesService) List(parentid string) *OrganizationsDeidentifyTemplatesListCall {
c := &OrganizationsDeidentifyTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -10351,10 +10351,10 @@ type OrganizationsDeidentifyTemplatesPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of organization and deidentify template to be
-// updated, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of organization and deidentify template to be
+// updated, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *OrganizationsDeidentifyTemplatesService) Patch(name string, googleprivacydlpv2updatedeidentifytemplaterequest *GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest) *OrganizationsDeidentifyTemplatesPatchCall {
c := &OrganizationsDeidentifyTemplatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10499,20 +10499,20 @@ type OrganizationsInspectTemplatesCreateCall struct {
// configuration for inspecting content, images, and storage. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsInspectTemplatesService) Create(parentid string, googleprivacydlpv2createinspecttemplaterequest *GooglePrivacyDlpV2CreateInspectTemplateRequest) *OrganizationsInspectTemplatesCreateCall {
c := &OrganizationsInspectTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -10655,10 +10655,10 @@ type OrganizationsInspectTemplatesDeleteCall struct {
// Delete: Deletes an InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of the organization and inspectTemplate to be
-// deleted, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of the organization and inspectTemplate to be
+// deleted, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *OrganizationsInspectTemplatesService) Delete(name string) *OrganizationsInspectTemplatesDeleteCall {
c := &OrganizationsInspectTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10792,10 +10792,10 @@ type OrganizationsInspectTemplatesGetCall struct {
// Get: Gets an InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of the organization and inspectTemplate to be
-// read, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of the organization and inspectTemplate to be
+// read, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *OrganizationsInspectTemplatesService) Get(name string) *OrganizationsInspectTemplatesGetCall {
c := &OrganizationsInspectTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10943,20 +10943,20 @@ type OrganizationsInspectTemplatesListCall struct {
// List: Lists InspectTemplates. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsInspectTemplatesService) List(parentid string) *OrganizationsInspectTemplatesListCall {
c := &OrganizationsInspectTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -11184,10 +11184,10 @@ type OrganizationsInspectTemplatesPatchCall struct {
// Patch: Updates the InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of organization and inspectTemplate to be
-// updated, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of organization and inspectTemplate to be
+// updated, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *OrganizationsInspectTemplatesService) Patch(name string, googleprivacydlpv2updateinspecttemplaterequest *GooglePrivacyDlpV2UpdateInspectTemplateRequest) *OrganizationsInspectTemplatesPatchCall {
c := &OrganizationsInspectTemplatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11333,20 +11333,20 @@ type OrganizationsLocationsDeidentifyTemplatesCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsLocationsDeidentifyTemplatesService) Create(parentid string, googleprivacydlpv2createdeidentifytemplaterequest *GooglePrivacyDlpV2CreateDeidentifyTemplateRequest) *OrganizationsLocationsDeidentifyTemplatesCreateCall {
c := &OrganizationsLocationsDeidentifyTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -11490,10 +11490,10 @@ type OrganizationsLocationsDeidentifyTemplatesDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of the organization and deidentify template to
-// be deleted, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of the organization and deidentify template to
+// be deleted, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *OrganizationsLocationsDeidentifyTemplatesService) Delete(name string) *OrganizationsLocationsDeidentifyTemplatesDeleteCall {
c := &OrganizationsLocationsDeidentifyTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11628,10 +11628,10 @@ type OrganizationsLocationsDeidentifyTemplatesGetCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of the organization and deidentify template to
-// be read, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of the organization and deidentify template to
+// be read, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *OrganizationsLocationsDeidentifyTemplatesService) Get(name string) *OrganizationsLocationsDeidentifyTemplatesGetCall {
c := &OrganizationsLocationsDeidentifyTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11780,20 +11780,20 @@ type OrganizationsLocationsDeidentifyTemplatesListCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsLocationsDeidentifyTemplatesService) List(parentid string) *OrganizationsLocationsDeidentifyTemplatesListCall {
c := &OrganizationsLocationsDeidentifyTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -12022,10 +12022,10 @@ type OrganizationsLocationsDeidentifyTemplatesPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of organization and deidentify template to be
-// updated, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of organization and deidentify template to be
+// updated, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *OrganizationsLocationsDeidentifyTemplatesService) Patch(name string, googleprivacydlpv2updatedeidentifytemplaterequest *GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest) *OrganizationsLocationsDeidentifyTemplatesPatchCall {
c := &OrganizationsLocationsDeidentifyTemplatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12171,16 +12171,16 @@ type OrganizationsLocationsDlpJobsListCall struct {
// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsLocationsDlpJobsService) List(parentid string) *OrganizationsLocationsDlpJobsListCall {
c := &OrganizationsLocationsDlpJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -12249,9 +12249,10 @@ func (c *OrganizationsLocationsDlpJobsListCall) PageToken(pageToken string) *Org
// `DlpJobType.INSPECT`
//
// Possible values:
-// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
-// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
-// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
+//
+// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
+// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
+// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
func (c *OrganizationsLocationsDlpJobsListCall) Type(type_ string) *OrganizationsLocationsDlpJobsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -12461,20 +12462,20 @@ type OrganizationsLocationsInspectTemplatesCreateCall struct {
// configuration for inspecting content, images, and storage. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsLocationsInspectTemplatesService) Create(parentid string, googleprivacydlpv2createinspecttemplaterequest *GooglePrivacyDlpV2CreateInspectTemplateRequest) *OrganizationsLocationsInspectTemplatesCreateCall {
c := &OrganizationsLocationsInspectTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -12617,10 +12618,10 @@ type OrganizationsLocationsInspectTemplatesDeleteCall struct {
// Delete: Deletes an InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of the organization and inspectTemplate to be
-// deleted, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of the organization and inspectTemplate to be
+// deleted, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *OrganizationsLocationsInspectTemplatesService) Delete(name string) *OrganizationsLocationsInspectTemplatesDeleteCall {
c := &OrganizationsLocationsInspectTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12754,10 +12755,10 @@ type OrganizationsLocationsInspectTemplatesGetCall struct {
// Get: Gets an InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of the organization and inspectTemplate to be
-// read, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of the organization and inspectTemplate to be
+// read, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *OrganizationsLocationsInspectTemplatesService) Get(name string) *OrganizationsLocationsInspectTemplatesGetCall {
c := &OrganizationsLocationsInspectTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12905,20 +12906,20 @@ type OrganizationsLocationsInspectTemplatesListCall struct {
// List: Lists InspectTemplates. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsLocationsInspectTemplatesService) List(parentid string) *OrganizationsLocationsInspectTemplatesListCall {
c := &OrganizationsLocationsInspectTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -13146,10 +13147,10 @@ type OrganizationsLocationsInspectTemplatesPatchCall struct {
// Patch: Updates the InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of organization and inspectTemplate to be
-// updated, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of organization and inspectTemplate to be
+// updated, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *OrganizationsLocationsInspectTemplatesService) Patch(name string, googleprivacydlpv2updateinspecttemplaterequest *GooglePrivacyDlpV2UpdateInspectTemplateRequest) *OrganizationsLocationsInspectTemplatesPatchCall {
c := &OrganizationsLocationsInspectTemplatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13295,16 +13296,16 @@ type OrganizationsLocationsJobTriggersCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsLocationsJobTriggersService) Create(parentid string, googleprivacydlpv2createjobtriggerrequest *GooglePrivacyDlpV2CreateJobTriggerRequest) *OrganizationsLocationsJobTriggersCreateCall {
c := &OrganizationsLocationsJobTriggersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -13447,8 +13448,8 @@ type OrganizationsLocationsJobTriggersDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - name: Resource name of the project and the triggeredJob, for
-// example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the project and the triggeredJob, for
+// example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *OrganizationsLocationsJobTriggersService) Delete(name string) *OrganizationsLocationsJobTriggersDeleteCall {
c := &OrganizationsLocationsJobTriggersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13583,8 +13584,8 @@ type OrganizationsLocationsJobTriggersGetCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - name: Resource name of the project and the triggeredJob, for
-// example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the project and the triggeredJob, for
+// example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *OrganizationsLocationsJobTriggersService) Get(name string) *OrganizationsLocationsJobTriggersGetCall {
c := &OrganizationsLocationsJobTriggersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13732,16 +13733,16 @@ type OrganizationsLocationsJobTriggersListCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsLocationsJobTriggersService) List(parentid string) *OrganizationsLocationsJobTriggersListCall {
c := &OrganizationsLocationsJobTriggersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -13812,9 +13813,10 @@ func (c *OrganizationsLocationsJobTriggersListCall) PageToken(pageToken string)
// `DlpJobType.INSPECT` if not set.
//
// Possible values:
-// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
-// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
-// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
+//
+// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
+// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
+// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
func (c *OrganizationsLocationsJobTriggersListCall) Type(type_ string) *OrganizationsLocationsJobTriggersListCall {
c.urlParams_.Set("type", type_)
return c
@@ -14025,8 +14027,8 @@ type OrganizationsLocationsJobTriggersPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - name: Resource name of the project and the triggeredJob, for
-// example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the project and the triggeredJob, for
+// example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *OrganizationsLocationsJobTriggersService) Patch(name string, googleprivacydlpv2updatejobtriggerrequest *GooglePrivacyDlpV2UpdateJobTriggerRequest) *OrganizationsLocationsJobTriggersPatchCall {
c := &OrganizationsLocationsJobTriggersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14171,20 +14173,20 @@ type OrganizationsLocationsStoredInfoTypesCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsLocationsStoredInfoTypesService) Create(parentid string, googleprivacydlpv2createstoredinfotyperequest *GooglePrivacyDlpV2CreateStoredInfoTypeRequest) *OrganizationsLocationsStoredInfoTypesCreateCall {
c := &OrganizationsLocationsStoredInfoTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -14327,10 +14329,10 @@ type OrganizationsLocationsStoredInfoTypesDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of the organization and storedInfoType to be
-// deleted, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of the organization and storedInfoType to be
+// deleted, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *OrganizationsLocationsStoredInfoTypesService) Delete(name string) *OrganizationsLocationsStoredInfoTypesDeleteCall {
c := &OrganizationsLocationsStoredInfoTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14465,10 +14467,10 @@ type OrganizationsLocationsStoredInfoTypesGetCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of the organization and storedInfoType to be
-// read, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of the organization and storedInfoType to be
+// read, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *OrganizationsLocationsStoredInfoTypesService) Get(name string) *OrganizationsLocationsStoredInfoTypesGetCall {
c := &OrganizationsLocationsStoredInfoTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14616,20 +14618,20 @@ type OrganizationsLocationsStoredInfoTypesListCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsLocationsStoredInfoTypesService) List(parentid string) *OrganizationsLocationsStoredInfoTypesListCall {
c := &OrganizationsLocationsStoredInfoTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -14860,10 +14862,10 @@ type OrganizationsLocationsStoredInfoTypesPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of organization and storedInfoType to be
-// updated, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of organization and storedInfoType to be
+// updated, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *OrganizationsLocationsStoredInfoTypesService) Patch(name string, googleprivacydlpv2updatestoredinfotyperequest *GooglePrivacyDlpV2UpdateStoredInfoTypeRequest) *OrganizationsLocationsStoredInfoTypesPatchCall {
c := &OrganizationsLocationsStoredInfoTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15008,20 +15010,20 @@ type OrganizationsStoredInfoTypesCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsStoredInfoTypesService) Create(parentid string, googleprivacydlpv2createstoredinfotyperequest *GooglePrivacyDlpV2CreateStoredInfoTypeRequest) *OrganizationsStoredInfoTypesCreateCall {
c := &OrganizationsStoredInfoTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -15164,10 +15166,10 @@ type OrganizationsStoredInfoTypesDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of the organization and storedInfoType to be
-// deleted, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of the organization and storedInfoType to be
+// deleted, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *OrganizationsStoredInfoTypesService) Delete(name string) *OrganizationsStoredInfoTypesDeleteCall {
c := &OrganizationsStoredInfoTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15302,10 +15304,10 @@ type OrganizationsStoredInfoTypesGetCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of the organization and storedInfoType to be
-// read, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of the organization and storedInfoType to be
+// read, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *OrganizationsStoredInfoTypesService) Get(name string) *OrganizationsStoredInfoTypesGetCall {
c := &OrganizationsStoredInfoTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15453,20 +15455,20 @@ type OrganizationsStoredInfoTypesListCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *OrganizationsStoredInfoTypesService) List(parentid string) *OrganizationsStoredInfoTypesListCall {
c := &OrganizationsStoredInfoTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -15697,10 +15699,10 @@ type OrganizationsStoredInfoTypesPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of organization and storedInfoType to be
-// updated, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of organization and storedInfoType to be
+// updated, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *OrganizationsStoredInfoTypesService) Patch(name string, googleprivacydlpv2updatestoredinfotyperequest *GooglePrivacyDlpV2UpdateStoredInfoTypeRequest) *OrganizationsStoredInfoTypesPatchCall {
c := &OrganizationsStoredInfoTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15848,16 +15850,16 @@ type ProjectsContentDeidentifyCall struct {
// run. By default this may be all types, but may change over time as
// detectors are updated.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsContentService) Deidentify(parentid string, googleprivacydlpv2deidentifycontentrequest *GooglePrivacyDlpV2DeidentifyContentRequest) *ProjectsContentDeidentifyCall {
c := &ProjectsContentDeidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -16008,16 +16010,16 @@ type ProjectsContentInspectCall struct {
// https://cloud.google.com/dlp/docs/inspecting-images and
// https://cloud.google.com/dlp/docs/inspecting-text,
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsContentService) Inspect(parentid string, googleprivacydlpv2inspectcontentrequest *GooglePrivacyDlpV2InspectContentRequest) *ProjectsContentInspectCall {
c := &ProjectsContentInspectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -16163,16 +16165,16 @@ type ProjectsContentReidentifyCall struct {
// https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
// to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsContentService) Reidentify(parentid string, googleprivacydlpv2reidentifycontentrequest *GooglePrivacyDlpV2ReidentifyContentRequest) *ProjectsContentReidentifyCall {
c := &ProjectsContentReidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -16319,20 +16321,20 @@ type ProjectsDeidentifyTemplatesCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsDeidentifyTemplatesService) Create(parentid string, googleprivacydlpv2createdeidentifytemplaterequest *GooglePrivacyDlpV2CreateDeidentifyTemplateRequest) *ProjectsDeidentifyTemplatesCreateCall {
c := &ProjectsDeidentifyTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -16476,10 +16478,10 @@ type ProjectsDeidentifyTemplatesDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of the organization and deidentify template to
-// be deleted, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of the organization and deidentify template to
+// be deleted, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *ProjectsDeidentifyTemplatesService) Delete(name string) *ProjectsDeidentifyTemplatesDeleteCall {
c := &ProjectsDeidentifyTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16614,10 +16616,10 @@ type ProjectsDeidentifyTemplatesGetCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of the organization and deidentify template to
-// be read, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of the organization and deidentify template to
+// be read, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *ProjectsDeidentifyTemplatesService) Get(name string) *ProjectsDeidentifyTemplatesGetCall {
c := &ProjectsDeidentifyTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16766,20 +16768,20 @@ type ProjectsDeidentifyTemplatesListCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsDeidentifyTemplatesService) List(parentid string) *ProjectsDeidentifyTemplatesListCall {
c := &ProjectsDeidentifyTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -17008,10 +17010,10 @@ type ProjectsDeidentifyTemplatesPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of organization and deidentify template to be
-// updated, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of organization and deidentify template to be
+// updated, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *ProjectsDeidentifyTemplatesService) Patch(name string, googleprivacydlpv2updatedeidentifytemplaterequest *GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest) *ProjectsDeidentifyTemplatesPatchCall {
c := &ProjectsDeidentifyTemplatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17307,16 +17309,16 @@ type ProjectsDlpJobsCreateCall struct {
// default this may be all types, but may change over time as detectors
// are updated.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsDlpJobsService) Create(parentid string, googleprivacydlpv2createdlpjobrequest *GooglePrivacyDlpV2CreateDlpJobRequest) *ProjectsDlpJobsCreateCall {
c := &ProjectsDlpJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -17747,16 +17749,16 @@ type ProjectsDlpJobsListCall struct {
// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsDlpJobsService) List(parentid string) *ProjectsDlpJobsListCall {
c := &ProjectsDlpJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -17825,9 +17827,10 @@ func (c *ProjectsDlpJobsListCall) PageToken(pageToken string) *ProjectsDlpJobsLi
// `DlpJobType.INSPECT`
//
// Possible values:
-// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
-// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
-// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
+//
+// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
+// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
+// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
func (c *ProjectsDlpJobsListCall) Type(type_ string) *ProjectsDlpJobsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -18041,16 +18044,16 @@ type ProjectsImageRedactCall struct {
// run. By default this may be all types, but may change over time as
// detectors are updated.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsImageService) Redact(parentid string, googleprivacydlpv2redactimagerequest *GooglePrivacyDlpV2RedactImageRequest) *ProjectsImageRedactCall {
c := &ProjectsImageRedactCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -18195,20 +18198,20 @@ type ProjectsInspectTemplatesCreateCall struct {
// configuration for inspecting content, images, and storage. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsInspectTemplatesService) Create(parentid string, googleprivacydlpv2createinspecttemplaterequest *GooglePrivacyDlpV2CreateInspectTemplateRequest) *ProjectsInspectTemplatesCreateCall {
c := &ProjectsInspectTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -18351,10 +18354,10 @@ type ProjectsInspectTemplatesDeleteCall struct {
// Delete: Deletes an InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of the organization and inspectTemplate to be
-// deleted, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of the organization and inspectTemplate to be
+// deleted, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *ProjectsInspectTemplatesService) Delete(name string) *ProjectsInspectTemplatesDeleteCall {
c := &ProjectsInspectTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18488,10 +18491,10 @@ type ProjectsInspectTemplatesGetCall struct {
// Get: Gets an InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of the organization and inspectTemplate to be
-// read, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of the organization and inspectTemplate to be
+// read, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *ProjectsInspectTemplatesService) Get(name string) *ProjectsInspectTemplatesGetCall {
c := &ProjectsInspectTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18639,20 +18642,20 @@ type ProjectsInspectTemplatesListCall struct {
// List: Lists InspectTemplates. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsInspectTemplatesService) List(parentid string) *ProjectsInspectTemplatesListCall {
c := &ProjectsInspectTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -18880,10 +18883,10 @@ type ProjectsInspectTemplatesPatchCall struct {
// Patch: Updates the InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of organization and inspectTemplate to be
-// updated, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of organization and inspectTemplate to be
+// updated, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *ProjectsInspectTemplatesService) Patch(name string, googleprivacydlpv2updateinspecttemplaterequest *GooglePrivacyDlpV2UpdateInspectTemplateRequest) *ProjectsInspectTemplatesPatchCall {
c := &ProjectsInspectTemplatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19027,8 +19030,8 @@ type ProjectsJobTriggersActivateCall struct {
// Activate: Activate a job trigger. Causes the immediate execute of a
// trigger instead of waiting on the trigger event to occur.
//
-// - name: Resource name of the trigger to activate, for example
-// `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the trigger to activate, for example
+// `projects/dlp-test-project/jobTriggers/53234423`.
func (r *ProjectsJobTriggersService) Activate(name string, googleprivacydlpv2activatejobtriggerrequest *GooglePrivacyDlpV2ActivateJobTriggerRequest) *ProjectsJobTriggersActivateCall {
c := &ProjectsJobTriggersActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19173,16 +19176,16 @@ type ProjectsJobTriggersCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsJobTriggersService) Create(parentid string, googleprivacydlpv2createjobtriggerrequest *GooglePrivacyDlpV2CreateJobTriggerRequest) *ProjectsJobTriggersCreateCall {
c := &ProjectsJobTriggersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -19325,8 +19328,8 @@ type ProjectsJobTriggersDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - name: Resource name of the project and the triggeredJob, for
-// example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the project and the triggeredJob, for
+// example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *ProjectsJobTriggersService) Delete(name string) *ProjectsJobTriggersDeleteCall {
c := &ProjectsJobTriggersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19461,8 +19464,8 @@ type ProjectsJobTriggersGetCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - name: Resource name of the project and the triggeredJob, for
-// example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the project and the triggeredJob, for
+// example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *ProjectsJobTriggersService) Get(name string) *ProjectsJobTriggersGetCall {
c := &ProjectsJobTriggersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19610,16 +19613,16 @@ type ProjectsJobTriggersListCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsJobTriggersService) List(parentid string) *ProjectsJobTriggersListCall {
c := &ProjectsJobTriggersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -19690,9 +19693,10 @@ func (c *ProjectsJobTriggersListCall) PageToken(pageToken string) *ProjectsJobTr
// `DlpJobType.INSPECT` if not set.
//
// Possible values:
-// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
-// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
-// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
+//
+// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
+// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
+// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
func (c *ProjectsJobTriggersListCall) Type(type_ string) *ProjectsJobTriggersListCall {
c.urlParams_.Set("type", type_)
return c
@@ -19903,8 +19907,8 @@ type ProjectsJobTriggersPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - name: Resource name of the project and the triggeredJob, for
-// example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the project and the triggeredJob, for
+// example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *ProjectsJobTriggersService) Patch(name string, googleprivacydlpv2updatejobtriggerrequest *GooglePrivacyDlpV2UpdateJobTriggerRequest) *ProjectsJobTriggersPatchCall {
c := &ProjectsJobTriggersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20052,16 +20056,16 @@ type ProjectsLocationsContentDeidentifyCall struct {
// run. By default this may be all types, but may change over time as
// detectors are updated.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsContentService) Deidentify(parentid string, googleprivacydlpv2deidentifycontentrequest *GooglePrivacyDlpV2DeidentifyContentRequest) *ProjectsLocationsContentDeidentifyCall {
c := &ProjectsLocationsContentDeidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -20212,16 +20216,16 @@ type ProjectsLocationsContentInspectCall struct {
// https://cloud.google.com/dlp/docs/inspecting-images and
// https://cloud.google.com/dlp/docs/inspecting-text,
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsContentService) Inspect(parentid string, googleprivacydlpv2inspectcontentrequest *GooglePrivacyDlpV2InspectContentRequest) *ProjectsLocationsContentInspectCall {
c := &ProjectsLocationsContentInspectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -20367,16 +20371,16 @@ type ProjectsLocationsContentReidentifyCall struct {
// https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example
// to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsContentService) Reidentify(parentid string, googleprivacydlpv2reidentifycontentrequest *GooglePrivacyDlpV2ReidentifyContentRequest) *ProjectsLocationsContentReidentifyCall {
c := &ProjectsLocationsContentReidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -20523,20 +20527,20 @@ type ProjectsLocationsDeidentifyTemplatesCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsDeidentifyTemplatesService) Create(parentid string, googleprivacydlpv2createdeidentifytemplaterequest *GooglePrivacyDlpV2CreateDeidentifyTemplateRequest) *ProjectsLocationsDeidentifyTemplatesCreateCall {
c := &ProjectsLocationsDeidentifyTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -20680,10 +20684,10 @@ type ProjectsLocationsDeidentifyTemplatesDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of the organization and deidentify template to
-// be deleted, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of the organization and deidentify template to
+// be deleted, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *ProjectsLocationsDeidentifyTemplatesService) Delete(name string) *ProjectsLocationsDeidentifyTemplatesDeleteCall {
c := &ProjectsLocationsDeidentifyTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20818,10 +20822,10 @@ type ProjectsLocationsDeidentifyTemplatesGetCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of the organization and deidentify template to
-// be read, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of the organization and deidentify template to
+// be read, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *ProjectsLocationsDeidentifyTemplatesService) Get(name string) *ProjectsLocationsDeidentifyTemplatesGetCall {
c := &ProjectsLocationsDeidentifyTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20970,20 +20974,20 @@ type ProjectsLocationsDeidentifyTemplatesListCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsDeidentifyTemplatesService) List(parentid string) *ProjectsLocationsDeidentifyTemplatesListCall {
c := &ProjectsLocationsDeidentifyTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -21212,10 +21216,10 @@ type ProjectsLocationsDeidentifyTemplatesPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-templates-deid to learn
// more.
//
-// - name: Resource name of organization and deidentify template to be
-// updated, for example
-// `organizations/433245324/deidentifyTemplates/432452342` or
-// projects/project-id/deidentifyTemplates/432452342.
+// - name: Resource name of organization and deidentify template to be
+// updated, for example
+// `organizations/433245324/deidentifyTemplates/432452342` or
+// projects/project-id/deidentifyTemplates/432452342.
func (r *ProjectsLocationsDeidentifyTemplatesService) Patch(name string, googleprivacydlpv2updatedeidentifytemplaterequest *GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest) *ProjectsLocationsDeidentifyTemplatesPatchCall {
c := &ProjectsLocationsDeidentifyTemplatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21511,16 +21515,16 @@ type ProjectsLocationsDlpJobsCreateCall struct {
// default this may be all types, but may change over time as detectors
// are updated.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsDlpJobsService) Create(parentid string, googleprivacydlpv2createdlpjobrequest *GooglePrivacyDlpV2CreateDlpJobRequest) *ProjectsLocationsDlpJobsCreateCall {
c := &ProjectsLocationsDlpJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -22093,8 +22097,8 @@ type ProjectsLocationsDlpJobsHybridInspectCall struct {
// review the findings, inspect the job. Inspection will occur
// asynchronously.
//
-// - name: Resource name of the job to execute a hybrid inspect on, for
-// example `projects/dlp-test-project/dlpJob/53234423`.
+// - name: Resource name of the job to execute a hybrid inspect on, for
+// example `projects/dlp-test-project/dlpJob/53234423`.
func (r *ProjectsLocationsDlpJobsService) HybridInspect(name string, googleprivacydlpv2hybridinspectdlpjobrequest *GooglePrivacyDlpV2HybridInspectDlpJobRequest) *ProjectsLocationsDlpJobsHybridInspectCall {
c := &ProjectsLocationsDlpJobsHybridInspectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22240,16 +22244,16 @@ type ProjectsLocationsDlpJobsListCall struct {
// https://cloud.google.com/dlp/docs/compute-risk-analysis to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsDlpJobsService) List(parentid string) *ProjectsLocationsDlpJobsListCall {
c := &ProjectsLocationsDlpJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -22318,9 +22322,10 @@ func (c *ProjectsLocationsDlpJobsListCall) PageToken(pageToken string) *Projects
// `DlpJobType.INSPECT`
//
// Possible values:
-// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
-// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
-// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
+//
+// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
+// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
+// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
func (c *ProjectsLocationsDlpJobsListCall) Type(type_ string) *ProjectsLocationsDlpJobsListCall {
c.urlParams_.Set("type", type_)
return c
@@ -22534,16 +22539,16 @@ type ProjectsLocationsImageRedactCall struct {
// run. By default this may be all types, but may change over time as
// detectors are updated.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsImageService) Redact(parentid string, googleprivacydlpv2redactimagerequest *GooglePrivacyDlpV2RedactImageRequest) *ProjectsLocationsImageRedactCall {
c := &ProjectsLocationsImageRedactCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -22688,20 +22693,20 @@ type ProjectsLocationsInspectTemplatesCreateCall struct {
// configuration for inspecting content, images, and storage. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsInspectTemplatesService) Create(parentid string, googleprivacydlpv2createinspecttemplaterequest *GooglePrivacyDlpV2CreateInspectTemplateRequest) *ProjectsLocationsInspectTemplatesCreateCall {
c := &ProjectsLocationsInspectTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -22844,10 +22849,10 @@ type ProjectsLocationsInspectTemplatesDeleteCall struct {
// Delete: Deletes an InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of the organization and inspectTemplate to be
-// deleted, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of the organization and inspectTemplate to be
+// deleted, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *ProjectsLocationsInspectTemplatesService) Delete(name string) *ProjectsLocationsInspectTemplatesDeleteCall {
c := &ProjectsLocationsInspectTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22981,10 +22986,10 @@ type ProjectsLocationsInspectTemplatesGetCall struct {
// Get: Gets an InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of the organization and inspectTemplate to be
-// read, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of the organization and inspectTemplate to be
+// read, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *ProjectsLocationsInspectTemplatesService) Get(name string) *ProjectsLocationsInspectTemplatesGetCall {
c := &ProjectsLocationsInspectTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23132,20 +23137,20 @@ type ProjectsLocationsInspectTemplatesListCall struct {
// List: Lists InspectTemplates. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsInspectTemplatesService) List(parentid string) *ProjectsLocationsInspectTemplatesListCall {
c := &ProjectsLocationsInspectTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -23373,10 +23378,10 @@ type ProjectsLocationsInspectTemplatesPatchCall struct {
// Patch: Updates the InspectTemplate. See
// https://cloud.google.com/dlp/docs/creating-templates to learn more.
//
-// - name: Resource name of organization and inspectTemplate to be
-// updated, for example
-// `organizations/433245324/inspectTemplates/432452342` or
-// projects/project-id/inspectTemplates/432452342.
+// - name: Resource name of organization and inspectTemplate to be
+// updated, for example
+// `organizations/433245324/inspectTemplates/432452342` or
+// projects/project-id/inspectTemplates/432452342.
func (r *ProjectsLocationsInspectTemplatesService) Patch(name string, googleprivacydlpv2updateinspecttemplaterequest *GooglePrivacyDlpV2UpdateInspectTemplateRequest) *ProjectsLocationsInspectTemplatesPatchCall {
c := &ProjectsLocationsInspectTemplatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23520,8 +23525,8 @@ type ProjectsLocationsJobTriggersActivateCall struct {
// Activate: Activate a job trigger. Causes the immediate execute of a
// trigger instead of waiting on the trigger event to occur.
//
-// - name: Resource name of the trigger to activate, for example
-// `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the trigger to activate, for example
+// `projects/dlp-test-project/jobTriggers/53234423`.
func (r *ProjectsLocationsJobTriggersService) Activate(name string, googleprivacydlpv2activatejobtriggerrequest *GooglePrivacyDlpV2ActivateJobTriggerRequest) *ProjectsLocationsJobTriggersActivateCall {
c := &ProjectsLocationsJobTriggersActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23666,16 +23671,16 @@ type ProjectsLocationsJobTriggersCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsJobTriggersService) Create(parentid string, googleprivacydlpv2createjobtriggerrequest *GooglePrivacyDlpV2CreateJobTriggerRequest) *ProjectsLocationsJobTriggersCreateCall {
c := &ProjectsLocationsJobTriggersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -23818,8 +23823,8 @@ type ProjectsLocationsJobTriggersDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - name: Resource name of the project and the triggeredJob, for
-// example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the project and the triggeredJob, for
+// example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *ProjectsLocationsJobTriggersService) Delete(name string) *ProjectsLocationsJobTriggersDeleteCall {
c := &ProjectsLocationsJobTriggersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23954,8 +23959,8 @@ type ProjectsLocationsJobTriggersGetCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - name: Resource name of the project and the triggeredJob, for
-// example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the project and the triggeredJob, for
+// example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *ProjectsLocationsJobTriggersService) Get(name string) *ProjectsLocationsJobTriggersGetCall {
c := &ProjectsLocationsJobTriggersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24103,8 +24108,8 @@ type ProjectsLocationsJobTriggersHybridInspectCall struct {
// trigger. The inspection will be processed asynchronously. To review
// the findings monitor the jobs within the trigger.
//
-// - name: Resource name of the trigger to execute a hybrid inspect on,
-// for example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the trigger to execute a hybrid inspect on,
+// for example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *ProjectsLocationsJobTriggersService) HybridInspect(name string, googleprivacydlpv2hybridinspectjobtriggerrequest *GooglePrivacyDlpV2HybridInspectJobTriggerRequest) *ProjectsLocationsJobTriggersHybridInspectCall {
c := &ProjectsLocationsJobTriggersHybridInspectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24249,16 +24254,16 @@ type ProjectsLocationsJobTriggersListCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID The
-// following example `parent` string specifies a parent project with
-// the identifier `example-project`, and specifies the `europe-west3`
-// location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID The
+// following example `parent` string specifies a parent project with
+// the identifier `example-project`, and specifies the `europe-west3`
+// location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsJobTriggersService) List(parentid string) *ProjectsLocationsJobTriggersListCall {
c := &ProjectsLocationsJobTriggersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -24329,9 +24334,10 @@ func (c *ProjectsLocationsJobTriggersListCall) PageToken(pageToken string) *Proj
// `DlpJobType.INSPECT` if not set.
//
// Possible values:
-// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
-// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
-// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
+//
+// "DLP_JOB_TYPE_UNSPECIFIED" - Defaults to INSPECT_JOB.
+// "INSPECT_JOB" - The job inspected Google Cloud for sensitive data.
+// "RISK_ANALYSIS_JOB" - The job executed a Risk Analysis computation.
func (c *ProjectsLocationsJobTriggersListCall) Type(type_ string) *ProjectsLocationsJobTriggersListCall {
c.urlParams_.Set("type", type_)
return c
@@ -24542,8 +24548,8 @@ type ProjectsLocationsJobTriggersPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-job-triggers to learn
// more.
//
-// - name: Resource name of the project and the triggeredJob, for
-// example `projects/dlp-test-project/jobTriggers/53234423`.
+// - name: Resource name of the project and the triggeredJob, for
+// example `projects/dlp-test-project/jobTriggers/53234423`.
func (r *ProjectsLocationsJobTriggersService) Patch(name string, googleprivacydlpv2updatejobtriggerrequest *GooglePrivacyDlpV2UpdateJobTriggerRequest) *ProjectsLocationsJobTriggersPatchCall {
c := &ProjectsLocationsJobTriggersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24688,20 +24694,20 @@ type ProjectsLocationsStoredInfoTypesCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsStoredInfoTypesService) Create(parentid string, googleprivacydlpv2createstoredinfotyperequest *GooglePrivacyDlpV2CreateStoredInfoTypeRequest) *ProjectsLocationsStoredInfoTypesCreateCall {
c := &ProjectsLocationsStoredInfoTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -24844,10 +24850,10 @@ type ProjectsLocationsStoredInfoTypesDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of the organization and storedInfoType to be
-// deleted, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of the organization and storedInfoType to be
+// deleted, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *ProjectsLocationsStoredInfoTypesService) Delete(name string) *ProjectsLocationsStoredInfoTypesDeleteCall {
c := &ProjectsLocationsStoredInfoTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24982,10 +24988,10 @@ type ProjectsLocationsStoredInfoTypesGetCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of the organization and storedInfoType to be
-// read, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of the organization and storedInfoType to be
+// read, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *ProjectsLocationsStoredInfoTypesService) Get(name string) *ProjectsLocationsStoredInfoTypesGetCall {
c := &ProjectsLocationsStoredInfoTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25133,20 +25139,20 @@ type ProjectsLocationsStoredInfoTypesListCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsLocationsStoredInfoTypesService) List(parentid string) *ProjectsLocationsStoredInfoTypesListCall {
c := &ProjectsLocationsStoredInfoTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -25377,10 +25383,10 @@ type ProjectsLocationsStoredInfoTypesPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of organization and storedInfoType to be
-// updated, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of organization and storedInfoType to be
+// updated, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *ProjectsLocationsStoredInfoTypesService) Patch(name string, googleprivacydlpv2updatestoredinfotyperequest *GooglePrivacyDlpV2UpdateStoredInfoTypeRequest) *ProjectsLocationsStoredInfoTypesPatchCall {
c := &ProjectsLocationsStoredInfoTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25525,20 +25531,20 @@ type ProjectsStoredInfoTypesCreateCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsStoredInfoTypesService) Create(parentid string, googleprivacydlpv2createstoredinfotyperequest *GooglePrivacyDlpV2CreateStoredInfoTypeRequest) *ProjectsStoredInfoTypesCreateCall {
c := &ProjectsStoredInfoTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -25681,10 +25687,10 @@ type ProjectsStoredInfoTypesDeleteCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of the organization and storedInfoType to be
-// deleted, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of the organization and storedInfoType to be
+// deleted, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *ProjectsStoredInfoTypesService) Delete(name string) *ProjectsStoredInfoTypesDeleteCall {
c := &ProjectsStoredInfoTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25819,10 +25825,10 @@ type ProjectsStoredInfoTypesGetCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of the organization and storedInfoType to be
-// read, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of the organization and storedInfoType to be
+// read, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *ProjectsStoredInfoTypesService) Get(name string) *ProjectsStoredInfoTypesGetCall {
c := &ProjectsStoredInfoTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25970,20 +25976,20 @@ type ProjectsStoredInfoTypesListCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - parent: Parent resource name. The format of this value varies
-// depending on the scope of the request (project or organization) and
-// whether you have specified a processing location
-// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
-// scope, location specified:
-// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
-// location specified (defaults to global): `projects/`PROJECT_ID +
-// Organizations scope, location specified:
-// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
-// scope, no location specified (defaults to global):
-// `organizations/`ORG_ID The following example `parent` string
-// specifies a parent project with the identifier `example-project`,
-// and specifies the `europe-west3` location for processing data:
-// parent=projects/example-project/locations/europe-west3.
+// - parent: Parent resource name. The format of this value varies
+// depending on the scope of the request (project or organization) and
+// whether you have specified a processing location
+// (https://cloud.google.com/dlp/docs/specifying-location): + Projects
+// scope, location specified:
+// `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no
+// location specified (defaults to global): `projects/`PROJECT_ID +
+// Organizations scope, location specified:
+// `organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations
+// scope, no location specified (defaults to global):
+// `organizations/`ORG_ID The following example `parent` string
+// specifies a parent project with the identifier `example-project`,
+// and specifies the `europe-west3` location for processing data:
+// parent=projects/example-project/locations/europe-west3.
func (r *ProjectsStoredInfoTypesService) List(parentid string) *ProjectsStoredInfoTypesListCall {
c := &ProjectsStoredInfoTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -26214,10 +26220,10 @@ type ProjectsStoredInfoTypesPatchCall struct {
// https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn
// more.
//
-// - name: Resource name of organization and storedInfoType to be
-// updated, for example
-// `organizations/433245324/storedInfoTypes/432452342` or
-// projects/project-id/storedInfoTypes/432452342.
+// - name: Resource name of organization and storedInfoType to be
+// updated, for example
+// `organizations/433245324/storedInfoTypes/432452342` or
+// projects/project-id/storedInfoTypes/432452342.
func (r *ProjectsStoredInfoTypesService) Patch(name string, googleprivacydlpv2updatestoredinfotyperequest *GooglePrivacyDlpV2UpdateStoredInfoTypeRequest) *ProjectsStoredInfoTypesPatchCall {
c := &ProjectsStoredInfoTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/dns/v1/dns-gen.go b/dns/v1/dns-gen.go
index d5c7993d29a..778da4e4b8c 100644
--- a/dns/v1/dns-gen.go
+++ b/dns/v1/dns-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/dns/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dns/v1"
-// ...
-// ctx := context.Background()
-// dnsService, err := dns.NewService(ctx)
+// import "google.golang.org/api/dns/v1"
+// ...
+// ctx := context.Background()
+// dnsService, err := dns.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dnsService, err := dns.NewService(ctx, option.WithScopes(dns.NdevClouddnsReadwriteScope))
+// dnsService, err := dns.NewService(ctx, option.WithScopes(dns.NdevClouddnsReadwriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dnsService, err := dns.NewService(ctx, option.WithAPIKey("AIza..."))
+// dnsService, err := dns.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dnsService, err := dns.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dnsService, err := dns.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dns // import "google.golang.org/api/dns/v1"
@@ -3191,9 +3191,9 @@ type ChangesCreateCall struct {
// Create: Atomically updates the ResourceRecordSet collection.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ChangesService) Create(project string, managedZone string, change *Change) *ChangesCreateCall {
c := &ChangesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3360,11 +3360,11 @@ type ChangesGetCall struct {
// Get: Fetches the representation of an existing Change.
//
-// - changeId: The identifier of the requested change, from a previous
-// ResourceRecordSetsChangeResponse.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - changeId: The identifier of the requested change, from a previous
+// ResourceRecordSetsChangeResponse.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ChangesService) Get(project string, managedZone string, changeId string) *ChangesGetCall {
c := &ChangesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3545,9 +3545,9 @@ type ChangesListCall struct {
// List: Enumerates Changes to a ResourceRecordSet collection.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ChangesService) List(project string, managedZone string) *ChangesListCall {
c := &ChangesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3575,7 +3575,8 @@ func (c *ChangesListCall) PageToken(pageToken string) *ChangesListCall {
// only supported value is change sequence.
//
// Possible values:
-// "changeSequence" (default)
+//
+// "changeSequence" (default)
func (c *ChangesListCall) SortBy(sortBy string) *ChangesListCall {
c.urlParams_.Set("sortBy", sortBy)
return c
@@ -3788,10 +3789,10 @@ type DnsKeysGetCall struct {
// Get: Fetches the representation of an existing DnsKey.
//
-// - dnsKeyId: The identifier of the requested DnsKey.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - dnsKeyId: The identifier of the requested DnsKey.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *DnsKeysService) Get(project string, managedZone string, dnsKeyId string) *DnsKeysGetCall {
c := &DnsKeysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3986,9 +3987,9 @@ type DnsKeysListCall struct {
// List: Enumerates DnsKeys to a ResourceRecordSet collection.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *DnsKeysService) List(project string, managedZone string) *DnsKeysListCall {
c := &DnsKeysListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4209,10 +4210,10 @@ type ManagedZoneOperationsGetCall struct {
// Get: Fetches the representation of an existing Operation.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// - operation: Identifies the operation addressed by this request (ID
-// of the operation).
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// - operation: Identifies the operation addressed by this request (ID
+// of the operation).
+// - project: Identifies the project addressed by this request.
func (r *ManagedZoneOperationsService) Get(project string, managedZone string, operation string) *ManagedZoneOperationsGetCall {
c := &ManagedZoneOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4422,8 +4423,9 @@ func (c *ManagedZoneOperationsListCall) PageToken(pageToken string) *ManagedZone
// only supported values are START_TIME and ID.
//
// Possible values:
-// "startTime" (default)
-// "id"
+//
+// "startTime" (default)
+// "id"
func (c *ManagedZoneOperationsListCall) SortBy(sortBy string) *ManagedZoneOperationsListCall {
c.urlParams_.Set("sortBy", sortBy)
return c
@@ -4781,9 +4783,9 @@ type ManagedZonesDeleteCall struct {
// Delete: Deletes a previously created ManagedZone.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Delete(project string, managedZone string) *ManagedZonesDeleteCall {
c := &ManagedZonesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4912,9 +4914,9 @@ type ManagedZonesGetCall struct {
// Get: Fetches the representation of an existing ManagedZone.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Get(project string, managedZone string) *ManagedZonesGetCall {
c := &ManagedZonesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5087,10 +5089,10 @@ type ManagedZonesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ManagedZonesService) GetIamPolicy(resource string, googleiamv1getiampolicyrequest *GoogleIamV1GetIamPolicyRequest) *ManagedZonesGetIamPolicyCall {
c := &ManagedZonesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5445,9 +5447,9 @@ type ManagedZonesPatchCall struct {
// Patch: Applies a partial update to an existing ManagedZone.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Patch(project string, managedZone string, managedzone *ManagedZone) *ManagedZonesPatchCall {
c := &ManagedZonesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5614,10 +5616,10 @@ type ManagedZonesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ManagedZonesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ManagedZonesSetIamPolicyCall {
c := &ManagedZonesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5765,10 +5767,10 @@ type ManagedZonesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ManagedZonesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ManagedZonesTestIamPermissionsCall {
c := &ManagedZonesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5915,9 +5917,9 @@ type ManagedZonesUpdateCall struct {
// Update: Updates an existing ManagedZone.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Update(project string, managedZone string, managedzone *ManagedZone) *ManagedZonesUpdateCall {
c := &ManagedZonesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6239,9 +6241,9 @@ type PoliciesDeleteCall struct {
// Delete: Deletes a previously created Policy. Fails if the policy is
// still being referenced by a network.
//
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Delete(project string, policy string) *PoliciesDeleteCall {
c := &PoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6370,9 +6372,9 @@ type PoliciesGetCall struct {
// Get: Fetches the representation of an existing Policy.
//
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Get(project string, policy string) *PoliciesGetCall {
c := &PoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6740,9 +6742,9 @@ type PoliciesPatchCall struct {
// Patch: Applies a partial update to an existing Policy.
//
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Patch(project string, policy string, policy2 *Policy) *PoliciesPatchCall {
c := &PoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6908,9 +6910,9 @@ type PoliciesUpdateCall struct {
// Update: Updates an existing Policy.
//
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Update(project string, policy string, policy2 *Policy) *PoliciesUpdateCall {
c := &PoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7238,9 +7240,9 @@ type ResourceRecordSetsCreateCall struct {
// Create: Creates a new ResourceRecordSet.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ResourceRecordSetsService) Create(project string, managedZone string, resourcerecordset *ResourceRecordSet) *ResourceRecordSetsCreateCall {
c := &ResourceRecordSetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7407,11 +7409,11 @@ type ResourceRecordSetsDeleteCall struct {
// Delete: Deletes a previously created ResourceRecordSet.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - name: Fully qualified domain name.
-// - project: Identifies the project addressed by this request.
-// - type: RRSet type.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - name: Fully qualified domain name.
+// - project: Identifies the project addressed by this request.
+// - type: RRSet type.
func (r *ResourceRecordSetsService) Delete(project string, managedZone string, name string, type_ string) *ResourceRecordSetsDeleteCall {
c := &ResourceRecordSetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7588,11 +7590,11 @@ type ResourceRecordSetsGetCall struct {
// Get: Fetches the representation of an existing ResourceRecordSet.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - name: Fully qualified domain name.
-// - project: Identifies the project addressed by this request.
-// - type: RRSet type.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - name: Fully qualified domain name.
+// - project: Identifies the project addressed by this request.
+// - type: RRSet type.
func (r *ResourceRecordSetsService) Get(project string, managedZone string, name string, type_ string) *ResourceRecordSetsGetCall {
c := &ResourceRecordSetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7783,9 +7785,9 @@ type ResourceRecordSetsListCall struct {
// List: Enumerates ResourceRecordSets that you have created but not yet
// deleted.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ResourceRecordSetsService) List(project string, managedZone string) *ResourceRecordSetsListCall {
c := &ResourceRecordSetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8018,11 +8020,11 @@ type ResourceRecordSetsPatchCall struct {
// Patch: Applies a partial update to an existing ResourceRecordSet.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - name: Fully qualified domain name.
-// - project: Identifies the project addressed by this request.
-// - type: RRSet type.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - name: Fully qualified domain name.
+// - project: Identifies the project addressed by this request.
+// - type: RRSet type.
func (r *ResourceRecordSetsService) Patch(project string, managedZone string, name string, type_ string, resourcerecordset *ResourceRecordSet) *ResourceRecordSetsPatchCall {
c := &ResourceRecordSetsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8362,9 +8364,9 @@ type ResponsePoliciesDeleteCall struct {
// Delete: Deletes a previously created Response Policy. Fails if the
// response policy is non-empty or still being referenced by a network.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy addressed
-// by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Delete(project string, responsePolicy string) *ResponsePoliciesDeleteCall {
c := &ResponsePoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8493,9 +8495,9 @@ type ResponsePoliciesGetCall struct {
// Get: Fetches the representation of an existing Response Policy.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy addressed
-// by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Get(project string, responsePolicy string) *ResponsePoliciesGetCall {
c := &ResponsePoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8863,9 +8865,9 @@ type ResponsePoliciesPatchCall struct {
// Patch: Applies a partial update to an existing Response Policy.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Respones Policy addressed
-// by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Respones Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Patch(project string, responsePolicy string, responsepolicy *ResponsePolicy) *ResponsePoliciesPatchCall {
c := &ResponsePoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9031,9 +9033,9 @@ type ResponsePoliciesUpdateCall struct {
// Update: Updates an existing Response Policy.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy addressed
-// by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Update(project string, responsePolicy string, responsepolicy *ResponsePolicy) *ResponsePoliciesUpdateCall {
c := &ResponsePoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9199,9 +9201,9 @@ type ResponsePolicyRulesCreateCall struct {
// Create: Creates a new Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
func (r *ResponsePolicyRulesService) Create(project string, responsePolicy string, responsepolicyrule *ResponsePolicyRule) *ResponsePolicyRulesCreateCall {
c := &ResponsePolicyRulesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9367,11 +9369,11 @@ type ResponsePolicyRulesDeleteCall struct {
// Delete: Deletes a previously created Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Delete(project string, responsePolicy string, responsePolicyRule string) *ResponsePolicyRulesDeleteCall {
c := &ResponsePolicyRulesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9510,11 +9512,11 @@ type ResponsePolicyRulesGetCall struct {
// Get: Fetches the representation of an existing Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Get(project string, responsePolicy string, responsePolicyRule string) *ResponsePolicyRulesGetCall {
c := &ResponsePolicyRulesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9903,11 +9905,11 @@ type ResponsePolicyRulesPatchCall struct {
// Patch: Applies a partial update to an existing Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Patch(project string, responsePolicy string, responsePolicyRule string, responsepolicyrule *ResponsePolicyRule) *ResponsePolicyRulesPatchCall {
c := &ResponsePolicyRulesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10083,11 +10085,11 @@ type ResponsePolicyRulesUpdateCall struct {
// Update: Updates an existing Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Update(project string, responsePolicy string, responsePolicyRule string, responsepolicyrule *ResponsePolicyRule) *ResponsePolicyRulesUpdateCall {
c := &ResponsePolicyRulesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
diff --git a/dns/v1beta2/dns-gen.go b/dns/v1beta2/dns-gen.go
index 2649c1c69c9..205b6b10a28 100644
--- a/dns/v1beta2/dns-gen.go
+++ b/dns/v1beta2/dns-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/dns/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dns/v1beta2"
-// ...
-// ctx := context.Background()
-// dnsService, err := dns.NewService(ctx)
+// import "google.golang.org/api/dns/v1beta2"
+// ...
+// ctx := context.Background()
+// dnsService, err := dns.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dnsService, err := dns.NewService(ctx, option.WithScopes(dns.NdevClouddnsReadwriteScope))
+// dnsService, err := dns.NewService(ctx, option.WithScopes(dns.NdevClouddnsReadwriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dnsService, err := dns.NewService(ctx, option.WithAPIKey("AIza..."))
+// dnsService, err := dns.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dnsService, err := dns.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dnsService, err := dns.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dns // import "google.golang.org/api/dns/v1beta2"
@@ -3273,9 +3273,9 @@ type ChangesCreateCall struct {
// Create: Atomically updates the ResourceRecordSet collection.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ChangesService) Create(project string, managedZone string, change *Change) *ChangesCreateCall {
c := &ChangesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3442,11 +3442,11 @@ type ChangesGetCall struct {
// Get: Fetches the representation of an existing Change.
//
-// - changeId: The identifier of the requested change, from a previous
-// ResourceRecordSetsChangeResponse.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - changeId: The identifier of the requested change, from a previous
+// ResourceRecordSetsChangeResponse.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ChangesService) Get(project string, managedZone string, changeId string) *ChangesGetCall {
c := &ChangesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3627,9 +3627,9 @@ type ChangesListCall struct {
// List: Enumerates Changes to a ResourceRecordSet collection.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ChangesService) List(project string, managedZone string) *ChangesListCall {
c := &ChangesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3657,7 +3657,8 @@ func (c *ChangesListCall) PageToken(pageToken string) *ChangesListCall {
// only supported value is change sequence.
//
// Possible values:
-// "changeSequence" (default)
+//
+// "changeSequence" (default)
func (c *ChangesListCall) SortBy(sortBy string) *ChangesListCall {
c.urlParams_.Set("sortBy", sortBy)
return c
@@ -3870,10 +3871,10 @@ type DnsKeysGetCall struct {
// Get: Fetches the representation of an existing DnsKey.
//
-// - dnsKeyId: The identifier of the requested DnsKey.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - dnsKeyId: The identifier of the requested DnsKey.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *DnsKeysService) Get(project string, managedZone string, dnsKeyId string) *DnsKeysGetCall {
c := &DnsKeysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4068,9 +4069,9 @@ type DnsKeysListCall struct {
// List: Enumerates DnsKeys to a ResourceRecordSet collection.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *DnsKeysService) List(project string, managedZone string) *DnsKeysListCall {
c := &DnsKeysListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4291,10 +4292,10 @@ type ManagedZoneOperationsGetCall struct {
// Get: Fetches the representation of an existing Operation.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// - operation: Identifies the operation addressed by this request (ID
-// of the operation).
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// - operation: Identifies the operation addressed by this request (ID
+// of the operation).
+// - project: Identifies the project addressed by this request.
func (r *ManagedZoneOperationsService) Get(project string, managedZone string, operation string) *ManagedZoneOperationsGetCall {
c := &ManagedZoneOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4504,8 +4505,9 @@ func (c *ManagedZoneOperationsListCall) PageToken(pageToken string) *ManagedZone
// only supported values are START_TIME and ID.
//
// Possible values:
-// "startTime" (default)
-// "id"
+//
+// "startTime" (default)
+// "id"
func (c *ManagedZoneOperationsListCall) SortBy(sortBy string) *ManagedZoneOperationsListCall {
c.urlParams_.Set("sortBy", sortBy)
return c
@@ -4863,9 +4865,9 @@ type ManagedZonesDeleteCall struct {
// Delete: Deletes a previously created ManagedZone.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Delete(project string, managedZone string) *ManagedZonesDeleteCall {
c := &ManagedZonesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4994,9 +4996,9 @@ type ManagedZonesGetCall struct {
// Get: Fetches the representation of an existing ManagedZone.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Get(project string, managedZone string) *ManagedZonesGetCall {
c := &ManagedZonesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5169,10 +5171,10 @@ type ManagedZonesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ManagedZonesService) GetIamPolicy(resource string, googleiamv1getiampolicyrequest *GoogleIamV1GetIamPolicyRequest) *ManagedZonesGetIamPolicyCall {
c := &ManagedZonesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5527,9 +5529,9 @@ type ManagedZonesPatchCall struct {
// Patch: Applies a partial update to an existing ManagedZone.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Patch(project string, managedZone string, managedzone *ManagedZone) *ManagedZonesPatchCall {
c := &ManagedZonesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5696,10 +5698,10 @@ type ManagedZonesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ManagedZonesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ManagedZonesSetIamPolicyCall {
c := &ManagedZonesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5847,10 +5849,10 @@ type ManagedZonesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ManagedZonesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ManagedZonesTestIamPermissionsCall {
c := &ManagedZonesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5997,9 +5999,9 @@ type ManagedZonesUpdateCall struct {
// Update: Updates an existing ManagedZone.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Update(project string, managedZone string, managedzone *ManagedZone) *ManagedZonesUpdateCall {
c := &ManagedZonesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6321,9 +6323,9 @@ type PoliciesDeleteCall struct {
// Delete: Deletes a previously created Policy. Fails if the policy is
// still being referenced by a network.
//
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Delete(project string, policy string) *PoliciesDeleteCall {
c := &PoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6452,9 +6454,9 @@ type PoliciesGetCall struct {
// Get: Fetches the representation of an existing Policy.
//
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Get(project string, policy string) *PoliciesGetCall {
c := &PoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6822,9 +6824,9 @@ type PoliciesPatchCall struct {
// Patch: Applies a partial update to an existing Policy.
//
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Patch(project string, policy string, policy2 *Policy) *PoliciesPatchCall {
c := &PoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6990,9 +6992,9 @@ type PoliciesUpdateCall struct {
// Update: Updates an existing Policy.
//
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Update(project string, policy string, policy2 *Policy) *PoliciesUpdateCall {
c := &PoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7320,9 +7322,9 @@ type ResourceRecordSetsCreateCall struct {
// Create: Creates a new ResourceRecordSet.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ResourceRecordSetsService) Create(project string, managedZone string, resourcerecordset *ResourceRecordSet) *ResourceRecordSetsCreateCall {
c := &ResourceRecordSetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7489,11 +7491,11 @@ type ResourceRecordSetsDeleteCall struct {
// Delete: Deletes a previously created ResourceRecordSet.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - name: Fully qualified domain name.
-// - project: Identifies the project addressed by this request.
-// - type: RRSet type.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - name: Fully qualified domain name.
+// - project: Identifies the project addressed by this request.
+// - type: RRSet type.
func (r *ResourceRecordSetsService) Delete(project string, managedZone string, name string, type_ string) *ResourceRecordSetsDeleteCall {
c := &ResourceRecordSetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7642,11 +7644,11 @@ type ResourceRecordSetsGetCall struct {
// Get: Fetches the representation of an existing ResourceRecordSet.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - name: Fully qualified domain name.
-// - project: Identifies the project addressed by this request.
-// - type: RRSet type.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - name: Fully qualified domain name.
+// - project: Identifies the project addressed by this request.
+// - type: RRSet type.
func (r *ResourceRecordSetsService) Get(project string, managedZone string, name string, type_ string) *ResourceRecordSetsGetCall {
c := &ResourceRecordSetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7837,9 +7839,9 @@ type ResourceRecordSetsListCall struct {
// List: Enumerates ResourceRecordSets that you have created but not yet
// deleted.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ResourceRecordSetsService) List(project string, managedZone string) *ResourceRecordSetsListCall {
c := &ResourceRecordSetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8072,11 +8074,11 @@ type ResourceRecordSetsPatchCall struct {
// Patch: Applies a partial update to an existing ResourceRecordSet.
//
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - name: Fully qualified domain name.
-// - project: Identifies the project addressed by this request.
-// - type: RRSet type.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - name: Fully qualified domain name.
+// - project: Identifies the project addressed by this request.
+// - type: RRSet type.
func (r *ResourceRecordSetsService) Patch(project string, managedZone string, name string, type_ string, resourcerecordset *ResourceRecordSet) *ResourceRecordSetsPatchCall {
c := &ResourceRecordSetsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8416,9 +8418,9 @@ type ResponsePoliciesDeleteCall struct {
// Delete: Deletes a previously created Response Policy. Fails if the
// response policy is non-empty or still being referenced by a network.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy addressed
-// by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Delete(project string, responsePolicy string) *ResponsePoliciesDeleteCall {
c := &ResponsePoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8547,9 +8549,9 @@ type ResponsePoliciesGetCall struct {
// Get: Fetches the representation of an existing Response Policy.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy addressed
-// by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Get(project string, responsePolicy string) *ResponsePoliciesGetCall {
c := &ResponsePoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8917,9 +8919,9 @@ type ResponsePoliciesPatchCall struct {
// Patch: Applies a partial update to an existing Response Policy.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Respones Policy addressed
-// by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Respones Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Patch(project string, responsePolicy string, responsepolicy *ResponsePolicy) *ResponsePoliciesPatchCall {
c := &ResponsePoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9085,9 +9087,9 @@ type ResponsePoliciesUpdateCall struct {
// Update: Updates an existing Response Policy.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy addressed
-// by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Update(project string, responsePolicy string, responsepolicy *ResponsePolicy) *ResponsePoliciesUpdateCall {
c := &ResponsePoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9253,9 +9255,9 @@ type ResponsePolicyRulesCreateCall struct {
// Create: Creates a new Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
func (r *ResponsePolicyRulesService) Create(project string, responsePolicy string, responsepolicyrule *ResponsePolicyRule) *ResponsePolicyRulesCreateCall {
c := &ResponsePolicyRulesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9421,11 +9423,11 @@ type ResponsePolicyRulesDeleteCall struct {
// Delete: Deletes a previously created Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Delete(project string, responsePolicy string, responsePolicyRule string) *ResponsePolicyRulesDeleteCall {
c := &ResponsePolicyRulesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9564,11 +9566,11 @@ type ResponsePolicyRulesGetCall struct {
// Get: Fetches the representation of an existing Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Get(project string, responsePolicy string, responsePolicyRule string) *ResponsePolicyRulesGetCall {
c := &ResponsePolicyRulesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9957,11 +9959,11 @@ type ResponsePolicyRulesPatchCall struct {
// Patch: Applies a partial update to an existing Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Patch(project string, responsePolicy string, responsePolicyRule string, responsepolicyrule *ResponsePolicyRule) *ResponsePolicyRulesPatchCall {
c := &ResponsePolicyRulesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10137,11 +10139,11 @@ type ResponsePolicyRulesUpdateCall struct {
// Update: Updates an existing Response Policy Rule.
//
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Update(project string, responsePolicy string, responsePolicyRule string, responsepolicyrule *ResponsePolicyRule) *ResponsePolicyRulesUpdateCall {
c := &ResponsePolicyRulesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
diff --git a/dns/v2/dns-gen.go b/dns/v2/dns-gen.go
index 5b38dcb5441..fc477e9466f 100644
--- a/dns/v2/dns-gen.go
+++ b/dns/v2/dns-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/dns/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dns/v2"
-// ...
-// ctx := context.Background()
-// dnsService, err := dns.NewService(ctx)
+// import "google.golang.org/api/dns/v2"
+// ...
+// ctx := context.Background()
+// dnsService, err := dns.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dnsService, err := dns.NewService(ctx, option.WithScopes(dns.NdevClouddnsReadwriteScope))
+// dnsService, err := dns.NewService(ctx, option.WithScopes(dns.NdevClouddnsReadwriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dnsService, err := dns.NewService(ctx, option.WithAPIKey("AIza..."))
+// dnsService, err := dns.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dnsService, err := dns.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dnsService, err := dns.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dns // import "google.golang.org/api/dns/v2"
@@ -2537,10 +2537,10 @@ type ChangesCreateCall struct {
// Create: Atomically updates the ResourceRecordSet collection.
//
-// - location: .
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - location: .
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ChangesService) Create(project string, location string, managedZone string, change *Change) *ChangesCreateCall {
c := &ChangesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -2717,12 +2717,12 @@ type ChangesGetCall struct {
// Get: Fetches the representation of an existing Change.
//
-// - changeId: The identifier of the requested change, from a previous
-// ResourceRecordSetsChangeResponse.
-// - location: .
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - changeId: The identifier of the requested change, from a previous
+// ResourceRecordSetsChangeResponse.
+// - location: .
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ChangesService) Get(project string, location string, managedZone string, changeId string) *ChangesGetCall {
c := &ChangesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -2913,10 +2913,10 @@ type ChangesListCall struct {
// List: Enumerates Changes to a ResourceRecordSet collection.
//
-// - location: .
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - location: .
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ChangesService) List(project string, location string, managedZone string) *ChangesListCall {
c := &ChangesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -2945,7 +2945,8 @@ func (c *ChangesListCall) PageToken(pageToken string) *ChangesListCall {
// only supported value is change sequence.
//
// Possible values:
-// "CHANGE_SEQUENCE" (default)
+//
+// "CHANGE_SEQUENCE" (default)
func (c *ChangesListCall) SortBy(sortBy string) *ChangesListCall {
c.urlParams_.Set("sortBy", sortBy)
return c
@@ -3167,12 +3168,12 @@ type DnsKeysGetCall struct {
// Get: Fetches the representation of an existing DnsKey.
//
-// - dnsKeyId: The identifier of the requested DnsKey.
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - dnsKeyId: The identifier of the requested DnsKey.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *DnsKeysService) Get(project string, location string, managedZone string, dnsKeyId string) *DnsKeysGetCall {
c := &DnsKeysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3378,11 +3379,11 @@ type DnsKeysListCall struct {
// List: Enumerates DnsKeys to a ResourceRecordSet collection.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *DnsKeysService) List(project string, location string, managedZone string) *DnsKeysListCall {
c := &DnsKeysListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3614,12 +3615,12 @@ type ManagedZoneOperationsGetCall struct {
// Get: Fetches the representation of an existing Operation.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// - operation: Identifies the operation addressed by this request (ID
-// of the operation).
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// - operation: Identifies the operation addressed by this request (ID
+// of the operation).
+// - project: Identifies the project addressed by this request.
func (r *ManagedZoneOperationsService) Get(project string, location string, managedZone string, operation string) *ManagedZoneOperationsGetCall {
c := &ManagedZoneOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3811,10 +3812,10 @@ type ManagedZoneOperationsListCall struct {
// List: Enumerates Operations for the given ManagedZone.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZoneOperationsService) List(project string, location string, managedZone string) *ManagedZoneOperationsListCall {
c := &ManagedZoneOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3843,8 +3844,9 @@ func (c *ManagedZoneOperationsListCall) PageToken(pageToken string) *ManagedZone
// only supported values are START_TIME and ID.
//
// Possible values:
-// "START_TIME" (default)
-// "ID"
+//
+// "START_TIME" (default)
+// "ID"
func (c *ManagedZoneOperationsListCall) SortBy(sortBy string) *ManagedZoneOperationsListCall {
c.urlParams_.Set("sortBy", sortBy)
return c
@@ -4056,9 +4058,9 @@ type ManagedZonesCreateCall struct {
// Create: Creates a new ManagedZone.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Create(project string, location string, managedzone *ManagedZone) *ManagedZonesCreateCall {
c := &ManagedZonesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4225,11 +4227,11 @@ type ManagedZonesDeleteCall struct {
// Delete: Deletes a previously created ManagedZone.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Delete(project string, location string, managedZone string) *ManagedZonesDeleteCall {
c := &ManagedZonesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4369,11 +4371,11 @@ type ManagedZonesGetCall struct {
// Get: Fetches the representation of an existing ManagedZone.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Get(project string, location string, managedZone string) *ManagedZonesGetCall {
c := &ManagedZonesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4556,9 +4558,9 @@ type ManagedZonesListCall struct {
// List: Enumerates ManagedZones that have been created but not yet
// deleted.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) List(project string, location string) *ManagedZonesListCall {
c := &ManagedZonesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4778,11 +4780,11 @@ type ManagedZonesPatchCall struct {
// Patch: Applies a partial update to an existing ManagedZone.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Patch(project string, location string, managedZone string, managedzone *ManagedZone) *ManagedZonesPatchCall {
c := &ManagedZonesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4959,11 +4961,11 @@ type ManagedZonesUpdateCall struct {
// Update: Updates an existing ManagedZone.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ManagedZonesService) Update(project string, location string, managedZone string, managedzone *ManagedZone) *ManagedZonesUpdateCall {
c := &ManagedZonesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5139,9 +5141,9 @@ type PoliciesCreateCall struct {
// Create: Creates a new Policy.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Create(project string, location string, policy *Policy) *PoliciesCreateCall {
c := &PoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5309,11 +5311,11 @@ type PoliciesDeleteCall struct {
// Delete: Deletes a previously created Policy. Fails if the policy is
// still being referenced by a network.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Delete(project string, location string, policy string) *PoliciesDeleteCall {
c := &PoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5453,11 +5455,11 @@ type PoliciesGetCall struct {
// Get: Fetches the representation of an existing Policy.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Get(project string, location string, policy string) *PoliciesGetCall {
c := &PoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5639,9 +5641,9 @@ type PoliciesListCall struct {
// List: Enumerates all Policies associated with a project.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) List(project string, location string) *PoliciesListCall {
c := &PoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5849,11 +5851,11 @@ type PoliciesPatchCall struct {
// Patch: Applies a partial update to an existing Policy.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Patch(project string, location string, policy string, policy2 *Policy) *PoliciesPatchCall {
c := &PoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6030,11 +6032,11 @@ type PoliciesUpdateCall struct {
// Update: Updates an existing Policy.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - policy: User given friendly name of the policy addressed by this
-// request.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - policy: User given friendly name of the policy addressed by this
+// request.
+// - project: Identifies the project addressed by this request.
func (r *PoliciesService) Update(project string, location string, policy string, policy2 *Policy) *PoliciesUpdateCall {
c := &PoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6384,11 +6386,11 @@ type ResourceRecordSetsCreateCall struct {
// Create: Creates a new ResourceRecordSet.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ResourceRecordSetsService) Create(project string, location string, managedZone string, resourcerecordset *ResourceRecordSet) *ResourceRecordSetsCreateCall {
c := &ResourceRecordSetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6566,13 +6568,13 @@ type ResourceRecordSetsDeleteCall struct {
// Delete: Deletes a previously created ResourceRecordSet.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - name: Fully qualified domain name.
-// - project: Identifies the project addressed by this request.
-// - type: RRSet type.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - name: Fully qualified domain name.
+// - project: Identifies the project addressed by this request.
+// - type: RRSet type.
func (r *ResourceRecordSetsService) Delete(project string, location string, managedZone string, name string, type_ string) *ResourceRecordSetsDeleteCall {
c := &ResourceRecordSetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6732,13 +6734,13 @@ type ResourceRecordSetsGetCall struct {
// Get: Fetches the representation of an existing ResourceRecordSet.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - name: Fully qualified domain name.
-// - project: Identifies the project addressed by this request.
-// - type: RRSet type.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - name: Fully qualified domain name.
+// - project: Identifies the project addressed by this request.
+// - type: RRSet type.
func (r *ResourceRecordSetsService) Get(project string, location string, managedZone string, name string, type_ string) *ResourceRecordSetsGetCall {
c := &ResourceRecordSetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6940,11 +6942,11 @@ type ResourceRecordSetsListCall struct {
// List: Enumerates ResourceRecordSets that you have created but not yet
// deleted.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - project: Identifies the project addressed by this request.
func (r *ResourceRecordSetsService) List(project string, location string, managedZone string) *ResourceRecordSetsListCall {
c := &ResourceRecordSetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7188,13 +7190,13 @@ type ResourceRecordSetsPatchCall struct {
// Patch: Applies a partial update to an existing ResourceRecordSet.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - managedZone: Identifies the managed zone addressed by this request.
-// Can be the managed zone name or ID.
-// - name: Fully qualified domain name.
-// - project: Identifies the project addressed by this request.
-// - type: RRSet type.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - managedZone: Identifies the managed zone addressed by this request.
+// Can be the managed zone name or ID.
+// - name: Fully qualified domain name.
+// - project: Identifies the project addressed by this request.
+// - type: RRSet type.
func (r *ResourceRecordSetsService) Patch(project string, location string, managedZone string, name string, type_ string, resourcerecordset *ResourceRecordSet) *ResourceRecordSetsPatchCall {
c := &ResourceRecordSetsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7388,10 +7390,10 @@ type ResponsePoliciesCreateCall struct {
// Create: Creates a new Response Policy
//
-// - location: Specifies the location of the resource, only applicable
-// in the v APIs. This information will be used for routing and will
-// be part of the resource name.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource, only applicable
+// in the v APIs. This information will be used for routing and will
+// be part of the resource name.
+// - project: Identifies the project addressed by this request.
func (r *ResponsePoliciesService) Create(project string, location string, responsepolicy *ResponsePolicy) *ResponsePoliciesCreateCall {
c := &ResponsePoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7559,11 +7561,11 @@ type ResponsePoliciesDeleteCall struct {
// Delete: Deletes a previously created Response Policy. Fails if the
// response policy is non-empty or still being referenced by a network.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy addressed
-// by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Delete(project string, location string, responsePolicy string) *ResponsePoliciesDeleteCall {
c := &ResponsePoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7703,11 +7705,11 @@ type ResponsePoliciesGetCall struct {
// Get: Fetches the representation of an existing Response Policy.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy addressed
-// by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Get(project string, location string, responsePolicy string) *ResponsePoliciesGetCall {
c := &ResponsePoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7889,9 +7891,9 @@ type ResponsePoliciesListCall struct {
// List: Enumerates all Response Policies associated with a project.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
func (r *ResponsePoliciesService) List(project string, location string) *ResponsePoliciesListCall {
c := &ResponsePoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8099,11 +8101,11 @@ type ResponsePoliciesPatchCall struct {
// Patch: Applies a partial update to an existing Response Policy.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Respones Policy addressed
-// by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Respones Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Patch(project string, location string, responsePolicy string, responsepolicy *ResponsePolicy) *ResponsePoliciesPatchCall {
c := &ResponsePoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8280,11 +8282,11 @@ type ResponsePoliciesUpdateCall struct {
// Update: Updates an existing Response Policy.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy addressed
-// by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy addressed
+// by this request.
func (r *ResponsePoliciesService) Update(project string, location string, responsePolicy string, responsepolicy *ResponsePolicy) *ResponsePoliciesUpdateCall {
c := &ResponsePoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8461,11 +8463,11 @@ type ResponsePolicyRulesCreateCall struct {
// Create: Creates a new Response Policy Rule.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
func (r *ResponsePolicyRulesService) Create(project string, location string, responsePolicy string, responsepolicyrule *ResponsePolicyRule) *ResponsePolicyRulesCreateCall {
c := &ResponsePolicyRulesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8642,13 +8644,13 @@ type ResponsePolicyRulesDeleteCall struct {
// Delete: Deletes a previously created Response Policy Rule.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Delete(project string, location string, responsePolicy string, responsePolicyRule string) *ResponsePolicyRulesDeleteCall {
c := &ResponsePolicyRulesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8798,13 +8800,13 @@ type ResponsePolicyRulesGetCall struct {
// Get: Fetches the representation of an existing Response Policy Rule.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Get(project string, location string, responsePolicy string, responsePolicyRule string) *ResponsePolicyRulesGetCall {
c := &ResponsePolicyRulesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8996,10 +8998,10 @@ type ResponsePolicyRulesListCall struct {
// List: Enumerates all Response Policy Rules associated with a project.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy to list.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy to list.
func (r *ResponsePolicyRulesService) List(project string, location string, responsePolicy string) *ResponsePolicyRulesListCall {
c := &ResponsePolicyRulesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9217,13 +9219,13 @@ type ResponsePolicyRulesPatchCall struct {
// Patch: Applies a partial update to an existing Response Policy Rule.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Patch(project string, location string, responsePolicy string, responsePolicyRule string, responsepolicyrule *ResponsePolicyRule) *ResponsePolicyRulesPatchCall {
c := &ResponsePolicyRulesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9410,13 +9412,13 @@ type ResponsePolicyRulesUpdateCall struct {
// Update: Updates an existing Response Policy Rule.
//
-// - location: Specifies the location of the resource. This information
-// will be used for routing and will be part of the resource name.
-// - project: Identifies the project addressed by this request.
-// - responsePolicy: User assigned name of the Response Policy
-// containing the Response Policy Rule.
-// - responsePolicyRule: User assigned name of the Response Policy Rule
-// addressed by this request.
+// - location: Specifies the location of the resource. This information
+// will be used for routing and will be part of the resource name.
+// - project: Identifies the project addressed by this request.
+// - responsePolicy: User assigned name of the Response Policy
+// containing the Response Policy Rule.
+// - responsePolicyRule: User assigned name of the Response Policy Rule
+// addressed by this request.
func (r *ResponsePolicyRulesService) Update(project string, location string, responsePolicy string, responsePolicyRule string, responsepolicyrule *ResponsePolicyRule) *ResponsePolicyRulesUpdateCall {
c := &ResponsePolicyRulesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
diff --git a/dns/v2beta1/dns-gen.go b/dns/v2beta1/dns-gen.go
index 76f4823cb21..9969d4d7a26 100644
--- a/dns/v2beta1/dns-gen.go
+++ b/dns/v2beta1/dns-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: http://developers.google.com/cloud-dns
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/dns/v2beta1"
-// ...
-// ctx := context.Background()
-// dnsService, err := dns.NewService(ctx)
+// import "google.golang.org/api/dns/v2beta1"
+// ...
+// ctx := context.Background()
+// dnsService, err := dns.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// dnsService, err := dns.NewService(ctx, option.WithScopes(dns.NdevClouddnsReadwriteScope))
+// dnsService, err := dns.NewService(ctx, option.WithScopes(dns.NdevClouddnsReadwriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// dnsService, err := dns.NewService(ctx, option.WithAPIKey("AIza..."))
+// dnsService, err := dns.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// dnsService, err := dns.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// dnsService, err := dns.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package dns // import "google.golang.org/api/dns/v2beta1"
@@ -2104,7 +2104,8 @@ func (c *ChangesListCall) PageToken(pageToken string) *ChangesListCall {
// only supported value is change sequence.
//
// Possible values:
-// "CHANGE_SEQUENCE" (default)
+//
+// "CHANGE_SEQUENCE" (default)
func (c *ChangesListCall) SortBy(sortBy string) *ChangesListCall {
c.urlParams_.Set("sortBy", sortBy)
return c
@@ -2934,8 +2935,9 @@ func (c *ManagedZoneOperationsListCall) PageToken(pageToken string) *ManagedZone
// only supported values are START_TIME and ID.
//
// Possible values:
-// "START_TIME" (default)
-// "ID"
+//
+// "START_TIME" (default)
+// "ID"
func (c *ManagedZoneOperationsListCall) SortBy(sortBy string) *ManagedZoneOperationsListCall {
c.urlParams_.Set("sortBy", sortBy)
return c
diff --git a/doc.go b/doc.go
index 5c65f201e1a..4f99749182e 100644
--- a/doc.go
+++ b/doc.go
@@ -9,14 +9,12 @@
// Within api there exist numerous clients which connect to Google APIs,
// and various utility packages.
//
-//
-// Client Options
+// # Client Options
//
// All clients in sub-packages are configurable via client options. These
// options are described here: https://godoc.org/google.golang.org/api/option.
//
-//
-// Authentication and Authorization
+// # Authentication and Authorization
//
// All the clients in sub-packages support authentication via Google
// Application Default Credentials (see
@@ -24,8 +22,7 @@
// JSON key file for a Service Account. See the authentication examples in
// https://godoc.org/google.golang.org/api/transport for more details.
//
-//
-// Versioning and Stability
+// # Versioning and Stability
//
// Due to the auto-generated nature of this collection of libraries, complete
// APIs or specific versions can appear or go away without notice. As a result,
@@ -39,8 +36,7 @@
// Note that versioning and stability is strictly not communicated through Go
// modules. Go modules are used only for dependency management.
//
-//
-// Integers
+// # Integers
//
// Many parameters are specified using ints. However, underlying APIs might
// operate on a finer granularity, expecting int64, int32, uint64, or uint32,
@@ -52,8 +48,7 @@
// discovery doc. A global catalogue pointing to the discovery doc of APIs can
// be found at https://www.googleapis.com/discovery/v1/apis.
//
-//
-// ForceSendFields
+// # ForceSendFields
//
// This field can be found on all Request/Response structs in the generated
// clients. All of these types have the JSON `omitempty` field tag present on
@@ -63,15 +58,15 @@
// feature by adding the field name to the `ForceSendFields` slice. See docs on
// any struct for more details.
//
-//
-// Inspecting errors
+// # Inspecting errors
//
// All of the errors returned by a client's `Do` method may be cast to a
// `*googleapis.Error`. This can be useful for getting more information on an
// error while debugging.
-// if _, err := svc.FooCall().Do(); err != nil {
-// if gErr, ok := err.(*googleapi.Error); ok {
-// fmt.Println("Status code: %v", gErr.Code)
-// }
-// }
+//
+// if _, err := svc.FooCall().Do(); err != nil {
+// if gErr, ok := err.(*googleapi.Error); ok {
+// fmt.Println("Status code: %v", gErr.Code)
+// }
+// }
package api
diff --git a/docs/v1/docs-gen.go b/docs/v1/docs-gen.go
index fdd1379a1be..ffe4ae1fa55 100644
--- a/docs/v1/docs-gen.go
+++ b/docs/v1/docs-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/docs/v1"
-// ...
-// ctx := context.Background()
-// docsService, err := docs.NewService(ctx)
+// import "google.golang.org/api/docs/v1"
+// ...
+// ctx := context.Background()
+// docsService, err := docs.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// docsService, err := docs.NewService(ctx, option.WithScopes(docs.DriveReadonlyScope))
+// docsService, err := docs.NewService(ctx, option.WithScopes(docs.DriveReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// docsService, err := docs.NewService(ctx, option.WithAPIKey("AIza..."))
+// docsService, err := docs.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// docsService, err := docs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// docsService, err := docs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package docs // import "google.golang.org/api/docs/v1"
@@ -7528,21 +7528,29 @@ func (r *DocumentsService) Get(documentId string) *DocumentsGetCall {
// DEFAULT_FOR_CURRENT_ACCESS is used.
//
// Possible values:
-// "DEFAULT_FOR_CURRENT_ACCESS" - The SuggestionsViewMode applied to
+//
+// "DEFAULT_FOR_CURRENT_ACCESS" - The SuggestionsViewMode applied to
+//
// the returned document depends on the user's current access level. If
// the user only has view access, PREVIEW_WITHOUT_SUGGESTIONS is
// applied. Otherwise, SUGGESTIONS_INLINE is applied. This is the
// default suggestions view mode.
-// "SUGGESTIONS_INLINE" - The returned document has suggestions
+//
+// "SUGGESTIONS_INLINE" - The returned document has suggestions
+//
// inline. Suggested changes will be differentiated from base content
// within the document. Requests to retrieve a document using this mode
// will return a 403 error if the user does not have permission to view
// suggested changes.
-// "PREVIEW_SUGGESTIONS_ACCEPTED" - The returned document is a preview
+//
+// "PREVIEW_SUGGESTIONS_ACCEPTED" - The returned document is a preview
+//
// with all suggested changes accepted. Requests to retrieve a document
// using this mode will return a 403 error if the user does not have
// permission to view suggested changes.
-// "PREVIEW_WITHOUT_SUGGESTIONS" - The returned document is a preview
+//
+// "PREVIEW_WITHOUT_SUGGESTIONS" - The returned document is a preview
+//
// with all suggested changes rejected if there are any suggestions in
// the document.
func (c *DocumentsGetCall) SuggestionsViewMode(suggestionsViewMode string) *DocumentsGetCall {
diff --git a/documentai/v1/documentai-gen.go b/documentai/v1/documentai-gen.go
index d5058e54b86..a8a192eff4e 100644
--- a/documentai/v1/documentai-gen.go
+++ b/documentai/v1/documentai-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/document-ai/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/documentai/v1"
-// ...
-// ctx := context.Background()
-// documentaiService, err := documentai.NewService(ctx)
+// import "google.golang.org/api/documentai/v1"
+// ...
+// ctx := context.Background()
+// documentaiService, err := documentai.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// documentaiService, err := documentai.NewService(ctx, option.WithAPIKey("AIza..."))
+// documentaiService, err := documentai.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// documentaiService, err := documentai.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// documentaiService, err := documentai.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package documentai // import "google.golang.org/api/documentai/v1"
@@ -9778,12 +9778,12 @@ func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type GoogleTypeColor struct {
// Alpha: The fraction of this color that should be applied to the
@@ -10323,9 +10323,9 @@ type ProjectsLocationsFetchProcessorTypesCall struct {
// FetchProcessorTypes: Fetches processor types. Note that we do not use
// ListProcessorTypes here because it is not paginated.
//
-// - parent: The project of processor type to list. The available
-// processor types may depend on the allow-listing on projects.
-// Format: `projects/{project}/locations/{location}`.
+// - parent: The project of processor type to list. The available
+// processor types may depend on the allow-listing on projects.
+// Format: `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsService) FetchProcessorTypes(parent string) *ProjectsLocationsFetchProcessorTypesCall {
c := &ProjectsLocationsFetchProcessorTypesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10620,8 +10620,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11333,9 +11333,9 @@ type ProjectsLocationsProcessorTypesListCall struct {
// List: Lists the processor types that exist.
//
-// - parent: The location of processor type to list. The available
-// processor types may depend on the allow-listing on projects.
-// Format: `projects/{project}/locations/{location}`.
+// - parent: The location of processor type to list. The available
+// processor types may depend on the allow-listing on projects.
+// Format: `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsProcessorTypesService) List(parent string) *ProjectsLocationsProcessorTypesListCall {
c := &ProjectsLocationsProcessorTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11532,11 +11532,11 @@ type ProjectsLocationsProcessorsBatchProcessCall struct {
// BatchProcess: LRO endpoint to batch process many documents. The
// output is written to Cloud Storage as JSON in the [Document] format.
//
-// - name: The resource name of Processor or ProcessorVersion. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`,
-// or
-// `projects/{project}/locations/{location}/processors/{processor}/proc
-// essorVersions/{processorVersion}`.
+// - name: The resource name of Processor or ProcessorVersion. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`,
+// or
+// `projects/{project}/locations/{location}/processors/{processor}/proc
+// essorVersions/{processorVersion}`.
func (r *ProjectsLocationsProcessorsService) BatchProcess(name string, googleclouddocumentaiv1batchprocessrequest *GoogleCloudDocumentaiV1BatchProcessRequest) *ProjectsLocationsProcessorsBatchProcessCall {
c := &ProjectsLocationsProcessorsBatchProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11680,8 +11680,8 @@ type ProjectsLocationsProcessorsCreateCall struct {
// chose. The processor will be at "ENABLED" state by default after its
// creation.
//
-// - parent: The parent (project and location) under which to create the
-// processor. Format: `projects/{project}/locations/{location}`.
+// - parent: The parent (project and location) under which to create the
+// processor. Format: `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsProcessorsService) Create(parent string, googleclouddocumentaiv1processor *GoogleCloudDocumentaiV1Processor) *ProjectsLocationsProcessorsCreateCall {
c := &ProjectsLocationsProcessorsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12387,9 +12387,9 @@ type ProjectsLocationsProcessorsListCall struct {
// List: Lists all processors which belong to this project.
//
-// - parent: The parent (project and location) which owns this
-// collection of Processors. Format:
-// `projects/{project}/locations/{location}`.
+// - parent: The parent (project and location) which owns this
+// collection of Processors. Format:
+// `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsProcessorsService) List(parent string) *ProjectsLocationsProcessorsListCall {
c := &ProjectsLocationsProcessorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12586,13 +12586,13 @@ type ProjectsLocationsProcessorsProcessCall struct {
// Process: Processes a single document.
//
-// - name: The resource name of the Processor or ProcessorVersion to use
-// for processing. If a Processor is specified, the server will use
-// its default version. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`,
-// or
-// `projects/{project}/locations/{location}/processors/{processor}/proc
-// essorVersions/{processorVersion}`.
+// - name: The resource name of the Processor or ProcessorVersion to use
+// for processing. If a Processor is specified, the server will use
+// its default version. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`,
+// or
+// `projects/{project}/locations/{location}/processors/{processor}/proc
+// essorVersions/{processorVersion}`.
func (r *ProjectsLocationsProcessorsService) Process(name string, googleclouddocumentaiv1processrequest *GoogleCloudDocumentaiV1ProcessRequest) *ProjectsLocationsProcessorsProcessCall {
c := &ProjectsLocationsProcessorsProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12737,8 +12737,8 @@ type ProjectsLocationsProcessorsSetDefaultProcessorVersionCall struct {
// Processor that will be used in ProcessDocument and
// BatchProcessDocuments.
//
-// - processor: The resource name of the Processor to change default
-// version.
+// - processor: The resource name of the Processor to change default
+// version.
func (r *ProjectsLocationsProcessorsService) SetDefaultProcessorVersion(processor string, googleclouddocumentaiv1setdefaultprocessorversionrequest *GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest) *ProjectsLocationsProcessorsSetDefaultProcessorVersionCall {
c := &ProjectsLocationsProcessorsSetDefaultProcessorVersionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.processor = processor
@@ -12881,8 +12881,8 @@ type ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall struct {
// ReviewDocument: Send a document for Human Review. The input document
// should be processed by the specified processor.
//
-// - humanReviewConfig: The resource name of the HumanReviewConfig that
-// the document will be reviewed with.
+// - humanReviewConfig: The resource name of the HumanReviewConfig that
+// the document will be reviewed with.
func (r *ProjectsLocationsProcessorsHumanReviewConfigService) ReviewDocument(humanReviewConfig string, googleclouddocumentaiv1reviewdocumentrequest *GoogleCloudDocumentaiV1ReviewDocumentRequest) *ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall {
c := &ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.humanReviewConfig = humanReviewConfig
@@ -13025,11 +13025,11 @@ type ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall struct {
// BatchProcess: LRO endpoint to batch process many documents. The
// output is written to Cloud Storage as JSON in the [Document] format.
//
-// - name: The resource name of Processor or ProcessorVersion. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`,
-// or
-// `projects/{project}/locations/{location}/processors/{processor}/proc
-// essorVersions/{processorVersion}`.
+// - name: The resource name of Processor or ProcessorVersion. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`,
+// or
+// `projects/{project}/locations/{location}/processors/{processor}/proc
+// essorVersions/{processorVersion}`.
func (r *ProjectsLocationsProcessorsProcessorVersionsService) BatchProcess(name string, googleclouddocumentaiv1batchprocessrequest *GoogleCloudDocumentaiV1BatchProcessRequest) *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall {
c := &ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13593,9 +13593,9 @@ type ProjectsLocationsProcessorsProcessorVersionsListCall struct {
// List: Lists all versions of a processor.
//
-// - parent: The parent (project, location and processor) to list all
-// versions. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`.
+// - parent: The parent (project, location and processor) to list all
+// versions. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`.
func (r *ProjectsLocationsProcessorsProcessorVersionsService) List(parent string) *ProjectsLocationsProcessorsProcessorVersionsListCall {
c := &ProjectsLocationsProcessorsProcessorVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13792,13 +13792,13 @@ type ProjectsLocationsProcessorsProcessorVersionsProcessCall struct {
// Process: Processes a single document.
//
-// - name: The resource name of the Processor or ProcessorVersion to use
-// for processing. If a Processor is specified, the server will use
-// its default version. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`,
-// or
-// `projects/{project}/locations/{location}/processors/{processor}/proc
-// essorVersions/{processorVersion}`.
+// - name: The resource name of the Processor or ProcessorVersion to use
+// for processing. If a Processor is specified, the server will use
+// its default version. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`,
+// or
+// `projects/{project}/locations/{location}/processors/{processor}/proc
+// essorVersions/{processorVersion}`.
func (r *ProjectsLocationsProcessorsProcessorVersionsService) Process(name string, googleclouddocumentaiv1processrequest *GoogleCloudDocumentaiV1ProcessRequest) *ProjectsLocationsProcessorsProcessorVersionsProcessCall {
c := &ProjectsLocationsProcessorsProcessorVersionsProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14378,8 +14378,8 @@ type Uiv1beta3ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *Uiv1beta3ProjectsLocationsService) List(name string) *Uiv1beta3ProjectsLocationsListCall {
c := &Uiv1beta3ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/documentai/v1beta2/documentai-gen.go b/documentai/v1beta2/documentai-gen.go
index bc2c3832810..285391ba5f0 100644
--- a/documentai/v1beta2/documentai-gen.go
+++ b/documentai/v1beta2/documentai-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/document-ai/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/documentai/v1beta2"
-// ...
-// ctx := context.Background()
-// documentaiService, err := documentai.NewService(ctx)
+// import "google.golang.org/api/documentai/v1beta2"
+// ...
+// ctx := context.Background()
+// documentaiService, err := documentai.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// documentaiService, err := documentai.NewService(ctx, option.WithAPIKey("AIza..."))
+// documentaiService, err := documentai.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// documentaiService, err := documentai.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// documentaiService, err := documentai.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package documentai // import "google.golang.org/api/documentai/v1beta2"
@@ -7075,12 +7075,12 @@ func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type GoogleTypeColor struct {
// Alpha: The fraction of this color that should be applied to the
@@ -7485,9 +7485,9 @@ type ProjectsDocumentsBatchProcessCall struct {
// BatchProcess: LRO endpoint to batch process many documents. The
// output is written to Cloud Storage as JSON in the [Document] format.
//
-// - parent: Target project and location to make a call. Format:
-// `projects/{project-id}/locations/{location-id}`. If no location is
-// specified, a region will be chosen automatically.
+// - parent: Target project and location to make a call. Format:
+// `projects/{project-id}/locations/{location-id}`. If no location is
+// specified, a region will be chosen automatically.
func (r *ProjectsDocumentsService) BatchProcess(parent string, googleclouddocumentaiv1beta2batchprocessdocumentsrequest *GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest) *ProjectsDocumentsBatchProcessCall {
c := &ProjectsDocumentsBatchProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7629,10 +7629,10 @@ type ProjectsDocumentsProcessCall struct {
// Process: Processes a single document.
//
-// - parent: Target project and location to make a call. Format:
-// `projects/{project-id}/locations/{location-id}`. If no location is
-// specified, a region will be chosen automatically. This field is
-// only populated when used in ProcessDocument method.
+// - parent: Target project and location to make a call. Format:
+// `projects/{project-id}/locations/{location-id}`. If no location is
+// specified, a region will be chosen automatically. This field is
+// only populated when used in ProcessDocument method.
func (r *ProjectsDocumentsService) Process(parent string, googleclouddocumentaiv1beta2processdocumentrequest *GoogleCloudDocumentaiV1beta2ProcessDocumentRequest) *ProjectsDocumentsProcessCall {
c := &ProjectsDocumentsProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7776,9 +7776,9 @@ type ProjectsLocationsDocumentsBatchProcessCall struct {
// BatchProcess: LRO endpoint to batch process many documents. The
// output is written to Cloud Storage as JSON in the [Document] format.
//
-// - parent: Target project and location to make a call. Format:
-// `projects/{project-id}/locations/{location-id}`. If no location is
-// specified, a region will be chosen automatically.
+// - parent: Target project and location to make a call. Format:
+// `projects/{project-id}/locations/{location-id}`. If no location is
+// specified, a region will be chosen automatically.
func (r *ProjectsLocationsDocumentsService) BatchProcess(parent string, googleclouddocumentaiv1beta2batchprocessdocumentsrequest *GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest) *ProjectsLocationsDocumentsBatchProcessCall {
c := &ProjectsLocationsDocumentsBatchProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7920,10 +7920,10 @@ type ProjectsLocationsDocumentsProcessCall struct {
// Process: Processes a single document.
//
-// - parent: Target project and location to make a call. Format:
-// `projects/{project-id}/locations/{location-id}`. If no location is
-// specified, a region will be chosen automatically. This field is
-// only populated when used in ProcessDocument method.
+// - parent: Target project and location to make a call. Format:
+// `projects/{project-id}/locations/{location-id}`. If no location is
+// specified, a region will be chosen automatically. This field is
+// only populated when used in ProcessDocument method.
func (r *ProjectsLocationsDocumentsService) Process(parent string, googleclouddocumentaiv1beta2processdocumentrequest *GoogleCloudDocumentaiV1beta2ProcessDocumentRequest) *ProjectsLocationsDocumentsProcessCall {
c := &ProjectsLocationsDocumentsProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go
index c0dc1529750..587d99c14e5 100644
--- a/documentai/v1beta3/documentai-gen.go
+++ b/documentai/v1beta3/documentai-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/document-ai/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/documentai/v1beta3"
-// ...
-// ctx := context.Background()
-// documentaiService, err := documentai.NewService(ctx)
+// import "google.golang.org/api/documentai/v1beta3"
+// ...
+// ctx := context.Background()
+// documentaiService, err := documentai.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// documentaiService, err := documentai.NewService(ctx, option.WithAPIKey("AIza..."))
+// documentaiService, err := documentai.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// documentaiService, err := documentai.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// documentaiService, err := documentai.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package documentai // import "google.golang.org/api/documentai/v1beta3"
@@ -9795,12 +9795,12 @@ func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type GoogleTypeColor struct {
// Alpha: The fraction of this color that should be applied to the
@@ -10205,9 +10205,9 @@ type ProjectsLocationsFetchProcessorTypesCall struct {
// FetchProcessorTypes: Fetches processor types. Note that we do not use
// ListProcessorTypes here because it is not paginated.
//
-// - parent: The project of processor type to list. The available
-// processor types may depend on the allow-listing on projects.
-// Format: `projects/{project}/locations/{location}`.
+// - parent: The project of processor type to list. The available
+// processor types may depend on the allow-listing on projects.
+// Format: `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsService) FetchProcessorTypes(parent string) *ProjectsLocationsFetchProcessorTypesCall {
c := &ProjectsLocationsFetchProcessorTypesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10503,8 +10503,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11216,9 +11216,9 @@ type ProjectsLocationsProcessorTypesListCall struct {
// List: Lists the processor types that exist.
//
-// - parent: The location of processor type to list. The available
-// processor types may depend on the allow-listing on projects.
-// Format: `projects/{project}/locations/{location}`.
+// - parent: The location of processor type to list. The available
+// processor types may depend on the allow-listing on projects.
+// Format: `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsProcessorTypesService) List(parent string) *ProjectsLocationsProcessorTypesListCall {
c := &ProjectsLocationsProcessorTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11416,11 +11416,11 @@ type ProjectsLocationsProcessorsBatchProcessCall struct {
// BatchProcess: LRO endpoint to batch process many documents. The
// output is written to Cloud Storage as JSON in the [Document] format.
//
-// - name: The resource name of Processor or ProcessorVersion. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`,
-// or
-// `projects/{project}/locations/{location}/processors/{processor}/proc
-// essorVersions/{processorVersion}`.
+// - name: The resource name of Processor or ProcessorVersion. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`,
+// or
+// `projects/{project}/locations/{location}/processors/{processor}/proc
+// essorVersions/{processorVersion}`.
func (r *ProjectsLocationsProcessorsService) BatchProcess(name string, googleclouddocumentaiv1beta3batchprocessrequest *GoogleCloudDocumentaiV1beta3BatchProcessRequest) *ProjectsLocationsProcessorsBatchProcessCall {
c := &ProjectsLocationsProcessorsBatchProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11564,8 +11564,8 @@ type ProjectsLocationsProcessorsCreateCall struct {
// chose. The processor will be at "ENABLED" state by default after its
// creation.
//
-// - parent: The parent (project and location) under which to create the
-// processor. Format: `projects/{project}/locations/{location}`.
+// - parent: The parent (project and location) under which to create the
+// processor. Format: `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsProcessorsService) Create(parent string, googleclouddocumentaiv1beta3processor *GoogleCloudDocumentaiV1beta3Processor) *ProjectsLocationsProcessorsCreateCall {
c := &ProjectsLocationsProcessorsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12273,9 +12273,9 @@ type ProjectsLocationsProcessorsListCall struct {
// List: Lists all processors which belong to this project.
//
-// - parent: The parent (project and location) which owns this
-// collection of Processors. Format:
-// `projects/{project}/locations/{location}`.
+// - parent: The parent (project and location) which owns this
+// collection of Processors. Format:
+// `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsProcessorsService) List(parent string) *ProjectsLocationsProcessorsListCall {
c := &ProjectsLocationsProcessorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12472,13 +12472,13 @@ type ProjectsLocationsProcessorsProcessCall struct {
// Process: Processes a single document.
//
-// - name: The resource name of the Processor or ProcessorVersion to use
-// for processing. If a Processor is specified, the server will use
-// its default version. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`,
-// or
-// `projects/{project}/locations/{location}/processors/{processor}/proc
-// essorVersions/{processorVersion}`.
+// - name: The resource name of the Processor or ProcessorVersion to use
+// for processing. If a Processor is specified, the server will use
+// its default version. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`,
+// or
+// `projects/{project}/locations/{location}/processors/{processor}/proc
+// essorVersions/{processorVersion}`.
func (r *ProjectsLocationsProcessorsService) Process(name string, googleclouddocumentaiv1beta3processrequest *GoogleCloudDocumentaiV1beta3ProcessRequest) *ProjectsLocationsProcessorsProcessCall {
c := &ProjectsLocationsProcessorsProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12624,8 +12624,8 @@ type ProjectsLocationsProcessorsSetDefaultProcessorVersionCall struct {
// Processor that will be used in ProcessDocument and
// BatchProcessDocuments.
//
-// - processor: The resource name of the Processor to change default
-// version.
+// - processor: The resource name of the Processor to change default
+// version.
func (r *ProjectsLocationsProcessorsService) SetDefaultProcessorVersion(processor string, googleclouddocumentaiv1beta3setdefaultprocessorversionrequest *GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest) *ProjectsLocationsProcessorsSetDefaultProcessorVersionCall {
c := &ProjectsLocationsProcessorsSetDefaultProcessorVersionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.processor = processor
@@ -12768,8 +12768,8 @@ type ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall struct {
// ReviewDocument: Send a document for Human Review. The input document
// should be processed by the specified processor.
//
-// - humanReviewConfig: The resource name of the HumanReviewConfig that
-// the document will be reviewed with.
+// - humanReviewConfig: The resource name of the HumanReviewConfig that
+// the document will be reviewed with.
func (r *ProjectsLocationsProcessorsHumanReviewConfigService) ReviewDocument(humanReviewConfig string, googleclouddocumentaiv1beta3reviewdocumentrequest *GoogleCloudDocumentaiV1beta3ReviewDocumentRequest) *ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall {
c := &ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.humanReviewConfig = humanReviewConfig
@@ -12912,11 +12912,11 @@ type ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall struct {
// BatchProcess: LRO endpoint to batch process many documents. The
// output is written to Cloud Storage as JSON in the [Document] format.
//
-// - name: The resource name of Processor or ProcessorVersion. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`,
-// or
-// `projects/{project}/locations/{location}/processors/{processor}/proc
-// essorVersions/{processorVersion}`.
+// - name: The resource name of Processor or ProcessorVersion. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`,
+// or
+// `projects/{project}/locations/{location}/processors/{processor}/proc
+// essorVersions/{processorVersion}`.
func (r *ProjectsLocationsProcessorsProcessorVersionsService) BatchProcess(name string, googleclouddocumentaiv1beta3batchprocessrequest *GoogleCloudDocumentaiV1beta3BatchProcessRequest) *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall {
c := &ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13481,9 +13481,9 @@ type ProjectsLocationsProcessorsProcessorVersionsListCall struct {
// List: Lists all versions of a processor.
//
-// - parent: The parent (project, location and processor) to list all
-// versions. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`.
+// - parent: The parent (project, location and processor) to list all
+// versions. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`.
func (r *ProjectsLocationsProcessorsProcessorVersionsService) List(parent string) *ProjectsLocationsProcessorsProcessorVersionsListCall {
c := &ProjectsLocationsProcessorsProcessorVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13681,13 +13681,13 @@ type ProjectsLocationsProcessorsProcessorVersionsProcessCall struct {
// Process: Processes a single document.
//
-// - name: The resource name of the Processor or ProcessorVersion to use
-// for processing. If a Processor is specified, the server will use
-// its default version. Format:
-// `projects/{project}/locations/{location}/processors/{processor}`,
-// or
-// `projects/{project}/locations/{location}/processors/{processor}/proc
-// essorVersions/{processorVersion}`.
+// - name: The resource name of the Processor or ProcessorVersion to use
+// for processing. If a Processor is specified, the server will use
+// its default version. Format:
+// `projects/{project}/locations/{location}/processors/{processor}`,
+// or
+// `projects/{project}/locations/{location}/processors/{processor}/proc
+// essorVersions/{processorVersion}`.
func (r *ProjectsLocationsProcessorsProcessorVersionsService) Process(name string, googleclouddocumentaiv1beta3processrequest *GoogleCloudDocumentaiV1beta3ProcessRequest) *ProjectsLocationsProcessorsProcessorVersionsProcessCall {
c := &ProjectsLocationsProcessorsProcessorVersionsProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/domains/v1/domains-gen.go b/domains/v1/domains-gen.go
index 10b9b720f9d..131752618c3 100644
--- a/domains/v1/domains-gen.go
+++ b/domains/v1/domains-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/domains/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/domains/v1"
-// ...
-// ctx := context.Background()
-// domainsService, err := domains.NewService(ctx)
+// import "google.golang.org/api/domains/v1"
+// ...
+// ctx := context.Background()
+// domainsService, err := domains.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// domainsService, err := domains.NewService(ctx, option.WithAPIKey("AIza..."))
+// domainsService, err := domains.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// domainsService, err := domains.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// domainsService, err := domains.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package domains // import "google.golang.org/api/domains/v1"
@@ -2538,8 +2538,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3109,9 +3109,9 @@ type ProjectsLocationsRegistrationsConfigureContactSettingsCall struct {
// settings. Some changes require confirmation by the domain's
// registrant contact .
//
-// - registration: The name of the `Registration` whose contact settings
-// are being updated, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose contact settings
+// are being updated, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ConfigureContactSettings(registration string, configurecontactsettingsrequest *ConfigureContactSettingsRequest) *ProjectsLocationsRegistrationsConfigureContactSettingsCall {
c := &ProjectsLocationsRegistrationsConfigureContactSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -3253,9 +3253,9 @@ type ProjectsLocationsRegistrationsConfigureDnsSettingsCall struct {
// ConfigureDnsSettings: Updates a `Registration`'s DNS settings.
//
-// - registration: The name of the `Registration` whose DNS settings are
-// being updated, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose DNS settings are
+// being updated, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ConfigureDnsSettings(registration string, configurednssettingsrequest *ConfigureDnsSettingsRequest) *ProjectsLocationsRegistrationsConfigureDnsSettingsCall {
c := &ProjectsLocationsRegistrationsConfigureDnsSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -3398,9 +3398,9 @@ type ProjectsLocationsRegistrationsConfigureManagementSettingsCall struct {
// ConfigureManagementSettings: Updates a `Registration`'s management
// settings.
//
-// - registration: The name of the `Registration` whose management
-// settings are being updated, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose management
+// settings are being updated, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ConfigureManagementSettings(registration string, configuremanagementsettingsrequest *ConfigureManagementSettingsRequest) *ProjectsLocationsRegistrationsConfigureManagementSettingsCall {
c := &ProjectsLocationsRegistrationsConfigureManagementSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -3553,8 +3553,8 @@ type ProjectsLocationsRegistrationsDeleteCall struct {
// there. The domain does not renew automatically unless the new owner
// sets up billing in Google Domains.
//
-// - name: The name of the `Registration` to delete, in the format
-// `projects/*/locations/*/registrations/*`.
+// - name: The name of the `Registration` to delete, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) Delete(name string) *ProjectsLocationsRegistrationsDeleteCall {
c := &ProjectsLocationsRegistrationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3693,8 +3693,8 @@ type ProjectsLocationsRegistrationsExportCall struct {
// domain are subsequently managed there. The domain does not renew
// automatically unless the new owner sets up billing in Google Domains.
//
-// - name: The name of the `Registration` to export, in the format
-// `projects/*/locations/*/registrations/*`.
+// - name: The name of the `Registration` to export, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) Export(name string, exportregistrationrequest *ExportRegistrationRequest) *ProjectsLocationsRegistrationsExportCall {
c := &ProjectsLocationsRegistrationsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3836,8 +3836,8 @@ type ProjectsLocationsRegistrationsGetCall struct {
// Get: Gets the details of a `Registration` resource.
//
-// - name: The name of the `Registration` to get, in the format
-// `projects/*/locations/*/registrations/*`.
+// - name: The name of the `Registration` to get, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) Get(name string) *ProjectsLocationsRegistrationsGetCall {
c := &ProjectsLocationsRegistrationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3985,10 +3985,10 @@ type ProjectsLocationsRegistrationsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationsService) GetIamPolicy(resource string) *ProjectsLocationsRegistrationsGetIamPolicyCall {
c := &ProjectsLocationsRegistrationsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4162,8 +4162,8 @@ type ProjectsLocationsRegistrationsImportCall struct {
// instead. Since individual users can own domains in Google Domains,
// the calling user must have ownership permission on the domain.
//
-// - parent: The parent resource of the Registration. Must be in the
-// format `projects/*/locations/*`.
+// - parent: The parent resource of the Registration. Must be in the
+// format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) Import(parent string, importdomainrequest *ImportDomainRequest) *ProjectsLocationsRegistrationsImportCall {
c := &ProjectsLocationsRegistrationsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4305,8 +4305,8 @@ type ProjectsLocationsRegistrationsListCall struct {
// List: Lists the `Registration` resources in a project.
//
-// - parent: The project and location from which to list
-// `Registration`s, specified in the format `projects/*/locations/*`.
+// - parent: The project and location from which to list
+// `Registration`s, specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) List(parent string) *ProjectsLocationsRegistrationsListCall {
c := &ProjectsLocationsRegistrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4528,8 +4528,8 @@ type ProjectsLocationsRegistrationsPatchCall struct {
// `ConfigureDnsSettings` * To update contact information, see
// `ConfigureContactSettings`
//
-// - name: Output only. Name of the `Registration` resource, in the
-// format `projects/*/locations/*/registrations/`.
+// - name: Output only. Name of the `Registration` resource, in the
+// format `projects/*/locations/*/registrations/`.
func (r *ProjectsLocationsRegistrationsService) Patch(name string, registration *Registration) *ProjectsLocationsRegistrationsPatchCall {
c := &ProjectsLocationsRegistrationsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4695,8 +4695,8 @@ type ProjectsLocationsRegistrationsRegisterCall struct {
// that the domain was not registered successfully, and you can safely
// delete the resource and retry registration.
//
-// - parent: The parent resource of the `Registration`. Must be in the
-// format `projects/*/locations/*`.
+// - parent: The parent resource of the `Registration`. Must be in the
+// format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) Register(parent string, registerdomainrequest *RegisterDomainRequest) *ProjectsLocationsRegistrationsRegisterCall {
c := &ProjectsLocationsRegistrationsRegisterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4840,9 +4840,9 @@ type ProjectsLocationsRegistrationsResetAuthorizationCodeCall struct {
// `Registration` to a new random string. You can call this method only
// after 60 days have elapsed since the initial domain registration.
//
-// - registration: The name of the `Registration` whose authorization
-// code is being reset, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose authorization
+// code is being reset, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ResetAuthorizationCode(registration string, resetauthorizationcoderequest *ResetAuthorizationCodeRequest) *ProjectsLocationsRegistrationsResetAuthorizationCodeCall {
c := &ProjectsLocationsRegistrationsResetAuthorizationCodeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -4987,9 +4987,9 @@ type ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall struct {
// registrar. You can call this method only after 60 days have elapsed
// since the initial domain registration.
//
-// - registration: The name of the `Registration` whose authorization
-// code is being retrieved, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose authorization
+// code is being retrieved, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveAuthorizationCode(registration string) *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall {
c := &ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -5140,8 +5140,8 @@ type ProjectsLocationsRegistrationsRetrieveImportableDomainsCall struct {
// individual user making the call. Domains supported by Google Domains,
// but not supported by Cloud Domains, are not returned.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveImportableDomains(location string) *ProjectsLocationsRegistrationsRetrieveImportableDomainsCall {
c := &ProjectsLocationsRegistrationsRetrieveImportableDomainsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5337,8 +5337,8 @@ type ProjectsLocationsRegistrationsRetrieveRegisterParametersCall struct {
// domain name, including price and up-to-date availability. Use the
// returned values to call `RegisterDomain`.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveRegisterParameters(location string) *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall {
c := &ProjectsLocationsRegistrationsRetrieveRegisterParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5502,8 +5502,8 @@ type ProjectsLocationsRegistrationsRetrieveTransferParametersCall struct {
// `ImportDomain` instead. Use the returned values to call
// `TransferDomain`.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveTransferParameters(location string) *ProjectsLocationsRegistrationsRetrieveTransferParametersCall {
c := &ProjectsLocationsRegistrationsRetrieveTransferParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5666,8 +5666,8 @@ type ProjectsLocationsRegistrationsSearchDomainsCall struct {
// approximate; call `RetrieveRegisterParameters` on a domain before
// registering to confirm availability.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) SearchDomains(location string) *ProjectsLocationsRegistrationsSearchDomainsCall {
c := &ProjectsLocationsRegistrationsSearchDomainsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5827,10 +5827,10 @@ type ProjectsLocationsRegistrationsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRegistrationsSetIamPolicyCall {
c := &ProjectsLocationsRegistrationsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5977,10 +5977,10 @@ type ProjectsLocationsRegistrationsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRegistrationsTestIamPermissionsCall {
c := &ProjectsLocationsRegistrationsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6139,8 +6139,8 @@ type ProjectsLocationsRegistrationsTransferCall struct {
// `TRANSFER_FAILED`. If transfer fails, you can safely delete the
// resource and retry the transfer.
//
-// - parent: The parent resource of the `Registration`. Must be in the
-// format `projects/*/locations/*`.
+// - parent: The parent resource of the `Registration`. Must be in the
+// format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) Transfer(parent string, transferdomainrequest *TransferDomainRequest) *ProjectsLocationsRegistrationsTransferCall {
c := &ProjectsLocationsRegistrationsTransferCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/domains/v1alpha2/domains-gen.go b/domains/v1alpha2/domains-gen.go
index 1ae5d5a4fa9..c395265a695 100644
--- a/domains/v1alpha2/domains-gen.go
+++ b/domains/v1alpha2/domains-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/domains/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/domains/v1alpha2"
-// ...
-// ctx := context.Background()
-// domainsService, err := domains.NewService(ctx)
+// import "google.golang.org/api/domains/v1alpha2"
+// ...
+// ctx := context.Background()
+// domainsService, err := domains.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// domainsService, err := domains.NewService(ctx, option.WithAPIKey("AIza..."))
+// domainsService, err := domains.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// domainsService, err := domains.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// domainsService, err := domains.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package domains // import "google.golang.org/api/domains/v1alpha2"
@@ -2538,8 +2538,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3109,9 +3109,9 @@ type ProjectsLocationsRegistrationsConfigureContactSettingsCall struct {
// settings. Some changes require confirmation by the domain's
// registrant contact .
//
-// - registration: The name of the `Registration` whose contact settings
-// are being updated, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose contact settings
+// are being updated, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ConfigureContactSettings(registration string, configurecontactsettingsrequest *ConfigureContactSettingsRequest) *ProjectsLocationsRegistrationsConfigureContactSettingsCall {
c := &ProjectsLocationsRegistrationsConfigureContactSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -3253,9 +3253,9 @@ type ProjectsLocationsRegistrationsConfigureDnsSettingsCall struct {
// ConfigureDnsSettings: Updates a `Registration`'s DNS settings.
//
-// - registration: The name of the `Registration` whose DNS settings are
-// being updated, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose DNS settings are
+// being updated, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ConfigureDnsSettings(registration string, configurednssettingsrequest *ConfigureDnsSettingsRequest) *ProjectsLocationsRegistrationsConfigureDnsSettingsCall {
c := &ProjectsLocationsRegistrationsConfigureDnsSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -3398,9 +3398,9 @@ type ProjectsLocationsRegistrationsConfigureManagementSettingsCall struct {
// ConfigureManagementSettings: Updates a `Registration`'s management
// settings.
//
-// - registration: The name of the `Registration` whose management
-// settings are being updated, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose management
+// settings are being updated, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ConfigureManagementSettings(registration string, configuremanagementsettingsrequest *ConfigureManagementSettingsRequest) *ProjectsLocationsRegistrationsConfigureManagementSettingsCall {
c := &ProjectsLocationsRegistrationsConfigureManagementSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -3553,8 +3553,8 @@ type ProjectsLocationsRegistrationsDeleteCall struct {
// there. The domain does not renew automatically unless the new owner
// sets up billing in Google Domains.
//
-// - name: The name of the `Registration` to delete, in the format
-// `projects/*/locations/*/registrations/*`.
+// - name: The name of the `Registration` to delete, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) Delete(name string) *ProjectsLocationsRegistrationsDeleteCall {
c := &ProjectsLocationsRegistrationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3693,8 +3693,8 @@ type ProjectsLocationsRegistrationsExportCall struct {
// domain are subsequently managed there. The domain does not renew
// automatically unless the new owner sets up billing in Google Domains.
//
-// - name: The name of the `Registration` to export, in the format
-// `projects/*/locations/*/registrations/*`.
+// - name: The name of the `Registration` to export, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) Export(name string, exportregistrationrequest *ExportRegistrationRequest) *ProjectsLocationsRegistrationsExportCall {
c := &ProjectsLocationsRegistrationsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3836,8 +3836,8 @@ type ProjectsLocationsRegistrationsGetCall struct {
// Get: Gets the details of a `Registration` resource.
//
-// - name: The name of the `Registration` to get, in the format
-// `projects/*/locations/*/registrations/*`.
+// - name: The name of the `Registration` to get, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) Get(name string) *ProjectsLocationsRegistrationsGetCall {
c := &ProjectsLocationsRegistrationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3985,10 +3985,10 @@ type ProjectsLocationsRegistrationsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationsService) GetIamPolicy(resource string) *ProjectsLocationsRegistrationsGetIamPolicyCall {
c := &ProjectsLocationsRegistrationsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4162,8 +4162,8 @@ type ProjectsLocationsRegistrationsImportCall struct {
// instead. Since individual users can own domains in Google Domains,
// the calling user must have ownership permission on the domain.
//
-// - parent: The parent resource of the Registration. Must be in the
-// format `projects/*/locations/*`.
+// - parent: The parent resource of the Registration. Must be in the
+// format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) Import(parent string, importdomainrequest *ImportDomainRequest) *ProjectsLocationsRegistrationsImportCall {
c := &ProjectsLocationsRegistrationsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4305,8 +4305,8 @@ type ProjectsLocationsRegistrationsListCall struct {
// List: Lists the `Registration` resources in a project.
//
-// - parent: The project and location from which to list
-// `Registration`s, specified in the format `projects/*/locations/*`.
+// - parent: The project and location from which to list
+// `Registration`s, specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) List(parent string) *ProjectsLocationsRegistrationsListCall {
c := &ProjectsLocationsRegistrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4528,8 +4528,8 @@ type ProjectsLocationsRegistrationsPatchCall struct {
// `ConfigureDnsSettings` * To update contact information, see
// `ConfigureContactSettings`
//
-// - name: Output only. Name of the `Registration` resource, in the
-// format `projects/*/locations/*/registrations/`.
+// - name: Output only. Name of the `Registration` resource, in the
+// format `projects/*/locations/*/registrations/`.
func (r *ProjectsLocationsRegistrationsService) Patch(name string, registration *Registration) *ProjectsLocationsRegistrationsPatchCall {
c := &ProjectsLocationsRegistrationsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4695,8 +4695,8 @@ type ProjectsLocationsRegistrationsRegisterCall struct {
// that the domain was not registered successfully, and you can safely
// delete the resource and retry registration.
//
-// - parent: The parent resource of the `Registration`. Must be in the
-// format `projects/*/locations/*`.
+// - parent: The parent resource of the `Registration`. Must be in the
+// format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) Register(parent string, registerdomainrequest *RegisterDomainRequest) *ProjectsLocationsRegistrationsRegisterCall {
c := &ProjectsLocationsRegistrationsRegisterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4840,9 +4840,9 @@ type ProjectsLocationsRegistrationsResetAuthorizationCodeCall struct {
// `Registration` to a new random string. You can call this method only
// after 60 days have elapsed since the initial domain registration.
//
-// - registration: The name of the `Registration` whose authorization
-// code is being reset, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose authorization
+// code is being reset, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ResetAuthorizationCode(registration string, resetauthorizationcoderequest *ResetAuthorizationCodeRequest) *ProjectsLocationsRegistrationsResetAuthorizationCodeCall {
c := &ProjectsLocationsRegistrationsResetAuthorizationCodeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -4987,9 +4987,9 @@ type ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall struct {
// registrar. You can call this method only after 60 days have elapsed
// since the initial domain registration.
//
-// - registration: The name of the `Registration` whose authorization
-// code is being retrieved, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose authorization
+// code is being retrieved, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveAuthorizationCode(registration string) *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall {
c := &ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -5140,8 +5140,8 @@ type ProjectsLocationsRegistrationsRetrieveImportableDomainsCall struct {
// individual user making the call. Domains supported by Google Domains,
// but not supported by Cloud Domains, are not returned.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveImportableDomains(location string) *ProjectsLocationsRegistrationsRetrieveImportableDomainsCall {
c := &ProjectsLocationsRegistrationsRetrieveImportableDomainsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5337,8 +5337,8 @@ type ProjectsLocationsRegistrationsRetrieveRegisterParametersCall struct {
// domain name, including price and up-to-date availability. Use the
// returned values to call `RegisterDomain`.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveRegisterParameters(location string) *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall {
c := &ProjectsLocationsRegistrationsRetrieveRegisterParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5502,8 +5502,8 @@ type ProjectsLocationsRegistrationsRetrieveTransferParametersCall struct {
// `ImportDomain` instead. Use the returned values to call
// `TransferDomain`.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveTransferParameters(location string) *ProjectsLocationsRegistrationsRetrieveTransferParametersCall {
c := &ProjectsLocationsRegistrationsRetrieveTransferParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5666,8 +5666,8 @@ type ProjectsLocationsRegistrationsSearchDomainsCall struct {
// approximate; call `RetrieveRegisterParameters` on a domain before
// registering to confirm availability.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) SearchDomains(location string) *ProjectsLocationsRegistrationsSearchDomainsCall {
c := &ProjectsLocationsRegistrationsSearchDomainsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5827,10 +5827,10 @@ type ProjectsLocationsRegistrationsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRegistrationsSetIamPolicyCall {
c := &ProjectsLocationsRegistrationsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5977,10 +5977,10 @@ type ProjectsLocationsRegistrationsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRegistrationsTestIamPermissionsCall {
c := &ProjectsLocationsRegistrationsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6139,8 +6139,8 @@ type ProjectsLocationsRegistrationsTransferCall struct {
// `TRANSFER_FAILED`. If transfer fails, you can safely delete the
// resource and retry the transfer.
//
-// - parent: The parent resource of the `Registration`. Must be in the
-// format `projects/*/locations/*`.
+// - parent: The parent resource of the `Registration`. Must be in the
+// format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) Transfer(parent string, transferdomainrequest *TransferDomainRequest) *ProjectsLocationsRegistrationsTransferCall {
c := &ProjectsLocationsRegistrationsTransferCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/domains/v1beta1/domains-gen.go b/domains/v1beta1/domains-gen.go
index 62610b71efc..f303b20eaa8 100644
--- a/domains/v1beta1/domains-gen.go
+++ b/domains/v1beta1/domains-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/domains/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/domains/v1beta1"
-// ...
-// ctx := context.Background()
-// domainsService, err := domains.NewService(ctx)
+// import "google.golang.org/api/domains/v1beta1"
+// ...
+// ctx := context.Background()
+// domainsService, err := domains.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// domainsService, err := domains.NewService(ctx, option.WithAPIKey("AIza..."))
+// domainsService, err := domains.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// domainsService, err := domains.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// domainsService, err := domains.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package domains // import "google.golang.org/api/domains/v1beta1"
@@ -2538,8 +2538,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3109,9 +3109,9 @@ type ProjectsLocationsRegistrationsConfigureContactSettingsCall struct {
// settings. Some changes require confirmation by the domain's
// registrant contact .
//
-// - registration: The name of the `Registration` whose contact settings
-// are being updated, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose contact settings
+// are being updated, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ConfigureContactSettings(registration string, configurecontactsettingsrequest *ConfigureContactSettingsRequest) *ProjectsLocationsRegistrationsConfigureContactSettingsCall {
c := &ProjectsLocationsRegistrationsConfigureContactSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -3253,9 +3253,9 @@ type ProjectsLocationsRegistrationsConfigureDnsSettingsCall struct {
// ConfigureDnsSettings: Updates a `Registration`'s DNS settings.
//
-// - registration: The name of the `Registration` whose DNS settings are
-// being updated, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose DNS settings are
+// being updated, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ConfigureDnsSettings(registration string, configurednssettingsrequest *ConfigureDnsSettingsRequest) *ProjectsLocationsRegistrationsConfigureDnsSettingsCall {
c := &ProjectsLocationsRegistrationsConfigureDnsSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -3398,9 +3398,9 @@ type ProjectsLocationsRegistrationsConfigureManagementSettingsCall struct {
// ConfigureManagementSettings: Updates a `Registration`'s management
// settings.
//
-// - registration: The name of the `Registration` whose management
-// settings are being updated, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose management
+// settings are being updated, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ConfigureManagementSettings(registration string, configuremanagementsettingsrequest *ConfigureManagementSettingsRequest) *ProjectsLocationsRegistrationsConfigureManagementSettingsCall {
c := &ProjectsLocationsRegistrationsConfigureManagementSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -3553,8 +3553,8 @@ type ProjectsLocationsRegistrationsDeleteCall struct {
// there. The domain does not renew automatically unless the new owner
// sets up billing in Google Domains.
//
-// - name: The name of the `Registration` to delete, in the format
-// `projects/*/locations/*/registrations/*`.
+// - name: The name of the `Registration` to delete, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) Delete(name string) *ProjectsLocationsRegistrationsDeleteCall {
c := &ProjectsLocationsRegistrationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3693,8 +3693,8 @@ type ProjectsLocationsRegistrationsExportCall struct {
// domain are subsequently managed there. The domain does not renew
// automatically unless the new owner sets up billing in Google Domains.
//
-// - name: The name of the `Registration` to export, in the format
-// `projects/*/locations/*/registrations/*`.
+// - name: The name of the `Registration` to export, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) Export(name string, exportregistrationrequest *ExportRegistrationRequest) *ProjectsLocationsRegistrationsExportCall {
c := &ProjectsLocationsRegistrationsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3836,8 +3836,8 @@ type ProjectsLocationsRegistrationsGetCall struct {
// Get: Gets the details of a `Registration` resource.
//
-// - name: The name of the `Registration` to get, in the format
-// `projects/*/locations/*/registrations/*`.
+// - name: The name of the `Registration` to get, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) Get(name string) *ProjectsLocationsRegistrationsGetCall {
c := &ProjectsLocationsRegistrationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3985,10 +3985,10 @@ type ProjectsLocationsRegistrationsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationsService) GetIamPolicy(resource string) *ProjectsLocationsRegistrationsGetIamPolicyCall {
c := &ProjectsLocationsRegistrationsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4162,8 +4162,8 @@ type ProjectsLocationsRegistrationsImportCall struct {
// instead. Since individual users can own domains in Google Domains,
// the calling user must have ownership permission on the domain.
//
-// - parent: The parent resource of the Registration. Must be in the
-// format `projects/*/locations/*`.
+// - parent: The parent resource of the Registration. Must be in the
+// format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) Import(parent string, importdomainrequest *ImportDomainRequest) *ProjectsLocationsRegistrationsImportCall {
c := &ProjectsLocationsRegistrationsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4305,8 +4305,8 @@ type ProjectsLocationsRegistrationsListCall struct {
// List: Lists the `Registration` resources in a project.
//
-// - parent: The project and location from which to list
-// `Registration`s, specified in the format `projects/*/locations/*`.
+// - parent: The project and location from which to list
+// `Registration`s, specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) List(parent string) *ProjectsLocationsRegistrationsListCall {
c := &ProjectsLocationsRegistrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4528,8 +4528,8 @@ type ProjectsLocationsRegistrationsPatchCall struct {
// `ConfigureDnsSettings` * To update contact information, see
// `ConfigureContactSettings`
//
-// - name: Output only. Name of the `Registration` resource, in the
-// format `projects/*/locations/*/registrations/`.
+// - name: Output only. Name of the `Registration` resource, in the
+// format `projects/*/locations/*/registrations/`.
func (r *ProjectsLocationsRegistrationsService) Patch(name string, registration *Registration) *ProjectsLocationsRegistrationsPatchCall {
c := &ProjectsLocationsRegistrationsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4695,8 +4695,8 @@ type ProjectsLocationsRegistrationsRegisterCall struct {
// that the domain was not registered successfully, and you can safely
// delete the resource and retry registration.
//
-// - parent: The parent resource of the `Registration`. Must be in the
-// format `projects/*/locations/*`.
+// - parent: The parent resource of the `Registration`. Must be in the
+// format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) Register(parent string, registerdomainrequest *RegisterDomainRequest) *ProjectsLocationsRegistrationsRegisterCall {
c := &ProjectsLocationsRegistrationsRegisterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4840,9 +4840,9 @@ type ProjectsLocationsRegistrationsResetAuthorizationCodeCall struct {
// `Registration` to a new random string. You can call this method only
// after 60 days have elapsed since the initial domain registration.
//
-// - registration: The name of the `Registration` whose authorization
-// code is being reset, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose authorization
+// code is being reset, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) ResetAuthorizationCode(registration string, resetauthorizationcoderequest *ResetAuthorizationCodeRequest) *ProjectsLocationsRegistrationsResetAuthorizationCodeCall {
c := &ProjectsLocationsRegistrationsResetAuthorizationCodeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -4987,9 +4987,9 @@ type ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall struct {
// registrar. You can call this method only after 60 days have elapsed
// since the initial domain registration.
//
-// - registration: The name of the `Registration` whose authorization
-// code is being retrieved, in the format
-// `projects/*/locations/*/registrations/*`.
+// - registration: The name of the `Registration` whose authorization
+// code is being retrieved, in the format
+// `projects/*/locations/*/registrations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveAuthorizationCode(registration string) *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall {
c := &ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registration = registration
@@ -5140,8 +5140,8 @@ type ProjectsLocationsRegistrationsRetrieveImportableDomainsCall struct {
// individual user making the call. Domains supported by Google Domains,
// but not supported by Cloud Domains, are not returned.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveImportableDomains(location string) *ProjectsLocationsRegistrationsRetrieveImportableDomainsCall {
c := &ProjectsLocationsRegistrationsRetrieveImportableDomainsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5337,8 +5337,8 @@ type ProjectsLocationsRegistrationsRetrieveRegisterParametersCall struct {
// domain name, including price and up-to-date availability. Use the
// returned values to call `RegisterDomain`.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveRegisterParameters(location string) *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall {
c := &ProjectsLocationsRegistrationsRetrieveRegisterParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5502,8 +5502,8 @@ type ProjectsLocationsRegistrationsRetrieveTransferParametersCall struct {
// `ImportDomain` instead. Use the returned values to call
// `TransferDomain`.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) RetrieveTransferParameters(location string) *ProjectsLocationsRegistrationsRetrieveTransferParametersCall {
c := &ProjectsLocationsRegistrationsRetrieveTransferParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5666,8 +5666,8 @@ type ProjectsLocationsRegistrationsSearchDomainsCall struct {
// approximate; call `RetrieveRegisterParameters` on a domain before
// registering to confirm availability.
//
-// - location: The location. Must be in the format
-// `projects/*/locations/*`.
+// - location: The location. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) SearchDomains(location string) *ProjectsLocationsRegistrationsSearchDomainsCall {
c := &ProjectsLocationsRegistrationsSearchDomainsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.location = location
@@ -5827,10 +5827,10 @@ type ProjectsLocationsRegistrationsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRegistrationsSetIamPolicyCall {
c := &ProjectsLocationsRegistrationsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5977,10 +5977,10 @@ type ProjectsLocationsRegistrationsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRegistrationsTestIamPermissionsCall {
c := &ProjectsLocationsRegistrationsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6139,8 +6139,8 @@ type ProjectsLocationsRegistrationsTransferCall struct {
// `TRANSFER_FAILED`. If transfer fails, you can safely delete the
// resource and retry the transfer.
//
-// - parent: The parent resource of the `Registration`. Must be in the
-// format `projects/*/locations/*`.
+// - parent: The parent resource of the `Registration`. Must be in the
+// format `projects/*/locations/*`.
func (r *ProjectsLocationsRegistrationsService) Transfer(parent string, transferdomainrequest *TransferDomainRequest) *ProjectsLocationsRegistrationsTransferCall {
c := &ProjectsLocationsRegistrationsTransferCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/domainsrdap/v1/domainsrdap-gen.go b/domainsrdap/v1/domainsrdap-gen.go
index ed806902f6c..5245f91c09e 100644
--- a/domainsrdap/v1/domainsrdap-gen.go
+++ b/domainsrdap/v1/domainsrdap-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/domains/rdap/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/domainsrdap/v1"
-// ...
-// ctx := context.Background()
-// domainsrdapService, err := domainsrdap.NewService(ctx)
+// import "google.golang.org/api/domainsrdap/v1"
+// ...
+// ctx := context.Background()
+// domainsrdapService, err := domainsrdap.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// domainsrdapService, err := domainsrdap.NewService(ctx, option.WithAPIKey("AIza..."))
+// domainsrdapService, err := domainsrdap.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// domainsrdapService, err := domainsrdap.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// domainsrdapService, err := domainsrdap.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package domainsrdap // import "google.golang.org/api/domainsrdap/v1"
diff --git a/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go b/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go
index a93ee306efa..8872c92ffb2 100644
--- a/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go
+++ b/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/bid-manager/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/doubleclickbidmanager/v1.1"
-// ...
-// ctx := context.Background()
-// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx)
+// import "google.golang.org/api/doubleclickbidmanager/v1.1"
+// ...
+// ctx := context.Background()
+// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package doubleclickbidmanager // import "google.golang.org/api/doubleclickbidmanager/v1.1"
diff --git a/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go b/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go
index 9f2a3028680..f855d3aede1 100644
--- a/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go
+++ b/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/bid-manager/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/doubleclickbidmanager/v1"
-// ...
-// ctx := context.Background()
-// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx)
+// import "google.golang.org/api/doubleclickbidmanager/v1"
+// ...
+// ctx := context.Background()
+// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package doubleclickbidmanager // import "google.golang.org/api/doubleclickbidmanager/v1"
diff --git a/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go b/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go
index 64b20aacdd6..cc5e57e1325 100644
--- a/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go
+++ b/doubleclickbidmanager/v2/doubleclickbidmanager-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/bid-manager/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/doubleclickbidmanager/v2"
-// ...
-// ctx := context.Background()
-// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx)
+// import "google.golang.org/api/doubleclickbidmanager/v2"
+// ...
+// ctx := context.Background()
+// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// doubleclickbidmanagerService, err := doubleclickbidmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package doubleclickbidmanager // import "google.golang.org/api/doubleclickbidmanager/v2"
diff --git a/doubleclicksearch/v2/doubleclicksearch-gen.go b/doubleclicksearch/v2/doubleclicksearch-gen.go
index 4b068d7e1b7..b666e49f01f 100644
--- a/doubleclicksearch/v2/doubleclicksearch-gen.go
+++ b/doubleclicksearch/v2/doubleclicksearch-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/search-ads
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/doubleclicksearch/v2"
-// ...
-// ctx := context.Background()
-// doubleclicksearchService, err := doubleclicksearch.NewService(ctx)
+// import "google.golang.org/api/doubleclicksearch/v2"
+// ...
+// ctx := context.Background()
+// doubleclicksearchService, err := doubleclicksearch.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// doubleclicksearchService, err := doubleclicksearch.NewService(ctx, option.WithAPIKey("AIza..."))
+// doubleclicksearchService, err := doubleclicksearch.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// doubleclicksearchService, err := doubleclicksearch.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// doubleclicksearchService, err := doubleclicksearch.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package doubleclicksearch // import "google.golang.org/api/doubleclicksearch/v2"
@@ -1089,16 +1089,16 @@ type ConversionGetCall struct {
// Get: Retrieves a list of conversions from a DoubleClick Search engine
// account.
//
-// - advertiserId: Numeric ID of the advertiser.
-// - agencyId: Numeric ID of the agency.
-// - endDate: Last date (inclusive) on which to retrieve conversions.
-// Format is yyyymmdd.
-// - engineAccountId: Numeric ID of the engine account.
-// - rowCount: The number of conversions to return per call.
-// - startDate: First date (inclusive) on which to retrieve conversions.
-// Format is yyyymmdd.
-// - startRow: The 0-based starting index for retrieving conversions
-// results.
+// - advertiserId: Numeric ID of the advertiser.
+// - agencyId: Numeric ID of the agency.
+// - endDate: Last date (inclusive) on which to retrieve conversions.
+// Format is yyyymmdd.
+// - engineAccountId: Numeric ID of the engine account.
+// - rowCount: The number of conversions to return per call.
+// - startDate: First date (inclusive) on which to retrieve conversions.
+// Format is yyyymmdd.
+// - startRow: The 0-based starting index for retrieving conversions
+// results.
func (r *ConversionService) Get(agencyId int64, advertiserId int64, engineAccountId int64, endDate int64, rowCount int64, startDate int64, startRow int64) *ConversionGetCall {
c := &ConversionGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.agencyId = agencyId
diff --git a/drive/v2/drive-gen.go b/drive/v2/drive-gen.go
index 94ef27dd138..3ae730bcab9 100644
--- a/drive/v2/drive-gen.go
+++ b/drive/v2/drive-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/drive/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/drive/v2"
-// ...
-// ctx := context.Background()
-// driveService, err := drive.NewService(ctx)
+// import "google.golang.org/api/drive/v2"
+// ...
+// ctx := context.Background()
+// driveService, err := drive.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// driveService, err := drive.NewService(ctx, option.WithScopes(drive.DriveScriptsScope))
+// driveService, err := drive.NewService(ctx, option.WithScopes(drive.DriveScriptsScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// driveService, err := drive.NewService(ctx, option.WithAPIKey("AIza..."))
+// driveService, err := drive.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// driveService, err := drive.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// driveService, err := drive.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package drive // import "google.golang.org/api/drive/v2"
@@ -8173,12 +8173,12 @@ type DrivesInsertCall struct {
// Insert: Creates a new shared drive.
//
-// - requestId: An ID, such as a random UUID, which uniquely identifies
-// this user's request for idempotent creation of a shared drive. A
-// repeated request by the same user and with the same request ID will
-// avoid creating duplicates by attempting to create the same shared
-// drive. If the shared drive already exists a 409 error will be
-// returned.
+// - requestId: An ID, such as a random UUID, which uniquely identifies
+// this user's request for idempotent creation of a shared drive. A
+// repeated request by the same user and with the same request ID will
+// avoid creating duplicates by attempting to create the same shared
+// drive. If the shared drive already exists a 409 error will be
+// returned.
func (r *DrivesService) Insert(requestId string, drive *Drive) *DrivesInsertCall {
c := &DrivesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("requestId", requestId)
@@ -8901,9 +8901,12 @@ func (c *FilesCopyCall) TimedTextTrackName(timedTextTrackName string) *FilesCopy
// not a native Google Doc and convert=false.
//
// Possible values:
-// "DEFAULT" (default) - The visibility of the new file is determined
+//
+// "DEFAULT" (default) - The visibility of the new file is determined
+//
// by the user's default visibility/sharing policies.
-// "PRIVATE" - The new file will be visible to only the owner.
+//
+// "PRIVATE" - The new file will be visible to only the owner.
func (c *FilesCopyCall) Visibility(visibility string) *FilesCopyCall {
c.urlParams_.Set("visibility", visibility)
return c
@@ -9727,8 +9730,9 @@ func (c *FilesGetCall) IncludePermissionsForView(includePermissionsForView strin
// is deprecated and has no function.
//
// Possible values:
-// "BASIC" - Deprecated
-// "FULL" - Deprecated
+//
+// "BASIC" - Deprecated
+// "FULL" - Deprecated
func (c *FilesGetCall) Projection(projection string) *FilesGetCall {
c.urlParams_.Set("projection", projection)
return c
@@ -10079,9 +10083,12 @@ func (c *FilesInsertCall) UseContentAsIndexableText(useContentAsIndexableText bo
// of the new file. This parameter is only relevant when convert=false.
//
// Possible values:
-// "DEFAULT" (default) - The visibility of the new file is determined
+//
+// "DEFAULT" (default) - The visibility of the new file is determined
+//
// by the user's default visibility/sharing policies.
-// "PRIVATE" - The new file will be visible to only the owner.
+//
+// "PRIVATE" - The new file will be visible to only the owner.
func (c *FilesInsertCall) Visibility(visibility string) *FilesInsertCall {
c.urlParams_.Set("visibility", visibility)
return c
@@ -10397,8 +10404,9 @@ func (c *FilesListCall) Corpora(corpora string) *FilesListCall {
// 'corpora' instead.
//
// Possible values:
-// "DEFAULT" - The items that the user has accessed.
-// "DOMAIN" - Items shared to the user's domain.
+//
+// "DEFAULT" - The items that the user has accessed.
+// "DOMAIN" - Items shared to the user's domain.
func (c *FilesListCall) Corpus(corpus string) *FilesListCall {
c.urlParams_.Set("corpus", corpus)
return c
@@ -10477,8 +10485,9 @@ func (c *FilesListCall) PageToken(pageToken string) *FilesListCall {
// is deprecated and has no function.
//
// Possible values:
-// "BASIC" - Deprecated
-// "FULL" - Deprecated
+//
+// "BASIC" - Deprecated
+// "FULL" - Deprecated
func (c *FilesListCall) Projection(projection string) *FilesListCall {
c.urlParams_.Set("projection", projection)
return c
@@ -11171,15 +11180,23 @@ func (c *FilesPatchCall) IncludePermissionsForView(includePermissionsForView str
// is updated. This overrides setModifiedDate.
//
// Possible values:
-// "fromBody" - Set modifiedDate to the value provided in the body of
+//
+// "fromBody" - Set modifiedDate to the value provided in the body of
+//
// the request. No change if no value was provided.
-// "fromBodyIfNeeded" - Set modifiedDate to the value provided in the
+//
+// "fromBodyIfNeeded" - Set modifiedDate to the value provided in the
+//
// body of the request depending on other contents of the update.
-// "fromBodyOrNow" - Set modifiedDate to the value provided in the
+//
+// "fromBodyOrNow" - Set modifiedDate to the value provided in the
+//
// body of the request, or to the current time if no value was provided.
-// "noChange" - Maintain the previous value of modifiedDate.
-// "now" - Set modifiedDate to the current time.
-// "nowIfNeeded" - Set modifiedDate to the current time depending on
+//
+// "noChange" - Maintain the previous value of modifiedDate.
+// "now" - Set modifiedDate to the current time.
+// "nowIfNeeded" - Set modifiedDate to the current time depending on
+//
// contents of the update.
func (c *FilesPatchCall) ModifiedDateBehavior(modifiedDateBehavior string) *FilesPatchCall {
c.urlParams_.Set("modifiedDateBehavior", modifiedDateBehavior)
@@ -12163,15 +12180,23 @@ func (c *FilesUpdateCall) IncludePermissionsForView(includePermissionsForView st
// is updated. This overrides setModifiedDate.
//
// Possible values:
-// "fromBody" - Set modifiedDate to the value provided in the body of
+//
+// "fromBody" - Set modifiedDate to the value provided in the body of
+//
// the request. No change if no value was provided.
-// "fromBodyIfNeeded" - Set modifiedDate to the value provided in the
+//
+// "fromBodyIfNeeded" - Set modifiedDate to the value provided in the
+//
// body of the request depending on other contents of the update.
-// "fromBodyOrNow" - Set modifiedDate to the value provided in the
+//
+// "fromBodyOrNow" - Set modifiedDate to the value provided in the
+//
// body of the request, or to the current time if no value was provided.
-// "noChange" - Maintain the previous value of modifiedDate.
-// "now" - Set modifiedDate to the current time.
-// "nowIfNeeded" - Set modifiedDate to the current time depending on
+//
+// "noChange" - Maintain the previous value of modifiedDate.
+// "now" - Set modifiedDate to the current time.
+// "nowIfNeeded" - Set modifiedDate to the current time depending on
+//
// contents of the update.
func (c *FilesUpdateCall) ModifiedDateBehavior(modifiedDateBehavior string) *FilesUpdateCall {
c.urlParams_.Set("modifiedDateBehavior", modifiedDateBehavior)
@@ -12652,8 +12677,9 @@ func (c *FilesWatchCall) IncludePermissionsForView(includePermissionsForView str
// is deprecated and has no function.
//
// Possible values:
-// "BASIC" - Deprecated
-// "FULL" - Deprecated
+//
+// "BASIC" - Deprecated
+// "FULL" - Deprecated
func (c *FilesWatchCall) Projection(projection string) *FilesWatchCall {
c.urlParams_.Set("projection", projection)
return c
@@ -17969,12 +17995,12 @@ type TeamdrivesInsertCall struct {
// Insert: Deprecated use drives.insert instead.
//
-// - requestId: An ID, such as a random UUID, which uniquely identifies
-// this user's request for idempotent creation of a Team Drive. A
-// repeated request by the same user and with the same request ID will
-// avoid creating duplicates by attempting to create the same Team
-// Drive. If the Team Drive already exists a 409 error will be
-// returned.
+// - requestId: An ID, such as a random UUID, which uniquely identifies
+// this user's request for idempotent creation of a Team Drive. A
+// repeated request by the same user and with the same request ID will
+// avoid creating duplicates by attempting to create the same Team
+// Drive. If the Team Drive already exists a 409 error will be
+// returned.
func (r *TeamdrivesService) Insert(requestId string, teamdrive *TeamDrive) *TeamdrivesInsertCall {
c := &TeamdrivesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("requestId", requestId)
diff --git a/drive/v3/drive-gen.go b/drive/v3/drive-gen.go
index 4b3fec474a6..be1fc423b0d 100644
--- a/drive/v3/drive-gen.go
+++ b/drive/v3/drive-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/drive/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/drive/v3"
-// ...
-// ctx := context.Background()
-// driveService, err := drive.NewService(ctx)
+// import "google.golang.org/api/drive/v3"
+// ...
+// ctx := context.Background()
+// driveService, err := drive.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// driveService, err := drive.NewService(ctx, option.WithScopes(drive.DriveScriptsScope))
+// driveService, err := drive.NewService(ctx, option.WithScopes(drive.DriveScriptsScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// driveService, err := drive.NewService(ctx, option.WithAPIKey("AIza..."))
+// driveService, err := drive.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// driveService, err := drive.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// driveService, err := drive.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package drive // import "google.golang.org/api/drive/v3"
@@ -3713,10 +3713,10 @@ type ChangesListCall struct {
// List: Lists the changes for a user or shared drive.
//
-// - pageToken: The token for continuing a previous list request on the
-// next page. This should be set to the value of 'nextPageToken' from
-// the previous response or to the response from the getStartPageToken
-// method.
+// - pageToken: The token for continuing a previous list request on the
+// next page. This should be set to the value of 'nextPageToken' from
+// the previous response or to the response from the getStartPageToken
+// method.
func (r *ChangesService) List(pageToken string) *ChangesListCall {
c := &ChangesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("pageToken", pageToken)
@@ -4047,10 +4047,10 @@ type ChangesWatchCall struct {
// Watch: Subscribes to changes for a user.
//
-// - pageToken: The token for continuing a previous list request on the
-// next page. This should be set to the value of 'nextPageToken' from
-// the previous response or to the response from the getStartPageToken
-// method.
+// - pageToken: The token for continuing a previous list request on the
+// next page. This should be set to the value of 'nextPageToken' from
+// the previous response or to the response from the getStartPageToken
+// method.
func (r *ChangesService) Watch(pageToken string, channel *Channel) *ChangesWatchCall {
c := &ChangesWatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("pageToken", pageToken)
@@ -5280,12 +5280,12 @@ type DrivesCreateCall struct {
// Create: Creates a new shared drive.
//
-// - requestId: An ID, such as a random UUID, which uniquely identifies
-// this user's request for idempotent creation of a shared drive. A
-// repeated request by the same user and with the same request ID will
-// avoid creating duplicates by attempting to create the same shared
-// drive. If the shared drive already exists a 409 error will be
-// returned.
+// - requestId: An ID, such as a random UUID, which uniquely identifies
+// this user's request for idempotent creation of a shared drive. A
+// repeated request by the same user and with the same request ID will
+// avoid creating duplicates by attempting to create the same shared
+// drive. If the shared drive already exists a 409 error will be
+// returned.
func (r *DrivesService) Create(requestId string, drive *Drive) *DrivesCreateCall {
c := &DrivesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("requestId", requestId)
@@ -7761,8 +7761,10 @@ func (c *FilesListCall) Corpora(corpora string) *FilesListCall {
// list. Deprecated: use 'corpora' instead.
//
// Possible values:
-// "domain" - Files shared to the user's domain.
-// "user" - Files owned by or shared to the user. If a user has
+//
+// "domain" - Files shared to the user's domain.
+// "user" - Files owned by or shared to the user. If a user has
+//
// permissions on a Shared Drive, the files inside it won't be retrieved
// unless the user has created, opened, or shared the file.
func (c *FilesListCall) Corpus(corpus string) *FilesListCall {
@@ -11679,12 +11681,12 @@ type TeamdrivesCreateCall struct {
// Create: Deprecated use drives.create instead.
//
-// - requestId: An ID, such as a random UUID, which uniquely identifies
-// this user's request for idempotent creation of a Team Drive. A
-// repeated request by the same user and with the same request ID will
-// avoid creating duplicates by attempting to create the same Team
-// Drive. If the Team Drive already exists a 409 error will be
-// returned.
+// - requestId: An ID, such as a random UUID, which uniquely identifies
+// this user's request for idempotent creation of a Team Drive. A
+// repeated request by the same user and with the same request ID will
+// avoid creating duplicates by attempting to create the same Team
+// Drive. If the Team Drive already exists a 409 error will be
+// returned.
func (r *TeamdrivesService) Create(requestId string, teamdrive *TeamDrive) *TeamdrivesCreateCall {
c := &TeamdrivesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("requestId", requestId)
diff --git a/driveactivity/v2/driveactivity-gen.go b/driveactivity/v2/driveactivity-gen.go
index b8ca6d738d0..a4e723cbb9a 100644
--- a/driveactivity/v2/driveactivity-gen.go
+++ b/driveactivity/v2/driveactivity-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/drive/activity/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/driveactivity/v2"
-// ...
-// ctx := context.Background()
-// driveactivityService, err := driveactivity.NewService(ctx)
+// import "google.golang.org/api/driveactivity/v2"
+// ...
+// ctx := context.Background()
+// driveactivityService, err := driveactivity.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// driveactivityService, err := driveactivity.NewService(ctx, option.WithScopes(driveactivity.DriveActivityReadonlyScope))
+// driveactivityService, err := driveactivity.NewService(ctx, option.WithScopes(driveactivity.DriveActivityReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// driveactivityService, err := driveactivity.NewService(ctx, option.WithAPIKey("AIza..."))
+// driveactivityService, err := driveactivity.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// driveactivityService, err := driveactivity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// driveactivityService, err := driveactivity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package driveactivity // import "google.golang.org/api/driveactivity/v2"
diff --git a/drivelabels/v2/drivelabels-gen.go b/drivelabels/v2/drivelabels-gen.go
index 2e313f909cd..432c78acc02 100644
--- a/drivelabels/v2/drivelabels-gen.go
+++ b/drivelabels/v2/drivelabels-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/drive/labels
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/drivelabels/v2"
-// ...
-// ctx := context.Background()
-// drivelabelsService, err := drivelabels.NewService(ctx)
+// import "google.golang.org/api/drivelabels/v2"
+// ...
+// ctx := context.Background()
+// drivelabelsService, err := drivelabels.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// drivelabelsService, err := drivelabels.NewService(ctx, option.WithAPIKey("AIza..."))
+// drivelabelsService, err := drivelabels.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// drivelabelsService, err := drivelabels.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// drivelabelsService, err := drivelabels.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package drivelabels // import "google.golang.org/api/drivelabels/v2"
@@ -681,7 +681,8 @@ func (s *GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice) MarshalJSON() ([]by
}
// GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities:
-// The capabilities related to this choice on applied metadata.
+//
+// The capabilities related to this choice on applied metadata.
type GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities struct {
// CanRead: Whether the user can read related applied metadata on items.
CanRead bool `json:"canRead,omitempty"`
@@ -1469,12 +1470,12 @@ func (s *GoogleAppsDriveLabelsV2UserInfo) MarshalJSON() ([]byte, error) {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type GoogleTypeColor struct {
// Alpha: The fraction of this color that should be applied to the
@@ -1609,9 +1610,9 @@ type LabelsGetCall struct {
// `labels/{id}@{revision_id}` - Gets the label at the specified
// revision ID.
//
-// - name: Label resource name. May be any of: * `labels/{id}`
-// (equivalent to labels/{id}@latest) * `labels/{id}@latest` *
-// `labels/{id}@published` * `labels/{id}@{revision_id}`.
+// - name: Label resource name. May be any of: * `labels/{id}`
+// (equivalent to labels/{id}@latest) * `labels/{id}@latest` *
+// `labels/{id}@published` * `labels/{id}@{revision_id}`.
func (r *LabelsService) Get(name string) *LabelsGetCall {
c := &LabelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1639,9 +1640,12 @@ func (c *LabelsGetCall) UseAdminAccess(useAdminAccess bool) *LabelsGetCall {
// fields belonging to the indicated view are returned.
//
// Possible values:
-// "LABEL_VIEW_BASIC" - Implies the field mask:
+//
+// "LABEL_VIEW_BASIC" - Implies the field mask:
+//
// `name,id,revision_id,label_type,properties.*`
-// "LABEL_VIEW_FULL" - All possible fields.
+//
+// "LABEL_VIEW_FULL" - All possible fields.
func (c *LabelsGetCall) View(view string) *LabelsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -1822,14 +1826,22 @@ func (c *LabelsListCall) LanguageCode(languageCode string) *LabelsListCall {
// minimum role a user must have on a label. Defaults to `READER`.
//
// Possible values:
-// "LABEL_ROLE_UNSPECIFIED" - Unknown role.
-// "READER" - A reader can read the label and associated metadata
+//
+// "LABEL_ROLE_UNSPECIFIED" - Unknown role.
+// "READER" - A reader can read the label and associated metadata
+//
// applied to Drive items.
-// "APPLIER" - An applier can write associated metadata on Drive items
+//
+// "APPLIER" - An applier can write associated metadata on Drive items
+//
// in which they also have write access to. Implies `READER`.
-// "ORGANIZER" - An organizer can pin this label in shared drives they
+//
+// "ORGANIZER" - An organizer can pin this label in shared drives they
+//
// manage and add new appliers to the label.
-// "EDITOR" - Editors can make any update including deleting the label
+//
+// "EDITOR" - Editors can make any update including deleting the label
+//
// which also deletes the associated Drive item metadata. Implies
// `APPLIER`.
func (c *LabelsListCall) MinimumRole(minimumRole string) *LabelsListCall {
@@ -1876,9 +1888,12 @@ func (c *LabelsListCall) UseAdminAccess(useAdminAccess bool) *LabelsListCall {
// fields belonging to the indicated view are returned.
//
// Possible values:
-// "LABEL_VIEW_BASIC" - Implies the field mask:
+//
+// "LABEL_VIEW_BASIC" - Implies the field mask:
+//
// `name,id,revision_id,label_type,properties.*`
-// "LABEL_VIEW_FULL" - All possible fields.
+//
+// "LABEL_VIEW_FULL" - All possible fields.
func (c *LabelsListCall) View(view string) *LabelsListCall {
c.urlParams_.Set("view", view)
return c
diff --git a/drivelabels/v2beta/drivelabels-gen.go b/drivelabels/v2beta/drivelabels-gen.go
index fca5d2fddea..791c3511697 100644
--- a/drivelabels/v2beta/drivelabels-gen.go
+++ b/drivelabels/v2beta/drivelabels-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/drive/labels
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/drivelabels/v2beta"
-// ...
-// ctx := context.Background()
-// drivelabelsService, err := drivelabels.NewService(ctx)
+// import "google.golang.org/api/drivelabels/v2beta"
+// ...
+// ctx := context.Background()
+// drivelabelsService, err := drivelabels.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// drivelabelsService, err := drivelabels.NewService(ctx, option.WithAPIKey("AIza..."))
+// drivelabelsService, err := drivelabels.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// drivelabelsService, err := drivelabels.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// drivelabelsService, err := drivelabels.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package drivelabels // import "google.golang.org/api/drivelabels/v2beta"
@@ -642,7 +642,8 @@ func (s *GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoice
}
// GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest:
-// Request to disable the Field.
+//
+// Request to disable the Field.
type GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest struct {
// DisabledPolicy: Required. Field Disabled Policy.
DisabledPolicy *GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy `json:"disabledPolicy,omitempty"`
@@ -3449,12 +3450,12 @@ type GoogleProtobufEmpty struct {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type GoogleTypeColor struct {
// Alpha: The fraction of this color that should be applied to the
@@ -4330,9 +4331,9 @@ type LabelsGetCall struct {
// `labels/{id}@{revision_id}` - Gets the label at the specified
// revision ID.
//
-// - name: Label resource name. May be any of: * `labels/{id}`
-// (equivalent to labels/{id}@latest) * `labels/{id}@latest` *
-// `labels/{id}@published` * `labels/{id}@{revision_id}`.
+// - name: Label resource name. May be any of: * `labels/{id}`
+// (equivalent to labels/{id}@latest) * `labels/{id}@latest` *
+// `labels/{id}@published` * `labels/{id}@{revision_id}`.
func (r *LabelsService) Get(name string) *LabelsGetCall {
c := &LabelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4360,9 +4361,12 @@ func (c *LabelsGetCall) UseAdminAccess(useAdminAccess bool) *LabelsGetCall {
// fields belonging to the indicated view are returned.
//
// Possible values:
-// "LABEL_VIEW_BASIC" - Implies the field mask:
+//
+// "LABEL_VIEW_BASIC" - Implies the field mask:
+//
// `name,id,revision_id,label_type,properties.*`
-// "LABEL_VIEW_FULL" - All possible fields.
+//
+// "LABEL_VIEW_FULL" - All possible fields.
func (c *LabelsGetCall) View(view string) *LabelsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -4543,14 +4547,22 @@ func (c *LabelsListCall) LanguageCode(languageCode string) *LabelsListCall {
// minimum role a user must have on a label. Defaults to `READER`.
//
// Possible values:
-// "LABEL_ROLE_UNSPECIFIED" - Unknown role.
-// "READER" - A reader can read the label and associated metadata
+//
+// "LABEL_ROLE_UNSPECIFIED" - Unknown role.
+// "READER" - A reader can read the label and associated metadata
+//
// applied to Drive items.
-// "APPLIER" - An applier can write associated metadata on Drive items
+//
+// "APPLIER" - An applier can write associated metadata on Drive items
+//
// in which they also have write access to. Implies `READER`.
-// "ORGANIZER" - An organizer can pin this label in shared drives they
+//
+// "ORGANIZER" - An organizer can pin this label in shared drives they
+//
// manage and add new appliers to the label.
-// "EDITOR" - Editors can make any update including deleting the label
+//
+// "EDITOR" - Editors can make any update including deleting the label
+//
// which also deletes the associated Drive item metadata. Implies
// `APPLIER`.
func (c *LabelsListCall) MinimumRole(minimumRole string) *LabelsListCall {
@@ -4597,9 +4609,12 @@ func (c *LabelsListCall) UseAdminAccess(useAdminAccess bool) *LabelsListCall {
// fields belonging to the indicated view are returned.
//
// Possible values:
-// "LABEL_VIEW_BASIC" - Implies the field mask:
+//
+// "LABEL_VIEW_BASIC" - Implies the field mask:
+//
// `name,id,revision_id,label_type,properties.*`
-// "LABEL_VIEW_FULL" - All possible fields.
+//
+// "LABEL_VIEW_FULL" - All possible fields.
func (c *LabelsListCall) View(view string) *LabelsListCall {
c.urlParams_.Set("view", view)
return c
@@ -5437,10 +5452,10 @@ type LabelsPermissionsBatchUpdateCall struct {
// Label resource as a whole, are not revisioned, and do not require
// publishing.
//
-// - parent: The parent Label resource name shared by all permissions
-// being updated. Format: labels/{label} If this is set, the parent
-// field in the UpdateLabelPermissionRequest messages must either be
-// empty or match this field.
+// - parent: The parent Label resource name shared by all permissions
+// being updated. Format: labels/{label} If this is set, the parent
+// field in the UpdateLabelPermissionRequest messages must either be
+// empty or match this field.
func (r *LabelsPermissionsService) BatchUpdate(parent string, googleappsdrivelabelsv2betabatchupdatelabelpermissionsrequest *GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest) *LabelsPermissionsBatchUpdateCall {
c := &LabelsPermissionsBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5586,8 +5601,8 @@ type LabelsPermissionsCreateCall struct {
// Label resource as a whole, are not revisioned, and do not require
// publishing.
//
-// - parent: The parent Label resource name on the Label Permission is
-// created. Format: labels/{label}.
+// - parent: The parent Label resource name on the Label Permission is
+// created. Format: labels/{label}.
func (r *LabelsPermissionsService) Create(parent string, googleappsdrivelabelsv2betalabelpermission *GoogleAppsDriveLabelsV2betaLabelPermission) *LabelsPermissionsCreateCall {
c := &LabelsPermissionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5885,8 +5900,8 @@ type LabelsPermissionsListCall struct {
// List: Lists a Label's permissions.
//
-// - parent: The parent Label resource name on which Label Permission
-// are listed. Format: labels/{label}.
+// - parent: The parent Label resource name on which Label Permission
+// are listed. Format: labels/{label}.
func (r *LabelsPermissionsService) List(parent string) *LabelsPermissionsListCall {
c := &LabelsPermissionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6593,10 +6608,10 @@ type LabelsRevisionsPermissionsBatchUpdateCall struct {
// Label resource as a whole, are not revisioned, and do not require
// publishing.
//
-// - parent: The parent Label resource name shared by all permissions
-// being updated. Format: labels/{label} If this is set, the parent
-// field in the UpdateLabelPermissionRequest messages must either be
-// empty or match this field.
+// - parent: The parent Label resource name shared by all permissions
+// being updated. Format: labels/{label} If this is set, the parent
+// field in the UpdateLabelPermissionRequest messages must either be
+// empty or match this field.
func (r *LabelsRevisionsPermissionsService) BatchUpdate(parent string, googleappsdrivelabelsv2betabatchupdatelabelpermissionsrequest *GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest) *LabelsRevisionsPermissionsBatchUpdateCall {
c := &LabelsRevisionsPermissionsBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6742,8 +6757,8 @@ type LabelsRevisionsPermissionsCreateCall struct {
// Label resource as a whole, are not revisioned, and do not require
// publishing.
//
-// - parent: The parent Label resource name on the Label Permission is
-// created. Format: labels/{label}.
+// - parent: The parent Label resource name on the Label Permission is
+// created. Format: labels/{label}.
func (r *LabelsRevisionsPermissionsService) Create(parent string, googleappsdrivelabelsv2betalabelpermission *GoogleAppsDriveLabelsV2betaLabelPermission) *LabelsRevisionsPermissionsCreateCall {
c := &LabelsRevisionsPermissionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7041,8 +7056,8 @@ type LabelsRevisionsPermissionsListCall struct {
// List: Lists a Label's permissions.
//
-// - parent: The parent Label resource name on which Label Permission
-// are listed. Format: labels/{label}.
+// - parent: The parent Label resource name on which Label Permission
+// are listed. Format: labels/{label}.
func (r *LabelsRevisionsPermissionsService) List(parent string) *LabelsRevisionsPermissionsListCall {
c := &LabelsRevisionsPermissionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7547,8 +7562,8 @@ type UsersGetCapabilitiesCall struct {
// GetCapabilities: Gets the user capabilities.
//
-// - name: The resource name of the user. Only "users/me/capabilities"
-// is supported.
+// - name: The resource name of the user. Only "users/me/capabilities"
+// is supported.
func (r *UsersService) GetCapabilities(name string) *UsersGetCapabilitiesCall {
c := &UsersGetCapabilitiesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/essentialcontacts/v1/essentialcontacts-gen.go b/essentialcontacts/v1/essentialcontacts-gen.go
index 02b071d86a3..bcd246a6292 100644
--- a/essentialcontacts/v1/essentialcontacts-gen.go
+++ b/essentialcontacts/v1/essentialcontacts-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/essentialcontacts/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/essentialcontacts/v1"
-// ...
-// ctx := context.Background()
-// essentialcontactsService, err := essentialcontacts.NewService(ctx)
+// import "google.golang.org/api/essentialcontacts/v1"
+// ...
+// ctx := context.Background()
+// essentialcontactsService, err := essentialcontacts.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// essentialcontactsService, err := essentialcontacts.NewService(ctx, option.WithAPIKey("AIza..."))
+// essentialcontactsService, err := essentialcontacts.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// essentialcontactsService, err := essentialcontacts.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// essentialcontactsService, err := essentialcontacts.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package essentialcontacts // import "google.golang.org/api/essentialcontacts/v1"
@@ -460,9 +460,9 @@ type FoldersContactsComputeCall struct {
// the specified notification categories, including contacts inherited
// from any parent resources.
//
-// - parent: The name of the resource to compute contacts for. Format:
-// organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - parent: The name of the resource to compute contacts for. Format:
+// organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *FoldersContactsService) Compute(parent string) *FoldersContactsComputeCall {
c := &FoldersContactsComputeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -475,23 +475,41 @@ func (r *FoldersContactsService) Compute(parent string) *FoldersContactsComputeC
// any notification category will be returned.
//
// Possible values:
-// "NOTIFICATION_CATEGORY_UNSPECIFIED" - Notification category is
+//
+// "NOTIFICATION_CATEGORY_UNSPECIFIED" - Notification category is
+//
// unrecognized or unspecified.
-// "ALL" - All notifications related to the resource, including
+//
+// "ALL" - All notifications related to the resource, including
+//
// notifications pertaining to categories added in the future.
-// "SUSPENSION" - Notifications related to imminent account
+//
+// "SUSPENSION" - Notifications related to imminent account
+//
// suspension.
-// "SECURITY" - Notifications related to security/privacy incidents,
+//
+// "SECURITY" - Notifications related to security/privacy incidents,
+//
// notifications, and vulnerabilities.
-// "TECHNICAL" - Notifications related to technical events and issues
+//
+// "TECHNICAL" - Notifications related to technical events and issues
+//
// such as outages, errors, or bugs.
-// "BILLING" - Notifications related to billing and payments
+//
+// "BILLING" - Notifications related to billing and payments
+//
// notifications, price updates, errors, or credits.
-// "LEGAL" - Notifications related to enforcement actions, regulatory
+//
+// "LEGAL" - Notifications related to enforcement actions, regulatory
+//
// compliance, or government notices.
-// "PRODUCT_UPDATES" - Notifications related to new versions, product
+//
+// "PRODUCT_UPDATES" - Notifications related to new versions, product
+//
// terms updates, or deprecations.
-// "TECHNICAL_INCIDENTS" - Child category of TECHNICAL. If assigned,
+//
+// "TECHNICAL_INCIDENTS" - Child category of TECHNICAL. If assigned,
+//
// technical incident notifications will go to these contacts instead of
// TECHNICAL.
func (c *FoldersContactsComputeCall) NotificationCategories(notificationCategories ...string) *FoldersContactsComputeCall {
@@ -720,9 +738,9 @@ type FoldersContactsCreateCall struct {
// Create: Adds a new contact for a resource.
//
-// - parent: The resource to save this contact for. Format:
-// organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - parent: The resource to save this contact for. Format:
+// organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *FoldersContactsService) Create(parent string, googlecloudessentialcontactsv1contact *GoogleCloudEssentialcontactsV1Contact) *FoldersContactsCreateCall {
c := &FoldersContactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -864,10 +882,10 @@ type FoldersContactsDeleteCall struct {
// Delete: Deletes a contact.
//
-// - name: The name of the contact to delete. Format:
-// organizations/{organization_id}/contacts/{contact_id},
-// folders/{folder_id}/contacts/{contact_id} or
-// projects/{project_id}/contacts/{contact_id}.
+// - name: The name of the contact to delete. Format:
+// organizations/{organization_id}/contacts/{contact_id},
+// folders/{folder_id}/contacts/{contact_id} or
+// projects/{project_id}/contacts/{contact_id}.
func (r *FoldersContactsService) Delete(name string) *FoldersContactsDeleteCall {
c := &FoldersContactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1000,10 +1018,10 @@ type FoldersContactsGetCall struct {
// Get: Gets a single contact.
//
-// - name: The name of the contact to retrieve. Format:
-// organizations/{organization_id}/contacts/{contact_id},
-// folders/{folder_id}/contacts/{contact_id} or
-// projects/{project_id}/contacts/{contact_id}.
+// - name: The name of the contact to retrieve. Format:
+// organizations/{organization_id}/contacts/{contact_id},
+// folders/{folder_id}/contacts/{contact_id} or
+// projects/{project_id}/contacts/{contact_id}.
func (r *FoldersContactsService) Get(name string) *FoldersContactsGetCall {
c := &FoldersContactsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1150,9 +1168,9 @@ type FoldersContactsListCall struct {
// List: Lists the contacts that have been set on a resource.
//
-// - parent: The parent resource name. Format:
-// organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - parent: The parent resource name. Format:
+// organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *FoldersContactsService) List(parent string) *FoldersContactsListCall {
c := &FoldersContactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1353,8 +1371,8 @@ type FoldersContactsPatchCall struct {
// Patch: Updates a contact. Note: A contact's email address cannot be
// changed.
//
-// - name: The identifier for the contact. Format:
-// {resource_type}/{resource_id}/contacts/{contact_id}.
+// - name: The identifier for the contact. Format:
+// {resource_type}/{resource_id}/contacts/{contact_id}.
func (r *FoldersContactsService) Patch(nameid string, googlecloudessentialcontactsv1contact *GoogleCloudEssentialcontactsV1Contact) *FoldersContactsPatchCall {
c := &FoldersContactsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -1512,11 +1530,11 @@ type FoldersContactsSendTestMessageCall struct {
// SendTestMessage: Allows a contact admin to send a test message to
// contact to verify that it has been configured correctly.
//
-// - resource: The name of the resource to send the test message for.
-// All contacts must either be set directly on this resource or
-// inherited from another resource that is an ancestor of this one.
-// Format: organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - resource: The name of the resource to send the test message for.
+// All contacts must either be set directly on this resource or
+// inherited from another resource that is an ancestor of this one.
+// Format: organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *FoldersContactsService) SendTestMessage(resource string, googlecloudessentialcontactsv1sendtestmessagerequest *GoogleCloudEssentialcontactsV1SendTestMessageRequest) *FoldersContactsSendTestMessageCall {
c := &FoldersContactsSendTestMessageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1660,9 +1678,9 @@ type OrganizationsContactsComputeCall struct {
// the specified notification categories, including contacts inherited
// from any parent resources.
//
-// - parent: The name of the resource to compute contacts for. Format:
-// organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - parent: The name of the resource to compute contacts for. Format:
+// organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *OrganizationsContactsService) Compute(parent string) *OrganizationsContactsComputeCall {
c := &OrganizationsContactsComputeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1675,23 +1693,41 @@ func (r *OrganizationsContactsService) Compute(parent string) *OrganizationsCont
// any notification category will be returned.
//
// Possible values:
-// "NOTIFICATION_CATEGORY_UNSPECIFIED" - Notification category is
+//
+// "NOTIFICATION_CATEGORY_UNSPECIFIED" - Notification category is
+//
// unrecognized or unspecified.
-// "ALL" - All notifications related to the resource, including
+//
+// "ALL" - All notifications related to the resource, including
+//
// notifications pertaining to categories added in the future.
-// "SUSPENSION" - Notifications related to imminent account
+//
+// "SUSPENSION" - Notifications related to imminent account
+//
// suspension.
-// "SECURITY" - Notifications related to security/privacy incidents,
+//
+// "SECURITY" - Notifications related to security/privacy incidents,
+//
// notifications, and vulnerabilities.
-// "TECHNICAL" - Notifications related to technical events and issues
+//
+// "TECHNICAL" - Notifications related to technical events and issues
+//
// such as outages, errors, or bugs.
-// "BILLING" - Notifications related to billing and payments
+//
+// "BILLING" - Notifications related to billing and payments
+//
// notifications, price updates, errors, or credits.
-// "LEGAL" - Notifications related to enforcement actions, regulatory
+//
+// "LEGAL" - Notifications related to enforcement actions, regulatory
+//
// compliance, or government notices.
-// "PRODUCT_UPDATES" - Notifications related to new versions, product
+//
+// "PRODUCT_UPDATES" - Notifications related to new versions, product
+//
// terms updates, or deprecations.
-// "TECHNICAL_INCIDENTS" - Child category of TECHNICAL. If assigned,
+//
+// "TECHNICAL_INCIDENTS" - Child category of TECHNICAL. If assigned,
+//
// technical incident notifications will go to these contacts instead of
// TECHNICAL.
func (c *OrganizationsContactsComputeCall) NotificationCategories(notificationCategories ...string) *OrganizationsContactsComputeCall {
@@ -1920,9 +1956,9 @@ type OrganizationsContactsCreateCall struct {
// Create: Adds a new contact for a resource.
//
-// - parent: The resource to save this contact for. Format:
-// organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - parent: The resource to save this contact for. Format:
+// organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *OrganizationsContactsService) Create(parent string, googlecloudessentialcontactsv1contact *GoogleCloudEssentialcontactsV1Contact) *OrganizationsContactsCreateCall {
c := &OrganizationsContactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2064,10 +2100,10 @@ type OrganizationsContactsDeleteCall struct {
// Delete: Deletes a contact.
//
-// - name: The name of the contact to delete. Format:
-// organizations/{organization_id}/contacts/{contact_id},
-// folders/{folder_id}/contacts/{contact_id} or
-// projects/{project_id}/contacts/{contact_id}.
+// - name: The name of the contact to delete. Format:
+// organizations/{organization_id}/contacts/{contact_id},
+// folders/{folder_id}/contacts/{contact_id} or
+// projects/{project_id}/contacts/{contact_id}.
func (r *OrganizationsContactsService) Delete(name string) *OrganizationsContactsDeleteCall {
c := &OrganizationsContactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2200,10 +2236,10 @@ type OrganizationsContactsGetCall struct {
// Get: Gets a single contact.
//
-// - name: The name of the contact to retrieve. Format:
-// organizations/{organization_id}/contacts/{contact_id},
-// folders/{folder_id}/contacts/{contact_id} or
-// projects/{project_id}/contacts/{contact_id}.
+// - name: The name of the contact to retrieve. Format:
+// organizations/{organization_id}/contacts/{contact_id},
+// folders/{folder_id}/contacts/{contact_id} or
+// projects/{project_id}/contacts/{contact_id}.
func (r *OrganizationsContactsService) Get(name string) *OrganizationsContactsGetCall {
c := &OrganizationsContactsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2350,9 +2386,9 @@ type OrganizationsContactsListCall struct {
// List: Lists the contacts that have been set on a resource.
//
-// - parent: The parent resource name. Format:
-// organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - parent: The parent resource name. Format:
+// organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *OrganizationsContactsService) List(parent string) *OrganizationsContactsListCall {
c := &OrganizationsContactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2553,8 +2589,8 @@ type OrganizationsContactsPatchCall struct {
// Patch: Updates a contact. Note: A contact's email address cannot be
// changed.
//
-// - name: The identifier for the contact. Format:
-// {resource_type}/{resource_id}/contacts/{contact_id}.
+// - name: The identifier for the contact. Format:
+// {resource_type}/{resource_id}/contacts/{contact_id}.
func (r *OrganizationsContactsService) Patch(nameid string, googlecloudessentialcontactsv1contact *GoogleCloudEssentialcontactsV1Contact) *OrganizationsContactsPatchCall {
c := &OrganizationsContactsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -2712,11 +2748,11 @@ type OrganizationsContactsSendTestMessageCall struct {
// SendTestMessage: Allows a contact admin to send a test message to
// contact to verify that it has been configured correctly.
//
-// - resource: The name of the resource to send the test message for.
-// All contacts must either be set directly on this resource or
-// inherited from another resource that is an ancestor of this one.
-// Format: organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - resource: The name of the resource to send the test message for.
+// All contacts must either be set directly on this resource or
+// inherited from another resource that is an ancestor of this one.
+// Format: organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *OrganizationsContactsService) SendTestMessage(resource string, googlecloudessentialcontactsv1sendtestmessagerequest *GoogleCloudEssentialcontactsV1SendTestMessageRequest) *OrganizationsContactsSendTestMessageCall {
c := &OrganizationsContactsSendTestMessageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2860,9 +2896,9 @@ type ProjectsContactsComputeCall struct {
// the specified notification categories, including contacts inherited
// from any parent resources.
//
-// - parent: The name of the resource to compute contacts for. Format:
-// organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - parent: The name of the resource to compute contacts for. Format:
+// organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *ProjectsContactsService) Compute(parent string) *ProjectsContactsComputeCall {
c := &ProjectsContactsComputeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2875,23 +2911,41 @@ func (r *ProjectsContactsService) Compute(parent string) *ProjectsContactsComput
// any notification category will be returned.
//
// Possible values:
-// "NOTIFICATION_CATEGORY_UNSPECIFIED" - Notification category is
+//
+// "NOTIFICATION_CATEGORY_UNSPECIFIED" - Notification category is
+//
// unrecognized or unspecified.
-// "ALL" - All notifications related to the resource, including
+//
+// "ALL" - All notifications related to the resource, including
+//
// notifications pertaining to categories added in the future.
-// "SUSPENSION" - Notifications related to imminent account
+//
+// "SUSPENSION" - Notifications related to imminent account
+//
// suspension.
-// "SECURITY" - Notifications related to security/privacy incidents,
+//
+// "SECURITY" - Notifications related to security/privacy incidents,
+//
// notifications, and vulnerabilities.
-// "TECHNICAL" - Notifications related to technical events and issues
+//
+// "TECHNICAL" - Notifications related to technical events and issues
+//
// such as outages, errors, or bugs.
-// "BILLING" - Notifications related to billing and payments
+//
+// "BILLING" - Notifications related to billing and payments
+//
// notifications, price updates, errors, or credits.
-// "LEGAL" - Notifications related to enforcement actions, regulatory
+//
+// "LEGAL" - Notifications related to enforcement actions, regulatory
+//
// compliance, or government notices.
-// "PRODUCT_UPDATES" - Notifications related to new versions, product
+//
+// "PRODUCT_UPDATES" - Notifications related to new versions, product
+//
// terms updates, or deprecations.
-// "TECHNICAL_INCIDENTS" - Child category of TECHNICAL. If assigned,
+//
+// "TECHNICAL_INCIDENTS" - Child category of TECHNICAL. If assigned,
+//
// technical incident notifications will go to these contacts instead of
// TECHNICAL.
func (c *ProjectsContactsComputeCall) NotificationCategories(notificationCategories ...string) *ProjectsContactsComputeCall {
@@ -3120,9 +3174,9 @@ type ProjectsContactsCreateCall struct {
// Create: Adds a new contact for a resource.
//
-// - parent: The resource to save this contact for. Format:
-// organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - parent: The resource to save this contact for. Format:
+// organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *ProjectsContactsService) Create(parent string, googlecloudessentialcontactsv1contact *GoogleCloudEssentialcontactsV1Contact) *ProjectsContactsCreateCall {
c := &ProjectsContactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3264,10 +3318,10 @@ type ProjectsContactsDeleteCall struct {
// Delete: Deletes a contact.
//
-// - name: The name of the contact to delete. Format:
-// organizations/{organization_id}/contacts/{contact_id},
-// folders/{folder_id}/contacts/{contact_id} or
-// projects/{project_id}/contacts/{contact_id}.
+// - name: The name of the contact to delete. Format:
+// organizations/{organization_id}/contacts/{contact_id},
+// folders/{folder_id}/contacts/{contact_id} or
+// projects/{project_id}/contacts/{contact_id}.
func (r *ProjectsContactsService) Delete(name string) *ProjectsContactsDeleteCall {
c := &ProjectsContactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3400,10 +3454,10 @@ type ProjectsContactsGetCall struct {
// Get: Gets a single contact.
//
-// - name: The name of the contact to retrieve. Format:
-// organizations/{organization_id}/contacts/{contact_id},
-// folders/{folder_id}/contacts/{contact_id} or
-// projects/{project_id}/contacts/{contact_id}.
+// - name: The name of the contact to retrieve. Format:
+// organizations/{organization_id}/contacts/{contact_id},
+// folders/{folder_id}/contacts/{contact_id} or
+// projects/{project_id}/contacts/{contact_id}.
func (r *ProjectsContactsService) Get(name string) *ProjectsContactsGetCall {
c := &ProjectsContactsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3550,9 +3604,9 @@ type ProjectsContactsListCall struct {
// List: Lists the contacts that have been set on a resource.
//
-// - parent: The parent resource name. Format:
-// organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - parent: The parent resource name. Format:
+// organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *ProjectsContactsService) List(parent string) *ProjectsContactsListCall {
c := &ProjectsContactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3753,8 +3807,8 @@ type ProjectsContactsPatchCall struct {
// Patch: Updates a contact. Note: A contact's email address cannot be
// changed.
//
-// - name: The identifier for the contact. Format:
-// {resource_type}/{resource_id}/contacts/{contact_id}.
+// - name: The identifier for the contact. Format:
+// {resource_type}/{resource_id}/contacts/{contact_id}.
func (r *ProjectsContactsService) Patch(nameid string, googlecloudessentialcontactsv1contact *GoogleCloudEssentialcontactsV1Contact) *ProjectsContactsPatchCall {
c := &ProjectsContactsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -3912,11 +3966,11 @@ type ProjectsContactsSendTestMessageCall struct {
// SendTestMessage: Allows a contact admin to send a test message to
// contact to verify that it has been configured correctly.
//
-// - resource: The name of the resource to send the test message for.
-// All contacts must either be set directly on this resource or
-// inherited from another resource that is an ancestor of this one.
-// Format: organizations/{organization_id}, folders/{folder_id} or
-// projects/{project_id}.
+// - resource: The name of the resource to send the test message for.
+// All contacts must either be set directly on this resource or
+// inherited from another resource that is an ancestor of this one.
+// Format: organizations/{organization_id}, folders/{folder_id} or
+// projects/{project_id}.
func (r *ProjectsContactsService) SendTestMessage(resource string, googlecloudessentialcontactsv1sendtestmessagerequest *GoogleCloudEssentialcontactsV1SendTestMessageRequest) *ProjectsContactsSendTestMessageCall {
c := &ProjectsContactsSendTestMessageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/eventarc/v1/eventarc-gen.go b/eventarc/v1/eventarc-gen.go
index 63c8534798e..57aadf1e87b 100644
--- a/eventarc/v1/eventarc-gen.go
+++ b/eventarc/v1/eventarc-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/eventarc
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/eventarc/v1"
-// ...
-// ctx := context.Background()
-// eventarcService, err := eventarc.NewService(ctx)
+// import "google.golang.org/api/eventarc/v1"
+// ...
+// ctx := context.Background()
+// eventarcService, err := eventarc.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// eventarcService, err := eventarc.NewService(ctx, option.WithAPIKey("AIza..."))
+// eventarcService, err := eventarc.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// eventarcService, err := eventarc.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// eventarcService, err := eventarc.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package eventarc // import "google.golang.org/api/eventarc/v1"
@@ -2216,8 +2216,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2424,8 +2424,8 @@ type ProjectsLocationsUpdateGoogleChannelConfigCall struct {
// UpdateGoogleChannelConfig: Update a single GoogleChannelConfig
//
-// - name: The resource name of the config. Must be in the format of,
-// `projects/{project}/locations/{location}/googleChannelConfig`.
+// - name: The resource name of the config. Must be in the format of,
+// `projects/{project}/locations/{location}/googleChannelConfig`.
func (r *ProjectsLocationsService) UpdateGoogleChannelConfig(name string, googlechannelconfig *GoogleChannelConfig) *ProjectsLocationsUpdateGoogleChannelConfigCall {
c := &ProjectsLocationsUpdateGoogleChannelConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2583,8 +2583,8 @@ type ProjectsLocationsChannelConnectionsCreateCall struct {
// Create: Create a new ChannelConnection in a particular project and
// location.
//
-// - parent: The parent collection in which to add this channel
-// connection.
+// - parent: The parent collection in which to add this channel
+// connection.
func (r *ProjectsLocationsChannelConnectionsService) Create(parent string, channelconnection *ChannelConnection) *ProjectsLocationsChannelConnectionsCreateCall {
c := &ProjectsLocationsChannelConnectionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3019,10 +3019,10 @@ type ProjectsLocationsChannelConnectionsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsChannelConnectionsService) GetIamPolicy(resource string) *ProjectsLocationsChannelConnectionsGetIamPolicyCall {
c := &ProjectsLocationsChannelConnectionsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3192,8 +3192,8 @@ type ProjectsLocationsChannelConnectionsListCall struct {
// List: List channel connections.
//
-// - parent: The parent collection from which to list channel
-// connections.
+// - parent: The parent collection from which to list channel
+// connections.
func (r *ProjectsLocationsChannelConnectionsService) List(parent string) *ProjectsLocationsChannelConnectionsListCall {
c := &ProjectsLocationsChannelConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3391,10 +3391,10 @@ type ProjectsLocationsChannelConnectionsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsChannelConnectionsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsChannelConnectionsSetIamPolicyCall {
c := &ProjectsLocationsChannelConnectionsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3541,10 +3541,10 @@ type ProjectsLocationsChannelConnectionsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsChannelConnectionsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsChannelConnectionsTestIamPermissionsCall {
c := &ProjectsLocationsChannelConnectionsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4144,10 +4144,10 @@ type ProjectsLocationsChannelsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsChannelsService) GetIamPolicy(resource string) *ProjectsLocationsChannelsGetIamPolicyCall {
c := &ProjectsLocationsChannelsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4527,10 +4527,10 @@ type ProjectsLocationsChannelsPatchCall struct {
// Patch: Update a single channel.
//
-// - name: The resource name of the channel. Must be unique within the
-// location on the project and must be in
-// `projects/{project}/locations/{location}/channels/{channel_id}`
-// format.
+// - name: The resource name of the channel. Must be unique within the
+// location on the project and must be in
+// `projects/{project}/locations/{location}/channels/{channel_id}`
+// format.
func (r *ProjectsLocationsChannelsService) Patch(name string, channel *Channel) *ProjectsLocationsChannelsPatchCall {
c := &ProjectsLocationsChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4701,10 +4701,10 @@ type ProjectsLocationsChannelsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsChannelsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsChannelsSetIamPolicyCall {
c := &ProjectsLocationsChannelsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4851,10 +4851,10 @@ type ProjectsLocationsChannelsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsChannelsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsChannelsTestIamPermissionsCall {
c := &ProjectsLocationsChannelsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6496,10 +6496,10 @@ type ProjectsLocationsTriggersGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsTriggersService) GetIamPolicy(resource string) *ProjectsLocationsTriggersGetIamPolicyCall {
c := &ProjectsLocationsTriggersGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6894,10 +6894,10 @@ type ProjectsLocationsTriggersPatchCall struct {
// Patch: Update a single trigger.
//
-// - name: The resource name of the trigger. Must be unique within the
-// location of the project and must be in
-// `projects/{project}/locations/{location}/triggers/{trigger}`
-// format.
+// - name: The resource name of the trigger. Must be unique within the
+// location of the project and must be in
+// `projects/{project}/locations/{location}/triggers/{trigger}`
+// format.
func (r *ProjectsLocationsTriggersService) Patch(name string, trigger *Trigger) *ProjectsLocationsTriggersPatchCall {
c := &ProjectsLocationsTriggersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7081,10 +7081,10 @@ type ProjectsLocationsTriggersSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsTriggersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTriggersSetIamPolicyCall {
c := &ProjectsLocationsTriggersSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7231,10 +7231,10 @@ type ProjectsLocationsTriggersTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsTriggersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTriggersTestIamPermissionsCall {
c := &ProjectsLocationsTriggersTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/eventarc/v1beta1/eventarc-gen.go b/eventarc/v1beta1/eventarc-gen.go
index f8c519140ee..28d7c8a4d38 100644
--- a/eventarc/v1beta1/eventarc-gen.go
+++ b/eventarc/v1beta1/eventarc-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/eventarc
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/eventarc/v1beta1"
-// ...
-// ctx := context.Background()
-// eventarcService, err := eventarc.NewService(ctx)
+// import "google.golang.org/api/eventarc/v1beta1"
+// ...
+// ctx := context.Background()
+// eventarcService, err := eventarc.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// eventarcService, err := eventarc.NewService(ctx, option.WithAPIKey("AIza..."))
+// eventarcService, err := eventarc.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// eventarcService, err := eventarc.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// eventarcService, err := eventarc.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package eventarc // import "google.golang.org/api/eventarc/v1beta1"
@@ -1378,8 +1378,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2719,10 +2719,10 @@ type ProjectsLocationsTriggersGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsTriggersService) GetIamPolicy(resource string) *ProjectsLocationsTriggersGetIamPolicyCall {
c := &ProjectsLocationsTriggersGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3102,10 +3102,10 @@ type ProjectsLocationsTriggersPatchCall struct {
// Patch: Update a single trigger.
//
-// - name: The resource name of the trigger. Must be unique within the
-// location on the project and must in
-// `projects/{project}/locations/{location}/triggers/{trigger}`
-// format.
+// - name: The resource name of the trigger. Must be unique within the
+// location on the project and must in
+// `projects/{project}/locations/{location}/triggers/{trigger}`
+// format.
func (r *ProjectsLocationsTriggersService) Patch(name string, trigger *Trigger) *ProjectsLocationsTriggersPatchCall {
c := &ProjectsLocationsTriggersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3290,10 +3290,10 @@ type ProjectsLocationsTriggersSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsTriggersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTriggersSetIamPolicyCall {
c := &ProjectsLocationsTriggersSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3440,10 +3440,10 @@ type ProjectsLocationsTriggersTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsTriggersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTriggersTestIamPermissionsCall {
c := &ProjectsLocationsTriggersTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/examples/books.go b/examples/books.go
index a8fe0bb1ca5..7636becf99c 100644
--- a/examples/books.go
+++ b/examples/books.go
@@ -22,8 +22,9 @@ func init() {
// booksMain is an example that demonstrates calling the Books API.
//
// Example usage:
-// go build -o go-api-demo *.go
-// go-api-demo -clientid="my-clientid" -secret="my-secret" books
+//
+// go build -o go-api-demo *.go
+// go-api-demo -clientid="my-clientid" -secret="my-secret" books
func booksMain(client *http.Client, argv []string) {
if len(argv) != 0 {
fmt.Fprintln(os.Stderr, "Usage: books")
diff --git a/examples/calendar.go b/examples/calendar.go
index 172020903fb..4b358921668 100644
--- a/examples/calendar.go
+++ b/examples/calendar.go
@@ -21,8 +21,9 @@ func init() {
// Its purpose is to test out the ability to get maps of struct objects.
//
// Example usage:
-// go build -o go-api-demo *.go
-// go-api-demo -clientid="my-clientid" -secret="my-secret" calendar
+//
+// go build -o go-api-demo *.go
+// go-api-demo -clientid="my-clientid" -secret="my-secret" calendar
func calendarMain(client *http.Client, argv []string) {
if len(argv) != 0 {
fmt.Fprintln(os.Stderr, "Usage: calendar")
diff --git a/examples/fitness.go b/examples/fitness.go
index 6cbb08b822d..ddffd620f12 100644
--- a/examples/fitness.go
+++ b/examples/fitness.go
@@ -40,8 +40,9 @@ func millisToTime(t int64) time.Time {
// fitnessMain is an example that demonstrates calling the Fitness API.
//
// Example usage:
-// go build -o go-api-demo *.go
-// go-api-demo -clientid="my-clientid" -secret="my-secret" fitness
+//
+// go build -o go-api-demo *.go
+// go-api-demo -clientid="my-clientid" -secret="my-secret" fitness
func fitnessMain(client *http.Client, argv []string) {
if len(argv) != 0 {
fmt.Fprintln(os.Stderr, "Usage: fitness")
diff --git a/examples/gmail.go b/examples/gmail.go
index f23223fd541..e2ef82c31b3 100644
--- a/examples/gmail.go
+++ b/examples/gmail.go
@@ -33,8 +33,9 @@ type message struct {
// choose either to Delete, Skip, or Quit for each message.
//
// Example usage:
-// go build -o go-api-demo *.go
-// go-api-demo -clientid="my-clientid" -secret="my-secret" gmail
+//
+// go build -o go-api-demo *.go
+// go-api-demo -clientid="my-clientid" -secret="my-secret" gmail
func gmailMain(client *http.Client, argv []string) {
if len(argv) != 0 {
fmt.Fprintln(os.Stderr, "Usage: gmail")
diff --git a/examples/mirror.go b/examples/mirror.go
index 16f6b4c44e0..3055d868d05 100644
--- a/examples/mirror.go
+++ b/examples/mirror.go
@@ -28,8 +28,9 @@ func init() {
// mirrorMain is an example that demonstrates calling the Mirror API.
//
// Example usage:
-// go build -o go-api-demo *.go
-// go-api-demo -clientid="my-clientid" -secret="my-secret" mirror
+//
+// go build -o go-api-demo *.go
+// go-api-demo -clientid="my-clientid" -secret="my-secret" mirror
func mirrorMain(client *http.Client, argv []string) {
if len(argv) != 0 {
fmt.Fprintln(os.Stderr, "Usage: mirror")
diff --git a/examples/youtube.go b/examples/youtube.go
index 39da0cbad09..b2b319c9696 100644
--- a/examples/youtube.go
+++ b/examples/youtube.go
@@ -23,8 +23,9 @@ func init() {
// but has been modified slightly to fit into the examples framework.
//
// Example usage:
-// go build -o go-api-demo
-// go-api-demo -clientid="my-clientid" -secret="my-secret" youtube filename
+//
+// go build -o go-api-demo
+// go-api-demo -clientid="my-clientid" -secret="my-secret" youtube filename
func youtubeMain(client *http.Client, argv []string) {
if len(argv) < 1 {
fmt.Fprintln(os.Stderr, "Usage: youtube filename")
diff --git a/factchecktools/v1alpha1/factchecktools-gen.go b/factchecktools/v1alpha1/factchecktools-gen.go
index 3017082080d..84ce4d81558 100644
--- a/factchecktools/v1alpha1/factchecktools-gen.go
+++ b/factchecktools/v1alpha1/factchecktools-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/fact-check/tools/api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/factchecktools/v1alpha1"
-// ...
-// ctx := context.Background()
-// factchecktoolsService, err := factchecktools.NewService(ctx)
+// import "google.golang.org/api/factchecktools/v1alpha1"
+// ...
+// ctx := context.Background()
+// factchecktoolsService, err := factchecktools.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// factchecktoolsService, err := factchecktools.NewService(ctx, option.WithAPIKey("AIza..."))
+// factchecktoolsService, err := factchecktools.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// factchecktoolsService, err := factchecktools.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// factchecktoolsService, err := factchecktools.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package factchecktools // import "google.golang.org/api/factchecktools/v1alpha1"
@@ -1006,8 +1006,8 @@ type PagesDeleteCall struct {
// Delete: Delete all `ClaimReview` markup on a page.
//
-// - name: The name of the resource to delete, in the form of
-// `pages/{page_id}`.
+// - name: The name of the resource to delete, in the form of
+// `pages/{page_id}`.
func (r *PagesService) Delete(name string) *PagesDeleteCall {
c := &PagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1140,8 +1140,8 @@ type PagesGetCall struct {
// Get: Get all `ClaimReview` markup on a page.
//
-// - name: The name of the resource to get, in the form of
-// `pages/{page_id}`.
+// - name: The name of the resource to get, in the form of
+// `pages/{page_id}`.
func (r *PagesService) Get(name string) *PagesGetCall {
c := &PagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1522,9 +1522,9 @@ type PagesUpdateCall struct {
// and finally call Update with the entire `ClaimReview` markup as the
// body.
//
-// - name: The name of this `ClaimReview` markup page resource, in the
-// form of `pages/{page_id}`. Except for update requests, this field
-// is output-only and should not be set by the user.
+// - name: The name of this `ClaimReview` markup page resource, in the
+// form of `pages/{page_id}`. Except for update requests, this field
+// is output-only and should not be set by the user.
func (r *PagesService) Update(name string, googlefactcheckingfactchecktoolsv1alpha1claimreviewmarkuppage *GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage) *PagesUpdateCall {
c := &PagesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/fcm/v1/fcm-gen.go b/fcm/v1/fcm-gen.go
index f58ed297bac..f653a476878 100644
--- a/fcm/v1/fcm-gen.go
+++ b/fcm/v1/fcm-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://firebase.google.com/docs/cloud-messaging
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/fcm/v1"
-// ...
-// ctx := context.Background()
-// fcmService, err := fcm.NewService(ctx)
+// import "google.golang.org/api/fcm/v1"
+// ...
+// ctx := context.Background()
+// fcmService, err := fcm.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// fcmService, err := fcm.NewService(ctx, option.WithScopes(fcm.FirebaseMessagingScope))
+// fcmService, err := fcm.NewService(ctx, option.WithScopes(fcm.FirebaseMessagingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// fcmService, err := fcm.NewService(ctx, option.WithAPIKey("AIza..."))
+// fcmService, err := fcm.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// fcmService, err := fcm.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// fcmService, err := fcm.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package fcm // import "google.golang.org/api/fcm/v1"
@@ -632,12 +632,12 @@ func (s *ApnsFcmOptions) MarshalJSON() ([]byte, error) {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type Color struct {
// Alpha: The fraction of this color that should be applied to the
@@ -1015,11 +1015,11 @@ type ProjectsMessagesSendCall struct {
// Send: Send a message to specified target (a registration token, topic
// or condition).
//
-// - parent: It contains the Firebase project id (i.e. the unique
-// identifier for your Firebase project), in the format of
-// `projects/{project_id}`. For legacy support, the numeric project
-// number with no padding is also supported in the format of
-// `projects/{project_number}`.
+// - parent: It contains the Firebase project id (i.e. the unique
+// identifier for your Firebase project), in the format of
+// `projects/{project_id}`. For legacy support, the numeric project
+// number with no padding is also supported in the format of
+// `projects/{project_number}`.
func (r *ProjectsMessagesService) Send(parentid string, sendmessagerequest *SendMessageRequest) *ProjectsMessagesSendCall {
c := &ProjectsMessagesSendCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
diff --git a/fcmdata/v1beta1/fcmdata-gen.go b/fcmdata/v1beta1/fcmdata-gen.go
index fa008ade9df..3d5d458f5a4 100644
--- a/fcmdata/v1beta1/fcmdata-gen.go
+++ b/fcmdata/v1beta1/fcmdata-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://firebase.google.com/docs/cloud-messaging
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/fcmdata/v1beta1"
-// ...
-// ctx := context.Background()
-// fcmdataService, err := fcmdata.NewService(ctx)
+// import "google.golang.org/api/fcmdata/v1beta1"
+// ...
+// ctx := context.Background()
+// fcmdataService, err := fcmdata.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// fcmdataService, err := fcmdata.NewService(ctx, option.WithAPIKey("AIza..."))
+// fcmdataService, err := fcmdata.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// fcmdataService, err := fcmdata.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// fcmdataService, err := fcmdata.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package fcmdata // import "google.golang.org/api/fcmdata/v1beta1"
@@ -575,8 +575,8 @@ type ProjectsAndroidAppsDeliveryDataListCall struct {
// List: List aggregate delivery data for the given Android application.
//
-// - parent: The application for which to list delivery data. Format:
-// `projects/{project_id}/androidApps/{app_id}`.
+// - parent: The application for which to list delivery data. Format:
+// `projects/{project_id}/androidApps/{app_id}`.
func (r *ProjectsAndroidAppsDeliveryDataService) List(parent string) *ProjectsAndroidAppsDeliveryDataListCall {
c := &ProjectsAndroidAppsDeliveryDataListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/file/v1/file-gen.go b/file/v1/file-gen.go
index aebce32986c..961f3fb8ba2 100644
--- a/file/v1/file-gen.go
+++ b/file/v1/file-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/filestore/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/file/v1"
-// ...
-// ctx := context.Background()
-// fileService, err := file.NewService(ctx)
+// import "google.golang.org/api/file/v1"
+// ...
+// ctx := context.Background()
+// fileService, err := file.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// fileService, err := file.NewService(ctx, option.WithAPIKey("AIza..."))
+// fileService, err := file.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// fileService, err := file.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// fileService, err := file.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package file // import "google.golang.org/api/file/v1"
@@ -2118,8 +2118,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2339,10 +2339,10 @@ type ProjectsLocationsBackupsCreateCall struct {
// Create: Creates a backup.
//
-// - parent: The backup's project and location, in the format
-// `projects/{project_number}/locations/{location}`. In Cloud
-// Filestore, backup locations map to GCP regions, for example
-// **us-west1**.
+// - parent: The backup's project and location, in the format
+// `projects/{project_number}/locations/{location}`. In Cloud
+// Filestore, backup locations map to GCP regions, for example
+// **us-west1**.
func (r *ProjectsLocationsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsBackupsCreateCall {
c := &ProjectsLocationsBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2499,8 +2499,8 @@ type ProjectsLocationsBackupsDeleteCall struct {
// Delete: Deletes a backup.
//
-// - name: The backup resource name, in the format
-// `projects/{project_number}/locations/{location}/backups/{backup_id}`.
+// - name: The backup resource name, in the format
+// `projects/{project_number}/locations/{location}/backups/{backup_id}`.
func (r *ProjectsLocationsBackupsService) Delete(name string) *ProjectsLocationsBackupsDeleteCall {
c := &ProjectsLocationsBackupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2633,9 +2633,9 @@ type ProjectsLocationsBackupsGetCall struct {
// Get: Gets the details of a specific backup.
//
-// - name: The backup resource name, in the format
-// `projects/{project_number}/locations/{location}/backups/{backup_id}`
-// .
+// - name: The backup resource name, in the format
+// `projects/{project_number}/locations/{location}/backups/{backup_id}`
+// .
func (r *ProjectsLocationsBackupsService) Get(name string) *ProjectsLocationsBackupsGetCall {
c := &ProjectsLocationsBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2782,12 +2782,12 @@ type ProjectsLocationsBackupsListCall struct {
// List: Lists all backups in a project for either a specified location
// or for all locations.
//
-// - parent: The project and location for which to retrieve backup
-// information, in the format
-// `projects/{project_number}/locations/{location}`. In Cloud
-// Filestore, backup locations map to GCP regions, for example
-// **us-west1**. To retrieve backup information for all locations, use
-// "-" for the `{location}` value.
+// - parent: The project and location for which to retrieve backup
+// information, in the format
+// `projects/{project_number}/locations/{location}`. In Cloud
+// Filestore, backup locations map to GCP regions, for example
+// **us-west1**. To retrieve backup information for all locations, use
+// "-" for the `{location}` value.
func (r *ProjectsLocationsBackupsService) List(parent string) *ProjectsLocationsBackupsListCall {
c := &ProjectsLocationsBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3003,9 +3003,9 @@ type ProjectsLocationsBackupsPatchCall struct {
// Patch: Updates the settings of a specific backup.
//
-// - name: Output only. The resource name of the backup, in the format
-// `projects/{project_number}/locations/{location_id}/backups/{backup_i
-// d}`.
+// - name: Output only. The resource name of the backup, in the format
+// `projects/{project_number}/locations/{location_id}/backups/{backup_i
+// d}`.
func (r *ProjectsLocationsBackupsService) Patch(name string, backup *Backup) *ProjectsLocationsBackupsPatchCall {
c := &ProjectsLocationsBackupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3164,9 +3164,9 @@ type ProjectsLocationsInstancesCreateCall struct {
// capacity of the backup (and also equal to or larger than the minimum
// capacity of the tier).
//
-// - parent: The instance's project and location, in the format
-// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
-// locations map to GCP zones, for example **us-west1-b**.
+// - parent: The instance's project and location, in the format
+// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
+// locations map to GCP zones, for example **us-west1-b**.
func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall {
c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3320,8 +3320,8 @@ type ProjectsLocationsInstancesDeleteCall struct {
// Delete: Deletes an instance.
//
-// - name: The instance resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: The instance resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3467,9 +3467,9 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets the details of a specific instance.
//
-// - name: The instance resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`
-// .
+// - name: The instance resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`
+// .
func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3616,12 +3616,12 @@ type ProjectsLocationsInstancesListCall struct {
// List: Lists all instances in a project for either a specified
// location or for all locations.
//
-// - parent: The project and location for which to retrieve instance
-// information, in the format
-// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
-// locations map to GCP zones, for example **us-west1-b**. To retrieve
-// instance information for all locations, use "-" for the
-// `{location}` value.
+// - parent: The project and location for which to retrieve instance
+// information, in the format
+// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
+// locations map to GCP zones, for example **us-west1-b**. To retrieve
+// instance information for all locations, use "-" for the
+// `{location}` value.
func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {
c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3837,8 +3837,8 @@ type ProjectsLocationsInstancesPatchCall struct {
// Patch: Updates the settings of a specific instance.
//
-// - name: Output only. The resource name of the instance, in the format
-// `projects/{project}/locations/{location}/instances/{instance}`.
+// - name: Output only. The resource name of the instance, in the format
+// `projects/{project}/locations/{location}/instances/{instance}`.
func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall {
c := &ProjectsLocationsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3998,9 +3998,9 @@ type ProjectsLocationsInstancesRestoreCall struct {
// capacity of the backup (and also equal to or larger than the minimum
// capacity of the tier).
//
-// - name: The resource name of the instance, in the format
-// `projects/{project_number}/locations/{location_id}/instances/{instan
-// ce_id}`.
+// - name: The resource name of the instance, in the format
+// `projects/{project_number}/locations/{location_id}/instances/{instan
+// ce_id}`.
func (r *ProjectsLocationsInstancesService) Restore(name string, restoreinstancerequest *RestoreInstanceRequest) *ProjectsLocationsInstancesRestoreCall {
c := &ProjectsLocationsInstancesRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4142,9 +4142,9 @@ type ProjectsLocationsInstancesSnapshotsCreateCall struct {
// Create: Creates a snapshot.
//
-// - parent: The Filestore Instance to create the snapshots of, in the
-// format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - parent: The Filestore Instance to create the snapshots of, in the
+// format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesSnapshotsService) Create(parent string, snapshot *Snapshot) *ProjectsLocationsInstancesSnapshotsCreateCall {
c := &ProjectsLocationsInstancesSnapshotsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4300,9 +4300,9 @@ type ProjectsLocationsInstancesSnapshotsDeleteCall struct {
// Delete: Deletes a snapshot.
//
-// - name: The snapshot resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}/
-// snapshots/{snapshot_id}`.
+// - name: The snapshot resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}/
+// snapshots/{snapshot_id}`.
func (r *ProjectsLocationsInstancesSnapshotsService) Delete(name string) *ProjectsLocationsInstancesSnapshotsDeleteCall {
c := &ProjectsLocationsInstancesSnapshotsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4435,9 +4435,9 @@ type ProjectsLocationsInstancesSnapshotsGetCall struct {
// Get: Gets the details of a specific snapshot.
//
-// - name: The snapshot resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}/
-// snapshots/{snapshot_id}`.
+// - name: The snapshot resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}/
+// snapshots/{snapshot_id}`.
func (r *ProjectsLocationsInstancesSnapshotsService) Get(name string) *ProjectsLocationsInstancesSnapshotsGetCall {
c := &ProjectsLocationsInstancesSnapshotsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4584,10 +4584,10 @@ type ProjectsLocationsInstancesSnapshotsListCall struct {
// List: Lists all snapshots in a project for either a specified
// location or for all locations.
//
-// - parent: The instance for which to retrieve snapshot information, in
-// the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`
-// .
+// - parent: The instance for which to retrieve snapshot information, in
+// the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`
+// .
func (r *ProjectsLocationsInstancesSnapshotsService) List(parent string) *ProjectsLocationsInstancesSnapshotsListCall {
c := &ProjectsLocationsInstancesSnapshotsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4803,9 +4803,9 @@ type ProjectsLocationsInstancesSnapshotsPatchCall struct {
// Patch: Updates the settings of a specific snapshot.
//
-// - name: Output only. The resource name of the snapshot, in the format
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}/snapshots/{snapshot_id}`.
+// - name: Output only. The resource name of the snapshot, in the format
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}/snapshots/{snapshot_id}`.
func (r *ProjectsLocationsInstancesSnapshotsService) Patch(name string, snapshot *Snapshot) *ProjectsLocationsInstancesSnapshotsPatchCall {
c := &ProjectsLocationsInstancesSnapshotsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/file/v1beta1/file-gen.go b/file/v1beta1/file-gen.go
index 25533f914b8..d7a36bcf8f8 100644
--- a/file/v1beta1/file-gen.go
+++ b/file/v1beta1/file-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/filestore/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/file/v1beta1"
-// ...
-// ctx := context.Background()
-// fileService, err := file.NewService(ctx)
+// import "google.golang.org/api/file/v1beta1"
+// ...
+// ctx := context.Background()
+// fileService, err := file.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// fileService, err := file.NewService(ctx, option.WithAPIKey("AIza..."))
+// fileService, err := file.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// fileService, err := file.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// fileService, err := file.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package file // import "google.golang.org/api/file/v1beta1"
@@ -2300,8 +2300,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2521,9 +2521,9 @@ type ProjectsLocationsBackupsCreateCall struct {
// Create: Creates a backup.
//
-// - parent: The backup's project and location, in the format
-// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
-// backup locations map to GCP regions, for example **us-west1**.
+// - parent: The backup's project and location, in the format
+// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
+// backup locations map to GCP regions, for example **us-west1**.
func (r *ProjectsLocationsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsBackupsCreateCall {
c := &ProjectsLocationsBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2679,8 +2679,8 @@ type ProjectsLocationsBackupsDeleteCall struct {
// Delete: Deletes a backup.
//
-// - name: The backup resource name, in the format
-// `projects/{project_id}/locations/{location}/backups/{backup_id}`.
+// - name: The backup resource name, in the format
+// `projects/{project_id}/locations/{location}/backups/{backup_id}`.
func (r *ProjectsLocationsBackupsService) Delete(name string) *ProjectsLocationsBackupsDeleteCall {
c := &ProjectsLocationsBackupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2813,8 +2813,8 @@ type ProjectsLocationsBackupsGetCall struct {
// Get: Gets the details of a specific backup.
//
-// - name: The backup resource name, in the format
-// `projects/{project_id}/locations/{location}/backups/{backup_id}`.
+// - name: The backup resource name, in the format
+// `projects/{project_id}/locations/{location}/backups/{backup_id}`.
func (r *ProjectsLocationsBackupsService) Get(name string) *ProjectsLocationsBackupsGetCall {
c := &ProjectsLocationsBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2961,12 +2961,12 @@ type ProjectsLocationsBackupsListCall struct {
// List: Lists all backups in a project for either a specified location
// or for all locations.
//
-// - parent: The project and location for which to retrieve backup
-// information, in the format
-// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
-// backup locations map to GCP regions, for example **us-west1**. To
-// retrieve backup information for all locations, use "-" for the
-// `{location}` value.
+// - parent: The project and location for which to retrieve backup
+// information, in the format
+// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
+// backup locations map to GCP regions, for example **us-west1**. To
+// retrieve backup information for all locations, use "-" for the
+// `{location}` value.
func (r *ProjectsLocationsBackupsService) List(parent string) *ProjectsLocationsBackupsListCall {
c := &ProjectsLocationsBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3182,8 +3182,8 @@ type ProjectsLocationsBackupsPatchCall struct {
// Patch: Updates the settings of a specific backup.
//
-// - name: Output only. The resource name of the backup, in the format
-// `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
+// - name: Output only. The resource name of the backup, in the format
+// `projects/{project_id}/locations/{location_id}/backups/{backup_id}`.
func (r *ProjectsLocationsBackupsService) Patch(name string, backup *Backup) *ProjectsLocationsBackupsPatchCall {
c := &ProjectsLocationsBackupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3342,9 +3342,9 @@ type ProjectsLocationsInstancesCreateCall struct {
// capacity of the backup (and also equal to or larger than the minimum
// capacity of the tier).
//
-// - parent: The instance's project and location, in the format
-// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
-// locations map to GCP zones, for example **us-west1-b**.
+// - parent: The instance's project and location, in the format
+// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
+// locations map to GCP zones, for example **us-west1-b**.
func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall {
c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3500,8 +3500,8 @@ type ProjectsLocationsInstancesDeleteCall struct {
// Delete: Deletes an instance.
//
-// - name: The instance resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: The instance resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3647,9 +3647,9 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets the details of a specific instance.
//
-// - name: The instance resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`
-// .
+// - name: The instance resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`
+// .
func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3796,12 +3796,12 @@ type ProjectsLocationsInstancesListCall struct {
// List: Lists all instances in a project for either a specified
// location or for all locations.
//
-// - parent: The project and location for which to retrieve instance
-// information, in the format
-// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
-// locations map to GCP zones, for example **us-west1-b**. To retrieve
-// instance information for all locations, use "-" for the
-// `{location}` value.
+// - parent: The project and location for which to retrieve instance
+// information, in the format
+// `projects/{project_id}/locations/{location}`. In Cloud Filestore,
+// locations map to GCP zones, for example **us-west1-b**. To retrieve
+// instance information for all locations, use "-" for the
+// `{location}` value.
func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {
c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4017,9 +4017,9 @@ type ProjectsLocationsInstancesPatchCall struct {
// Patch: Updates the settings of a specific instance.
//
-// - name: Output only. The resource name of the instance, in the format
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}`.
+// - name: Output only. The resource name of the instance, in the format
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}`.
func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall {
c := &ProjectsLocationsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4179,9 +4179,9 @@ type ProjectsLocationsInstancesRestoreCall struct {
// capacity of the backup (and also equal to or larger than the minimum
// capacity of the tier).
//
-// - name: The resource name of the instance, in the format
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}`.
+// - name: The resource name of the instance, in the format
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}`.
func (r *ProjectsLocationsInstancesService) Restore(name string, restoreinstancerequest *RestoreInstanceRequest) *ProjectsLocationsInstancesRestoreCall {
c := &ProjectsLocationsInstancesRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4324,9 +4324,9 @@ type ProjectsLocationsInstancesRevertCall struct {
// Revert: Revert an existing instance's file system to a specified
// snapshot.
//
-// - name:
-// projects/{project_id}/locations/{location_id}/instances/{instance_id
-// }. The resource name of the instance, in the format.
+// - name:
+// projects/{project_id}/locations/{location_id}/instances/{instance_id
+// }. The resource name of the instance, in the format.
func (r *ProjectsLocationsInstancesService) Revert(name string, revertinstancerequest *RevertInstanceRequest) *ProjectsLocationsInstancesRevertCall {
c := &ProjectsLocationsInstancesRevertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4468,9 +4468,9 @@ type ProjectsLocationsInstancesSharesCreateCall struct {
// Create: Creates a share.
//
-// - parent: The Filestore Instance to create the share for, in the
-// format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - parent: The Filestore Instance to create the share for, in the
+// format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesSharesService) Create(parent string, share *Share) *ProjectsLocationsInstancesSharesCreateCall {
c := &ProjectsLocationsInstancesSharesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4626,9 +4626,9 @@ type ProjectsLocationsInstancesSharesDeleteCall struct {
// Delete: Deletes a share.
//
-// - name: The share resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}/
-// share/{share_id}`.
+// - name: The share resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}/
+// share/{share_id}`.
func (r *ProjectsLocationsInstancesSharesService) Delete(name string) *ProjectsLocationsInstancesSharesDeleteCall {
c := &ProjectsLocationsInstancesSharesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4761,9 +4761,9 @@ type ProjectsLocationsInstancesSharesGetCall struct {
// Get: Gets the details of a specific share.
//
-// - name: The share resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}/
-// shares/{share_id}`.
+// - name: The share resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}/
+// shares/{share_id}`.
func (r *ProjectsLocationsInstancesSharesService) Get(name string) *ProjectsLocationsInstancesSharesGetCall {
c := &ProjectsLocationsInstancesSharesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4909,10 +4909,10 @@ type ProjectsLocationsInstancesSharesListCall struct {
// List: Lists all shares for a specified instance.
//
-// - parent: The instance for which to retrieve share information, in
-// the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`
-// .
+// - parent: The instance for which to retrieve share information, in
+// the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`
+// .
func (r *ProjectsLocationsInstancesSharesService) List(parent string) *ProjectsLocationsInstancesSharesListCall {
c := &ProjectsLocationsInstancesSharesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5128,9 +5128,9 @@ type ProjectsLocationsInstancesSharesPatchCall struct {
// Patch: Updates the settings of a specific share.
//
-// - name: Output only. The resource name of the share, in the format
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}/shares/{share_id}`.
+// - name: Output only. The resource name of the share, in the format
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}/shares/{share_id}`.
func (r *ProjectsLocationsInstancesSharesService) Patch(name string, share *Share) *ProjectsLocationsInstancesSharesPatchCall {
c := &ProjectsLocationsInstancesSharesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5288,9 +5288,9 @@ type ProjectsLocationsInstancesSnapshotsCreateCall struct {
// Create: Creates a snapshot.
//
-// - parent: The Filestore Instance to create the snapshots of, in the
-// format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - parent: The Filestore Instance to create the snapshots of, in the
+// format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesSnapshotsService) Create(parent string, snapshot *Snapshot) *ProjectsLocationsInstancesSnapshotsCreateCall {
c := &ProjectsLocationsInstancesSnapshotsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5446,9 +5446,9 @@ type ProjectsLocationsInstancesSnapshotsDeleteCall struct {
// Delete: Deletes a snapshot.
//
-// - name: The snapshot resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}/
-// snapshots/{snapshot_id}`.
+// - name: The snapshot resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}/
+// snapshots/{snapshot_id}`.
func (r *ProjectsLocationsInstancesSnapshotsService) Delete(name string) *ProjectsLocationsInstancesSnapshotsDeleteCall {
c := &ProjectsLocationsInstancesSnapshotsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5581,9 +5581,9 @@ type ProjectsLocationsInstancesSnapshotsGetCall struct {
// Get: Gets the details of a specific snapshot.
//
-// - name: The snapshot resource name, in the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}/
-// snapshots/{snapshot_id}`.
+// - name: The snapshot resource name, in the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}/
+// snapshots/{snapshot_id}`.
func (r *ProjectsLocationsInstancesSnapshotsService) Get(name string) *ProjectsLocationsInstancesSnapshotsGetCall {
c := &ProjectsLocationsInstancesSnapshotsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5730,10 +5730,10 @@ type ProjectsLocationsInstancesSnapshotsListCall struct {
// List: Lists all snapshots in a project for either a specified
// location or for all locations.
//
-// - parent: The instance for which to retrieve snapshot information, in
-// the format
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`
-// .
+// - parent: The instance for which to retrieve snapshot information, in
+// the format
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`
+// .
func (r *ProjectsLocationsInstancesSnapshotsService) List(parent string) *ProjectsLocationsInstancesSnapshotsListCall {
c := &ProjectsLocationsInstancesSnapshotsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5949,9 +5949,9 @@ type ProjectsLocationsInstancesSnapshotsPatchCall struct {
// Patch: Updates the settings of a specific snapshot.
//
-// - name: Output only. The resource name of the snapshot, in the format
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}/snapshots/{snapshot_id}`.
+// - name: Output only. The resource name of the snapshot, in the format
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}/snapshots/{snapshot_id}`.
func (r *ProjectsLocationsInstancesSnapshotsService) Patch(name string, snapshot *Snapshot) *ProjectsLocationsInstancesSnapshotsPatchCall {
c := &ProjectsLocationsInstancesSnapshotsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go
index 71efc693c61..8cb9303ef46 100644
--- a/firebase/v1beta1/firebase-gen.go
+++ b/firebase/v1beta1/firebase-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://firebase.google.com
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebase/v1beta1"
-// ...
-// ctx := context.Background()
-// firebaseService, err := firebase.NewService(ctx)
+// import "google.golang.org/api/firebase/v1beta1"
+// ...
+// ctx := context.Background()
+// firebaseService, err := firebase.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firebaseService, err := firebase.NewService(ctx, option.WithScopes(firebase.FirebaseReadonlyScope))
+// firebaseService, err := firebase.NewService(ctx, option.WithScopes(firebase.FirebaseReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebaseService, err := firebase.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebaseService, err := firebase.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebaseService, err := firebase.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebaseService, err := firebase.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebase // import "google.golang.org/api/firebase/v1beta1"
@@ -2331,17 +2331,17 @@ type ProjectsAddFirebaseCall struct {
// `resourcemanager.projects.get`, `serviceusage.services.enable`, and
// `serviceusage.services.get`.
//
-// - project: The resource name of the GCP `Project` to which Firebase
-// resources will be added, in the format: projects/PROJECT_IDENTIFIER
-// Refer to the `FirebaseProject` `name`
-// (../projects#FirebaseProject.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER values. After calling `AddFirebase`, the unique
-// Project identifiers ( `projectNumber`
-// (https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_number)
-// and `projectId`
-// (https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id))
-// of the underlying GCP `Project` are also the identifiers of the
-// FirebaseProject.
+// - project: The resource name of the GCP `Project` to which Firebase
+// resources will be added, in the format: projects/PROJECT_IDENTIFIER
+// Refer to the `FirebaseProject` `name`
+// (../projects#FirebaseProject.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER values. After calling `AddFirebase`, the unique
+// Project identifiers ( `projectNumber`
+// (https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_number)
+// and `projectId`
+// (https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id))
+// of the underlying GCP `Project` are also the identifiers of the
+// FirebaseProject.
func (r *ProjectsService) AddFirebase(projectid string, addfirebaserequest *AddFirebaseRequest) *ProjectsAddFirebaseCall {
c := &ProjectsAddFirebaseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectid = projectid
@@ -2522,11 +2522,11 @@ type ProjectsAddGoogleAnalyticsCall struct {
// `regionCode` in the call to `AddFirebase`
// (../../v1beta1/projects/addFirebase).
//
-// - parent: The resource name of the FirebaseProject to link to an
-// existing Google Analytics account, in the format:
-// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` `name`
-// (../projects#FirebaseProject.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER values.
+// - parent: The resource name of the FirebaseProject to link to an
+// existing Google Analytics account, in the format:
+// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` `name`
+// (../projects#FirebaseProject.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER values.
func (r *ProjectsService) AddGoogleAnalytics(parent string, addgoogleanalyticsrequest *AddGoogleAnalyticsRequest) *ProjectsAddGoogleAnalyticsCall {
c := &ProjectsAddGoogleAnalyticsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2669,10 +2669,10 @@ type ProjectsGetCall struct {
// Get: Gets the specified FirebaseProject.
//
-// - name: The resource name of the FirebaseProject, in the format:
-// projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject` `name`
-// (../projects#FirebaseProject.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER values.
+// - name: The resource name of the FirebaseProject, in the format:
+// projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject` `name`
+// (../projects#FirebaseProject.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER values.
func (r *ProjectsService) Get(name string) *ProjectsGetCall {
c := &ProjectsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2826,10 +2826,10 @@ type ProjectsGetAdminSdkConfigCall struct {
// (https://firebase.google.com/docs/admin/setup#initialize_the_sdk)
// command.
//
-// - name: The resource name of the FirebaseProject, in the format:
-// projects/ PROJECT_IDENTIFIER/adminSdkConfig Refer to the
-// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
-// field for details about PROJECT_IDENTIFIER values.
+// - name: The resource name of the FirebaseProject, in the format:
+// projects/ PROJECT_IDENTIFIER/adminSdkConfig Refer to the
+// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
+// field for details about PROJECT_IDENTIFIER values.
func (r *ProjectsService) GetAdminSdkConfig(name string) *ProjectsGetAdminSdkConfigCall {
c := &ProjectsGetAdminSdkConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2981,10 +2981,10 @@ type ProjectsGetAnalyticsDetailsCall struct {
// `FirebaseProject` is not yet linked to Google Analytics, then the
// response to `GetAnalyticsDetails` is `NOT_FOUND`.
//
-// - name: The resource name of the FirebaseProject, in the format:
-// projects/ PROJECT_IDENTIFIER/analyticsDetails Refer to the
-// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
-// field for details about PROJECT_IDENTIFIER values.
+// - name: The resource name of the FirebaseProject, in the format:
+// projects/ PROJECT_IDENTIFIER/analyticsDetails Refer to the
+// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
+// field for details about PROJECT_IDENTIFIER values.
func (r *ProjectsService) GetAnalyticsDetails(name string) *ProjectsGetAnalyticsDetailsCall {
c := &ProjectsGetAnalyticsDetailsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3325,14 +3325,14 @@ type ProjectsPatchCall struct {
// Patch: Updates the attributes of the specified FirebaseProject. All
// query parameters (#query-parameters) are required.
//
-// - name: The resource name of the Project, in the format:
-// projects/PROJECT_IDENTIFIER PROJECT_IDENTIFIER: the Project's
-// `ProjectNumber` (../projects#FirebaseProject.FIELDS.project_number)
-// ***(recommended)*** or its `ProjectId`
-// (../projects#FirebaseProject.FIELDS.project_id). Learn more about
-// using project identifiers in Google's AIP 2510 standard
-// (https://google.aip.dev/cloud/2510). Note that the value for
-// PROJECT_IDENTIFIER in any response body will be the `ProjectId`.
+// - name: The resource name of the Project, in the format:
+// projects/PROJECT_IDENTIFIER PROJECT_IDENTIFIER: the Project's
+// `ProjectNumber` (../projects#FirebaseProject.FIELDS.project_number)
+// ***(recommended)*** or its `ProjectId`
+// (../projects#FirebaseProject.FIELDS.project_id). Learn more about
+// using project identifiers in Google's AIP 2510 standard
+// (https://google.aip.dev/cloud/2510). Note that the value for
+// PROJECT_IDENTIFIER in any response body will be the `ProjectId`.
func (r *ProjectsService) Patch(nameid string, firebaseproject *FirebaseProject) *ProjectsPatchCall {
c := &ProjectsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -3502,11 +3502,11 @@ type ProjectsRemoveAnalyticsCall struct {
// call `RemoveAnalytics`, a project member must be an Owner for the
// `FirebaseProject`.
//
-// - parent: The resource name of the FirebaseProject to unlink from its
-// Google Analytics account, in the format:
-// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` `name`
-// (../projects#FirebaseProject.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER values.
+// - parent: The resource name of the FirebaseProject to unlink from its
+// Google Analytics account, in the format:
+// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` `name`
+// (../projects#FirebaseProject.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER values.
func (r *ProjectsService) RemoveAnalytics(parent string, removeanalyticsrequest *RemoveAnalyticsRequest) *ProjectsRemoveAnalyticsCall {
c := &ProjectsRemoveAnalyticsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3653,10 +3653,10 @@ type ProjectsSearchAppsCall struct {
// some tool use-cases require a summary of all known Apps (such as for
// App selector interfaces).
//
-// - parent: The parent FirebaseProject for which to list Apps, in the
-// format: projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject`
-// `name` (../projects#FirebaseProject.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER values.
+// - parent: The parent FirebaseProject for which to list Apps, in the
+// format: projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject`
+// `name` (../projects#FirebaseProject.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER values.
func (r *ProjectsService) SearchApps(parent string) *ProjectsSearchAppsCall {
c := &ProjectsSearchAppsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3903,11 +3903,11 @@ type ProjectsAndroidAppsCreateCall struct {
// automatically deleted after completion, so there is no need to call
// `DeleteOperation`.
//
-// - parent: The resource name of the parent FirebaseProject in which to
-// create an AndroidApp, in the format:
-// projects/PROJECT_IDENTIFIER/androidApps Refer to the
-// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
-// field for details about PROJECT_IDENTIFIER values.
+// - parent: The resource name of the parent FirebaseProject in which to
+// create an AndroidApp, in the format:
+// projects/PROJECT_IDENTIFIER/androidApps Refer to the
+// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
+// field for details about PROJECT_IDENTIFIER values.
func (r *ProjectsAndroidAppsService) Create(parent string, androidapp *AndroidApp) *ProjectsAndroidAppsCreateCall {
c := &ProjectsAndroidAppsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4050,13 +4050,13 @@ type ProjectsAndroidAppsGetCall struct {
// Get: Gets the specified AndroidApp.
//
-// - name: The resource name of the AndroidApp, in the format: projects/
-// PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique
-// identifier, the Unique Resource from Sub-Collection access pattern
-// may be used here, in the format: projects/-/androidApps/APP_ID
-// Refer to the `AndroidApp` `name`
-// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER and APP_ID values.
+// - name: The resource name of the AndroidApp, in the format: projects/
+// PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique
+// identifier, the Unique Resource from Sub-Collection access pattern
+// may be used here, in the format: projects/-/androidApps/APP_ID
+// Refer to the `AndroidApp` `name`
+// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsAndroidAppsService) Get(nameid string) *ProjectsAndroidAppsGetCall {
c := &ProjectsAndroidAppsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -4206,14 +4206,14 @@ type ProjectsAndroidAppsGetConfigCall struct {
// GetConfig: Gets the configuration artifact associated with the
// specified AndroidApp.
//
-// - name: The resource name of the AndroidApp configuration to
-// download, in the format:
-// projects/PROJECT_IDENTIFIER/androidApps/APP_ID/config Since an
-// APP_ID is a unique identifier, the Unique Resource from
-// Sub-Collection access pattern may be used here, in the format:
-// projects/-/androidApps/APP_ID Refer to the `AndroidApp` `name`
-// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER and APP_ID values.
+// - name: The resource name of the AndroidApp configuration to
+// download, in the format:
+// projects/PROJECT_IDENTIFIER/androidApps/APP_ID/config Since an
+// APP_ID is a unique identifier, the Unique Resource from
+// Sub-Collection access pattern may be used here, in the format:
+// projects/-/androidApps/APP_ID Refer to the `AndroidApp` `name`
+// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsAndroidAppsService) GetConfig(nameid string) *ProjectsAndroidAppsGetConfigCall {
c := &ProjectsAndroidAppsGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -4365,11 +4365,11 @@ type ProjectsAndroidAppsListCall struct {
// but will be a consistent view of the Apps when additional requests
// are made with a `pageToken`.
//
-// - parent: The resource name of the parent FirebaseProject for which
-// to list each associated AndroidApp, in the format:
-// projects/PROJECT_IDENTIFIER /androidApps Refer to the
-// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
-// field for details about PROJECT_IDENTIFIER values.
+// - parent: The resource name of the parent FirebaseProject for which
+// to list each associated AndroidApp, in the format:
+// projects/PROJECT_IDENTIFIER /androidApps Refer to the
+// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
+// field for details about PROJECT_IDENTIFIER values.
func (r *ProjectsAndroidAppsService) List(parent string) *ProjectsAndroidAppsListCall {
c := &ProjectsAndroidAppsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4580,18 +4580,18 @@ type ProjectsAndroidAppsPatchCall struct {
// Patch: Updates the attributes of the specified AndroidApp.
//
-// - name: The resource name of the AndroidApp, in the format: projects/
-// PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the
-// parent Project's `ProjectNumber`
-// (../projects#FirebaseProject.FIELDS.project_number)
-// ***(recommended)*** or its `ProjectId`
-// (../projects#FirebaseProject.FIELDS.project_id). Learn more about
-// using project identifiers in Google's AIP 2510 standard
-// (https://google.aip.dev/cloud/2510). Note that the value for
-// PROJECT_IDENTIFIER in any response body will be the `ProjectId`. *
-// APP_ID: the globally unique, Firebase-assigned identifier for the
-// App (see `appId`
-// (../projects.androidApps#AndroidApp.FIELDS.app_id)).
+// - name: The resource name of the AndroidApp, in the format: projects/
+// PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the
+// parent Project's `ProjectNumber`
+// (../projects#FirebaseProject.FIELDS.project_number)
+// ***(recommended)*** or its `ProjectId`
+// (../projects#FirebaseProject.FIELDS.project_id). Learn more about
+// using project identifiers in Google's AIP 2510 standard
+// (https://google.aip.dev/cloud/2510). Note that the value for
+// PROJECT_IDENTIFIER in any response body will be the `ProjectId`. *
+// APP_ID: the globally unique, Firebase-assigned identifier for the
+// App (see `appId`
+// (../projects.androidApps#AndroidApp.FIELDS.app_id)).
func (r *ProjectsAndroidAppsService) Patch(nameid string, androidapp *AndroidApp) *ProjectsAndroidAppsPatchCall {
c := &ProjectsAndroidAppsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -4748,13 +4748,13 @@ type ProjectsAndroidAppsRemoveCall struct {
// Remove: Removes the specified AndroidApp from the project.
//
-// - name: The resource name of the AndroidApp, in the format: projects/
-// PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique
-// identifier, the Unique Resource from Sub-Collection access pattern
-// may be used here, in the format: projects/-/androidApps/APP_ID
-// Refer to the AndroidApp name
-// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER and APP_ID values.
+// - name: The resource name of the AndroidApp, in the format: projects/
+// PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique
+// identifier, the Unique Resource from Sub-Collection access pattern
+// may be used here, in the format: projects/-/androidApps/APP_ID
+// Refer to the AndroidApp name
+// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsAndroidAppsService) Remove(nameid string, removeandroidapprequest *RemoveAndroidAppRequest) *ProjectsAndroidAppsRemoveCall {
c := &ProjectsAndroidAppsRemoveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -4896,14 +4896,14 @@ type ProjectsAndroidAppsShaCreateCall struct {
// Create: Adds a ShaCertificate to the specified AndroidApp.
//
-// - parent: The resource name of the parent AndroidApp to which to add
-// a ShaCertificate, in the format:
-// projects/PROJECT_IDENTIFIER/androidApps/ APP_ID Since an APP_ID is
-// a unique identifier, the Unique Resource from Sub-Collection access
-// pattern may be used here, in the format:
-// projects/-/androidApps/APP_ID Refer to the `AndroidApp` `name`
-// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER and APP_ID values.
+// - parent: The resource name of the parent AndroidApp to which to add
+// a ShaCertificate, in the format:
+// projects/PROJECT_IDENTIFIER/androidApps/ APP_ID Since an APP_ID is
+// a unique identifier, the Unique Resource from Sub-Collection access
+// pattern may be used here, in the format:
+// projects/-/androidApps/APP_ID Refer to the `AndroidApp` `name`
+// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsAndroidAppsShaService) Create(parentid string, shacertificate *ShaCertificate) *ProjectsAndroidAppsShaCreateCall {
c := &ProjectsAndroidAppsShaCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -5045,16 +5045,16 @@ type ProjectsAndroidAppsShaDeleteCall struct {
// Delete: Removes a ShaCertificate from the specified AndroidApp.
//
-// - name: The resource name of the ShaCertificate to remove from the
-// parent AndroidApp, in the format:
-// projects/PROJECT_IDENTIFIER/androidApps/APP_ID /sha/SHA_HASH Refer
-// to the `ShaCertificate` `name`
-// (../projects.androidApps.sha#ShaCertificate.FIELDS.name) field for
-// details about PROJECT_IDENTIFIER, APP_ID, and SHA_HASH values. You
-// can obtain the full resource name of the `ShaCertificate` from the
-// response of `ListShaCertificates`
-// (../projects.androidApps.sha/list) or the original
-// `CreateShaCertificate` (../projects.androidApps.sha/create).
+// - name: The resource name of the ShaCertificate to remove from the
+// parent AndroidApp, in the format:
+// projects/PROJECT_IDENTIFIER/androidApps/APP_ID /sha/SHA_HASH Refer
+// to the `ShaCertificate` `name`
+// (../projects.androidApps.sha#ShaCertificate.FIELDS.name) field for
+// details about PROJECT_IDENTIFIER, APP_ID, and SHA_HASH values. You
+// can obtain the full resource name of the `ShaCertificate` from the
+// response of `ListShaCertificates`
+// (../projects.androidApps.sha/list) or the original
+// `CreateShaCertificate` (../projects.androidApps.sha/create).
func (r *ProjectsAndroidAppsShaService) Delete(name string) *ProjectsAndroidAppsShaDeleteCall {
c := &ProjectsAndroidAppsShaDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5189,14 +5189,14 @@ type ProjectsAndroidAppsShaListCall struct {
// List: Lists the SHA-1 and SHA-256 certificates for the specified
// AndroidApp.
//
-// - parent: The resource name of the parent AndroidApp for which to
-// list each associated ShaCertificate, in the format:
-// projects/PROJECT_IDENTIFIER /androidApps/APP_ID Since an APP_ID is
-// a unique identifier, the Unique Resource from Sub-Collection access
-// pattern may be used here, in the format:
-// projects/-/androidApps/APP_ID Refer to the `AndroidApp` `name`
-// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER and APP_ID values.
+// - parent: The resource name of the parent AndroidApp for which to
+// list each associated ShaCertificate, in the format:
+// projects/PROJECT_IDENTIFIER /androidApps/APP_ID Since an APP_ID is
+// a unique identifier, the Unique Resource from Sub-Collection access
+// pattern may be used here, in the format:
+// projects/-/androidApps/APP_ID Refer to the `AndroidApp` `name`
+// (../projects.androidApps#AndroidApp.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsAndroidAppsShaService) List(parentid string) *ProjectsAndroidAppsShaListCall {
c := &ProjectsAndroidAppsShaListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -5362,13 +5362,13 @@ type ProjectsAvailableLocationsListCall struct {
// at minimum a Viewer of the Project. Calls without a specified project
// do not require any specific project permissions.
//
-// - parent: The FirebaseProject for which to list GCP resource
-// locations, in the format: projects/PROJECT_IDENTIFIER Refer to the
-// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
-// field for details about PROJECT_IDENTIFIER values. If no unique
-// project identifier is specified (that is, `projects/-`), the
-// returned list does not take into account org-specific or
-// project-specific location restrictions.
+// - parent: The FirebaseProject for which to list GCP resource
+// locations, in the format: projects/PROJECT_IDENTIFIER Refer to the
+// `FirebaseProject` `name` (../projects#FirebaseProject.FIELDS.name)
+// field for details about PROJECT_IDENTIFIER values. If no unique
+// project identifier is specified (that is, `projects/-`), the
+// returned list does not take into account org-specific or
+// project-specific location restrictions.
func (r *ProjectsAvailableLocationsService) List(parentid string) *ProjectsAvailableLocationsListCall {
c := &ProjectsAvailableLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -5595,11 +5595,11 @@ type ProjectsDefaultLocationFinalizeCall struct {
// (#request-body) are required. To call `FinalizeDefaultLocation`, a
// member must be an Owner of the Project.
//
-// - parent: The resource name of the FirebaseProject for which the
-// default GCP resource location will be set, in the format:
-// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` `name`
-// (../projects#FirebaseProject.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER values.
+// - parent: The resource name of the FirebaseProject for which the
+// default GCP resource location will be set, in the format:
+// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` `name`
+// (../projects#FirebaseProject.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER values.
func (r *ProjectsDefaultLocationService) Finalize(parent string, finalizedefaultlocationrequest *FinalizeDefaultLocationRequest) *ProjectsDefaultLocationFinalizeCall {
c := &ProjectsDefaultLocationFinalizeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5746,11 +5746,11 @@ type ProjectsIosAppsCreateCall struct {
// automatically deleted after completion, so there is no need to call
// `DeleteOperation`.
//
-// - parent: The resource name of the parent FirebaseProject in which to
-// create an IosApp, in the format:
-// projects/PROJECT_IDENTIFIER/iosApps Refer to the `FirebaseProject`
-// `name` (../projects#FirebaseProject.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER values.
+// - parent: The resource name of the parent FirebaseProject in which to
+// create an IosApp, in the format:
+// projects/PROJECT_IDENTIFIER/iosApps Refer to the `FirebaseProject`
+// `name` (../projects#FirebaseProject.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER values.
func (r *ProjectsIosAppsService) Create(parent string, iosapp *IosApp) *ProjectsIosAppsCreateCall {
c := &ProjectsIosAppsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5893,13 +5893,13 @@ type ProjectsIosAppsGetCall struct {
// Get: Gets the specified IosApp.
//
-// - name: The resource name of the IosApp, in the format:
-// projects/PROJECT_IDENTIFIER /iosApps/APP_ID Since an APP_ID is a
-// unique identifier, the Unique Resource from Sub-Collection access
-// pattern may be used here, in the format: projects/-/iosApps/APP_ID
-// Refer to the `IosApp` `name`
-// (../projects.iosApps#IosApp.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER and APP_ID values.
+// - name: The resource name of the IosApp, in the format:
+// projects/PROJECT_IDENTIFIER /iosApps/APP_ID Since an APP_ID is a
+// unique identifier, the Unique Resource from Sub-Collection access
+// pattern may be used here, in the format: projects/-/iosApps/APP_ID
+// Refer to the `IosApp` `name`
+// (../projects.iosApps#IosApp.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsIosAppsService) Get(nameid string) *ProjectsIosAppsGetCall {
c := &ProjectsIosAppsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -6049,13 +6049,13 @@ type ProjectsIosAppsGetConfigCall struct {
// GetConfig: Gets the configuration artifact associated with the
// specified IosApp.
//
-// - name: The resource name of the App configuration to download, in
-// the format: projects/PROJECT_IDENTIFIER/iosApps/APP_ID/config Since
-// an APP_ID is a unique identifier, the Unique Resource from
-// Sub-Collection access pattern may be used here, in the format:
-// projects/-/iosApps/APP_ID Refer to the `IosApp` `name`
-// (../projects.iosApps#IosApp.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER and APP_ID values.
+// - name: The resource name of the App configuration to download, in
+// the format: projects/PROJECT_IDENTIFIER/iosApps/APP_ID/config Since
+// an APP_ID is a unique identifier, the Unique Resource from
+// Sub-Collection access pattern may be used here, in the format:
+// projects/-/iosApps/APP_ID Refer to the `IosApp` `name`
+// (../projects.iosApps#IosApp.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsIosAppsService) GetConfig(nameid string) *ProjectsIosAppsGetConfigCall {
c := &ProjectsIosAppsGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -6207,11 +6207,11 @@ type ProjectsIosAppsListCall struct {
// but will be a consistent view of the Apps when additional requests
// are made with a `pageToken`.
//
-// - parent: The resource name of the parent FirebaseProject for which
-// to list each associated IosApp, in the format:
-// projects/PROJECT_IDENTIFIER/iosApps Refer to the `FirebaseProject`
-// `name` (../projects#FirebaseProject.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER values.
+// - parent: The resource name of the parent FirebaseProject for which
+// to list each associated IosApp, in the format:
+// projects/PROJECT_IDENTIFIER/iosApps Refer to the `FirebaseProject`
+// `name` (../projects#FirebaseProject.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER values.
func (r *ProjectsIosAppsService) List(parent string) *ProjectsIosAppsListCall {
c := &ProjectsIosAppsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6422,17 +6422,17 @@ type ProjectsIosAppsPatchCall struct {
// Patch: Updates the attributes of the specified IosApp.
//
-// - name: The resource name of the IosApp, in the format:
-// projects/PROJECT_IDENTIFIER /iosApps/APP_ID * PROJECT_IDENTIFIER:
-// the parent Project's `ProjectNumber`
-// (../projects#FirebaseProject.FIELDS.project_number)
-// ***(recommended)*** or its `ProjectId`
-// (../projects#FirebaseProject.FIELDS.project_id). Learn more about
-// using project identifiers in Google's AIP 2510 standard
-// (https://google.aip.dev/cloud/2510). Note that the value for
-// PROJECT_IDENTIFIER in any response body will be the `ProjectId`. *
-// APP_ID: the globally unique, Firebase-assigned identifier for the
-// App (see `appId` (../projects.iosApps#IosApp.FIELDS.app_id)).
+// - name: The resource name of the IosApp, in the format:
+// projects/PROJECT_IDENTIFIER /iosApps/APP_ID * PROJECT_IDENTIFIER:
+// the parent Project's `ProjectNumber`
+// (../projects#FirebaseProject.FIELDS.project_number)
+// ***(recommended)*** or its `ProjectId`
+// (../projects#FirebaseProject.FIELDS.project_id). Learn more about
+// using project identifiers in Google's AIP 2510 standard
+// (https://google.aip.dev/cloud/2510). Note that the value for
+// PROJECT_IDENTIFIER in any response body will be the `ProjectId`. *
+// APP_ID: the globally unique, Firebase-assigned identifier for the
+// App (see `appId` (../projects.iosApps#IosApp.FIELDS.app_id)).
func (r *ProjectsIosAppsService) Patch(nameid string, iosapp *IosApp) *ProjectsIosAppsPatchCall {
c := &ProjectsIosAppsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -6589,12 +6589,12 @@ type ProjectsIosAppsRemoveCall struct {
// Remove: Removes the specified IosApp from the project.
//
-// - name: The resource name of the IosApp, in the format: projects/
-// PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique
-// identifier, the Unique Resource from Sub-Collection access pattern
-// may be used here, in the format: projects/-/iosApps/APP_ID Refer to
-// the IosApp name (../projects.iosApps#IosApp.FIELDS.name) field for
-// details about PROJECT_IDENTIFIER and APP_ID values.
+// - name: The resource name of the IosApp, in the format: projects/
+// PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique
+// identifier, the Unique Resource from Sub-Collection access pattern
+// may be used here, in the format: projects/-/iosApps/APP_ID Refer to
+// the IosApp name (../projects.iosApps#IosApp.FIELDS.name) field for
+// details about PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsIosAppsService) Remove(nameid string, removeiosapprequest *RemoveIosAppRequest) *ProjectsIosAppsRemoveCall {
c := &ProjectsIosAppsRemoveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -6740,11 +6740,11 @@ type ProjectsWebAppsCreateCall struct {
// automatically deleted after completion, so there is no need to call
// `DeleteOperation`.
//
-// - parent: The resource name of the parent FirebaseProject in which to
-// create a WebApp, in the format: projects/PROJECT_IDENTIFIER/webApps
-// Refer to the `FirebaseProject` `name`
-// (../projects#FirebaseProject.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER values.
+// - parent: The resource name of the parent FirebaseProject in which to
+// create a WebApp, in the format: projects/PROJECT_IDENTIFIER/webApps
+// Refer to the `FirebaseProject` `name`
+// (../projects#FirebaseProject.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER values.
func (r *ProjectsWebAppsService) Create(parent string, webapp *WebApp) *ProjectsWebAppsCreateCall {
c := &ProjectsWebAppsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6887,13 +6887,13 @@ type ProjectsWebAppsGetCall struct {
// Get: Gets the specified WebApp.
//
-// - name: The resource name of the WebApp, in the format:
-// projects/PROJECT_IDENTIFIER /webApps/APP_ID Since an APP_ID is a
-// unique identifier, the Unique Resource from Sub-Collection access
-// pattern may be used here, in the format: projects/-/webApps/APP_ID
-// Refer to the `WebApp` `name`
-// (../projects.webApps#WebApp.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER and APP_ID values.
+// - name: The resource name of the WebApp, in the format:
+// projects/PROJECT_IDENTIFIER /webApps/APP_ID Since an APP_ID is a
+// unique identifier, the Unique Resource from Sub-Collection access
+// pattern may be used here, in the format: projects/-/webApps/APP_ID
+// Refer to the `WebApp` `name`
+// (../projects.webApps#WebApp.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsWebAppsService) Get(nameid string) *ProjectsWebAppsGetCall {
c := &ProjectsWebAppsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -7043,13 +7043,13 @@ type ProjectsWebAppsGetConfigCall struct {
// GetConfig: Gets the configuration artifact associated with the
// specified WebApp.
//
-// - name: The resource name of the WebApp configuration to download, in
-// the format: projects/PROJECT_IDENTIFIER/webApps/APP_ID/config Since
-// an APP_ID is a unique identifier, the Unique Resource from
-// Sub-Collection access pattern may be used here, in the format:
-// projects/-/webApps/APP_ID Refer to the `WebApp` `name`
-// (../projects.webApps#WebApp.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER and APP_ID values.
+// - name: The resource name of the WebApp configuration to download, in
+// the format: projects/PROJECT_IDENTIFIER/webApps/APP_ID/config Since
+// an APP_ID is a unique identifier, the Unique Resource from
+// Sub-Collection access pattern may be used here, in the format:
+// projects/-/webApps/APP_ID Refer to the `WebApp` `name`
+// (../projects.webApps#WebApp.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsWebAppsService) GetConfig(nameid string) *ProjectsWebAppsGetConfigCall {
c := &ProjectsWebAppsGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -7201,11 +7201,11 @@ type ProjectsWebAppsListCall struct {
// but will be a consistent view of the Apps when additional requests
// are made with a `pageToken`.
//
-// - parent: The resource name of the parent FirebaseProject for which
-// to list each associated WebApp, in the format:
-// projects/PROJECT_IDENTIFIER/webApps Refer to the `FirebaseProject`
-// `name` (../projects#FirebaseProject.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER values.
+// - parent: The resource name of the parent FirebaseProject for which
+// to list each associated WebApp, in the format:
+// projects/PROJECT_IDENTIFIER/webApps Refer to the `FirebaseProject`
+// `name` (../projects#FirebaseProject.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER values.
func (r *ProjectsWebAppsService) List(parent string) *ProjectsWebAppsListCall {
c := &ProjectsWebAppsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7416,17 +7416,17 @@ type ProjectsWebAppsPatchCall struct {
// Patch: Updates the attributes of the specified WebApp.
//
-// - name: The resource name of the WebApp, in the format:
-// projects/PROJECT_IDENTIFIER /webApps/APP_ID * PROJECT_IDENTIFIER:
-// the parent Project's `ProjectNumber`
-// (../projects#FirebaseProject.FIELDS.project_number)
-// ***(recommended)*** or its `ProjectId`
-// (../projects#FirebaseProject.FIELDS.project_id). Learn more about
-// using project identifiers in Google's AIP 2510 standard
-// (https://google.aip.dev/cloud/2510). Note that the value for
-// PROJECT_IDENTIFIER in any response body will be the `ProjectId`. *
-// APP_ID: the globally unique, Firebase-assigned identifier for the
-// App (see `appId` (../projects.webApps#WebApp.FIELDS.app_id)).
+// - name: The resource name of the WebApp, in the format:
+// projects/PROJECT_IDENTIFIER /webApps/APP_ID * PROJECT_IDENTIFIER:
+// the parent Project's `ProjectNumber`
+// (../projects#FirebaseProject.FIELDS.project_number)
+// ***(recommended)*** or its `ProjectId`
+// (../projects#FirebaseProject.FIELDS.project_id). Learn more about
+// using project identifiers in Google's AIP 2510 standard
+// (https://google.aip.dev/cloud/2510). Note that the value for
+// PROJECT_IDENTIFIER in any response body will be the `ProjectId`. *
+// APP_ID: the globally unique, Firebase-assigned identifier for the
+// App (see `appId` (../projects.webApps#WebApp.FIELDS.app_id)).
func (r *ProjectsWebAppsService) Patch(nameid string, webapp *WebApp) *ProjectsWebAppsPatchCall {
c := &ProjectsWebAppsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -7583,12 +7583,12 @@ type ProjectsWebAppsRemoveCall struct {
// Remove: Removes the specified WebApp from the project.
//
-// - name: The resource name of the WebApp, in the format: projects/
-// PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique
-// identifier, the Unique Resource from Sub-Collection access pattern
-// may be used here, in the format: projects/-/webApps/APP_ID Refer to
-// the WebApp name (../projects.webApps#WebApp.FIELDS.name) field for
-// details about PROJECT_IDENTIFIER and APP_ID values.
+// - name: The resource name of the WebApp, in the format: projects/
+// PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique
+// identifier, the Unique Resource from Sub-Collection access pattern
+// may be used here, in the format: projects/-/webApps/APP_ID Refer to
+// the WebApp name (../projects.webApps#WebApp.FIELDS.name) field for
+// details about PROJECT_IDENTIFIER and APP_ID values.
func (r *ProjectsWebAppsService) Remove(nameid string, removewebapprequest *RemoveWebAppRequest) *ProjectsWebAppsRemoveCall {
c := &ProjectsWebAppsRemoveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
diff --git a/firebaseappcheck/v1/firebaseappcheck-gen.go b/firebaseappcheck/v1/firebaseappcheck-gen.go
index 59fb5e493f7..9a62f96432f 100644
--- a/firebaseappcheck/v1/firebaseappcheck-gen.go
+++ b/firebaseappcheck/v1/firebaseappcheck-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://firebase.google.com/docs/app-check
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebaseappcheck/v1"
-// ...
-// ctx := context.Background()
-// firebaseappcheckService, err := firebaseappcheck.NewService(ctx)
+// import "google.golang.org/api/firebaseappcheck/v1"
+// ...
+// ctx := context.Background()
+// firebaseappcheckService, err := firebaseappcheck.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithScopes(firebaseappcheck.FirebaseScope))
+// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithScopes(firebaseappcheck.FirebaseScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebaseappcheck // import "google.golang.org/api/firebaseappcheck/v1"
@@ -1688,8 +1688,8 @@ type JwksGetCall struct {
// Check tokens. Exactly one of the public keys in the returned set will
// successfully validate any App Check token that is currently valid.
//
-// - name: The relative resource name to the public JWK set. Must always
-// be exactly the string `jwks`.
+// - name: The relative resource name to the public JWK set. Must always
+// be exactly the string `jwks`.
func (r *JwksService) Get(name string) *JwksGetCall {
c := &JwksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1839,11 +1839,11 @@ type ProjectsAppsExchangeAppAttestAssertionCall struct {
// artifact previously obtained from ExchangeAppAttestAttestation and
// verifies those with Apple. If valid, returns an AppCheckToken.
//
-// - app: The relative resource name of the iOS app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the iOS app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeAppAttestAssertion(appid string, googlefirebaseappcheckv1exchangeappattestassertionrequest *GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest) *ProjectsAppsExchangeAppAttestAssertionCall {
c := &ProjectsAppsExchangeAppAttestAssertionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -1992,11 +1992,11 @@ type ProjectsAppsExchangeAppAttestAttestationCall struct {
// convenience and performance, this method's response object will also
// contain an AppCheckToken (if the verification is successful).
//
-// - app: The relative resource name of the iOS app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the iOS app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeAppAttestAttestation(appid string, googlefirebaseappcheckv1exchangeappattestattestationrequest *GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest) *ProjectsAppsExchangeAppAttestAttestationCall {
c := &ProjectsAppsExchangeAppAttestAttestationCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2144,11 +2144,11 @@ type ProjectsAppsExchangeCustomTokenCall struct {
// project's Admin SDK service account credentials. If valid, returns an
// AppCheckToken.
//
-// - app: The relative resource name of the app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeCustomToken(appid string, googlefirebaseappcheckv1exchangecustomtokenrequest *GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest) *ProjectsAppsExchangeCustomTokenCall {
c := &ProjectsAppsExchangeCustomTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2295,11 +2295,11 @@ type ProjectsAppsExchangeDebugTokenCall struct {
// AppCheckToken. Note that a restrictive quota is enforced on this
// method to prevent accidental exposure of the app to abuse.
//
-// - app: The relative resource name of the app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeDebugToken(appid string, googlefirebaseappcheckv1exchangedebugtokenrequest *GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest) *ProjectsAppsExchangeDebugTokenCall {
c := &ProjectsAppsExchangeDebugTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2446,11 +2446,11 @@ type ProjectsAppsExchangeDeviceCheckTokenCall struct {
// issued by DeviceCheck, and attempts to validate it with Apple. If
// valid, returns an AppCheckToken.
//
-// - app: The relative resource name of the iOS app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the iOS app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeDeviceCheckToken(appid string, googlefirebaseappcheckv1exchangedevicechecktokenrequest *GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest) *ProjectsAppsExchangeDeviceCheckTokenCall {
c := &ProjectsAppsExchangeDeviceCheckTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2597,11 +2597,11 @@ type ProjectsAppsExchangePlayIntegrityTokenCall struct {
// (https://developer.android.com/google/play/integrity/verdict#decrypt-verify).
// If valid, returns an AppCheckToken.
//
-// - app: The relative resource name of the Android app, in the format:
-// ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the Android app, in the format:
+// ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangePlayIntegrityToken(appid string, googlefirebaseappcheckv1exchangeplayintegritytokenrequest *GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest) *ProjectsAppsExchangePlayIntegrityTokenCall {
c := &ProjectsAppsExchangePlayIntegrityTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2748,11 +2748,11 @@ type ProjectsAppsExchangeRecaptchaEnterpriseTokenCall struct {
// (https://cloud.google.com/recaptcha-enterprise/docs/create-assessment#retrieve_token).
// If valid, returns an AppCheckToken.
//
-// - app: The relative resource name of the web app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the web app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeRecaptchaEnterpriseToken(appid string, googlefirebaseappcheckv1exchangerecaptchaenterprisetokenrequest *GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall {
c := &ProjectsAppsExchangeRecaptchaEnterpriseTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2898,11 +2898,11 @@ type ProjectsAppsExchangeRecaptchaV3TokenCall struct {
// (https://developers.google.com/recaptcha/docs/v3). If valid, returns
// an AppCheckToken.
//
-// - app: The relative resource name of the web app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the web app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeRecaptchaV3Token(appid string, googlefirebaseappcheckv1exchangerecaptchav3tokenrequest *GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest) *ProjectsAppsExchangeRecaptchaV3TokenCall {
c := &ProjectsAppsExchangeRecaptchaV3TokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3048,11 +3048,11 @@ type ProjectsAppsExchangeSafetyNetTokenCall struct {
// (https://developer.android.com/training/safetynet/attestation#request-attestation-step).
// If valid, returns an AppCheckToken.
//
-// - app: The relative resource name of the Android app, in the format:
-// ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the Android app, in the format:
+// ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeSafetyNetToken(appid string, googlefirebaseappcheckv1exchangesafetynettokenrequest *GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest) *ProjectsAppsExchangeSafetyNetTokenCall {
c := &ProjectsAppsExchangeSafetyNetTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3199,11 +3199,11 @@ type ProjectsAppsGenerateAppAttestChallengeCall struct {
// ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A
// challenge should not be reused for multiple calls.
//
-// - app: The relative resource name of the iOS app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the iOS app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) GenerateAppAttestChallenge(appid string, googlefirebaseappcheckv1generateappattestchallengerequest *GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest) *ProjectsAppsGenerateAppAttestChallengeCall {
c := &ProjectsAppsGenerateAppAttestChallengeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3354,11 +3354,11 @@ type ProjectsAppsGeneratePlayIntegrityChallengeCall struct {
// verify the presence and validity of the challenge. A challenge should
// not be reused for multiple calls.
//
-// - app: The relative resource name of the app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) GeneratePlayIntegrityChallenge(appid string, googlefirebaseappcheckv1generateplayintegritychallengerequest *GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest) *ProjectsAppsGeneratePlayIntegrityChallengeCall {
c := &ProjectsAppsGeneratePlayIntegrityChallengeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3505,10 +3505,10 @@ type ProjectsAppsAppAttestConfigBatchGetCall struct {
// BatchGet: Atomically gets the AppAttestConfigs for the specified list
// of apps.
//
-// - parent: The parent project name shared by all AppAttestConfigs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all AppAttestConfigs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsAppAttestConfigService) BatchGet(parent string) *ProjectsAppsAppAttestConfigBatchGetCall {
c := &ProjectsAppsAppAttestConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3673,9 +3673,9 @@ type ProjectsAppsAppAttestConfigGetCall struct {
// Get: Gets the AppAttestConfig for the specified app.
//
-// - name: The relative resource name of the AppAttestConfig, in the
-// format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig
-// ```.
+// - name: The relative resource name of the AppAttestConfig, in the
+// format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig
+// ```.
func (r *ProjectsAppsAppAttestConfigService) Get(name string) *ProjectsAppsAppAttestConfigGetCall {
c := &ProjectsAppsAppAttestConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3825,9 +3825,9 @@ type ProjectsAppsAppAttestConfigPatchCall struct {
// configuration is incomplete or invalid, the app will be unable to
// exchange AppAttest tokens for App Check tokens.
//
-// - name: The relative resource name of the App Attest configuration
-// object, in the format: ```
-// projects/{project_number}/apps/{app_id}/appAttestConfig ```.
+// - name: The relative resource name of the App Attest configuration
+// object, in the format: ```
+// projects/{project_number}/apps/{app_id}/appAttestConfig ```.
func (r *ProjectsAppsAppAttestConfigService) Patch(name string, googlefirebaseappcheckv1appattestconfig *GoogleFirebaseAppcheckV1AppAttestConfig) *ProjectsAppsAppAttestConfigPatchCall {
c := &ProjectsAppsAppAttestConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3989,9 +3989,9 @@ type ProjectsAppsDebugTokensCreateCall struct {
// using DeleteDebugToken. Each app can have a maximum of 20 debug
// tokens.
//
-// - parent: The relative resource name of the parent app in which the
-// specified DebugToken will be created, in the format: ```
-// projects/{project_number}/apps/{app_id} ```.
+// - parent: The relative resource name of the parent app in which the
+// specified DebugToken will be created, in the format: ```
+// projects/{project_number}/apps/{app_id} ```.
func (r *ProjectsAppsDebugTokensService) Create(parent string, googlefirebaseappcheckv1debugtoken *GoogleFirebaseAppcheckV1DebugToken) *ProjectsAppsDebugTokensCreateCall {
c := &ProjectsAppsDebugTokensCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4137,10 +4137,10 @@ type ProjectsAppsDebugTokensDeleteCall struct {
// when you suspect the secret `token` has been compromised or when you
// no longer need the debug token.
//
-// - name: The relative resource name of the DebugToken to delete, in
-// the format: ```
-// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
-// ```.
+// - name: The relative resource name of the DebugToken to delete, in
+// the format: ```
+// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
+// ```.
func (r *ProjectsAppsDebugTokensService) Delete(name string) *ProjectsAppsDebugTokensDeleteCall {
c := &ProjectsAppsDebugTokensDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4275,10 +4275,10 @@ type ProjectsAppsDebugTokensGetCall struct {
// Get: Gets the specified DebugToken. For security reasons, the `token`
// field is never populated in the response.
//
-// - name: The relative resource name of the debug token, in the format:
-// ```
-// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
-// ```.
+// - name: The relative resource name of the debug token, in the format:
+// ```
+// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
+// ```.
func (r *ProjectsAppsDebugTokensService) Get(name string) *ProjectsAppsDebugTokensGetCall {
c := &ProjectsAppsDebugTokensGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4427,9 +4427,9 @@ type ProjectsAppsDebugTokensListCall struct {
// List: Lists all DebugTokens for the specified app. For security
// reasons, the `token` field is never populated in the response.
//
-// - parent: The relative resource name of the parent app for which to
-// list each associated DebugToken, in the format: ```
-// projects/{project_number}/apps/{app_id} ```.
+// - parent: The relative resource name of the parent app for which to
+// list each associated DebugToken, in the format: ```
+// projects/{project_number}/apps/{app_id} ```.
func (r *ProjectsAppsDebugTokensService) List(parent string) *ProjectsAppsDebugTokensListCall {
c := &ProjectsAppsDebugTokensListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4523,7 +4523,9 @@ func (c *ProjectsAppsDebugTokensListCall) doRequest(alt string) (*http.Response,
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleFirebaseAppcheckV1ListDebugTokensResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -4633,10 +4635,10 @@ type ProjectsAppsDebugTokensPatchCall struct {
// `token` field cannot be updated, nor will it be populated in the
// response, but you can revoke the debug token using DeleteDebugToken.
//
-// - name: The relative resource name of the debug token, in the format:
-// ```
-// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
-// ```.
+// - name: The relative resource name of the debug token, in the format:
+// ```
+// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
+// ```.
func (r *ProjectsAppsDebugTokensService) Patch(name string, googlefirebaseappcheckv1debugtoken *GoogleFirebaseAppcheckV1DebugToken) *ProjectsAppsDebugTokensPatchCall {
c := &ProjectsAppsDebugTokensPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4796,10 +4798,10 @@ type ProjectsAppsDeviceCheckConfigBatchGetCall struct {
// list of apps. For security reasons, the `private_key` field is never
// populated in the response.
//
-// - parent: The parent project name shared by all DeviceCheckConfigs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all DeviceCheckConfigs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsDeviceCheckConfigService) BatchGet(parent string) *ProjectsAppsDeviceCheckConfigBatchGetCall {
c := &ProjectsAppsDeviceCheckConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4965,9 +4967,9 @@ type ProjectsAppsDeviceCheckConfigGetCall struct {
// Get: Gets the DeviceCheckConfig for the specified app. For security
// reasons, the `private_key` field is never populated in the response.
//
-// - name: The relative resource name of the DeviceCheckConfig, in the
-// format: ```
-// projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
+// - name: The relative resource name of the DeviceCheckConfig, in the
+// format: ```
+// projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
func (r *ProjectsAppsDeviceCheckConfigService) Get(name string) *ProjectsAppsDeviceCheckConfigGetCall {
c := &ProjectsAppsDeviceCheckConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5119,9 +5121,9 @@ type ProjectsAppsDeviceCheckConfigPatchCall struct {
// to exchange DeviceCheck tokens for App Check tokens. For security
// reasons, the `private_key` field is never populated in the response.
//
-// - name: The relative resource name of the DeviceCheck configuration
-// object, in the format: ```
-// projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
+// - name: The relative resource name of the DeviceCheck configuration
+// object, in the format: ```
+// projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
func (r *ProjectsAppsDeviceCheckConfigService) Patch(name string, googlefirebaseappcheckv1devicecheckconfig *GoogleFirebaseAppcheckV1DeviceCheckConfig) *ProjectsAppsDeviceCheckConfigPatchCall {
c := &ProjectsAppsDeviceCheckConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5281,10 +5283,10 @@ type ProjectsAppsPlayIntegrityConfigBatchGetCall struct {
// BatchGet: Atomically gets the PlayIntegrityConfigs for the specified
// list of apps.
//
-// - parent: The parent project name shared by all PlayIntegrityConfigs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all PlayIntegrityConfigs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsPlayIntegrityConfigService) BatchGet(parent string) *ProjectsAppsPlayIntegrityConfigBatchGetCall {
c := &ProjectsAppsPlayIntegrityConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5449,9 +5451,9 @@ type ProjectsAppsPlayIntegrityConfigGetCall struct {
// Get: Gets the PlayIntegrityConfig for the specified app.
//
-// - name: The relative resource name of the PlayIntegrityConfig, in the
-// format: ```
-// projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
+// - name: The relative resource name of the PlayIntegrityConfig, in the
+// format: ```
+// projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
func (r *ProjectsAppsPlayIntegrityConfigService) Get(name string) *ProjectsAppsPlayIntegrityConfigGetCall {
c := &ProjectsAppsPlayIntegrityConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5602,9 +5604,9 @@ type ProjectsAppsPlayIntegrityConfigPatchCall struct {
// this configuration is incomplete or invalid, the app will be unable
// to exchange Play Integrity tokens for App Check tokens.
//
-// - name: The relative resource name of the Play Integrity
-// configuration object, in the format: ```
-// projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
+// - name: The relative resource name of the Play Integrity
+// configuration object, in the format: ```
+// projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
func (r *ProjectsAppsPlayIntegrityConfigService) Patch(name string, googlefirebaseappcheckv1playintegrityconfig *GoogleFirebaseAppcheckV1PlayIntegrityConfig) *ProjectsAppsPlayIntegrityConfigPatchCall {
c := &ProjectsAppsPlayIntegrityConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5764,11 +5766,11 @@ type ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall struct {
// BatchGet: Atomically gets the RecaptchaEnterpriseConfigs for the
// specified list of apps.
//
-// - parent: The parent project name shared by all
-// RecaptchaEnterpriseConfigs being retrieved, in the format ```
-// projects/{project_number} ``` The parent collection in the `name`
-// field of any resource being retrieved must match this field, or the
-// entire batch fails.
+// - parent: The parent project name shared by all
+// RecaptchaEnterpriseConfigs being retrieved, in the format ```
+// projects/{project_number} ``` The parent collection in the `name`
+// field of any resource being retrieved must match this field, or the
+// entire batch fails.
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall {
c := &ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5934,10 +5936,10 @@ type ProjectsAppsRecaptchaEnterpriseConfigGetCall struct {
// Get: Gets the RecaptchaEnterpriseConfig for the specified app.
//
-// - name: The relative resource name of the RecaptchaEnterpriseConfig,
-// in the format: ```
-// projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig
-// ```.
+// - name: The relative resource name of the RecaptchaEnterpriseConfig,
+// in the format: ```
+// projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig
+// ```.
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Get(name string) *ProjectsAppsRecaptchaEnterpriseConfigGetCall {
c := &ProjectsAppsRecaptchaEnterpriseConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6088,10 +6090,10 @@ type ProjectsAppsRecaptchaEnterpriseConfigPatchCall struct {
// While this configuration is incomplete or invalid, the app will be
// unable to exchange reCAPTCHA Enterprise tokens for App Check tokens.
//
-// - name: The relative resource name of the reCAPTCHA Enterprise
-// configuration object, in the format: ```
-// projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig
-// ```.
+// - name: The relative resource name of the reCAPTCHA Enterprise
+// configuration object, in the format: ```
+// projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig
+// ```.
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Patch(name string, googlefirebaseappcheckv1recaptchaenterpriseconfig *GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall {
c := &ProjectsAppsRecaptchaEnterpriseConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6252,10 +6254,10 @@ type ProjectsAppsRecaptchaV3ConfigBatchGetCall struct {
// list of apps. For security reasons, the `site_secret` field is never
// populated in the response.
//
-// - parent: The parent project name shared by all RecaptchaV3Configs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all RecaptchaV3Configs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsRecaptchaV3ConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaV3ConfigBatchGetCall {
c := &ProjectsAppsRecaptchaV3ConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6421,9 +6423,9 @@ type ProjectsAppsRecaptchaV3ConfigGetCall struct {
// Get: Gets the RecaptchaV3Config for the specified app. For security
// reasons, the `site_secret` field is never populated in the response.
//
-// - name: The relative resource name of the RecaptchaV3Config, in the
-// format: ```
-// projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
+// - name: The relative resource name of the RecaptchaV3Config, in the
+// format: ```
+// projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
func (r *ProjectsAppsRecaptchaV3ConfigService) Get(name string) *ProjectsAppsRecaptchaV3ConfigGetCall {
c := &ProjectsAppsRecaptchaV3ConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6575,9 +6577,9 @@ type ProjectsAppsRecaptchaV3ConfigPatchCall struct {
// to exchange reCAPTCHA tokens for App Check tokens. For security
// reasons, the `site_secret` field is never populated in the response.
//
-// - name: The relative resource name of the reCAPTCHA v3 configuration
-// object, in the format: ```
-// projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
+// - name: The relative resource name of the reCAPTCHA v3 configuration
+// object, in the format: ```
+// projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
func (r *ProjectsAppsRecaptchaV3ConfigService) Patch(name string, googlefirebaseappcheckv1recaptchav3config *GoogleFirebaseAppcheckV1RecaptchaV3Config) *ProjectsAppsRecaptchaV3ConfigPatchCall {
c := &ProjectsAppsRecaptchaV3ConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6737,10 +6739,10 @@ type ProjectsAppsSafetyNetConfigBatchGetCall struct {
// BatchGet: Atomically gets the SafetyNetConfigs for the specified list
// of apps.
//
-// - parent: The parent project name shared by all SafetyNetConfigs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all SafetyNetConfigs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsSafetyNetConfigService) BatchGet(parent string) *ProjectsAppsSafetyNetConfigBatchGetCall {
c := &ProjectsAppsSafetyNetConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6905,9 +6907,9 @@ type ProjectsAppsSafetyNetConfigGetCall struct {
// Get: Gets the SafetyNetConfig for the specified app.
//
-// - name: The relative resource name of the SafetyNetConfig, in the
-// format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig
-// ```.
+// - name: The relative resource name of the SafetyNetConfig, in the
+// format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig
+// ```.
func (r *ProjectsAppsSafetyNetConfigService) Get(name string) *ProjectsAppsSafetyNetConfigGetCall {
c := &ProjectsAppsSafetyNetConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7057,9 +7059,9 @@ type ProjectsAppsSafetyNetConfigPatchCall struct {
// configuration is incomplete or invalid, the app will be unable to
// exchange SafetyNet tokens for App Check tokens.
//
-// - name: The relative resource name of the SafetyNet configuration
-// object, in the format: ```
-// projects/{project_number}/apps/{app_id}/safetyNetConfig ```.
+// - name: The relative resource name of the SafetyNet configuration
+// object, in the format: ```
+// projects/{project_number}/apps/{app_id}/safetyNetConfig ```.
func (r *ProjectsAppsSafetyNetConfigService) Patch(name string, googlefirebaseappcheckv1safetynetconfig *GoogleFirebaseAppcheckV1SafetyNetConfig) *ProjectsAppsSafetyNetConfigPatchCall {
c := &ProjectsAppsSafetyNetConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7217,11 +7219,11 @@ type ProjectsServicesBatchUpdateCall struct {
// BatchUpdate: Atomically updates the specified Service configurations.
//
-// - parent: The parent project name shared by all Service
-// configurations being updated, in the format ```
-// projects/{project_number} ``` The parent collection in the `name`
-// field of any resource being updated must match this field, or the
-// entire batch fails.
+// - parent: The parent project name shared by all Service
+// configurations being updated, in the format ```
+// projects/{project_number} ``` The parent collection in the `name`
+// field of any resource being updated must match this field, or the
+// entire batch fails.
func (r *ProjectsServicesService) BatchUpdate(parent string, googlefirebaseappcheckv1batchupdateservicesrequest *GoogleFirebaseAppcheckV1BatchUpdateServicesRequest) *ProjectsServicesBatchUpdateCall {
c := &ProjectsServicesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7366,13 +7368,13 @@ type ProjectsServicesGetCall struct {
// Get: Gets the Service configuration for the specified service name.
//
-// - name: The relative resource name of the Service to retrieve, in the
-// format: ``` projects/{project_number}/services/{service_id} ```
-// Note that the `service_id` element must be a supported service ID.
-// Currently, the following service IDs are supported: *
-// `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
-// `firebasedatabase.googleapis.com` (Firebase Realtime Database) *
-// `firestore.googleapis.com` (Cloud Firestore).
+// - name: The relative resource name of the Service to retrieve, in the
+// format: ``` projects/{project_number}/services/{service_id} ```
+// Note that the `service_id` element must be a supported service ID.
+// Currently, the following service IDs are supported: *
+// `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
+// `firebasedatabase.googleapis.com` (Firebase Realtime Database) *
+// `firestore.googleapis.com` (Cloud Firestore).
func (r *ProjectsServicesService) Get(name string) *ProjectsServicesGetCall {
c := &ProjectsServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7521,9 +7523,9 @@ type ProjectsServicesListCall struct {
// Only Services which were explicitly configured using UpdateService or
// BatchUpdateServices will be returned.
//
-// - parent: The relative resource name of the parent project for which
-// to list each associated Service, in the format: ```
-// projects/{project_number} ```.
+// - parent: The relative resource name of the parent project for which
+// to list each associated Service, in the format: ```
+// projects/{project_number} ```.
func (r *ProjectsServicesService) List(parent string) *ProjectsServicesListCall {
c := &ProjectsServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7725,14 +7727,14 @@ type ProjectsServicesPatchCall struct {
// Patch: Updates the specified Service configuration.
//
-// - name: The relative resource name of the service configuration
-// object, in the format: ```
-// projects/{project_number}/services/{service_id} ``` Note that the
-// `service_id` element must be a supported service ID. Currently, the
-// following service IDs are supported: *
-// `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
-// `firebasedatabase.googleapis.com` (Firebase Realtime Database) *
-// `firestore.googleapis.com` (Cloud Firestore).
+// - name: The relative resource name of the service configuration
+// object, in the format: ```
+// projects/{project_number}/services/{service_id} ``` Note that the
+// `service_id` element must be a supported service ID. Currently, the
+// following service IDs are supported: *
+// `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
+// `firebasedatabase.googleapis.com` (Firebase Realtime Database) *
+// `firestore.googleapis.com` (Cloud Firestore).
func (r *ProjectsServicesService) Patch(name string, googlefirebaseappcheckv1service *GoogleFirebaseAppcheckV1Service) *ProjectsServicesPatchCall {
c := &ProjectsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/firebaseappcheck/v1beta/firebaseappcheck-gen.go b/firebaseappcheck/v1beta/firebaseappcheck-gen.go
index a7a63ba5170..0c0cb8452b3 100644
--- a/firebaseappcheck/v1beta/firebaseappcheck-gen.go
+++ b/firebaseappcheck/v1beta/firebaseappcheck-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://firebase.google.com/docs/app-check
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebaseappcheck/v1beta"
-// ...
-// ctx := context.Background()
-// firebaseappcheckService, err := firebaseappcheck.NewService(ctx)
+// import "google.golang.org/api/firebaseappcheck/v1beta"
+// ...
+// ctx := context.Background()
+// firebaseappcheckService, err := firebaseappcheck.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithScopes(firebaseappcheck.FirebaseScope))
+// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithScopes(firebaseappcheck.FirebaseScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebaseappcheck // import "google.golang.org/api/firebaseappcheck/v1beta"
@@ -1866,8 +1866,8 @@ type JwksGetCall struct {
// Check tokens. Exactly one of the public keys in the returned set will
// successfully validate any App Check token that is currently valid.
//
-// - name: The relative resource name to the public JWK set. Must always
-// be exactly the string `jwks`.
+// - name: The relative resource name to the public JWK set. Must always
+// be exactly the string `jwks`.
func (r *JwksService) Get(name string) *JwksGetCall {
c := &JwksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2018,11 +2018,11 @@ type ProjectsAppsExchangeAppAttestAssertionCall struct {
// artifact previously obtained from ExchangeAppAttestAttestation and
// verifies those with Apple. If valid, returns an AppCheckToken.
//
-// - app: The relative resource name of the iOS app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the iOS app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeAppAttestAssertion(appid string, googlefirebaseappcheckv1betaexchangeappattestassertionrequest *GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest) *ProjectsAppsExchangeAppAttestAssertionCall {
c := &ProjectsAppsExchangeAppAttestAssertionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2172,11 +2172,11 @@ type ProjectsAppsExchangeAppAttestAttestationCall struct {
// convenience and performance, this method's response object will also
// contain an AppCheckToken (if the verification is successful).
//
-// - app: The relative resource name of the iOS app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the iOS app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeAppAttestAttestation(appid string, googlefirebaseappcheckv1betaexchangeappattestattestationrequest *GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest) *ProjectsAppsExchangeAppAttestAttestationCall {
c := &ProjectsAppsExchangeAppAttestAttestationCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2324,11 +2324,11 @@ type ProjectsAppsExchangeCustomTokenCall struct {
// project's Admin SDK service account credentials. If valid, returns an
// AppCheckToken.
//
-// - app: The relative resource name of the app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeCustomToken(appid string, googlefirebaseappcheckv1betaexchangecustomtokenrequest *GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest) *ProjectsAppsExchangeCustomTokenCall {
c := &ProjectsAppsExchangeCustomTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2476,11 +2476,11 @@ type ProjectsAppsExchangeDebugTokenCall struct {
// AppCheckToken. Note that a restrictive quota is enforced on this
// method to prevent accidental exposure of the app to abuse.
//
-// - app: The relative resource name of the app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeDebugToken(appid string, googlefirebaseappcheckv1betaexchangedebugtokenrequest *GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest) *ProjectsAppsExchangeDebugTokenCall {
c := &ProjectsAppsExchangeDebugTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2628,11 +2628,11 @@ type ProjectsAppsExchangeDeviceCheckTokenCall struct {
// issued by DeviceCheck, and attempts to validate it with Apple. If
// valid, returns an AppCheckToken.
//
-// - app: The relative resource name of the iOS app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the iOS app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeDeviceCheckToken(appid string, googlefirebaseappcheckv1betaexchangedevicechecktokenrequest *GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest) *ProjectsAppsExchangeDeviceCheckTokenCall {
c := &ProjectsAppsExchangeDeviceCheckTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2780,11 +2780,11 @@ type ProjectsAppsExchangePlayIntegrityTokenCall struct {
// (https://developer.android.com/google/play/integrity/verdict#decrypt-verify).
// If valid, returns an AppCheckToken.
//
-// - app: The relative resource name of the Android app, in the format:
-// ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the Android app, in the format:
+// ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangePlayIntegrityToken(appid string, googlefirebaseappcheckv1betaexchangeplayintegritytokenrequest *GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest) *ProjectsAppsExchangePlayIntegrityTokenCall {
c := &ProjectsAppsExchangePlayIntegrityTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -2932,11 +2932,11 @@ type ProjectsAppsExchangeRecaptchaEnterpriseTokenCall struct {
// (https://cloud.google.com/recaptcha-enterprise/docs/create-assessment#retrieve_token).
// If valid, returns an App Check token AppCheckToken.
//
-// - app: The relative resource name of the web app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the web app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeRecaptchaEnterpriseToken(appid string, googlefirebaseappcheckv1betaexchangerecaptchaenterprisetokenrequest *GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall {
c := &ProjectsAppsExchangeRecaptchaEnterpriseTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3083,11 +3083,11 @@ type ProjectsAppsExchangeRecaptchaTokenCall struct {
// (https://developers.google.com/recaptcha/docs/v3). If valid, returns
// an AppCheckToken.
//
-// - app: The relative resource name of the web app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the web app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeRecaptchaToken(appid string, googlefirebaseappcheckv1betaexchangerecaptchatokenrequest *GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest) *ProjectsAppsExchangeRecaptchaTokenCall {
c := &ProjectsAppsExchangeRecaptchaTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3234,11 +3234,11 @@ type ProjectsAppsExchangeRecaptchaV3TokenCall struct {
// (https://developers.google.com/recaptcha/docs/v3). If valid, returns
// an AppCheckToken.
//
-// - app: The relative resource name of the web app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the web app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeRecaptchaV3Token(appid string, googlefirebaseappcheckv1betaexchangerecaptchav3tokenrequest *GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest) *ProjectsAppsExchangeRecaptchaV3TokenCall {
c := &ProjectsAppsExchangeRecaptchaV3TokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3385,11 +3385,11 @@ type ProjectsAppsExchangeSafetyNetTokenCall struct {
// (https://developer.android.com/training/safetynet/attestation#request-attestation-step).
// If valid, returns an AppCheckToken.
//
-// - app: The relative resource name of the Android app, in the format:
-// ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the Android app, in the format:
+// ``` projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) ExchangeSafetyNetToken(appid string, googlefirebaseappcheckv1betaexchangesafetynettokenrequest *GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest) *ProjectsAppsExchangeSafetyNetTokenCall {
c := &ProjectsAppsExchangeSafetyNetTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3537,11 +3537,11 @@ type ProjectsAppsGenerateAppAttestChallengeCall struct {
// ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A
// challenge should not be reused for multiple calls.
//
-// - app: The relative resource name of the iOS app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the iOS app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) GenerateAppAttestChallenge(appid string, googlefirebaseappcheckv1betagenerateappattestchallengerequest *GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest) *ProjectsAppsGenerateAppAttestChallengeCall {
c := &ProjectsAppsGenerateAppAttestChallengeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3692,11 +3692,11 @@ type ProjectsAppsGeneratePlayIntegrityChallengeCall struct {
// verify the presence and validity of the challenge. A challenge should
// not be reused for multiple calls.
//
-// - app: The relative resource name of the app, in the format: ```
-// projects/{project_number}/apps/{app_id} ``` If necessary, the
-// `project_number` element can be replaced with the project ID of the
-// Firebase project. Learn more about using project identifiers in
-// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
+// - app: The relative resource name of the app, in the format: ```
+// projects/{project_number}/apps/{app_id} ``` If necessary, the
+// `project_number` element can be replaced with the project ID of the
+// Firebase project. Learn more about using project identifiers in
+// Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (r *ProjectsAppsService) GeneratePlayIntegrityChallenge(appid string, googlefirebaseappcheckv1betagenerateplayintegritychallengerequest *GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest) *ProjectsAppsGeneratePlayIntegrityChallengeCall {
c := &ProjectsAppsGeneratePlayIntegrityChallengeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appid = appid
@@ -3843,10 +3843,10 @@ type ProjectsAppsAppAttestConfigBatchGetCall struct {
// BatchGet: Atomically gets the AppAttestConfigs for the specified list
// of apps.
//
-// - parent: The parent project name shared by all AppAttestConfigs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all AppAttestConfigs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsAppAttestConfigService) BatchGet(parent string) *ProjectsAppsAppAttestConfigBatchGetCall {
c := &ProjectsAppsAppAttestConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4011,9 +4011,9 @@ type ProjectsAppsAppAttestConfigGetCall struct {
// Get: Gets the AppAttestConfig for the specified app.
//
-// - name: The relative resource name of the AppAttestConfig, in the
-// format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig
-// ```.
+// - name: The relative resource name of the AppAttestConfig, in the
+// format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig
+// ```.
func (r *ProjectsAppsAppAttestConfigService) Get(name string) *ProjectsAppsAppAttestConfigGetCall {
c := &ProjectsAppsAppAttestConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4164,9 +4164,9 @@ type ProjectsAppsAppAttestConfigPatchCall struct {
// configuration is incomplete or invalid, the app will be unable to
// exchange AppAttest tokens for App Check tokens.
//
-// - name: The relative resource name of the App Attest configuration
-// object, in the format: ```
-// projects/{project_number}/apps/{app_id}/appAttestConfig ```.
+// - name: The relative resource name of the App Attest configuration
+// object, in the format: ```
+// projects/{project_number}/apps/{app_id}/appAttestConfig ```.
func (r *ProjectsAppsAppAttestConfigService) Patch(name string, googlefirebaseappcheckv1betaappattestconfig *GoogleFirebaseAppcheckV1betaAppAttestConfig) *ProjectsAppsAppAttestConfigPatchCall {
c := &ProjectsAppsAppAttestConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4329,9 +4329,9 @@ type ProjectsAppsDebugTokensCreateCall struct {
// using DeleteDebugToken. Each app can have a maximum of 20 debug
// tokens.
//
-// - parent: The relative resource name of the parent app in which the
-// specified DebugToken will be created, in the format: ```
-// projects/{project_number}/apps/{app_id} ```.
+// - parent: The relative resource name of the parent app in which the
+// specified DebugToken will be created, in the format: ```
+// projects/{project_number}/apps/{app_id} ```.
func (r *ProjectsAppsDebugTokensService) Create(parent string, googlefirebaseappcheckv1betadebugtoken *GoogleFirebaseAppcheckV1betaDebugToken) *ProjectsAppsDebugTokensCreateCall {
c := &ProjectsAppsDebugTokensCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4477,10 +4477,10 @@ type ProjectsAppsDebugTokensDeleteCall struct {
// when you suspect the secret `token` has been compromised or when you
// no longer need the debug token.
//
-// - name: The relative resource name of the DebugToken to delete, in
-// the format: ```
-// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
-// ```.
+// - name: The relative resource name of the DebugToken to delete, in
+// the format: ```
+// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
+// ```.
func (r *ProjectsAppsDebugTokensService) Delete(name string) *ProjectsAppsDebugTokensDeleteCall {
c := &ProjectsAppsDebugTokensDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4615,10 +4615,10 @@ type ProjectsAppsDebugTokensGetCall struct {
// Get: Gets the specified DebugToken. For security reasons, the `token`
// field is never populated in the response.
//
-// - name: The relative resource name of the debug token, in the format:
-// ```
-// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
-// ```.
+// - name: The relative resource name of the debug token, in the format:
+// ```
+// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
+// ```.
func (r *ProjectsAppsDebugTokensService) Get(name string) *ProjectsAppsDebugTokensGetCall {
c := &ProjectsAppsDebugTokensGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4767,9 +4767,9 @@ type ProjectsAppsDebugTokensListCall struct {
// List: Lists all DebugTokens for the specified app. For security
// reasons, the `token` field is never populated in the response.
//
-// - parent: The relative resource name of the parent app for which to
-// list each associated DebugToken, in the format: ```
-// projects/{project_number}/apps/{app_id} ```.
+// - parent: The relative resource name of the parent app for which to
+// list each associated DebugToken, in the format: ```
+// projects/{project_number}/apps/{app_id} ```.
func (r *ProjectsAppsDebugTokensService) List(parent string) *ProjectsAppsDebugTokensListCall {
c := &ProjectsAppsDebugTokensListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4973,10 +4973,10 @@ type ProjectsAppsDebugTokensPatchCall struct {
// `token` field cannot be updated, nor will it be populated in the
// response, but you can revoke the debug token using DeleteDebugToken.
//
-// - name: The relative resource name of the debug token, in the format:
-// ```
-// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
-// ```.
+// - name: The relative resource name of the debug token, in the format:
+// ```
+// projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
+// ```.
func (r *ProjectsAppsDebugTokensService) Patch(name string, googlefirebaseappcheckv1betadebugtoken *GoogleFirebaseAppcheckV1betaDebugToken) *ProjectsAppsDebugTokensPatchCall {
c := &ProjectsAppsDebugTokensPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5136,10 +5136,10 @@ type ProjectsAppsDeviceCheckConfigBatchGetCall struct {
// list of apps. For security reasons, the `private_key` field is never
// populated in the response.
//
-// - parent: The parent project name shared by all DeviceCheckConfigs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all DeviceCheckConfigs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsDeviceCheckConfigService) BatchGet(parent string) *ProjectsAppsDeviceCheckConfigBatchGetCall {
c := &ProjectsAppsDeviceCheckConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5305,9 +5305,9 @@ type ProjectsAppsDeviceCheckConfigGetCall struct {
// Get: Gets the DeviceCheckConfig for the specified app. For security
// reasons, the `private_key` field is never populated in the response.
//
-// - name: The relative resource name of the DeviceCheckConfig, in the
-// format: ```
-// projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
+// - name: The relative resource name of the DeviceCheckConfig, in the
+// format: ```
+// projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
func (r *ProjectsAppsDeviceCheckConfigService) Get(name string) *ProjectsAppsDeviceCheckConfigGetCall {
c := &ProjectsAppsDeviceCheckConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5459,9 +5459,9 @@ type ProjectsAppsDeviceCheckConfigPatchCall struct {
// to exchange DeviceCheck tokens for App Check tokens. For security
// reasons, the `private_key` field is never populated in the response.
//
-// - name: The relative resource name of the DeviceCheck configuration
-// object, in the format: ```
-// projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
+// - name: The relative resource name of the DeviceCheck configuration
+// object, in the format: ```
+// projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
func (r *ProjectsAppsDeviceCheckConfigService) Patch(name string, googlefirebaseappcheckv1betadevicecheckconfig *GoogleFirebaseAppcheckV1betaDeviceCheckConfig) *ProjectsAppsDeviceCheckConfigPatchCall {
c := &ProjectsAppsDeviceCheckConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5621,10 +5621,10 @@ type ProjectsAppsPlayIntegrityConfigBatchGetCall struct {
// BatchGet: Atomically gets the PlayIntegrityConfigs for the specified
// list of apps.
//
-// - parent: The parent project name shared by all PlayIntegrityConfigs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all PlayIntegrityConfigs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsPlayIntegrityConfigService) BatchGet(parent string) *ProjectsAppsPlayIntegrityConfigBatchGetCall {
c := &ProjectsAppsPlayIntegrityConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5789,9 +5789,9 @@ type ProjectsAppsPlayIntegrityConfigGetCall struct {
// Get: Gets the PlayIntegrityConfig for the specified app.
//
-// - name: The relative resource name of the PlayIntegrityConfig, in the
-// format: ```
-// projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
+// - name: The relative resource name of the PlayIntegrityConfig, in the
+// format: ```
+// projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
func (r *ProjectsAppsPlayIntegrityConfigService) Get(name string) *ProjectsAppsPlayIntegrityConfigGetCall {
c := &ProjectsAppsPlayIntegrityConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5864,7 +5864,9 @@ func (c *ProjectsAppsPlayIntegrityConfigGetCall) doRequest(alt string) (*http.Re
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleFirebaseAppcheckV1betaPlayIntegrityConfig.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -5942,9 +5944,9 @@ type ProjectsAppsPlayIntegrityConfigPatchCall struct {
// this configuration is incomplete or invalid, the app will be unable
// to exchange Play Integrity tokens for App Check tokens.
//
-// - name: The relative resource name of the Play Integrity
-// configuration object, in the format: ```
-// projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
+// - name: The relative resource name of the Play Integrity
+// configuration object, in the format: ```
+// projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
func (r *ProjectsAppsPlayIntegrityConfigService) Patch(name string, googlefirebaseappcheckv1betaplayintegrityconfig *GoogleFirebaseAppcheckV1betaPlayIntegrityConfig) *ProjectsAppsPlayIntegrityConfigPatchCall {
c := &ProjectsAppsPlayIntegrityConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6018,7 +6020,9 @@ func (c *ProjectsAppsPlayIntegrityConfigPatchCall) doRequest(alt string) (*http.
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleFirebaseAppcheckV1betaPlayIntegrityConfig.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -6105,10 +6109,10 @@ type ProjectsAppsRecaptchaConfigBatchGetCall struct {
// of apps. For security reasons, the `site_secret` field is never
// populated in the response.
//
-// - parent: The parent project name shared by all RecaptchaConfigs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all RecaptchaConfigs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsRecaptchaConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaConfigBatchGetCall {
c := &ProjectsAppsRecaptchaConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6274,9 +6278,9 @@ type ProjectsAppsRecaptchaConfigGetCall struct {
// Get: Gets the RecaptchaConfig for the specified app. For security
// reasons, the `site_secret` field is never populated in the response.
//
-// - name: The relative resource name of the RecaptchaConfig, in the
-// format: ``` projects/{project_number}/apps/{app_id}/recaptchaConfig
-// ```.
+// - name: The relative resource name of the RecaptchaConfig, in the
+// format: ``` projects/{project_number}/apps/{app_id}/recaptchaConfig
+// ```.
func (r *ProjectsAppsRecaptchaConfigService) Get(name string) *ProjectsAppsRecaptchaConfigGetCall {
c := &ProjectsAppsRecaptchaConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6428,9 +6432,9 @@ type ProjectsAppsRecaptchaConfigPatchCall struct {
// exchange reCAPTCHA tokens for App Check tokens. For security reasons,
// the `site_secret` field is never populated in the response.
//
-// - name: The relative resource name of the reCAPTCHA v3 configuration
-// object, in the format: ```
-// projects/{project_number}/apps/{app_id}/recaptchaConfig ```.
+// - name: The relative resource name of the reCAPTCHA v3 configuration
+// object, in the format: ```
+// projects/{project_number}/apps/{app_id}/recaptchaConfig ```.
func (r *ProjectsAppsRecaptchaConfigService) Patch(name string, googlefirebaseappcheckv1betarecaptchaconfig *GoogleFirebaseAppcheckV1betaRecaptchaConfig) *ProjectsAppsRecaptchaConfigPatchCall {
c := &ProjectsAppsRecaptchaConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6590,11 +6594,11 @@ type ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall struct {
// BatchGet: Atomically gets the RecaptchaEnterpriseConfigs for the
// specified list of apps.
//
-// - parent: The parent project name shared by all
-// RecaptchaEnterpriseConfigs being retrieved, in the format ```
-// projects/{project_number} ``` The parent collection in the `name`
-// field of any resource being retrieved must match this field, or the
-// entire batch fails.
+// - parent: The parent project name shared by all
+// RecaptchaEnterpriseConfigs being retrieved, in the format ```
+// projects/{project_number} ``` The parent collection in the `name`
+// field of any resource being retrieved must match this field, or the
+// entire batch fails.
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall {
c := &ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6760,10 +6764,10 @@ type ProjectsAppsRecaptchaEnterpriseConfigGetCall struct {
// Get: Gets the RecaptchaEnterpriseConfig for the specified app.
//
-// - name: The relative resource name of the RecaptchaEnterpriseConfig,
-// in the format: ```
-// projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig
-// ```.
+// - name: The relative resource name of the RecaptchaEnterpriseConfig,
+// in the format: ```
+// projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig
+// ```.
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Get(name string) *ProjectsAppsRecaptchaEnterpriseConfigGetCall {
c := &ProjectsAppsRecaptchaEnterpriseConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6914,10 +6918,10 @@ type ProjectsAppsRecaptchaEnterpriseConfigPatchCall struct {
// While this configuration is incomplete or invalid, the app will be
// unable to exchange reCAPTCHA Enterprise tokens for App Check tokens.
//
-// - name: The relative resource name of the reCAPTCHA Enterprise
-// configuration object, in the format: ```
-// projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig
-// ```.
+// - name: The relative resource name of the reCAPTCHA Enterprise
+// configuration object, in the format: ```
+// projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig
+// ```.
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Patch(name string, googlefirebaseappcheckv1betarecaptchaenterpriseconfig *GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall {
c := &ProjectsAppsRecaptchaEnterpriseConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7078,10 +7082,10 @@ type ProjectsAppsRecaptchaV3ConfigBatchGetCall struct {
// list of apps. For security reasons, the `site_secret` field is never
// populated in the response.
//
-// - parent: The parent project name shared by all RecaptchaV3Configs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all RecaptchaV3Configs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsRecaptchaV3ConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaV3ConfigBatchGetCall {
c := &ProjectsAppsRecaptchaV3ConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7247,9 +7251,9 @@ type ProjectsAppsRecaptchaV3ConfigGetCall struct {
// Get: Gets the RecaptchaV3Config for the specified app. For security
// reasons, the `site_secret` field is never populated in the response.
//
-// - name: The relative resource name of the RecaptchaV3Config, in the
-// format: ```
-// projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
+// - name: The relative resource name of the RecaptchaV3Config, in the
+// format: ```
+// projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
func (r *ProjectsAppsRecaptchaV3ConfigService) Get(name string) *ProjectsAppsRecaptchaV3ConfigGetCall {
c := &ProjectsAppsRecaptchaV3ConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7401,9 +7405,9 @@ type ProjectsAppsRecaptchaV3ConfigPatchCall struct {
// to exchange reCAPTCHA V3 tokens for App Check tokens. For security
// reasons, the `site_secret` field is never populated in the response.
//
-// - name: The relative resource name of the reCAPTCHA v3 configuration
-// object, in the format: ```
-// projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
+// - name: The relative resource name of the reCAPTCHA v3 configuration
+// object, in the format: ```
+// projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
func (r *ProjectsAppsRecaptchaV3ConfigService) Patch(name string, googlefirebaseappcheckv1betarecaptchav3config *GoogleFirebaseAppcheckV1betaRecaptchaV3Config) *ProjectsAppsRecaptchaV3ConfigPatchCall {
c := &ProjectsAppsRecaptchaV3ConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7563,10 +7567,10 @@ type ProjectsAppsSafetyNetConfigBatchGetCall struct {
// BatchGet: Atomically gets the SafetyNetConfigs for the specified list
// of apps.
//
-// - parent: The parent project name shared by all SafetyNetConfigs
-// being retrieved, in the format ``` projects/{project_number} ```
-// The parent collection in the `name` field of any resource being
-// retrieved must match this field, or the entire batch fails.
+// - parent: The parent project name shared by all SafetyNetConfigs
+// being retrieved, in the format ``` projects/{project_number} ```
+// The parent collection in the `name` field of any resource being
+// retrieved must match this field, or the entire batch fails.
func (r *ProjectsAppsSafetyNetConfigService) BatchGet(parent string) *ProjectsAppsSafetyNetConfigBatchGetCall {
c := &ProjectsAppsSafetyNetConfigBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7731,9 +7735,9 @@ type ProjectsAppsSafetyNetConfigGetCall struct {
// Get: Gets the SafetyNetConfig for the specified app.
//
-// - name: The relative resource name of the SafetyNetConfig, in the
-// format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig
-// ```.
+// - name: The relative resource name of the SafetyNetConfig, in the
+// format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig
+// ```.
func (r *ProjectsAppsSafetyNetConfigService) Get(name string) *ProjectsAppsSafetyNetConfigGetCall {
c := &ProjectsAppsSafetyNetConfigGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7884,9 +7888,9 @@ type ProjectsAppsSafetyNetConfigPatchCall struct {
// configuration is incomplete or invalid, the app will be unable to
// exchange SafetyNet tokens for App Check tokens.
//
-// - name: The relative resource name of the SafetyNet configuration
-// object, in the format: ```
-// projects/{project_number}/apps/{app_id}/safetyNetConfig ```.
+// - name: The relative resource name of the SafetyNet configuration
+// object, in the format: ```
+// projects/{project_number}/apps/{app_id}/safetyNetConfig ```.
func (r *ProjectsAppsSafetyNetConfigService) Patch(name string, googlefirebaseappcheckv1betasafetynetconfig *GoogleFirebaseAppcheckV1betaSafetyNetConfig) *ProjectsAppsSafetyNetConfigPatchCall {
c := &ProjectsAppsSafetyNetConfigPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8045,11 +8049,11 @@ type ProjectsServicesBatchUpdateCall struct {
// BatchUpdate: Atomically updates the specified Service configurations.
//
-// - parent: The parent project name shared by all Service
-// configurations being updated, in the format ```
-// projects/{project_number} ``` The parent collection in the `name`
-// field of any resource being updated must match this field, or the
-// entire batch fails.
+// - parent: The parent project name shared by all Service
+// configurations being updated, in the format ```
+// projects/{project_number} ``` The parent collection in the `name`
+// field of any resource being updated must match this field, or the
+// entire batch fails.
func (r *ProjectsServicesService) BatchUpdate(parent string, googlefirebaseappcheckv1betabatchupdateservicesrequest *GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest) *ProjectsServicesBatchUpdateCall {
c := &ProjectsServicesBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8195,13 +8199,13 @@ type ProjectsServicesGetCall struct {
// Get: Gets the Service configuration for the specified service name.
//
-// - name: The relative resource name of the Service to retrieve, in the
-// format: ``` projects/{project_number}/services/{service_id} ```
-// Note that the `service_id` element must be a supported service ID.
-// Currently, the following service IDs are supported: *
-// `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
-// `firebasedatabase.googleapis.com` (Firebase Realtime Database) *
-// `firestore.googleapis.com` (Cloud Firestore).
+// - name: The relative resource name of the Service to retrieve, in the
+// format: ``` projects/{project_number}/services/{service_id} ```
+// Note that the `service_id` element must be a supported service ID.
+// Currently, the following service IDs are supported: *
+// `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
+// `firebasedatabase.googleapis.com` (Firebase Realtime Database) *
+// `firestore.googleapis.com` (Cloud Firestore).
func (r *ProjectsServicesService) Get(name string) *ProjectsServicesGetCall {
c := &ProjectsServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8351,9 +8355,9 @@ type ProjectsServicesListCall struct {
// Only Services which were explicitly configured using UpdateService or
// BatchUpdateServices will be returned.
//
-// - parent: The relative resource name of the parent project for which
-// to list each associated Service, in the format: ```
-// projects/{project_number} ```.
+// - parent: The relative resource name of the parent project for which
+// to list each associated Service, in the format: ```
+// projects/{project_number} ```.
func (r *ProjectsServicesService) List(parent string) *ProjectsServicesListCall {
c := &ProjectsServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8555,14 +8559,14 @@ type ProjectsServicesPatchCall struct {
// Patch: Updates the specified Service configuration.
//
-// - name: The relative resource name of the service configuration
-// object, in the format: ```
-// projects/{project_number}/services/{service_id} ``` Note that the
-// `service_id` element must be a supported service ID. Currently, the
-// following service IDs are supported: *
-// `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
-// `firebasedatabase.googleapis.com` (Firebase Realtime Database) *
-// `firestore.googleapis.com` (Cloud Firestore).
+// - name: The relative resource name of the service configuration
+// object, in the format: ```
+// projects/{project_number}/services/{service_id} ``` Note that the
+// `service_id` element must be a supported service ID. Currently, the
+// following service IDs are supported: *
+// `firebasestorage.googleapis.com` (Cloud Storage for Firebase) *
+// `firebasedatabase.googleapis.com` (Firebase Realtime Database) *
+// `firestore.googleapis.com` (Cloud Firestore).
func (r *ProjectsServicesService) Patch(name string, googlefirebaseappcheckv1betaservice *GoogleFirebaseAppcheckV1betaService) *ProjectsServicesPatchCall {
c := &ProjectsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/firebasedatabase/v1beta/firebasedatabase-gen.go b/firebasedatabase/v1beta/firebasedatabase-gen.go
index cf7759f0f03..376570bf1cf 100644
--- a/firebasedatabase/v1beta/firebasedatabase-gen.go
+++ b/firebasedatabase/v1beta/firebasedatabase-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://firebase.google.com/docs/reference/rest/database/database-management/rest/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebasedatabase/v1beta"
-// ...
-// ctx := context.Background()
-// firebasedatabaseService, err := firebasedatabase.NewService(ctx)
+// import "google.golang.org/api/firebasedatabase/v1beta"
+// ...
+// ctx := context.Background()
+// firebasedatabaseService, err := firebasedatabase.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firebasedatabaseService, err := firebasedatabase.NewService(ctx, option.WithScopes(firebasedatabase.FirebaseReadonlyScope))
+// firebasedatabaseService, err := firebasedatabase.NewService(ctx, option.WithScopes(firebasedatabase.FirebaseReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebasedatabaseService, err := firebasedatabase.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebasedatabaseService, err := firebasedatabase.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebasedatabaseService, err := firebasedatabase.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebasedatabaseService, err := firebasedatabase.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebasedatabase // import "google.golang.org/api/firebasedatabase/v1beta"
@@ -332,8 +332,8 @@ type ProjectsLocationsInstancesCreateCall struct {
// Note that it might take a few minutes for billing enablement state to
// propagate to Firebase systems.
//
-// - parent: The parent project for which to create a database instance,
-// in the form: `projects/{project-number}/locations/{location-id}`.
+// - parent: The parent project for which to create a database instance,
+// in the form: `projects/{project-number}/locations/{location-id}`.
func (r *ProjectsLocationsInstancesService) Create(parent string, databaseinstance *DatabaseInstance) *ProjectsLocationsInstancesCreateCall {
c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -503,10 +503,10 @@ type ProjectsLocationsInstancesDeleteCall struct {
// deleted database instances may never be recovered or re-used. The
// Database may only be deleted if it is already in a DISABLED state.
//
-// - name: The fully qualified resource name of the database instance,
-// in the form:
-// `projects/{project-number}/locations/{location-id}/instances/{databa
-// se-id}`.
+// - name: The fully qualified resource name of the database instance,
+// in the form:
+// `projects/{project-number}/locations/{location-id}/instances/{databa
+// se-id}`.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -643,10 +643,10 @@ type ProjectsLocationsInstancesDisableCall struct {
// all reads and writes are denied, including view access in the
// Firebase console.
//
-// - name: The fully qualified resource name of the database instance,
-// in the form:
-// `projects/{project-number}/locations/{location-id}/instances/{databa
-// se-id}`.
+// - name: The fully qualified resource name of the database instance,
+// in the form:
+// `projects/{project-number}/locations/{location-id}/instances/{databa
+// se-id}`.
func (r *ProjectsLocationsInstancesService) Disable(name string, disabledatabaseinstancerequest *DisableDatabaseInstanceRequest) *ProjectsLocationsInstancesDisableCall {
c := &ProjectsLocationsInstancesDisableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -790,14 +790,14 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets the DatabaseInstance identified by the specified resource
// name.
//
-// - name: The fully qualified resource name of the database instance,
-// in the form:
-// `projects/{project-number}/locations/{location-id}/instances/{databa
-// se-id}`. `database-id` is a globally unique identifier across all
-// parent collections. For convenience, this method allows you to
-// supply `-` as a wildcard character in place of specific collections
-// under `projects` and `locations`. The resulting wildcarding form of
-// the method is: `projects/-/locations/-/instances/{database-id}`.
+// - name: The fully qualified resource name of the database instance,
+// in the form:
+// `projects/{project-number}/locations/{location-id}/instances/{databa
+// se-id}`. `database-id` is a globally unique identifier across all
+// parent collections. For convenience, this method allows you to
+// supply `-` as a wildcard character in place of specific collections
+// under `projects` and `locations`. The resulting wildcarding form of
+// the method is: `projects/-/locations/-/instances/{database-id}`.
func (r *ProjectsLocationsInstancesService) Get(nameid string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -951,10 +951,10 @@ type ProjectsLocationsInstancesListCall struct {
// contains instances in any STATE. The list results may be stale by a
// few seconds. Use GetDatabaseInstance for consistent reads.
//
-// - parent: The parent project for which to list database instances, in
-// the form: `projects/{project-number}/locations/{location-id}` To
-// list across all locations, use a parent in the form:
-// `projects/{project-number}/locations/-`.
+// - parent: The parent project for which to list database instances, in
+// the form: `projects/{project-number}/locations/{location-id}` To
+// list across all locations, use a parent in the form:
+// `projects/{project-number}/locations/-`.
func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {
c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1167,10 +1167,10 @@ type ProjectsLocationsInstancesReenableCall struct {
// disabled previously using DisableDatabaseInstance. The state of a
// successfully reenabled DatabaseInstance is ACTIVE.
//
-// - name: The fully qualified resource name of the database instance,
-// in the form:
-// `projects/{project-number}/locations/{location-id}/instances/{databa
-// se-id}`.
+// - name: The fully qualified resource name of the database instance,
+// in the form:
+// `projects/{project-number}/locations/{location-id}/instances/{databa
+// se-id}`.
func (r *ProjectsLocationsInstancesService) Reenable(name string, reenabledatabaseinstancerequest *ReenableDatabaseInstanceRequest) *ProjectsLocationsInstancesReenableCall {
c := &ProjectsLocationsInstancesReenableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1318,10 +1318,10 @@ type ProjectsLocationsInstancesUndeleteCall struct {
// any data. This method may only be used on a DatabaseInstance in the
// DELETED state. Purged DatabaseInstances may not be recovered.
//
-// - name: The fully qualified resource name of the database instance,
-// in the form:
-// `projects/{project-number}/locations/{location-id}/instances/{databa
-// se-id}`.
+// - name: The fully qualified resource name of the database instance,
+// in the form:
+// `projects/{project-number}/locations/{location-id}/instances/{databa
+// se-id}`.
func (r *ProjectsLocationsInstancesService) Undelete(name string, undeletedatabaseinstancerequest *UndeleteDatabaseInstanceRequest) *ProjectsLocationsInstancesUndeleteCall {
c := &ProjectsLocationsInstancesUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go
index de9539a06a6..dfe4cc25cca 100644
--- a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go
+++ b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://firebase.google.com/docs/dynamic-links/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebasedynamiclinks/v1"
-// ...
-// ctx := context.Background()
-// firebasedynamiclinksService, err := firebasedynamiclinks.NewService(ctx)
+// import "google.golang.org/api/firebasedynamiclinks/v1"
+// ...
+// ctx := context.Background()
+// firebasedynamiclinksService, err := firebasedynamiclinks.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebasedynamiclinksService, err := firebasedynamiclinks.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebasedynamiclinksService, err := firebasedynamiclinks.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebasedynamiclinksService, err := firebasedynamiclinks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebasedynamiclinksService, err := firebasedynamiclinks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebasedynamiclinks // import "google.golang.org/api/firebasedynamiclinks/v1"
diff --git a/firebasehosting/v1/firebasehosting-gen.go b/firebasehosting/v1/firebasehosting-gen.go
index 174946a730a..83fc8940c58 100644
--- a/firebasehosting/v1/firebasehosting-gen.go
+++ b/firebasehosting/v1/firebasehosting-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://firebase.google.com/docs/hosting/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebasehosting/v1"
-// ...
-// ctx := context.Background()
-// firebasehostingService, err := firebasehosting.NewService(ctx)
+// import "google.golang.org/api/firebasehosting/v1"
+// ...
+// ctx := context.Background()
+// firebasehostingService, err := firebasehosting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebasehosting // import "google.golang.org/api/firebasehosting/v1"
diff --git a/firebasehosting/v1beta1/firebasehosting-gen.go b/firebasehosting/v1beta1/firebasehosting-gen.go
index 25626dee287..c1dc6b828cb 100644
--- a/firebasehosting/v1beta1/firebasehosting-gen.go
+++ b/firebasehosting/v1beta1/firebasehosting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://firebase.google.com/docs/hosting/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebasehosting/v1beta1"
-// ...
-// ctx := context.Background()
-// firebasehostingService, err := firebasehosting.NewService(ctx)
+// import "google.golang.org/api/firebasehosting/v1beta1"
+// ...
+// ctx := context.Background()
+// firebasehostingService, err := firebasehosting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithScopes(firebasehosting.FirebaseReadonlyScope))
+// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithScopes(firebasehosting.FirebaseReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebasehostingService, err := firebasehosting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebasehosting // import "google.golang.org/api/firebasehosting/v1beta1"
@@ -1954,10 +1954,10 @@ type ProjectsSitesCreateCall struct {
// project. Note that Hosting sites can take several minutes to
// propagate through Firebase systems.
//
-// - parent: The Firebase project in which to create a Hosting site, in
-// the format: projects/PROJECT_IDENTIFIER Refer to the `Site` `name`
-// (../projects#Site.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER values.
+// - parent: The Firebase project in which to create a Hosting site, in
+// the format: projects/PROJECT_IDENTIFIER Refer to the `Site` `name`
+// (../projects#Site.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER values.
func (r *ProjectsSitesService) Create(parent string, site *Site) *ProjectsSitesCreateCall {
c := &ProjectsSitesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2114,10 +2114,10 @@ type ProjectsSitesDeleteCall struct {
// Delete: Deletes the specified Hosting Site from the specified parent
// Firebase project.
//
-// - name: The fully-qualified resource name for the Hosting site, in
-// the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the
-// `Site` `name` (../projects#Site.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER values.
+// - name: The fully-qualified resource name for the Hosting site, in
+// the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the
+// `Site` `name` (../projects#Site.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER values.
func (r *ProjectsSitesService) Delete(name string) *ProjectsSitesDeleteCall {
c := &ProjectsSitesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2251,12 +2251,12 @@ type ProjectsSitesGetCall struct {
// Get: Gets the specified Hosting Site.
//
-// - name: The fully-qualified resource name for the Hosting site, in
-// the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the
-// `Site` `name` (../projects#Site.FIELDS.name) field for details
-// about PROJECT_IDENTIFIER values. Since a SITE_ID is a globally
-// unique identifier, you can also use the unique sub-collection
-// resource access pattern, in the format: projects/-/sites/SITE_ID.
+// - name: The fully-qualified resource name for the Hosting site, in
+// the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the
+// `Site` `name` (../projects#Site.FIELDS.name) field for details
+// about PROJECT_IDENTIFIER values. Since a SITE_ID is a globally
+// unique identifier, you can also use the unique sub-collection
+// resource access pattern, in the format: projects/-/sites/SITE_ID.
func (r *ProjectsSitesService) Get(nameid string) *ProjectsSitesGetCall {
c := &ProjectsSitesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -2405,8 +2405,8 @@ type ProjectsSitesGetConfigCall struct {
// GetConfig: Gets the Hosting metadata for a specific site.
//
-// - name: The site for which to get the SiteConfig, in the format:
-// sites/ site-name/config.
+// - name: The site for which to get the SiteConfig, in the format:
+// sites/ site-name/config.
func (r *ProjectsSitesService) GetConfig(name string) *ProjectsSitesGetConfigCall {
c := &ProjectsSitesGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2556,10 +2556,10 @@ type ProjectsSitesListCall struct {
// List: Lists each Hosting Site associated with the specified parent
// Firebase project.
//
-// - parent: The Firebase project for which to list sites, in the
-// format: projects/PROJECT_IDENTIFIER Refer to the `Site` `name`
-// (../projects#Site.FIELDS.name) field for details about
-// PROJECT_IDENTIFIER values.
+// - parent: The Firebase project for which to list sites, in the
+// format: projects/PROJECT_IDENTIFIER Refer to the `Site` `name`
+// (../projects#Site.FIELDS.name) field for details about
+// PROJECT_IDENTIFIER values.
func (r *ProjectsSitesService) List(parent string) *ProjectsSitesListCall {
c := &ProjectsSitesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2756,14 +2756,14 @@ type ProjectsSitesPatchCall struct {
// Patch: Updates attributes of the specified Hosting Site.
//
-// - name: Output only. The fully-qualified resource name of the Hosting
-// site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID
-// PROJECT_IDENTIFIER: the Firebase project's `ProjectNumber`
-// (https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number)
-// ***(recommended)*** or its `ProjectId`
-// (https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id).
-// Learn more about using project identifiers in Google's AIP 2510
-// standard (https://google.aip.dev/cloud/2510).
+// - name: Output only. The fully-qualified resource name of the Hosting
+// site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID
+// PROJECT_IDENTIFIER: the Firebase project's `ProjectNumber`
+// (https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number)
+// ***(recommended)*** or its `ProjectId`
+// (https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id).
+// Learn more about using project identifiers in Google's AIP 2510
+// standard (https://google.aip.dev/cloud/2510).
func (r *ProjectsSitesService) Patch(nameid string, site *Site) *ProjectsSitesPatchCall {
c := &ProjectsSitesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -2919,8 +2919,8 @@ type ProjectsSitesUpdateConfigCall struct {
// UpdateConfig: Sets the Hosting metadata for a specific site.
//
-// - name: The site for which to update the SiteConfig, in the format:
-// sites/ site-name/config.
+// - name: The site for which to update the SiteConfig, in the format:
+// sites/ site-name/config.
func (r *ProjectsSitesService) UpdateConfig(name string, siteconfig *SiteConfig) *ProjectsSitesUpdateConfigCall {
c := &ProjectsSitesUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3079,8 +3079,8 @@ type ProjectsSitesChannelsCreateCall struct {
// Create: Creates a new channel in the specified site.
//
-// - parent: The site in which to create this channel, in the format:
-// sites/ SITE_ID.
+// - parent: The site in which to create this channel, in the format:
+// sites/ SITE_ID.
func (r *ProjectsSitesChannelsService) Create(parent string, channel *Channel) *ProjectsSitesChannelsCreateCall {
c := &ProjectsSitesChannelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3235,8 +3235,8 @@ type ProjectsSitesChannelsDeleteCall struct {
// Delete: Deletes the specified channel of the specified site. The
// `live` channel cannot be deleted.
//
-// - name: The fully-qualified resource name for the channel, in the
-// format: sites/SITE_ID/channels/CHANNEL_ID.
+// - name: The fully-qualified resource name for the channel, in the
+// format: sites/SITE_ID/channels/CHANNEL_ID.
func (r *ProjectsSitesChannelsService) Delete(name string) *ProjectsSitesChannelsDeleteCall {
c := &ProjectsSitesChannelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3371,8 +3371,8 @@ type ProjectsSitesChannelsGetCall struct {
// Get: Retrieves information for the specified channel of the specified
// site.
//
-// - name: The fully-qualified resource name for the channel, in the
-// format: sites/SITE_ID/channels/CHANNEL_ID.
+// - name: The fully-qualified resource name for the channel, in the
+// format: sites/SITE_ID/channels/CHANNEL_ID.
func (r *ProjectsSitesChannelsService) Get(name string) *ProjectsSitesChannelsGetCall {
c := &ProjectsSitesChannelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3522,8 +3522,8 @@ type ProjectsSitesChannelsListCall struct {
// List: Lists the channels for the specified site. All sites have a
// default `live` channel.
//
-// - parent: The site for which to list channels, in the format:
-// sites/SITE_ID.
+// - parent: The site for which to list channels, in the format:
+// sites/SITE_ID.
func (r *ProjectsSitesChannelsService) List(parent string) *ProjectsSitesChannelsListCall {
c := &ProjectsSitesChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3723,8 +3723,8 @@ type ProjectsSitesChannelsPatchCall struct {
// Patch: Updates information for the specified channel of the specified
// site. Implicitly creates the channel if it doesn't already exist.
//
-// - name: The fully-qualified resource name for the channel, in the
-// format: sites/ SITE_ID/channels/CHANNEL_ID.
+// - name: The fully-qualified resource name for the channel, in the
+// format: sites/ SITE_ID/channels/CHANNEL_ID.
func (r *ProjectsSitesChannelsService) Patch(name string, channel *Channel) *ProjectsSitesChannelsPatchCall {
c := &ProjectsSitesChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3881,9 +3881,9 @@ type ProjectsSitesChannelsReleasesCreateCall struct {
// Create: Creates a new release, which makes the content of the
// specified version actively display on the appropriate URL(s).
//
-// - parent: The site or channel to which the release belongs, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel to which the release belongs, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *ProjectsSitesChannelsReleasesService) Create(parent string, release *Release) *ProjectsSitesChannelsReleasesCreateCall {
c := &ProjectsSitesChannelsReleasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4044,9 +4044,9 @@ type ProjectsSitesChannelsReleasesListCall struct {
// includes releases for both the default `live` channel and any active
// preview channels for the specified site.
//
-// - parent: The site or channel for which to list releases, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel for which to list releases, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *ProjectsSitesChannelsReleasesService) List(parent string) *ProjectsSitesChannelsReleasesListCall {
c := &ProjectsSitesChannelsReleasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4244,8 +4244,8 @@ type ProjectsSitesDomainsCreateCall struct {
// Create: Creates a domain mapping on the specified site.
//
-// - parent: The parent to create the domain association for, in the
-// format: sites/site-name.
+// - parent: The parent to create the domain association for, in the
+// format: sites/site-name.
func (r *ProjectsSitesDomainsService) Create(parent string, domain *Domain) *ProjectsSitesDomainsCreateCall {
c := &ProjectsSitesDomainsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4670,8 +4670,8 @@ type ProjectsSitesDomainsListCall struct {
// List: Lists the domains for the specified site.
//
-// - parent: The parent for which to list domains, in the format: sites/
-// site-name.
+// - parent: The parent for which to list domains, in the format: sites/
+// site-name.
func (r *ProjectsSitesDomainsService) List(parent string) *ProjectsSitesDomainsListCall {
c := &ProjectsSitesDomainsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4867,8 +4867,8 @@ type ProjectsSitesDomainsUpdateCall struct {
// Update: Updates the specified domain mapping, creating the mapping as
// if it does not exist.
//
-// - name: The name of the domain association to update or create, if an
-// association doesn't already exist.
+// - name: The name of the domain association to update or create, if an
+// association doesn't already exist.
func (r *ProjectsSitesDomainsService) Update(name string, domain *Domain) *ProjectsSitesDomainsUpdateCall {
c := &ProjectsSitesDomainsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5012,9 +5012,9 @@ type ProjectsSitesReleasesCreateCall struct {
// Create: Creates a new release, which makes the content of the
// specified version actively display on the appropriate URL(s).
//
-// - parent: The site or channel to which the release belongs, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel to which the release belongs, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *ProjectsSitesReleasesService) Create(parent string, release *Release) *ProjectsSitesReleasesCreateCall {
c := &ProjectsSitesReleasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5175,9 +5175,9 @@ type ProjectsSitesReleasesListCall struct {
// includes releases for both the default `live` channel and any active
// preview channels for the specified site.
//
-// - parent: The site or channel for which to list releases, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel for which to list releases, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *ProjectsSitesReleasesService) List(parent string) *ProjectsSitesReleasesListCall {
c := &ProjectsSitesReleasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5376,8 +5376,8 @@ type ProjectsSitesVersionsCloneCall struct {
// Clone: Creates a new version on the specified target site using the
// content of the specified version.
//
-// - parent: The target site for the cloned version, in the format:
-// sites/ SITE_ID.
+// - parent: The target site for the cloned version, in the format:
+// sites/ SITE_ID.
func (r *ProjectsSitesVersionsService) Clone(parent string, cloneversionrequest *CloneVersionRequest) *ProjectsSitesVersionsCloneCall {
c := &ProjectsSitesVersionsCloneCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5520,8 +5520,8 @@ type ProjectsSitesVersionsCreateCall struct {
// Create: Creates a new version for the specified site.
//
-// - parent: The site in which to create the version, in the format:
-// sites/ SITE_ID.
+// - parent: The site in which to create the version, in the format:
+// sites/ SITE_ID.
func (r *ProjectsSitesVersionsService) Create(parent string, version *Version) *ProjectsSitesVersionsCreateCall {
c := &ProjectsSitesVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5690,8 +5690,8 @@ type ProjectsSitesVersionsDeleteCall struct {
// Delete: Deletes the specified version.
//
-// - name: The fully-qualified resource name for the version, in the
-// format: sites/SITE_ID/versions/VERSION_ID.
+// - name: The fully-qualified resource name for the version, in the
+// format: sites/SITE_ID/versions/VERSION_ID.
func (r *ProjectsSitesVersionsService) Delete(name string) *ProjectsSitesVersionsDeleteCall {
c := &ProjectsSitesVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5827,9 +5827,9 @@ type ProjectsSitesVersionsListCall struct {
// site. This list includes versions for both the default `live` channel
// and any active preview channels for the specified site.
//
-// - parent: The site or channel for which to list versions, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel for which to list versions, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *ProjectsSitesVersionsService) List(parent string) *ProjectsSitesVersionsListCall {
c := &ProjectsSitesVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6048,10 +6048,10 @@ type ProjectsSitesVersionsPatchCall struct {
// `CREATED` to `FINALIZED`. Use `DeleteVersion` (delete) to set the
// status of a version to `DELETED`.
//
-// - name: The fully-qualified resource name for the version, in the
-// format: sites/ SITE_ID/versions/VERSION_ID This name is provided in
-// the response body when you call `CreateVersion`
-// (sites.versions/create).
+// - name: The fully-qualified resource name for the version, in the
+// format: sites/ SITE_ID/versions/VERSION_ID This name is provided in
+// the response body when you call `CreateVersion`
+// (sites.versions/create).
func (r *ProjectsSitesVersionsService) Patch(name string, version *Version) *ProjectsSitesVersionsPatchCall {
c := &ProjectsSitesVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6211,8 +6211,8 @@ type ProjectsSitesVersionsPopulateFilesCall struct {
// PopulateFiles: Adds content files to the specified version. Each
// file must be under 2 GB.
//
-// - parent: The version to which to add files, in the format:
-// sites/SITE_ID /versions/VERSION_ID.
+// - parent: The version to which to add files, in the format:
+// sites/SITE_ID /versions/VERSION_ID.
func (r *ProjectsSitesVersionsService) PopulateFiles(parent string, populateversionfilesrequest *PopulateVersionFilesRequest) *ProjectsSitesVersionsPopulateFilesCall {
c := &ProjectsSitesVersionsPopulateFilesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6356,8 +6356,8 @@ type ProjectsSitesVersionsFilesListCall struct {
// List: Lists the remaining files to be uploaded for the specified
// version.
//
-// - parent: The version for which to list files, in the format:
-// sites/SITE_ID /versions/VERSION_ID.
+// - parent: The version for which to list files, in the format:
+// sites/SITE_ID /versions/VERSION_ID.
func (r *ProjectsSitesVersionsFilesService) List(parent string) *ProjectsSitesVersionsFilesListCall {
c := &ProjectsSitesVersionsFilesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6385,11 +6385,16 @@ func (c *ProjectsSitesVersionsFilesListCall) PageToken(pageToken string) *Projec
// should be listed for the specified version.
//
// Possible values:
-// "STATUS_UNSPECIFIED" - The default status; should not be
+//
+// "STATUS_UNSPECIFIED" - The default status; should not be
+//
// intentionally used.
-// "EXPECTED" - The file has been included in the version and is
+//
+// "EXPECTED" - The file has been included in the version and is
+//
// expected to be uploaded in the near future.
-// "ACTIVE" - The file has already been uploaded to Firebase Hosting.
+//
+// "ACTIVE" - The file has already been uploaded to Firebase Hosting.
func (c *ProjectsSitesVersionsFilesListCall) Status(status string) *ProjectsSitesVersionsFilesListCall {
c.urlParams_.Set("status", status)
return c
@@ -6584,8 +6589,8 @@ type SitesGetConfigCall struct {
// GetConfig: Gets the Hosting metadata for a specific site.
//
-// - name: The site for which to get the SiteConfig, in the format:
-// sites/ site-name/config.
+// - name: The site for which to get the SiteConfig, in the format:
+// sites/ site-name/config.
func (r *SitesService) GetConfig(name string) *SitesGetConfigCall {
c := &SitesGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6734,8 +6739,8 @@ type SitesUpdateConfigCall struct {
// UpdateConfig: Sets the Hosting metadata for a specific site.
//
-// - name: The site for which to update the SiteConfig, in the format:
-// sites/ site-name/config.
+// - name: The site for which to update the SiteConfig, in the format:
+// sites/ site-name/config.
func (r *SitesService) UpdateConfig(name string, siteconfig *SiteConfig) *SitesUpdateConfigCall {
c := &SitesUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6894,8 +6899,8 @@ type SitesChannelsCreateCall struct {
// Create: Creates a new channel in the specified site.
//
-// - parent: The site in which to create this channel, in the format:
-// sites/ SITE_ID.
+// - parent: The site in which to create this channel, in the format:
+// sites/ SITE_ID.
func (r *SitesChannelsService) Create(parent string, channel *Channel) *SitesChannelsCreateCall {
c := &SitesChannelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7050,8 +7055,8 @@ type SitesChannelsDeleteCall struct {
// Delete: Deletes the specified channel of the specified site. The
// `live` channel cannot be deleted.
//
-// - name: The fully-qualified resource name for the channel, in the
-// format: sites/SITE_ID/channels/CHANNEL_ID.
+// - name: The fully-qualified resource name for the channel, in the
+// format: sites/SITE_ID/channels/CHANNEL_ID.
func (r *SitesChannelsService) Delete(name string) *SitesChannelsDeleteCall {
c := &SitesChannelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7186,8 +7191,8 @@ type SitesChannelsGetCall struct {
// Get: Retrieves information for the specified channel of the specified
// site.
//
-// - name: The fully-qualified resource name for the channel, in the
-// format: sites/SITE_ID/channels/CHANNEL_ID.
+// - name: The fully-qualified resource name for the channel, in the
+// format: sites/SITE_ID/channels/CHANNEL_ID.
func (r *SitesChannelsService) Get(name string) *SitesChannelsGetCall {
c := &SitesChannelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7337,8 +7342,8 @@ type SitesChannelsListCall struct {
// List: Lists the channels for the specified site. All sites have a
// default `live` channel.
//
-// - parent: The site for which to list channels, in the format:
-// sites/SITE_ID.
+// - parent: The site for which to list channels, in the format:
+// sites/SITE_ID.
func (r *SitesChannelsService) List(parent string) *SitesChannelsListCall {
c := &SitesChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7538,8 +7543,8 @@ type SitesChannelsPatchCall struct {
// Patch: Updates information for the specified channel of the specified
// site. Implicitly creates the channel if it doesn't already exist.
//
-// - name: The fully-qualified resource name for the channel, in the
-// format: sites/ SITE_ID/channels/CHANNEL_ID.
+// - name: The fully-qualified resource name for the channel, in the
+// format: sites/ SITE_ID/channels/CHANNEL_ID.
func (r *SitesChannelsService) Patch(name string, channel *Channel) *SitesChannelsPatchCall {
c := &SitesChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7696,9 +7701,9 @@ type SitesChannelsReleasesCreateCall struct {
// Create: Creates a new release, which makes the content of the
// specified version actively display on the appropriate URL(s).
//
-// - parent: The site or channel to which the release belongs, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel to which the release belongs, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *SitesChannelsReleasesService) Create(parent string, release *Release) *SitesChannelsReleasesCreateCall {
c := &SitesChannelsReleasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7859,9 +7864,9 @@ type SitesChannelsReleasesListCall struct {
// includes releases for both the default `live` channel and any active
// preview channels for the specified site.
//
-// - parent: The site or channel for which to list releases, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel for which to list releases, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *SitesChannelsReleasesService) List(parent string) *SitesChannelsReleasesListCall {
c := &SitesChannelsReleasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8059,8 +8064,8 @@ type SitesDomainsCreateCall struct {
// Create: Creates a domain mapping on the specified site.
//
-// - parent: The parent to create the domain association for, in the
-// format: sites/site-name.
+// - parent: The parent to create the domain association for, in the
+// format: sites/site-name.
func (r *SitesDomainsService) Create(parent string, domain *Domain) *SitesDomainsCreateCall {
c := &SitesDomainsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8485,8 +8490,8 @@ type SitesDomainsListCall struct {
// List: Lists the domains for the specified site.
//
-// - parent: The parent for which to list domains, in the format: sites/
-// site-name.
+// - parent: The parent for which to list domains, in the format: sites/
+// site-name.
func (r *SitesDomainsService) List(parent string) *SitesDomainsListCall {
c := &SitesDomainsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8682,8 +8687,8 @@ type SitesDomainsUpdateCall struct {
// Update: Updates the specified domain mapping, creating the mapping as
// if it does not exist.
//
-// - name: The name of the domain association to update or create, if an
-// association doesn't already exist.
+// - name: The name of the domain association to update or create, if an
+// association doesn't already exist.
func (r *SitesDomainsService) Update(name string, domain *Domain) *SitesDomainsUpdateCall {
c := &SitesDomainsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8827,9 +8832,9 @@ type SitesReleasesCreateCall struct {
// Create: Creates a new release, which makes the content of the
// specified version actively display on the appropriate URL(s).
//
-// - parent: The site or channel to which the release belongs, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel to which the release belongs, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *SitesReleasesService) Create(parent string, release *Release) *SitesReleasesCreateCall {
c := &SitesReleasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8990,9 +8995,9 @@ type SitesReleasesListCall struct {
// includes releases for both the default `live` channel and any active
// preview channels for the specified site.
//
-// - parent: The site or channel for which to list releases, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel for which to list releases, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *SitesReleasesService) List(parent string) *SitesReleasesListCall {
c := &SitesReleasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9191,8 +9196,8 @@ type SitesVersionsCloneCall struct {
// Clone: Creates a new version on the specified target site using the
// content of the specified version.
//
-// - parent: The target site for the cloned version, in the format:
-// sites/ SITE_ID.
+// - parent: The target site for the cloned version, in the format:
+// sites/ SITE_ID.
func (r *SitesVersionsService) Clone(parent string, cloneversionrequest *CloneVersionRequest) *SitesVersionsCloneCall {
c := &SitesVersionsCloneCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9335,8 +9340,8 @@ type SitesVersionsCreateCall struct {
// Create: Creates a new version for the specified site.
//
-// - parent: The site in which to create the version, in the format:
-// sites/ SITE_ID.
+// - parent: The site in which to create the version, in the format:
+// sites/ SITE_ID.
func (r *SitesVersionsService) Create(parent string, version *Version) *SitesVersionsCreateCall {
c := &SitesVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9505,8 +9510,8 @@ type SitesVersionsDeleteCall struct {
// Delete: Deletes the specified version.
//
-// - name: The fully-qualified resource name for the version, in the
-// format: sites/SITE_ID/versions/VERSION_ID.
+// - name: The fully-qualified resource name for the version, in the
+// format: sites/SITE_ID/versions/VERSION_ID.
func (r *SitesVersionsService) Delete(name string) *SitesVersionsDeleteCall {
c := &SitesVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9642,9 +9647,9 @@ type SitesVersionsListCall struct {
// site. This list includes versions for both the default `live` channel
// and any active preview channels for the specified site.
//
-// - parent: The site or channel for which to list versions, in either
-// of the following formats: - sites/SITE_ID -
-// sites/SITE_ID/channels/CHANNEL_ID.
+// - parent: The site or channel for which to list versions, in either
+// of the following formats: - sites/SITE_ID -
+// sites/SITE_ID/channels/CHANNEL_ID.
func (r *SitesVersionsService) List(parent string) *SitesVersionsListCall {
c := &SitesVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9863,10 +9868,10 @@ type SitesVersionsPatchCall struct {
// `CREATED` to `FINALIZED`. Use `DeleteVersion` (delete) to set the
// status of a version to `DELETED`.
//
-// - name: The fully-qualified resource name for the version, in the
-// format: sites/ SITE_ID/versions/VERSION_ID This name is provided in
-// the response body when you call `CreateVersion`
-// (sites.versions/create).
+// - name: The fully-qualified resource name for the version, in the
+// format: sites/ SITE_ID/versions/VERSION_ID This name is provided in
+// the response body when you call `CreateVersion`
+// (sites.versions/create).
func (r *SitesVersionsService) Patch(name string, version *Version) *SitesVersionsPatchCall {
c := &SitesVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10026,8 +10031,8 @@ type SitesVersionsPopulateFilesCall struct {
// PopulateFiles: Adds content files to the specified version. Each
// file must be under 2 GB.
//
-// - parent: The version to which to add files, in the format:
-// sites/SITE_ID /versions/VERSION_ID.
+// - parent: The version to which to add files, in the format:
+// sites/SITE_ID /versions/VERSION_ID.
func (r *SitesVersionsService) PopulateFiles(parent string, populateversionfilesrequest *PopulateVersionFilesRequest) *SitesVersionsPopulateFilesCall {
c := &SitesVersionsPopulateFilesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10171,8 +10176,8 @@ type SitesVersionsFilesListCall struct {
// List: Lists the remaining files to be uploaded for the specified
// version.
//
-// - parent: The version for which to list files, in the format:
-// sites/SITE_ID /versions/VERSION_ID.
+// - parent: The version for which to list files, in the format:
+// sites/SITE_ID /versions/VERSION_ID.
func (r *SitesVersionsFilesService) List(parent string) *SitesVersionsFilesListCall {
c := &SitesVersionsFilesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10200,11 +10205,16 @@ func (c *SitesVersionsFilesListCall) PageToken(pageToken string) *SitesVersionsF
// should be listed for the specified version.
//
// Possible values:
-// "STATUS_UNSPECIFIED" - The default status; should not be
+//
+// "STATUS_UNSPECIFIED" - The default status; should not be
+//
// intentionally used.
-// "EXPECTED" - The file has been included in the version and is
+//
+// "EXPECTED" - The file has been included in the version and is
+//
// expected to be uploaded in the near future.
-// "ACTIVE" - The file has already been uploaded to Firebase Hosting.
+//
+// "ACTIVE" - The file has already been uploaded to Firebase Hosting.
func (c *SitesVersionsFilesListCall) Status(status string) *SitesVersionsFilesListCall {
c.urlParams_.Set("status", status)
return c
diff --git a/firebaseml/v1/firebaseml-gen.go b/firebaseml/v1/firebaseml-gen.go
index f782c87983c..350e690e31a 100644
--- a/firebaseml/v1/firebaseml-gen.go
+++ b/firebaseml/v1/firebaseml-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://firebase.google.com
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebaseml/v1"
-// ...
-// ctx := context.Background()
-// firebasemlService, err := firebaseml.NewService(ctx)
+// import "google.golang.org/api/firebaseml/v1"
+// ...
+// ctx := context.Background()
+// firebasemlService, err := firebaseml.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebasemlService, err := firebaseml.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebasemlService, err := firebaseml.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebasemlService, err := firebaseml.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebasemlService, err := firebaseml.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebaseml // import "google.golang.org/api/firebaseml/v1"
diff --git a/firebaseml/v1beta2/firebaseml-gen.go b/firebaseml/v1beta2/firebaseml-gen.go
index 0821b216661..ae9863020d4 100644
--- a/firebaseml/v1beta2/firebaseml-gen.go
+++ b/firebaseml/v1beta2/firebaseml-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://firebase.google.com
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebaseml/v1beta2"
-// ...
-// ctx := context.Background()
-// firebasemlService, err := firebaseml.NewService(ctx)
+// import "google.golang.org/api/firebaseml/v1beta2"
+// ...
+// ctx := context.Background()
+// firebasemlService, err := firebaseml.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebasemlService, err := firebaseml.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebasemlService, err := firebaseml.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebasemlService, err := firebaseml.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebasemlService, err := firebaseml.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebaseml // import "google.golang.org/api/firebaseml/v1beta2"
@@ -574,8 +574,8 @@ type ProjectsModelsCreateCall struct {
// Create: Creates a model in Firebase ML. The longrunning operation
// will eventually return a Model
//
-// - parent: The parent project resource where the model is to be
-// created. The parent must have the form `projects/{project_id}`.
+// - parent: The parent project resource where the model is to be
+// created. The parent must have the form `projects/{project_id}`.
func (r *ProjectsModelsService) Create(parent string, model *Model) *ProjectsModelsCreateCall {
c := &ProjectsModelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -716,8 +716,8 @@ type ProjectsModelsDeleteCall struct {
// Delete: Deletes a model
//
-// - name: The name of the model to delete. The name must have the form
-// `projects/{project_id}/models/{model_id}`.
+// - name: The name of the model to delete. The name must have the form
+// `projects/{project_id}/models/{model_id}`.
func (r *ProjectsModelsService) Delete(name string) *ProjectsModelsDeleteCall {
c := &ProjectsModelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -852,8 +852,8 @@ type ProjectsModelsDownloadCall struct {
// downloading model resources onto devices. It gives very limited
// information about the model.
//
-// - name: The name of the model to download. The name must have the
-// form `projects/{project}/models/{model}`.
+// - name: The name of the model to download. The name must have the
+// form `projects/{project}/models/{model}`.
func (r *ProjectsModelsService) Download(name string) *ProjectsModelsDownloadCall {
c := &ProjectsModelsDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -996,8 +996,8 @@ type ProjectsModelsGetCall struct {
// Get: Gets a model resource.
//
-// - name: The name of the model to get. The name must have the form
-// `projects/{project_id}/models/{model_id}`.
+// - name: The name of the model to get. The name must have the form
+// `projects/{project_id}/models/{model_id}`.
func (r *ProjectsModelsService) Get(name string) *ProjectsModelsGetCall {
c := &ProjectsModelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1143,8 +1143,8 @@ type ProjectsModelsListCall struct {
// List: Lists the models
//
-// - parent: The name of the parent to list models for. The parent must
-// have the form `projects/{project_id}'.
+// - parent: The name of the parent to list models for. The parent must
+// have the form `projects/{project_id}'.
func (r *ProjectsModelsService) List(parent string) *ProjectsModelsListCall {
c := &ProjectsModelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1349,9 +1349,9 @@ type ProjectsModelsPatchCall struct {
// Patch: Updates a model. The longrunning operation will eventually
// return a Model.
//
-// - name: The resource name of the Model. Model names have the form
-// `projects/{project_id}/models/{model_id}` The name is ignored when
-// creating a model.
+// - name: The resource name of the Model. Model names have the form
+// `projects/{project_id}/models/{model_id}` The name is ignored when
+// creating a model.
func (r *ProjectsModelsService) Patch(name string, model *Model) *ProjectsModelsPatchCall {
c := &ProjectsModelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/firebaseremoteconfig/v1/firebaseremoteconfig-gen.go b/firebaseremoteconfig/v1/firebaseremoteconfig-gen.go
index 217ecf82d50..e890efb262e 100644
--- a/firebaseremoteconfig/v1/firebaseremoteconfig-gen.go
+++ b/firebaseremoteconfig/v1/firebaseremoteconfig-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://firebase.google.com/docs/remote-config/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebaseremoteconfig/v1"
-// ...
-// ctx := context.Background()
-// firebaseremoteconfigService, err := firebaseremoteconfig.NewService(ctx)
+// import "google.golang.org/api/firebaseremoteconfig/v1"
+// ...
+// ctx := context.Background()
+// firebaseremoteconfigService, err := firebaseremoteconfig.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebaseremoteconfigService, err := firebaseremoteconfig.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebaseremoteconfigService, err := firebaseremoteconfig.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebaseremoteconfigService, err := firebaseremoteconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebaseremoteconfigService, err := firebaseremoteconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebaseremoteconfig // import "google.golang.org/api/firebaseremoteconfig/v1"
diff --git a/firebaserules/v1/firebaserules-gen.go b/firebaserules/v1/firebaserules-gen.go
index a403530d194..50641ddb94d 100644
--- a/firebaserules/v1/firebaserules-gen.go
+++ b/firebaserules/v1/firebaserules-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://firebase.google.com/docs/storage/security
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebaserules/v1"
-// ...
-// ctx := context.Background()
-// firebaserulesService, err := firebaserules.NewService(ctx)
+// import "google.golang.org/api/firebaserules/v1"
+// ...
+// ctx := context.Background()
+// firebaserulesService, err := firebaserules.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firebaserulesService, err := firebaserules.NewService(ctx, option.WithScopes(firebaserules.FirebaseReadonlyScope))
+// firebaserulesService, err := firebaserules.NewService(ctx, option.WithScopes(firebaserules.FirebaseReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebaserulesService, err := firebaserules.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebaserulesService, err := firebaserules.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebaserulesService, err := firebaserules.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebaserulesService, err := firebaserules.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebaserules // import "google.golang.org/api/firebaserules/v1"
@@ -1155,11 +1155,11 @@ type ProjectsTestCall struct {
// imageName.matches('*.jpg$')) && resource.mimeType.matches('^image/')
// } }
//
-// - name: Tests may either provide `source` or a `Ruleset` resource
-// name. For tests against `source`, the resource name must refer to
-// the project: Format: `projects/{project_id}` For tests against a
-// `Ruleset`, this must be the `Ruleset` resource name: Format:
-// `projects/{project_id}/rulesets/{ruleset_id}`.
+// - name: Tests may either provide `source` or a `Ruleset` resource
+// name. For tests against `source`, the resource name must refer to
+// the project: Format: `projects/{project_id}` For tests against a
+// `Ruleset`, this must be the `Ruleset` resource name: Format:
+// `projects/{project_id}/rulesets/{ruleset_id}`.
func (r *ProjectsService) Test(name string, testrulesetrequest *TestRulesetRequest) *ProjectsTestCall {
c := &ProjectsTestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1318,8 +1318,8 @@ type ProjectsReleasesCreateCall struct {
// `Ruleset` reference for a `Release` may be updated using the
// UpdateRelease method.
//
-// - name: Resource name for the project which owns this `Release`.
-// Format: `projects/{project_id}`.
+// - name: Resource name for the project which owns this `Release`.
+// Format: `projects/{project_id}`.
func (r *ProjectsReleasesService) Create(name string, release *Release) *ProjectsReleasesCreateCall {
c := &ProjectsReleasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1461,8 +1461,8 @@ type ProjectsReleasesDeleteCall struct {
// Delete: Delete a `Release` by resource name.
//
-// - name: Resource name for the `Release` to delete. Format:
-// `projects/{project_id}/releases/{release_id}`.
+// - name: Resource name for the `Release` to delete. Format:
+// `projects/{project_id}/releases/{release_id}`.
func (r *ProjectsReleasesService) Delete(name string) *ProjectsReleasesDeleteCall {
c := &ProjectsReleasesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1596,8 +1596,8 @@ type ProjectsReleasesGetCall struct {
// Get: Get a `Release` by name.
//
-// - name: Resource name of the `Release`. Format:
-// `projects/{project_id}/releases/{release_id}`.
+// - name: Resource name of the `Release`. Format:
+// `projects/{project_id}/releases/{release_id}`.
func (r *ProjectsReleasesService) Get(name string) *ProjectsReleasesGetCall {
c := &ProjectsReleasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1746,8 +1746,8 @@ type ProjectsReleasesGetExecutableCall struct {
// GetExecutable: Get the `Release` executable to use when enforcing
// rules.
//
-// - name: Resource name of the `Release`. Format:
-// `projects/{project_id}/releases/{release_id}`.
+// - name: Resource name of the `Release`. Format:
+// `projects/{project_id}/releases/{release_id}`.
func (r *ProjectsReleasesService) GetExecutable(name string) *ProjectsReleasesGetExecutableCall {
c := &ProjectsReleasesGetExecutableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1759,11 +1759,17 @@ func (r *ProjectsReleasesService) GetExecutable(name string) *ProjectsReleasesGe
// FIREBASE_RULES_EXECUTABLE_V1.
//
// Possible values:
-// "RELEASE_EXECUTABLE_VERSION_UNSPECIFIED" - Executable format
+//
+// "RELEASE_EXECUTABLE_VERSION_UNSPECIFIED" - Executable format
+//
// unspecified. Defaults to FIREBASE_RULES_EXECUTABLE_V1
-// "FIREBASE_RULES_EXECUTABLE_V1" - Firebase Rules syntax 'rules2'
+//
+// "FIREBASE_RULES_EXECUTABLE_V1" - Firebase Rules syntax 'rules2'
+//
// executable versions: Custom AST for use with Java clients.
-// "FIREBASE_RULES_EXECUTABLE_V2" - CEL-based executable for use with
+//
+// "FIREBASE_RULES_EXECUTABLE_V2" - CEL-based executable for use with
+//
// C++ clients.
func (c *ProjectsReleasesGetExecutableCall) ExecutableVersion(executableVersion string) *ProjectsReleasesGetExecutableCall {
c.urlParams_.Set("executableVersion", executableVersion)
@@ -1928,8 +1934,8 @@ type ProjectsReleasesListCall struct {
// optionally be filtered by `Release` name, `Ruleset` name, `TestSuite`
// name, or any combination thereof.
//
-// - name: Resource name for the project. Format:
-// `projects/{project_id}`.
+// - name: Resource name for the project. Format:
+// `projects/{project_id}`.
func (r *ProjectsReleasesService) List(name string) *ProjectsReleasesListCall {
c := &ProjectsReleasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2153,8 +2159,8 @@ type ProjectsReleasesPatchCall struct {
// will be honored. `Release` rename is not supported. To create a
// `Release` use the CreateRelease method.
//
-// - name: Resource name for the project which owns this `Release`.
-// Format: `projects/{project_id}`.
+// - name: Resource name for the project which owns this `Release`.
+// Format: `projects/{project_id}`.
func (r *ProjectsReleasesService) Patch(name string, updatereleaserequest *UpdateReleaseRequest) *ProjectsReleasesPatchCall {
c := &ProjectsReleasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2301,8 +2307,8 @@ type ProjectsRulesetsCreateCall struct {
// response indicating the first error encountered. For a detailed view
// of `Source` issues, use TestRuleset.
//
-// - name: Resource name for Project which owns this `Ruleset`. Format:
-// `projects/{project_id}`.
+// - name: Resource name for Project which owns this `Ruleset`. Format:
+// `projects/{project_id}`.
func (r *ProjectsRulesetsService) Create(name string, ruleset *Ruleset) *ProjectsRulesetsCreateCall {
c := &ProjectsRulesetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2445,8 +2451,8 @@ type ProjectsRulesetsDeleteCall struct {
// Delete: Delete a `Ruleset` by resource name. If the `Ruleset` is
// referenced by a `Release` the operation will fail.
//
-// - name: Resource name for the ruleset to delete. Format:
-// `projects/{project_id}/rulesets/{ruleset_id}`.
+// - name: Resource name for the ruleset to delete. Format:
+// `projects/{project_id}/rulesets/{ruleset_id}`.
func (r *ProjectsRulesetsService) Delete(name string) *ProjectsRulesetsDeleteCall {
c := &ProjectsRulesetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2580,8 +2586,8 @@ type ProjectsRulesetsGetCall struct {
// Get: Get a `Ruleset` by name including the full `Source` contents.
//
-// - name: Resource name for the ruleset to get. Format:
-// `projects/{project_id}/rulesets/{ruleset_id}`.
+// - name: Resource name for the ruleset to get. Format:
+// `projects/{project_id}/rulesets/{ruleset_id}`.
func (r *ProjectsRulesetsService) Get(name string) *ProjectsRulesetsGetCall {
c := &ProjectsRulesetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2731,8 +2737,8 @@ type ProjectsRulesetsListCall struct {
// by `Ruleset` name. The full `Source` contents of a `Ruleset` may be
// retrieved with GetRuleset.
//
-// - name: Resource name for the project. Format:
-// `projects/{project_id}`.
+// - name: Resource name for the project. Format:
+// `projects/{project_id}`.
func (r *ProjectsRulesetsService) List(name string) *ProjectsRulesetsListCall {
c := &ProjectsRulesetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/firebasestorage/v1beta/firebasestorage-gen.go b/firebasestorage/v1beta/firebasestorage-gen.go
index 84b8ed62e45..fe311493452 100644
--- a/firebasestorage/v1beta/firebasestorage-gen.go
+++ b/firebasestorage/v1beta/firebasestorage-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://firebase.google.com/docs/storage
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firebasestorage/v1beta"
-// ...
-// ctx := context.Background()
-// firebasestorageService, err := firebasestorage.NewService(ctx)
+// import "google.golang.org/api/firebasestorage/v1beta"
+// ...
+// ctx := context.Background()
+// firebasestorageService, err := firebasestorage.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firebasestorageService, err := firebasestorage.NewService(ctx, option.WithScopes(firebasestorage.FirebaseScope))
+// firebasestorageService, err := firebasestorage.NewService(ctx, option.WithScopes(firebasestorage.FirebaseScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firebasestorageService, err := firebasestorage.NewService(ctx, option.WithAPIKey("AIza..."))
+// firebasestorageService, err := firebasestorage.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firebasestorageService, err := firebasestorage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firebasestorageService, err := firebasestorage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firebasestorage // import "google.golang.org/api/firebasestorage/v1beta"
@@ -404,9 +404,9 @@ type ProjectsBucketsAddFirebaseCall struct {
// AddFirebase: Links a Google Cloud Storage bucket to a Firebase
// project.
//
-// - bucket: Resource name of the bucket, mirrors the ID of the
-// underlying Google Cloud Storage bucket,
-// `projects/{project_number}/buckets/{bucket_id}`.
+// - bucket: Resource name of the bucket, mirrors the ID of the
+// underlying Google Cloud Storage bucket,
+// `projects/{project_number}/buckets/{bucket_id}`.
func (r *ProjectsBucketsService) AddFirebase(bucket string, addfirebaserequest *AddFirebaseRequest) *ProjectsBucketsAddFirebaseCall {
c := &ProjectsBucketsAddFirebaseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -549,9 +549,9 @@ type ProjectsBucketsGetCall struct {
// Get: Gets a single linked storage bucket.
//
-// - name: Resource name of the bucket, mirrors the ID of the underlying
-// Google Cloud Storage bucket,
-// `projects/{project_number}/buckets/{bucket_id}`.
+// - name: Resource name of the bucket, mirrors the ID of the underlying
+// Google Cloud Storage bucket,
+// `projects/{project_number}/buckets/{bucket_id}`.
func (r *ProjectsBucketsService) Get(name string) *ProjectsBucketsGetCall {
c := &ProjectsBucketsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -698,8 +698,8 @@ type ProjectsBucketsListCall struct {
// List: Lists the linked storage buckets for a project.
//
-// - parent: Resource name of the parent Firebase project,
-// `projects/{project_number}`.
+// - parent: Resource name of the parent Firebase project,
+// `projects/{project_number}`.
func (r *ProjectsBucketsService) List(parent string) *ProjectsBucketsListCall {
c := &ProjectsBucketsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -896,9 +896,9 @@ type ProjectsBucketsRemoveFirebaseCall struct {
// RemoveFirebase: Unlinks a linked Google Cloud Storage bucket from a
// Firebase project.
//
-// - bucket: Resource name of the bucket, mirrors the ID of the
-// underlying Google Cloud Storage bucket,
-// `projects/{project_number}/buckets/{bucket_id}`.
+// - bucket: Resource name of the bucket, mirrors the ID of the
+// underlying Google Cloud Storage bucket,
+// `projects/{project_number}/buckets/{bucket_id}`.
func (r *ProjectsBucketsService) RemoveFirebase(bucket string, removefirebaserequest *RemoveFirebaseRequest) *ProjectsBucketsRemoveFirebaseCall {
c := &ProjectsBucketsRemoveFirebaseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
diff --git a/firestore/v1/firestore-gen.go b/firestore/v1/firestore-gen.go
index e2eb5701cb5..069d1727c37 100644
--- a/firestore/v1/firestore-gen.go
+++ b/firestore/v1/firestore-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/firestore
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firestore/v1"
-// ...
-// ctx := context.Background()
-// firestoreService, err := firestore.NewService(ctx)
+// import "google.golang.org/api/firestore/v1"
+// ...
+// ctx := context.Background()
+// firestoreService, err := firestore.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firestoreService, err := firestore.NewService(ctx, option.WithScopes(firestore.DatastoreScope))
+// firestoreService, err := firestore.NewService(ctx, option.WithScopes(firestore.DatastoreScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firestoreService, err := firestore.NewService(ctx, option.WithAPIKey("AIza..."))
+// firestoreService, err := firestore.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firestoreService, err := firestore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firestoreService, err := firestore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firestore // import "google.golang.org/api/firestore/v1"
@@ -3865,8 +3865,8 @@ type ProjectsDatabasesExportDocumentsCall struct {
// For more details on export behavior and output format, refer to:
// https://cloud.google.com/firestore/docs/manage-data/export-import
//
-// - name: Database to export. Should be of the form:
-// `projects/{project_id}/databases/{database_id}`.
+// - name: Database to export. Should be of the form:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesService) ExportDocuments(name string, googlefirestoreadminv1exportdocumentsrequest *GoogleFirestoreAdminV1ExportDocumentsRequest) *ProjectsDatabasesExportDocumentsCall {
c := &ProjectsDatabasesExportDocumentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4009,8 +4009,8 @@ type ProjectsDatabasesGetCall struct {
// Get: Gets information about a database.
//
-// - name: A name of the form
-// `projects/{project_id}/databases/{database_id}`.
+// - name: A name of the form
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesService) Get(name string) *ProjectsDatabasesGetCall {
c := &ProjectsDatabasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4162,8 +4162,8 @@ type ProjectsDatabasesImportDocumentsCall struct {
// ImportDocuments operation is cancelled, it is possible that a subset
// of the data has already been imported to Cloud Firestore.
//
-// - name: Database to import into. Should be of the form:
-// `projects/{project_id}/databases/{database_id}`.
+// - name: Database to import into. Should be of the form:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesService) ImportDocuments(name string, googlefirestoreadminv1importdocumentsrequest *GoogleFirestoreAdminV1ImportDocumentsRequest) *ProjectsDatabasesImportDocumentsCall {
c := &ProjectsDatabasesImportDocumentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4455,8 +4455,8 @@ type ProjectsDatabasesPatchCall struct {
// Patch: Updates a database.
//
-// - name: The resource name of the Database. Format:
-// `projects/{project}/databases/{database}`.
+// - name: The resource name of the Database. Format:
+// `projects/{project}/databases/{database}`.
func (r *ProjectsDatabasesService) Patch(name string, googlefirestoreadminv1database *GoogleFirestoreAdminV1Database) *ProjectsDatabasesPatchCall {
c := &ProjectsDatabasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4612,9 +4612,9 @@ type ProjectsDatabasesCollectionGroupsFieldsGetCall struct {
// Get: Gets the metadata and configuration for a Field.
//
-// - name: A name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}/fields/{field_id}`.
+// - name: A name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}/fields/{field_id}`.
func (r *ProjectsDatabasesCollectionGroupsFieldsService) Get(name string) *ProjectsDatabasesCollectionGroupsFieldsGetCall {
c := &ProjectsDatabasesCollectionGroupsFieldsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4765,9 +4765,9 @@ type ProjectsDatabasesCollectionGroupsFieldsListCall struct {
// FirestoreAdmin.ListFields with the filter set to
// `indexConfig.usesAncestorConfig:false` .
//
-// - parent: A parent name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}`.
+// - parent: A parent name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}`.
func (r *ProjectsDatabasesCollectionGroupsFieldsService) List(parent string) *ProjectsDatabasesCollectionGroupsFieldsListCall {
c := &ProjectsDatabasesCollectionGroupsFieldsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4989,27 +4989,27 @@ type ProjectsDatabasesCollectionGroupsFieldsPatchCall struct {
// `projects/{project_id}/databases/{database_id}/collectionGroups/__defa
// ult__/fields/*`.
//
-// - name: A field name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}/fields/{field_path}` A field path may be a simple field
-// name, e.g. `address` or a path to fields within map_value , e.g.
-// `address.city`, or a special field path. The only valid special
-// field is `*`, which represents any field. Field paths may be quoted
-// using ` (backtick). The only character that needs to be escaped
-// within a quoted field path is the backtick character itself,
-// escaped using a backslash. Special characters in field paths that
-// must be quoted include: `*`, `.`, ``` (backtick), `[`, `]`, as well
-// as any ascii symbolic characters. Examples: (Note: Comments here
-// are written in markdown syntax, so there is an additional layer of
-// backticks to represent a code block) `\`address.city\`` represents
-// a field named `address.city`, not the map key `city` in the field
-// `address`. `\`*\`` represents a field named `*`, not any field. A
-// special `Field` contains the default indexing settings for all
-// fields. This field's resource name is:
-// `projects/{project_id}/databases/{database_id}/collectionGroups/__de
-// fault__/fields/*` Indexes defined on this `Field` will be applied
-// to all fields which do not have their own `Field` index
-// configuration.
+// - name: A field name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}/fields/{field_path}` A field path may be a simple field
+// name, e.g. `address` or a path to fields within map_value , e.g.
+// `address.city`, or a special field path. The only valid special
+// field is `*`, which represents any field. Field paths may be quoted
+// using ` (backtick). The only character that needs to be escaped
+// within a quoted field path is the backtick character itself,
+// escaped using a backslash. Special characters in field paths that
+// must be quoted include: `*`, `.`, ``` (backtick), `[`, `]`, as well
+// as any ascii symbolic characters. Examples: (Note: Comments here
+// are written in markdown syntax, so there is an additional layer of
+// backticks to represent a code block) `\`address.city\“ represents
+// a field named `address.city`, not the map key `city` in the field
+// `address`. `\`*\“ represents a field named `*`, not any field. A
+// special `Field` contains the default indexing settings for all
+// fields. This field's resource name is:
+// `projects/{project_id}/databases/{database_id}/collectionGroups/__de
+// fault__/fields/*` Indexes defined on this `Field` will be applied
+// to all fields which do not have their own `Field` index
+// configuration.
func (r *ProjectsDatabasesCollectionGroupsFieldsService) Patch(name string, googlefirestoreadminv1field *GoogleFirestoreAdminV1Field) *ProjectsDatabasesCollectionGroupsFieldsPatchCall {
c := &ProjectsDatabasesCollectionGroupsFieldsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5169,9 +5169,9 @@ type ProjectsDatabasesCollectionGroupsIndexesCreateCall struct {
// the creation. The metadata for the operation will be the type
// IndexOperationMetadata.
//
-// - parent: A parent name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}`.
+// - parent: A parent name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}`.
func (r *ProjectsDatabasesCollectionGroupsIndexesService) Create(parent string, googlefirestoreadminv1index *GoogleFirestoreAdminV1Index) *ProjectsDatabasesCollectionGroupsIndexesCreateCall {
c := &ProjectsDatabasesCollectionGroupsIndexesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5313,9 +5313,9 @@ type ProjectsDatabasesCollectionGroupsIndexesDeleteCall struct {
// Delete: Deletes a composite index.
//
-// - name: A name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}/indexes/{index_id}`.
+// - name: A name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}/indexes/{index_id}`.
func (r *ProjectsDatabasesCollectionGroupsIndexesService) Delete(name string) *ProjectsDatabasesCollectionGroupsIndexesDeleteCall {
c := &ProjectsDatabasesCollectionGroupsIndexesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5449,9 +5449,9 @@ type ProjectsDatabasesCollectionGroupsIndexesGetCall struct {
// Get: Gets a composite index.
//
-// - name: A name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}/indexes/{index_id}`.
+// - name: A name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}/indexes/{index_id}`.
func (r *ProjectsDatabasesCollectionGroupsIndexesService) Get(name string) *ProjectsDatabasesCollectionGroupsIndexesGetCall {
c := &ProjectsDatabasesCollectionGroupsIndexesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5598,9 +5598,9 @@ type ProjectsDatabasesCollectionGroupsIndexesListCall struct {
// List: Lists composite indexes.
//
-// - parent: A parent name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}`.
+// - parent: A parent name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}`.
func (r *ProjectsDatabasesCollectionGroupsIndexesService) List(parent string) *ProjectsDatabasesCollectionGroupsIndexesListCall {
c := &ProjectsDatabasesCollectionGroupsIndexesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5810,8 +5810,8 @@ type ProjectsDatabasesDocumentsBatchGetCall struct {
// are not guaranteed to be returned in the same order that they were
// requested.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) BatchGet(database string, batchgetdocumentsrequest *BatchGetDocumentsRequest) *ProjectsDatabasesDocumentsBatchGetCall {
c := &ProjectsDatabasesDocumentsBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -5959,8 +5959,8 @@ type ProjectsDatabasesDocumentsBatchWriteCall struct {
// BatchWriteResponse for the success status of each write. If you
// require an atomically applied set of writes, use Commit instead.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) BatchWrite(database string, batchwriterequest *BatchWriteRequest) *ProjectsDatabasesDocumentsBatchWriteCall {
c := &ProjectsDatabasesDocumentsBatchWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -6103,8 +6103,8 @@ type ProjectsDatabasesDocumentsBeginTransactionCall struct {
// BeginTransaction: Starts a new transaction.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) BeginTransaction(database string, begintransactionrequest *BeginTransactionRequest) *ProjectsDatabasesDocumentsBeginTransactionCall {
c := &ProjectsDatabasesDocumentsBeginTransactionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -6247,8 +6247,8 @@ type ProjectsDatabasesDocumentsCommitCall struct {
// Commit: Commits a transaction, while optionally updating documents.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) Commit(database string, commitrequest *CommitRequest) *ProjectsDatabasesDocumentsCommitCall {
c := &ProjectsDatabasesDocumentsCommitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -6392,12 +6392,12 @@ type ProjectsDatabasesDocumentsCreateDocumentCall struct {
// CreateDocument: Creates a new document.
//
-// - collectionId: The collection ID, relative to `parent`, to list. For
-// example: `chatrooms`.
-// - parent: The parent resource. For example:
-// `projects/{project_id}/databases/{database_id}/documents` or
-// `projects/{project_id}/databases/{database_id}/documents/chatrooms/{
-// chatroom_id}`.
+// - collectionId: The collection ID, relative to `parent`, to list. For
+// example: `chatrooms`.
+// - parent: The parent resource. For example:
+// `projects/{project_id}/databases/{database_id}/documents` or
+// `projects/{project_id}/databases/{database_id}/documents/chatrooms/{
+// chatroom_id}`.
func (r *ProjectsDatabasesDocumentsService) CreateDocument(parent string, collectionId string, document *Document) *ProjectsDatabasesDocumentsCreateDocumentCall {
c := &ProjectsDatabasesDocumentsCreateDocumentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6575,9 +6575,9 @@ type ProjectsDatabasesDocumentsDeleteCall struct {
// Delete: Deletes a document.
//
-// - name: The resource name of the Document to delete. In the format:
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`.
+// - name: The resource name of the Document to delete. In the format:
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`.
func (r *ProjectsDatabasesDocumentsService) Delete(name string) *ProjectsDatabasesDocumentsDeleteCall {
c := &ProjectsDatabasesDocumentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6739,9 +6739,9 @@ type ProjectsDatabasesDocumentsGetCall struct {
// Get: Gets a single document.
//
-// - name: The resource name of the Document to get. In the format:
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`.
+// - name: The resource name of the Document to get. In the format:
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`.
func (r *ProjectsDatabasesDocumentsService) Get(name string) *ProjectsDatabasesDocumentsGetCall {
c := &ProjectsDatabasesDocumentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6930,15 +6930,15 @@ type ProjectsDatabasesDocumentsListCall struct {
// List: Lists documents.
//
-// - collectionId: The collection ID, relative to `parent`, to list. For
-// example: `chatrooms` or `messages`.
-// - parent: The parent resource name. In the format:
-// `projects/{project_id}/databases/{database_id}/documents` or
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`. For example:
-// `projects/my-project/databases/my-database/documents` or
-// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
-// atroom`.
+// - collectionId: The collection ID, relative to `parent`, to list. For
+// example: `chatrooms` or `messages`.
+// - parent: The parent resource name. In the format:
+// `projects/{project_id}/databases/{database_id}/documents` or
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`. For example:
+// `projects/my-project/databases/my-database/documents` or
+// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
+// atroom`.
func (r *ProjectsDatabasesDocumentsService) List(parent string, collectionId string) *ProjectsDatabasesDocumentsListCall {
c := &ProjectsDatabasesDocumentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7210,11 +7210,11 @@ type ProjectsDatabasesDocumentsListCollectionIdsCall struct {
// ListCollectionIds: Lists all the collection IDs underneath a
// document.
//
-// - parent: The parent document. In the format:
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`. For example:
-// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
-// atroom`.
+// - parent: The parent document. In the format:
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`. For example:
+// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
+// atroom`.
func (r *ProjectsDatabasesDocumentsService) ListCollectionIds(parent string, listcollectionidsrequest *ListCollectionIdsRequest) *ProjectsDatabasesDocumentsListCollectionIdsCall {
c := &ProjectsDatabasesDocumentsListCollectionIdsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7379,15 +7379,15 @@ type ProjectsDatabasesDocumentsListDocumentsCall struct {
// ListDocuments: Lists documents.
//
-// - collectionId: The collection ID, relative to `parent`, to list. For
-// example: `chatrooms` or `messages`.
-// - parent: The parent resource name. In the format:
-// `projects/{project_id}/databases/{database_id}/documents` or
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`. For example:
-// `projects/my-project/databases/my-database/documents` or
-// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
-// atroom`.
+// - collectionId: The collection ID, relative to `parent`, to list. For
+// example: `chatrooms` or `messages`.
+// - parent: The parent resource name. In the format:
+// `projects/{project_id}/databases/{database_id}/documents` or
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`. For example:
+// `projects/my-project/databases/my-database/documents` or
+// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
+// atroom`.
func (r *ProjectsDatabasesDocumentsService) ListDocuments(parent string, collectionId string) *ProjectsDatabasesDocumentsListDocumentsCall {
c := &ProjectsDatabasesDocumentsListDocumentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7658,8 +7658,8 @@ type ProjectsDatabasesDocumentsListenCall struct {
// Listen: Listens to changes.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) Listen(database string, listenrequest *ListenRequest) *ProjectsDatabasesDocumentsListenCall {
c := &ProjectsDatabasesDocumentsListenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -7805,10 +7805,10 @@ type ProjectsDatabasesDocumentsPartitionQueryCall struct {
// cursors are split points that can be used by RunQuery as starting/end
// points for the query results.
//
-// - parent: The parent resource name. In the format:
-// `projects/{project_id}/databases/{database_id}/documents`. Document
-// resource names are not supported; only database resource names can
-// be specified.
+// - parent: The parent resource name. In the format:
+// `projects/{project_id}/databases/{database_id}/documents`. Document
+// resource names are not supported; only database resource names can
+// be specified.
func (r *ProjectsDatabasesDocumentsService) PartitionQuery(parent string, partitionqueryrequest *PartitionQueryRequest) *ProjectsDatabasesDocumentsPartitionQueryCall {
c := &ProjectsDatabasesDocumentsPartitionQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7972,9 +7972,9 @@ type ProjectsDatabasesDocumentsPatchCall struct {
// Patch: Updates or inserts a document.
//
-// - name: The resource name of the document, for example
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`.
+// - name: The resource name of the document, for example
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`.
func (r *ProjectsDatabasesDocumentsService) Patch(name string, document *Document) *ProjectsDatabasesDocumentsPatchCall {
c := &ProjectsDatabasesDocumentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8173,8 +8173,8 @@ type ProjectsDatabasesDocumentsRollbackCall struct {
// Rollback: Rolls back a transaction.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) Rollback(database string, rollbackrequest *RollbackRequest) *ProjectsDatabasesDocumentsRollbackCall {
c := &ProjectsDatabasesDocumentsRollbackCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -8317,13 +8317,13 @@ type ProjectsDatabasesDocumentsRunQueryCall struct {
// RunQuery: Runs a query.
//
-// - parent: The parent resource name. In the format:
-// `projects/{project_id}/databases/{database_id}/documents` or
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`. For example:
-// `projects/my-project/databases/my-database/documents` or
-// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
-// atroom`.
+// - parent: The parent resource name. In the format:
+// `projects/{project_id}/databases/{database_id}/documents` or
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`. For example:
+// `projects/my-project/databases/my-database/documents` or
+// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
+// atroom`.
func (r *ProjectsDatabasesDocumentsService) RunQuery(parent string, runqueryrequest *RunQueryRequest) *ProjectsDatabasesDocumentsRunQueryCall {
c := &ProjectsDatabasesDocumentsRunQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8466,9 +8466,9 @@ type ProjectsDatabasesDocumentsWriteCall struct {
// Write: Streams batches of document updates and deletes, in order.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`. This is only
-// required in the first message.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`. This is only
+// required in the first message.
func (r *ProjectsDatabasesDocumentsService) Write(database string, writerequest *WriteRequest) *ProjectsDatabasesDocumentsWriteCall {
c := &ProjectsDatabasesDocumentsWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -9411,8 +9411,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/firestore/v1beta1/firestore-gen.go b/firestore/v1beta1/firestore-gen.go
index 42547ec1ad9..dc064be88a8 100644
--- a/firestore/v1beta1/firestore-gen.go
+++ b/firestore/v1beta1/firestore-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/firestore
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firestore/v1beta1"
-// ...
-// ctx := context.Background()
-// firestoreService, err := firestore.NewService(ctx)
+// import "google.golang.org/api/firestore/v1beta1"
+// ...
+// ctx := context.Background()
+// firestoreService, err := firestore.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firestoreService, err := firestore.NewService(ctx, option.WithScopes(firestore.DatastoreScope))
+// firestoreService, err := firestore.NewService(ctx, option.WithScopes(firestore.DatastoreScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firestoreService, err := firestore.NewService(ctx, option.WithAPIKey("AIza..."))
+// firestoreService, err := firestore.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firestoreService, err := firestore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firestoreService, err := firestore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firestore // import "google.golang.org/api/firestore/v1beta1"
@@ -3013,8 +3013,8 @@ type ProjectsDatabasesExportDocumentsCall struct {
// operation is done. If an export operation is cancelled before
// completion it may leave partial data behind in Google Cloud Storage.
//
-// - name: Database to export. Should be of the form:
-// `projects/{project_id}/databases/{database_id}`.
+// - name: Database to export. Should be of the form:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesService) ExportDocuments(name string, googlefirestoreadminv1beta1exportdocumentsrequest *GoogleFirestoreAdminV1beta1ExportDocumentsRequest) *ProjectsDatabasesExportDocumentsCall {
c := &ProjectsDatabasesExportDocumentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3162,8 +3162,8 @@ type ProjectsDatabasesImportDocumentsCall struct {
// ImportDocuments operation is cancelled, it is possible that a subset
// of the data has already been imported to Cloud Firestore.
//
-// - name: Database to import into. Should be of the form:
-// `projects/{project_id}/databases/{database_id}`.
+// - name: Database to import into. Should be of the form:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesService) ImportDocuments(name string, googlefirestoreadminv1beta1importdocumentsrequest *GoogleFirestoreAdminV1beta1ImportDocumentsRequest) *ProjectsDatabasesImportDocumentsCall {
c := &ProjectsDatabasesImportDocumentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3308,8 +3308,8 @@ type ProjectsDatabasesDocumentsBatchGetCall struct {
// are not guaranteed to be returned in the same order that they were
// requested.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) BatchGet(database string, batchgetdocumentsrequest *BatchGetDocumentsRequest) *ProjectsDatabasesDocumentsBatchGetCall {
c := &ProjectsDatabasesDocumentsBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -3457,8 +3457,8 @@ type ProjectsDatabasesDocumentsBatchWriteCall struct {
// BatchWriteResponse for the success status of each write. If you
// require an atomically applied set of writes, use Commit instead.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) BatchWrite(database string, batchwriterequest *BatchWriteRequest) *ProjectsDatabasesDocumentsBatchWriteCall {
c := &ProjectsDatabasesDocumentsBatchWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -3601,8 +3601,8 @@ type ProjectsDatabasesDocumentsBeginTransactionCall struct {
// BeginTransaction: Starts a new transaction.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) BeginTransaction(database string, begintransactionrequest *BeginTransactionRequest) *ProjectsDatabasesDocumentsBeginTransactionCall {
c := &ProjectsDatabasesDocumentsBeginTransactionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -3745,8 +3745,8 @@ type ProjectsDatabasesDocumentsCommitCall struct {
// Commit: Commits a transaction, while optionally updating documents.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) Commit(database string, commitrequest *CommitRequest) *ProjectsDatabasesDocumentsCommitCall {
c := &ProjectsDatabasesDocumentsCommitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -3890,12 +3890,12 @@ type ProjectsDatabasesDocumentsCreateDocumentCall struct {
// CreateDocument: Creates a new document.
//
-// - collectionId: The collection ID, relative to `parent`, to list. For
-// example: `chatrooms`.
-// - parent: The parent resource. For example:
-// `projects/{project_id}/databases/{database_id}/documents` or
-// `projects/{project_id}/databases/{database_id}/documents/chatrooms/{
-// chatroom_id}`.
+// - collectionId: The collection ID, relative to `parent`, to list. For
+// example: `chatrooms`.
+// - parent: The parent resource. For example:
+// `projects/{project_id}/databases/{database_id}/documents` or
+// `projects/{project_id}/databases/{database_id}/documents/chatrooms/{
+// chatroom_id}`.
func (r *ProjectsDatabasesDocumentsService) CreateDocument(parent string, collectionId string, document *Document) *ProjectsDatabasesDocumentsCreateDocumentCall {
c := &ProjectsDatabasesDocumentsCreateDocumentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4073,9 +4073,9 @@ type ProjectsDatabasesDocumentsDeleteCall struct {
// Delete: Deletes a document.
//
-// - name: The resource name of the Document to delete. In the format:
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`.
+// - name: The resource name of the Document to delete. In the format:
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`.
func (r *ProjectsDatabasesDocumentsService) Delete(name string) *ProjectsDatabasesDocumentsDeleteCall {
c := &ProjectsDatabasesDocumentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4237,9 +4237,9 @@ type ProjectsDatabasesDocumentsGetCall struct {
// Get: Gets a single document.
//
-// - name: The resource name of the Document to get. In the format:
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`.
+// - name: The resource name of the Document to get. In the format:
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`.
func (r *ProjectsDatabasesDocumentsService) Get(name string) *ProjectsDatabasesDocumentsGetCall {
c := &ProjectsDatabasesDocumentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4428,15 +4428,15 @@ type ProjectsDatabasesDocumentsListCall struct {
// List: Lists documents.
//
-// - collectionId: The collection ID, relative to `parent`, to list. For
-// example: `chatrooms` or `messages`.
-// - parent: The parent resource name. In the format:
-// `projects/{project_id}/databases/{database_id}/documents` or
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`. For example:
-// `projects/my-project/databases/my-database/documents` or
-// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
-// atroom`.
+// - collectionId: The collection ID, relative to `parent`, to list. For
+// example: `chatrooms` or `messages`.
+// - parent: The parent resource name. In the format:
+// `projects/{project_id}/databases/{database_id}/documents` or
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`. For example:
+// `projects/my-project/databases/my-database/documents` or
+// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
+// atroom`.
func (r *ProjectsDatabasesDocumentsService) List(parent string, collectionId string) *ProjectsDatabasesDocumentsListCall {
c := &ProjectsDatabasesDocumentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4708,11 +4708,11 @@ type ProjectsDatabasesDocumentsListCollectionIdsCall struct {
// ListCollectionIds: Lists all the collection IDs underneath a
// document.
//
-// - parent: The parent document. In the format:
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`. For example:
-// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
-// atroom`.
+// - parent: The parent document. In the format:
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`. For example:
+// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
+// atroom`.
func (r *ProjectsDatabasesDocumentsService) ListCollectionIds(parent string, listcollectionidsrequest *ListCollectionIdsRequest) *ProjectsDatabasesDocumentsListCollectionIdsCall {
c := &ProjectsDatabasesDocumentsListCollectionIdsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4877,15 +4877,15 @@ type ProjectsDatabasesDocumentsListDocumentsCall struct {
// ListDocuments: Lists documents.
//
-// - collectionId: The collection ID, relative to `parent`, to list. For
-// example: `chatrooms` or `messages`.
-// - parent: The parent resource name. In the format:
-// `projects/{project_id}/databases/{database_id}/documents` or
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`. For example:
-// `projects/my-project/databases/my-database/documents` or
-// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
-// atroom`.
+// - collectionId: The collection ID, relative to `parent`, to list. For
+// example: `chatrooms` or `messages`.
+// - parent: The parent resource name. In the format:
+// `projects/{project_id}/databases/{database_id}/documents` or
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`. For example:
+// `projects/my-project/databases/my-database/documents` or
+// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
+// atroom`.
func (r *ProjectsDatabasesDocumentsService) ListDocuments(parent string, collectionId string) *ProjectsDatabasesDocumentsListDocumentsCall {
c := &ProjectsDatabasesDocumentsListDocumentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5156,8 +5156,8 @@ type ProjectsDatabasesDocumentsListenCall struct {
// Listen: Listens to changes.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) Listen(database string, listenrequest *ListenRequest) *ProjectsDatabasesDocumentsListenCall {
c := &ProjectsDatabasesDocumentsListenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -5303,10 +5303,10 @@ type ProjectsDatabasesDocumentsPartitionQueryCall struct {
// cursors are split points that can be used by RunQuery as starting/end
// points for the query results.
//
-// - parent: The parent resource name. In the format:
-// `projects/{project_id}/databases/{database_id}/documents`. Document
-// resource names are not supported; only database resource names can
-// be specified.
+// - parent: The parent resource name. In the format:
+// `projects/{project_id}/databases/{database_id}/documents`. Document
+// resource names are not supported; only database resource names can
+// be specified.
func (r *ProjectsDatabasesDocumentsService) PartitionQuery(parent string, partitionqueryrequest *PartitionQueryRequest) *ProjectsDatabasesDocumentsPartitionQueryCall {
c := &ProjectsDatabasesDocumentsPartitionQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5470,9 +5470,9 @@ type ProjectsDatabasesDocumentsPatchCall struct {
// Patch: Updates or inserts a document.
//
-// - name: The resource name of the document, for example
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`.
+// - name: The resource name of the document, for example
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`.
func (r *ProjectsDatabasesDocumentsService) Patch(name string, document *Document) *ProjectsDatabasesDocumentsPatchCall {
c := &ProjectsDatabasesDocumentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5671,8 +5671,8 @@ type ProjectsDatabasesDocumentsRollbackCall struct {
// Rollback: Rolls back a transaction.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesDocumentsService) Rollback(database string, rollbackrequest *RollbackRequest) *ProjectsDatabasesDocumentsRollbackCall {
c := &ProjectsDatabasesDocumentsRollbackCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -5815,13 +5815,13 @@ type ProjectsDatabasesDocumentsRunQueryCall struct {
// RunQuery: Runs a query.
//
-// - parent: The parent resource name. In the format:
-// `projects/{project_id}/databases/{database_id}/documents` or
-// `projects/{project_id}/databases/{database_id}/documents/{document_p
-// ath}`. For example:
-// `projects/my-project/databases/my-database/documents` or
-// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
-// atroom`.
+// - parent: The parent resource name. In the format:
+// `projects/{project_id}/databases/{database_id}/documents` or
+// `projects/{project_id}/databases/{database_id}/documents/{document_p
+// ath}`. For example:
+// `projects/my-project/databases/my-database/documents` or
+// `projects/my-project/databases/my-database/documents/chatrooms/my-ch
+// atroom`.
func (r *ProjectsDatabasesDocumentsService) RunQuery(parent string, runqueryrequest *RunQueryRequest) *ProjectsDatabasesDocumentsRunQueryCall {
c := &ProjectsDatabasesDocumentsRunQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5964,9 +5964,9 @@ type ProjectsDatabasesDocumentsWriteCall struct {
// Write: Streams batches of document updates and deletes, in order.
//
-// - database: The database name. In the format:
-// `projects/{project_id}/databases/{database_id}`. This is only
-// required in the first message.
+// - database: The database name. In the format:
+// `projects/{project_id}/databases/{database_id}`. This is only
+// required in the first message.
func (r *ProjectsDatabasesDocumentsService) Write(database string, writerequest *WriteRequest) *ProjectsDatabasesDocumentsWriteCall {
c := &ProjectsDatabasesDocumentsWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -6117,8 +6117,8 @@ type ProjectsDatabasesIndexesCreateCall struct {
// index with delete, then re-creating the index with create. Indexes
// with a single field cannot be created.
//
-// - parent: The name of the database this index will apply to. For
-// example: `projects/{project_id}/databases/{database_id}`.
+// - parent: The name of the database this index will apply to. For
+// example: `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesIndexesService) Create(parent string, googlefirestoreadminv1beta1index *GoogleFirestoreAdminV1beta1Index) *ProjectsDatabasesIndexesCreateCall {
c := &ProjectsDatabasesIndexesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6260,8 +6260,8 @@ type ProjectsDatabasesIndexesDeleteCall struct {
// Delete: Deletes an index.
//
-// - name: The index name. For example:
-// `projects/{project_id}/databases/{database_id}/indexes/{index_id}`.
+// - name: The index name. For example:
+// `projects/{project_id}/databases/{database_id}/indexes/{index_id}`.
func (r *ProjectsDatabasesIndexesService) Delete(name string) *ProjectsDatabasesIndexesDeleteCall {
c := &ProjectsDatabasesIndexesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6395,8 +6395,8 @@ type ProjectsDatabasesIndexesGetCall struct {
// Get: Gets an index.
//
-// - name: The name of the index. For example:
-// `projects/{project_id}/databases/{database_id}/indexes/{index_id}`.
+// - name: The name of the index. For example:
+// `projects/{project_id}/databases/{database_id}/indexes/{index_id}`.
func (r *ProjectsDatabasesIndexesService) Get(name string) *ProjectsDatabasesIndexesGetCall {
c := &ProjectsDatabasesIndexesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6543,8 +6543,8 @@ type ProjectsDatabasesIndexesListCall struct {
// List: Lists the indexes that match the specified filters.
//
-// - parent: The database name. For example:
-// `projects/{project_id}/databases/{database_id}`.
+// - parent: The database name. For example:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesIndexesService) List(parent string) *ProjectsDatabasesIndexesListCall {
c := &ProjectsDatabasesIndexesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/firestore/v1beta2/firestore-gen.go b/firestore/v1beta2/firestore-gen.go
index 5dd62d68ea9..eb4afcba475 100644
--- a/firestore/v1beta2/firestore-gen.go
+++ b/firestore/v1beta2/firestore-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/firestore
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/firestore/v1beta2"
-// ...
-// ctx := context.Background()
-// firestoreService, err := firestore.NewService(ctx)
+// import "google.golang.org/api/firestore/v1beta2"
+// ...
+// ctx := context.Background()
+// firestoreService, err := firestore.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// firestoreService, err := firestore.NewService(ctx, option.WithScopes(firestore.DatastoreScope))
+// firestoreService, err := firestore.NewService(ctx, option.WithScopes(firestore.DatastoreScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// firestoreService, err := firestore.NewService(ctx, option.WithAPIKey("AIza..."))
+// firestoreService, err := firestore.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// firestoreService, err := firestore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// firestoreService, err := firestore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package firestore // import "google.golang.org/api/firestore/v1beta2"
@@ -1103,8 +1103,8 @@ type ProjectsDatabasesExportDocumentsCall struct {
// operation is done. If an export operation is cancelled before
// completion it may leave partial data behind in Google Cloud Storage.
//
-// - name: Database to export. Should be of the form:
-// `projects/{project_id}/databases/{database_id}`.
+// - name: Database to export. Should be of the form:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesService) ExportDocuments(name string, googlefirestoreadminv1beta2exportdocumentsrequest *GoogleFirestoreAdminV1beta2ExportDocumentsRequest) *ProjectsDatabasesExportDocumentsCall {
c := &ProjectsDatabasesExportDocumentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1252,8 +1252,8 @@ type ProjectsDatabasesImportDocumentsCall struct {
// ImportDocuments operation is cancelled, it is possible that a subset
// of the data has already been imported to Cloud Firestore.
//
-// - name: Database to import into. Should be of the form:
-// `projects/{project_id}/databases/{database_id}`.
+// - name: Database to import into. Should be of the form:
+// `projects/{project_id}/databases/{database_id}`.
func (r *ProjectsDatabasesService) ImportDocuments(name string, googlefirestoreadminv1beta2importdocumentsrequest *GoogleFirestoreAdminV1beta2ImportDocumentsRequest) *ProjectsDatabasesImportDocumentsCall {
c := &ProjectsDatabasesImportDocumentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1396,9 +1396,9 @@ type ProjectsDatabasesCollectionGroupsFieldsGetCall struct {
// Get: Gets the metadata and configuration for a Field.
//
-// - name: A name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}/fields/{field_id}`.
+// - name: A name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}/fields/{field_id}`.
func (r *ProjectsDatabasesCollectionGroupsFieldsService) Get(name string) *ProjectsDatabasesCollectionGroupsFieldsGetCall {
c := &ProjectsDatabasesCollectionGroupsFieldsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1549,9 +1549,9 @@ type ProjectsDatabasesCollectionGroupsFieldsListCall struct {
// FirestoreAdmin.ListFields with the filter set to
// `indexConfig.usesAncestorConfig:false`.
//
-// - parent: A parent name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}`.
+// - parent: A parent name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}`.
func (r *ProjectsDatabasesCollectionGroupsFieldsService) List(parent string) *ProjectsDatabasesCollectionGroupsFieldsListCall {
c := &ProjectsDatabasesCollectionGroupsFieldsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1773,27 +1773,27 @@ type ProjectsDatabasesCollectionGroupsFieldsPatchCall struct {
// `projects/{project_id}/databases/{database_id}/collectionGroups/__defa
// ult__/fields/*`.
//
-// - name: A field name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}/fields/{field_path}` A field path may be a simple field
-// name, e.g. `address` or a path to fields within map_value , e.g.
-// `address.city`, or a special field path. The only valid special
-// field is `*`, which represents any field. Field paths may be quoted
-// using ` (backtick). The only character that needs to be escaped
-// within a quoted field path is the backtick character itself,
-// escaped using a backslash. Special characters in field paths that
-// must be quoted include: `*`, `.`, ``` (backtick), `[`, `]`, as well
-// as any ascii symbolic characters. Examples: (Note: Comments here
-// are written in markdown syntax, so there is an additional layer of
-// backticks to represent a code block) `\`address.city\`` represents
-// a field named `address.city`, not the map key `city` in the field
-// `address`. `\`*\`` represents a field named `*`, not any field. A
-// special `Field` contains the default indexing settings for all
-// fields. This field's resource name is:
-// `projects/{project_id}/databases/{database_id}/collectionGroups/__de
-// fault__/fields/*` Indexes defined on this `Field` will be applied
-// to all fields which do not have their own `Field` index
-// configuration.
+// - name: A field name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}/fields/{field_path}` A field path may be a simple field
+// name, e.g. `address` or a path to fields within map_value , e.g.
+// `address.city`, or a special field path. The only valid special
+// field is `*`, which represents any field. Field paths may be quoted
+// using ` (backtick). The only character that needs to be escaped
+// within a quoted field path is the backtick character itself,
+// escaped using a backslash. Special characters in field paths that
+// must be quoted include: `*`, `.`, ``` (backtick), `[`, `]`, as well
+// as any ascii symbolic characters. Examples: (Note: Comments here
+// are written in markdown syntax, so there is an additional layer of
+// backticks to represent a code block) `\`address.city\“ represents
+// a field named `address.city`, not the map key `city` in the field
+// `address`. `\`*\“ represents a field named `*`, not any field. A
+// special `Field` contains the default indexing settings for all
+// fields. This field's resource name is:
+// `projects/{project_id}/databases/{database_id}/collectionGroups/__de
+// fault__/fields/*` Indexes defined on this `Field` will be applied
+// to all fields which do not have their own `Field` index
+// configuration.
func (r *ProjectsDatabasesCollectionGroupsFieldsService) Patch(name string, googlefirestoreadminv1beta2field *GoogleFirestoreAdminV1beta2Field) *ProjectsDatabasesCollectionGroupsFieldsPatchCall {
c := &ProjectsDatabasesCollectionGroupsFieldsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1953,9 +1953,9 @@ type ProjectsDatabasesCollectionGroupsIndexesCreateCall struct {
// the creation. The metadata for the operation will be the type
// IndexOperationMetadata.
//
-// - parent: A parent name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}`.
+// - parent: A parent name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}`.
func (r *ProjectsDatabasesCollectionGroupsIndexesService) Create(parent string, googlefirestoreadminv1beta2index *GoogleFirestoreAdminV1beta2Index) *ProjectsDatabasesCollectionGroupsIndexesCreateCall {
c := &ProjectsDatabasesCollectionGroupsIndexesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2097,9 +2097,9 @@ type ProjectsDatabasesCollectionGroupsIndexesDeleteCall struct {
// Delete: Deletes a composite index.
//
-// - name: A name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}/indexes/{index_id}`.
+// - name: A name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}/indexes/{index_id}`.
func (r *ProjectsDatabasesCollectionGroupsIndexesService) Delete(name string) *ProjectsDatabasesCollectionGroupsIndexesDeleteCall {
c := &ProjectsDatabasesCollectionGroupsIndexesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2233,9 +2233,9 @@ type ProjectsDatabasesCollectionGroupsIndexesGetCall struct {
// Get: Gets a composite index.
//
-// - name: A name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}/indexes/{index_id}`.
+// - name: A name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}/indexes/{index_id}`.
func (r *ProjectsDatabasesCollectionGroupsIndexesService) Get(name string) *ProjectsDatabasesCollectionGroupsIndexesGetCall {
c := &ProjectsDatabasesCollectionGroupsIndexesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2382,9 +2382,9 @@ type ProjectsDatabasesCollectionGroupsIndexesListCall struct {
// List: Lists composite indexes.
//
-// - parent: A parent name of the form
-// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
-// lection_id}`.
+// - parent: A parent name of the form
+// `projects/{project_id}/databases/{database_id}/collectionGroups/{col
+// lection_id}`.
func (r *ProjectsDatabasesCollectionGroupsIndexesService) List(parent string) *ProjectsDatabasesCollectionGroupsIndexesListCall {
c := &ProjectsDatabasesCollectionGroupsIndexesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/fitness/v1/fitness-gen.go b/fitness/v1/fitness-gen.go
index bd7fc7de5ee..8a69772e670 100644
--- a/fitness/v1/fitness-gen.go
+++ b/fitness/v1/fitness-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/fit/rest/v1/get-started
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/fitness/v1"
-// ...
-// ctx := context.Background()
-// fitnessService, err := fitness.NewService(ctx)
+// import "google.golang.org/api/fitness/v1"
+// ...
+// ctx := context.Background()
+// fitnessService, err := fitness.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// fitnessService, err := fitness.NewService(ctx, option.WithScopes(fitness.FitnessSleepWriteScope))
+// fitnessService, err := fitness.NewService(ctx, option.WithScopes(fitness.FitnessSleepWriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// fitnessService, err := fitness.NewService(ctx, option.WithAPIKey("AIza..."))
+// fitnessService, err := fitness.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// fitnessService, err := fitness.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// fitnessService, err := fitness.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package fitness // import "google.golang.org/api/fitness/v1"
@@ -1468,8 +1468,8 @@ type UsersDataSourcesCreateCall struct {
// number is obfuscated when read by any other developer reading public
// data types.
//
-// - userId: Create the data source for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - userId: Create the data source for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDataSourcesService) Create(userId string, datasource *DataSource) *UsersDataSourcesCreateCall {
c := &UsersDataSourcesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -1621,9 +1621,9 @@ type UsersDataSourcesDeleteCall struct {
// Delete: Deletes the specified data source. The request will fail if
// the data source contains any data points.
//
-// - dataSourceId: The data stream ID of the data source to delete.
-// - userId: Retrieve a data source for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - dataSourceId: The data stream ID of the data source to delete.
+// - userId: Retrieve a data source for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDataSourcesService) Delete(userId string, dataSourceId string) *UsersDataSourcesDeleteCall {
c := &UsersDataSourcesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -1775,9 +1775,9 @@ type UsersDataSourcesGetCall struct {
// Get: Returns the specified data source.
//
-// - dataSourceId: The data stream ID of the data source to retrieve.
-// - userId: Retrieve a data source for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - dataSourceId: The data stream ID of the data source to retrieve.
+// - userId: Retrieve a data source for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDataSourcesService) Get(userId string, dataSourceId string) *UsersDataSourcesGetCall {
c := &UsersDataSourcesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -1955,8 +1955,8 @@ type UsersDataSourcesListCall struct {
// have private data sources that are only visible to other developers,
// or calls using other scopes.
//
-// - userId: List data sources for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - userId: List data sources for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDataSourcesService) List(userId string) *UsersDataSourcesListCall {
c := &UsersDataSourcesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2140,9 +2140,9 @@ type UsersDataSourcesUpdateCall struct {
// exception of version, cannot be modified. Data sources are identified
// by their dataStreamId.
//
-// - dataSourceId: The data stream ID of the data source to update.
-// - userId: Update the data source for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - dataSourceId: The data stream ID of the data source to update.
+// - userId: Update the data source for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDataSourcesService) Update(userId string, dataSourceId string, datasource *DataSource) *UsersDataSourcesUpdateCall {
c := &UsersDataSourcesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2304,10 +2304,10 @@ type UsersDataSourcesDataPointChangesListCall struct {
// List: Queries for user's data point changes for a particular data
// source.
//
-// - dataSourceId: The data stream ID of the data source that created
-// the dataset.
-// - userId: List data points for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - dataSourceId: The data stream ID of the data source that created
+// the dataset.
+// - userId: List data points for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDataSourcesDataPointChangesService) List(userId string, dataSourceId string) *UsersDataSourcesDataPointChangesListCall {
c := &UsersDataSourcesDataPointChangesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2537,15 +2537,15 @@ type UsersDataSourcesDatasetsDeleteCall struct {
// straddles either end point of the dataset, only the overlapping
// portion of the data point will be deleted.
//
-// - dataSourceId: The data stream ID of the data source that created
-// the dataset.
-// - datasetId: Dataset identifier that is a composite of the minimum
-// data point start time and maximum data point end time represented
-// as nanoseconds from the epoch. The ID is formatted like:
-// "startTime-endTime" where startTime and endTime are 64 bit
-// integers.
-// - userId: Delete a dataset for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - dataSourceId: The data stream ID of the data source that created
+// the dataset.
+// - datasetId: Dataset identifier that is a composite of the minimum
+// data point start time and maximum data point end time represented
+// as nanoseconds from the epoch. The ID is formatted like:
+// "startTime-endTime" where startTime and endTime are 64 bit
+// integers.
+// - userId: Delete a dataset for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDataSourcesDatasetsService) Delete(userId string, dataSourceId string, datasetId string) *UsersDataSourcesDatasetsDeleteCall {
c := &UsersDataSourcesDatasetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2683,15 +2683,15 @@ type UsersDataSourcesDatasetsGetCall struct {
// time is less than or equal to the dataset end time and whose end time
// is greater than or equal to the dataset start time.
//
-// - dataSourceId: The data stream ID of the data source that created
-// the dataset.
-// - datasetId: Dataset identifier that is a composite of the minimum
-// data point start time and maximum data point end time represented
-// as nanoseconds from the epoch. The ID is formatted like:
-// "startTime-endTime" where startTime and endTime are 64 bit
-// integers.
-// - userId: Retrieve a dataset for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - dataSourceId: The data stream ID of the data source that created
+// the dataset.
+// - datasetId: Dataset identifier that is a composite of the minimum
+// data point start time and maximum data point end time represented
+// as nanoseconds from the epoch. The ID is formatted like:
+// "startTime-endTime" where startTime and endTime are 64 bit
+// integers.
+// - userId: Retrieve a dataset for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDataSourcesDatasetsService) Get(userId string, dataSourceId string, datasetId string) *UsersDataSourcesDatasetsGetCall {
c := &UsersDataSourcesDatasetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2936,11 +2936,11 @@ type UsersDataSourcesDatasetsPatchCall struct {
// semantics: the data points provided are merely inserted, with no
// existing data replaced.
//
-// - dataSourceId: The data stream ID of the data source that created
-// the dataset.
-// - datasetId: This field is not used, and can be safely omitted.
-// - userId: Patch a dataset for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - dataSourceId: The data stream ID of the data source that created
+// the dataset.
+// - datasetId: This field is not used, and can be safely omitted.
+// - userId: Patch a dataset for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDataSourcesDatasetsService) Patch(userId string, dataSourceId string, datasetId string, dataset *Dataset) *UsersDataSourcesDatasetsPatchCall {
c := &UsersDataSourcesDatasetsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3133,8 +3133,8 @@ type UsersDatasetAggregateCall struct {
// types and from multiple sources can be aggregated into exactly one
// bucket type per request.
//
-// - userId: Aggregate data for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - userId: Aggregate data for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersDatasetService) Aggregate(userId string, aggregaterequest *AggregateRequest) *UsersDatasetAggregateCall {
c := &UsersDatasetAggregateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3296,9 +3296,9 @@ type UsersSessionsDeleteCall struct {
// Delete: Deletes a session specified by the given session ID.
//
-// - sessionId: The ID of the session to be deleted.
-// - userId: Delete a session for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - sessionId: The ID of the session to be deleted.
+// - userId: Delete a session for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersSessionsService) Delete(userId string, sessionId string) *UsersSessionsDeleteCall {
c := &UsersSessionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3412,8 +3412,8 @@ type UsersSessionsListCall struct {
// List: Lists sessions previously created.
//
-// - userId: List sessions for the person identified. Use me to indicate
-// the authenticated user. Only me is supported at this time.
+// - userId: List sessions for the person identified. Use me to indicate
+// the authenticated user. Only me is supported at this time.
func (r *UsersSessionsService) List(userId string) *UsersSessionsListCall {
c := &UsersSessionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3679,9 +3679,9 @@ type UsersSessionsUpdateCall struct {
// Update: Updates or insert a given session.
//
-// - sessionId: The ID of the session to be created.
-// - userId: Create sessions for the person identified. Use me to
-// indicate the authenticated user. Only me is supported at this time.
+// - sessionId: The ID of the session to be created.
+// - userId: Create sessions for the person identified. Use me to
+// indicate the authenticated user. Only me is supported at this time.
func (r *UsersSessionsService) Update(userId string, sessionId string, session *Session) *UsersSessionsUpdateCall {
c := &UsersSessionsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
diff --git a/forms/v1/forms-gen.go b/forms/v1/forms-gen.go
index 48c221058d5..6d1530f7275 100644
--- a/forms/v1/forms-gen.go
+++ b/forms/v1/forms-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/forms/api
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/forms/v1"
-// ...
-// ctx := context.Background()
-// formsService, err := forms.NewService(ctx)
+// import "google.golang.org/api/forms/v1"
+// ...
+// ctx := context.Background()
+// formsService, err := forms.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// formsService, err := forms.NewService(ctx, option.WithScopes(forms.FormsResponsesReadonlyScope))
+// formsService, err := forms.NewService(ctx, option.WithScopes(forms.FormsResponsesReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// formsService, err := forms.NewService(ctx, option.WithAPIKey("AIza..."))
+// formsService, err := forms.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// formsService, err := forms.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// formsService, err := forms.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package forms // import "google.golang.org/api/forms/v1"
diff --git a/fusiontables/v1/fusiontables-gen.go b/fusiontables/v1/fusiontables-gen.go
index 67c7c149892..44b73ca0c51 100644
--- a/fusiontables/v1/fusiontables-gen.go
+++ b/fusiontables/v1/fusiontables-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/fusiontables
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/fusiontables/v1"
-// ...
-// ctx := context.Background()
-// fusiontablesService, err := fusiontables.NewService(ctx)
+// import "google.golang.org/api/fusiontables/v1"
+// ...
+// ctx := context.Background()
+// fusiontablesService, err := fusiontables.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// fusiontablesService, err := fusiontables.NewService(ctx, option.WithScopes(fusiontables.FusiontablesReadonlyScope))
+// fusiontablesService, err := fusiontables.NewService(ctx, option.WithScopes(fusiontables.FusiontablesReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// fusiontablesService, err := fusiontables.NewService(ctx, option.WithAPIKey("AIza..."))
+// fusiontablesService, err := fusiontables.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// fusiontablesService, err := fusiontables.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// fusiontablesService, err := fusiontables.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package fusiontables // import "google.golang.org/api/fusiontables/v1"
diff --git a/fusiontables/v2/fusiontables-gen.go b/fusiontables/v2/fusiontables-gen.go
index b57c950a3b7..720a23f8f7c 100644
--- a/fusiontables/v2/fusiontables-gen.go
+++ b/fusiontables/v2/fusiontables-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/fusiontables
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/fusiontables/v2"
-// ...
-// ctx := context.Background()
-// fusiontablesService, err := fusiontables.NewService(ctx)
+// import "google.golang.org/api/fusiontables/v2"
+// ...
+// ctx := context.Background()
+// fusiontablesService, err := fusiontables.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// fusiontablesService, err := fusiontables.NewService(ctx, option.WithScopes(fusiontables.FusiontablesReadonlyScope))
+// fusiontablesService, err := fusiontables.NewService(ctx, option.WithScopes(fusiontables.FusiontablesReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// fusiontablesService, err := fusiontables.NewService(ctx, option.WithAPIKey("AIza..."))
+// fusiontablesService, err := fusiontables.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// fusiontablesService, err := fusiontables.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// fusiontablesService, err := fusiontables.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package fusiontables // import "google.golang.org/api/fusiontables/v2"
diff --git a/games/v1/games-gen.go b/games/v1/games-gen.go
index 559a5418cbe..3e4d606ea0b 100644
--- a/games/v1/games-gen.go
+++ b/games/v1/games-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/games/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/games/v1"
-// ...
-// ctx := context.Background()
-// gamesService, err := games.NewService(ctx)
+// import "google.golang.org/api/games/v1"
+// ...
+// ctx := context.Background()
+// gamesService, err := games.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// gamesService, err := games.NewService(ctx, option.WithScopes(games.GamesScope))
+// gamesService, err := games.NewService(ctx, option.WithScopes(games.GamesScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gamesService, err := games.NewService(ctx, option.WithAPIKey("AIza..."))
+// gamesService, err := games.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gamesService, err := games.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gamesService, err := games.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package games // import "google.golang.org/api/games/v1"
@@ -3543,8 +3543,8 @@ type AchievementsListCall struct {
// List: Lists the progress for all your application's achievements for
// the currently authenticated player.
//
-// - playerId: A player ID. A value of `me` may be used in place of the
-// authenticated player's ID.
+// - playerId: A player ID. A value of `me` may be used in place of the
+// authenticated player's ID.
func (r *AchievementsService) List(playerId string) *AchievementsListCall {
c := &AchievementsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.playerId = playerId
@@ -3579,10 +3579,11 @@ func (c *AchievementsListCall) PageToken(pageToken string) *AchievementsListCall
// specified, all achievements are returned.
//
// Possible values:
-// "ALL" - List all achievements. This is the default.
-// "HIDDEN" - List only hidden achievements.
-// "REVEALED" - List only revealed achievements.
-// "UNLOCKED" - List only unlocked achievements.
+//
+// "ALL" - List all achievements. This is the default.
+// "HIDDEN" - List only hidden achievements.
+// "REVEALED" - List only revealed achievements.
+// "UNLOCKED" - List only unlocked achievements.
func (c *AchievementsListCall) State(state string) *AchievementsListCall {
c.urlParams_.Set("state", state)
return c
@@ -4319,8 +4320,8 @@ type ApplicationsGetCall struct {
// `platformType`, the returned response will not include any instance
// data.
//
-// - applicationId: The application ID from the Google Play developer
-// console.
+// - applicationId: The application ID from the Google Play developer
+// console.
func (r *ApplicationsService) Get(applicationId string) *ApplicationsGetCall {
c := &ApplicationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.applicationId = applicationId
@@ -4338,10 +4339,12 @@ func (c *ApplicationsGetCall) Language(language string) *ApplicationsGetCall {
// application details returned to the specific platform.
//
// Possible values:
-// "PLATFORM_TYPE_UNSPECIFIED" - Default value, don't use.
-// "ANDROID" - Retrieve applications that can be played on Android.
-// "IOS" - Retrieve applications that can be played on iOS.
-// "WEB_APP" - Retrieve applications that can be played on desktop
+//
+// "PLATFORM_TYPE_UNSPECIFIED" - Default value, don't use.
+// "ANDROID" - Retrieve applications that can be played on Android.
+// "IOS" - Retrieve applications that can be played on iOS.
+// "WEB_APP" - Retrieve applications that can be played on desktop
+//
// web.
func (c *ApplicationsGetCall) PlatformType(platformType string) *ApplicationsGetCall {
c.urlParams_.Set("platformType", platformType)
@@ -4521,9 +4524,10 @@ func (c *ApplicationsGetEndPointCall) ApplicationId(applicationId string) *Appli
// endpoint being requested.
//
// Possible values:
-// "END_POINT_TYPE_UNSPECIFIED" - Default value. This value is unused.
-// "PROFILE_CREATION" - Request a URL to create a new profile.
-// "PROFILE_SETTINGS" - Request a URL for the Settings view.
+//
+// "END_POINT_TYPE_UNSPECIFIED" - Default value. This value is unused.
+// "PROFILE_CREATION" - Request a URL to create a new profile.
+// "PROFILE_SETTINGS" - Request a URL for the Settings view.
func (c *ApplicationsGetEndPointCall) EndPointType(endPointType string) *ApplicationsGetEndPointCall {
c.urlParams_.Set("endPointType", endPointType)
return c
@@ -4753,8 +4757,8 @@ type ApplicationsVerifyCall struct {
// application with the specified ID, and returns the ID of the player
// it was granted for.
//
-// - applicationId: The application ID from the Google Play developer
-// console.
+// - applicationId: The application ID from the Google Play developer
+// console.
func (r *ApplicationsService) Verify(applicationId string) *ApplicationsVerifyCall {
c := &ApplicationsVerifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.applicationId = applicationId
@@ -5899,10 +5903,10 @@ type MetagameListCategoriesByPlayerCall struct {
// ListCategoriesByPlayer: List play data aggregated per category for
// the player corresponding to `playerId`.
//
-// - collection: The collection of categories for which data will be
-// returned.
-// - playerId: A player ID. A value of `me` may be used in place of the
-// authenticated player's ID.
+// - collection: The collection of categories for which data will be
+// returned.
+// - playerId: A player ID. A value of `me` may be used in place of the
+// authenticated player's ID.
func (r *MetagameService) ListCategoriesByPlayer(playerId string, collection string) *MetagameListCategoriesByPlayerCall {
c := &MetagameListCategoriesByPlayerCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.playerId = playerId
@@ -6125,8 +6129,8 @@ type PlayersGetCall struct {
// Get: Retrieves the Player resource with the given ID. To retrieve the
// player for the currently authenticated user, set `playerId` to `me`.
//
-// - playerId: A player ID. A value of `me` may be used in place of the
-// authenticated player's ID.
+// - playerId: A player ID. A value of `me` may be used in place of the
+// authenticated player's ID.
func (r *PlayersService) Get(playerId string) *PlayersGetCall {
c := &PlayersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.playerId = playerId
@@ -6643,11 +6647,11 @@ type RevisionsCheckCall struct {
// Check: Checks whether the games client is out of date.
//
-// - clientRevision: The revision of the client SDK used by your
-// application. Format: `[PLATFORM_TYPE]:[VERSION_NUMBER]`. Possible
-// values of `PLATFORM_TYPE` are: * `ANDROID` - Client is running the
-// Android SDK. * `IOS` - Client is running the iOS SDK. * `WEB_APP` -
-// Client is running as a Web App.
+// - clientRevision: The revision of the client SDK used by your
+// application. Format: `[PLATFORM_TYPE]:[VERSION_NUMBER]`. Possible
+// values of `PLATFORM_TYPE` are: * `ANDROID` - Client is running the
+// Android SDK. * `IOS` - Client is running the iOS SDK. * `WEB_APP` -
+// Client is running as a Web App.
func (r *RevisionsService) Check(clientRevision string) *RevisionsCheckCall {
c := &RevisionsCheckCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("clientRevision", clientRevision)
@@ -6796,11 +6800,11 @@ type ScoresGetCall struct {
// leaderboards and 'ALL' timeSpans in the same request; only one
// parameter may be set to 'ALL'.
//
-// - leaderboardId: The ID of the leaderboard. Can be set to 'ALL' to
-// retrieve data for all leaderboards for this application.
-// - playerId: A player ID. A value of `me` may be used in place of the
-// authenticated player's ID.
-// - timeSpan: The time span for the scores and ranks you're requesting.
+// - leaderboardId: The ID of the leaderboard. Can be set to 'ALL' to
+// retrieve data for all leaderboards for this application.
+// - playerId: A player ID. A value of `me` may be used in place of the
+// authenticated player's ID.
+// - timeSpan: The time span for the scores and ranks you're requesting.
func (r *ScoresService) Get(playerId string, leaderboardId string, timeSpan string) *ScoresGetCall {
c := &ScoresGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.playerId = playerId
@@ -6814,13 +6818,18 @@ func (r *ScoresService) Get(playerId string, leaderboardId string, timeSpan stri
// be returned.
//
// Possible values:
-// "INCLUDE_RANK_TYPE_UNSPECIFIED" - Default value. Should be unused.
-// "ALL" - Retrieve all supported ranks. In HTTP, this parameter value
+//
+// "INCLUDE_RANK_TYPE_UNSPECIFIED" - Default value. Should be unused.
+// "ALL" - Retrieve all supported ranks. In HTTP, this parameter value
+//
// can also be specified as `ALL`.
-// "PUBLIC" - Retrieve public ranks, if the player is sharing their
+//
+// "PUBLIC" - Retrieve public ranks, if the player is sharing their
+//
// gameplay activity publicly.
-// "SOCIAL" - (Obsolete) Retrieve the social rank.
-// "FRIENDS" - Retrieve the rank on the friends collection.
+//
+// "SOCIAL" - (Obsolete) Retrieve the social rank.
+// "FRIENDS" - Retrieve the rank on the friends collection.
func (c *ScoresGetCall) IncludeRankType(includeRankType string) *ScoresGetCall {
c.urlParams_.Set("includeRankType", includeRankType)
return c
@@ -7601,14 +7610,14 @@ type ScoresSubmitCall struct {
// Submit: Submits a score to the specified leaderboard.
//
-// - leaderboardId: The ID of the leaderboard.
-// - score: The score you're submitting. The submitted score is ignored
-// if it is worse than a previously submitted score, where worse
-// depends on the leaderboard sort order. The meaning of the score
-// value depends on the leaderboard format type. For fixed-point, the
-// score represents the raw value. For time, the score represents
-// elapsed time in milliseconds. For currency, the score represents a
-// value in micro units.
+// - leaderboardId: The ID of the leaderboard.
+// - score: The score you're submitting. The submitted score is ignored
+// if it is worse than a previously submitted score, where worse
+// depends on the leaderboard sort order. The meaning of the score
+// value depends on the leaderboard format type. For fixed-point, the
+// score represents the raw value. For time, the score represents
+// elapsed time in milliseconds. For currency, the score represents a
+// value in micro units.
func (r *ScoresService) Submit(leaderboardId string, score int64) *ScoresSubmitCall {
c := &ScoresSubmitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.leaderboardId = leaderboardId
@@ -8073,8 +8082,8 @@ type SnapshotsListCall struct {
// List: Retrieves a list of snapshots created by your application for
// the player corresponding to the player ID.
//
-// - playerId: A player ID. A value of `me` may be used in place of the
-// authenticated player's ID.
+// - playerId: A player ID. A value of `me` may be used in place of the
+// authenticated player's ID.
func (r *SnapshotsService) List(playerId string) *SnapshotsListCall {
c := &SnapshotsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.playerId = playerId
diff --git a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go
index 714b38b40d0..a4336801a32 100644
--- a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go
+++ b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/games/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gamesconfiguration/v1configuration"
-// ...
-// ctx := context.Background()
-// gamesconfigurationService, err := gamesconfiguration.NewService(ctx)
+// import "google.golang.org/api/gamesconfiguration/v1configuration"
+// ...
+// ctx := context.Background()
+// gamesconfigurationService, err := gamesconfiguration.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gamesconfigurationService, err := gamesconfiguration.NewService(ctx, option.WithAPIKey("AIza..."))
+// gamesconfigurationService, err := gamesconfiguration.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gamesconfigurationService, err := gamesconfiguration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gamesconfigurationService, err := gamesconfiguration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gamesconfiguration // import "google.golang.org/api/gamesconfiguration/v1configuration"
@@ -940,8 +940,8 @@ type AchievementConfigurationsInsertCall struct {
// Insert: Insert a new achievement configuration in this application.
//
-// - applicationId: The application ID from the Google Play developer
-// console.
+// - applicationId: The application ID from the Google Play developer
+// console.
func (r *AchievementConfigurationsService) Insert(applicationId string, achievementconfiguration *AchievementConfiguration) *AchievementConfigurationsInsertCall {
c := &AchievementConfigurationsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.applicationId = applicationId
@@ -1083,8 +1083,8 @@ type AchievementConfigurationsListCall struct {
// List: Returns a list of the achievement configurations in this
// application.
//
-// - applicationId: The application ID from the Google Play developer
-// console.
+// - applicationId: The application ID from the Google Play developer
+// console.
func (r *AchievementConfigurationsService) List(applicationId string) *AchievementConfigurationsListCall {
c := &AchievementConfigurationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.applicationId = applicationId
@@ -1903,8 +1903,8 @@ type LeaderboardConfigurationsInsertCall struct {
// Insert: Insert a new leaderboard configuration in this application.
//
-// - applicationId: The application ID from the Google Play developer
-// console.
+// - applicationId: The application ID from the Google Play developer
+// console.
func (r *LeaderboardConfigurationsService) Insert(applicationId string, leaderboardconfiguration *LeaderboardConfiguration) *LeaderboardConfigurationsInsertCall {
c := &LeaderboardConfigurationsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.applicationId = applicationId
@@ -2046,8 +2046,8 @@ type LeaderboardConfigurationsListCall struct {
// List: Returns a list of the leaderboard configurations in this
// application.
//
-// - applicationId: The application ID from the Google Play developer
-// console.
+// - applicationId: The application ID from the Google Play developer
+// console.
func (r *LeaderboardConfigurationsService) List(applicationId string) *LeaderboardConfigurationsListCall {
c := &LeaderboardConfigurationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.applicationId = applicationId
diff --git a/gameservices/v1/gameservices-gen.go b/gameservices/v1/gameservices-gen.go
index 2d1f544025b..572c000ee33 100644
--- a/gameservices/v1/gameservices-gen.go
+++ b/gameservices/v1/gameservices-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/solutions/gaming/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gameservices/v1"
-// ...
-// ctx := context.Background()
-// gameservicesService, err := gameservices.NewService(ctx)
+// import "google.golang.org/api/gameservices/v1"
+// ...
+// ctx := context.Background()
+// gameservicesService, err := gameservices.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gameservicesService, err := gameservices.NewService(ctx, option.WithAPIKey("AIza..."))
+// gameservicesService, err := gameservices.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gameservicesService, err := gameservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gameservicesService, err := gameservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gameservices // import "google.golang.org/api/gameservices/v1"
@@ -1450,8 +1450,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1673,10 +1673,10 @@ type ProjectsLocationsGameServerDeploymentsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGameServerDeploymentsService) GetIamPolicy(resource string) *ProjectsLocationsGameServerDeploymentsGetIamPolicyCall {
c := &ProjectsLocationsGameServerDeploymentsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1848,10 +1848,10 @@ type ProjectsLocationsGameServerDeploymentsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGameServerDeploymentsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGameServerDeploymentsSetIamPolicyCall {
c := &ProjectsLocationsGameServerDeploymentsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1998,10 +1998,10 @@ type ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGameServerDeploymentsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall {
c := &ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/gameservices/v1beta/gameservices-gen.go b/gameservices/v1beta/gameservices-gen.go
index 9e0c77816c2..9cb1ce0995c 100644
--- a/gameservices/v1beta/gameservices-gen.go
+++ b/gameservices/v1beta/gameservices-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/solutions/gaming/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gameservices/v1beta"
-// ...
-// ctx := context.Background()
-// gameservicesService, err := gameservices.NewService(ctx)
+// import "google.golang.org/api/gameservices/v1beta"
+// ...
+// ctx := context.Background()
+// gameservicesService, err := gameservices.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gameservicesService, err := gameservices.NewService(ctx, option.WithAPIKey("AIza..."))
+// gameservicesService, err := gameservices.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gameservicesService, err := gameservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gameservicesService, err := gameservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gameservices // import "google.golang.org/api/gameservices/v1beta"
@@ -1450,8 +1450,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1673,10 +1673,10 @@ type ProjectsLocationsGameServerDeploymentsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGameServerDeploymentsService) GetIamPolicy(resource string) *ProjectsLocationsGameServerDeploymentsGetIamPolicyCall {
c := &ProjectsLocationsGameServerDeploymentsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1848,10 +1848,10 @@ type ProjectsLocationsGameServerDeploymentsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGameServerDeploymentsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGameServerDeploymentsSetIamPolicyCall {
c := &ProjectsLocationsGameServerDeploymentsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1998,10 +1998,10 @@ type ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGameServerDeploymentsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall {
c := &ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/gamesmanagement/v1management/gamesmanagement-gen.go b/gamesmanagement/v1management/gamesmanagement-gen.go
index bb6b8aa7202..c4bd86984bb 100644
--- a/gamesmanagement/v1management/gamesmanagement-gen.go
+++ b/gamesmanagement/v1management/gamesmanagement-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/games/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gamesmanagement/v1management"
-// ...
-// ctx := context.Background()
-// gamesmanagementService, err := gamesmanagement.NewService(ctx)
+// import "google.golang.org/api/gamesmanagement/v1management"
+// ...
+// ctx := context.Background()
+// gamesmanagementService, err := gamesmanagement.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gamesmanagementService, err := gamesmanagement.NewService(ctx, option.WithAPIKey("AIza..."))
+// gamesmanagementService, err := gamesmanagement.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gamesmanagementService, err := gamesmanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gamesmanagementService, err := gamesmanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gamesmanagement // import "google.golang.org/api/gamesmanagement/v1management"
@@ -1296,8 +1296,8 @@ type ApplicationsListHiddenCall struct {
// application. This method is only available to user accounts for your
// developer console.
//
-// - applicationId: The application ID from the Google Play developer
-// console.
+// - applicationId: The application ID from the Google Play developer
+// console.
func (r *ApplicationsService) ListHidden(applicationId string) *ApplicationsListHiddenCall {
c := &ApplicationsListHiddenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.applicationId = applicationId
@@ -1978,10 +1978,10 @@ type PlayersHideCall struct {
// application. This method is only available to user accounts for your
// developer console.
//
-// - applicationId: The application ID from the Google Play developer
-// console.
-// - playerId: A player ID. A value of `me` may be used in place of the
-// authenticated player's ID.
+// - applicationId: The application ID from the Google Play developer
+// console.
+// - playerId: A player ID. A value of `me` may be used in place of the
+// authenticated player's ID.
func (r *PlayersService) Hide(applicationId string, playerId string) *PlayersHideCall {
c := &PlayersHideCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.applicationId = applicationId
@@ -2096,10 +2096,10 @@ type PlayersUnhideCall struct {
// application. This method is only available to user accounts for your
// developer console.
//
-// - applicationId: The application ID from the Google Play developer
-// console.
-// - playerId: A player ID. A value of `me` may be used in place of the
-// authenticated player's ID.
+// - applicationId: The application ID from the Google Play developer
+// console.
+// - playerId: A player ID. A value of `me` may be used in place of the
+// authenticated player's ID.
func (r *PlayersService) Unhide(applicationId string, playerId string) *PlayersUnhideCall {
c := &PlayersUnhideCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.applicationId = applicationId
diff --git a/genomics/v1/genomics-gen.go b/genomics/v1/genomics-gen.go
index 31e1982bfff..35880f3c337 100644
--- a/genomics/v1/genomics-gen.go
+++ b/genomics/v1/genomics-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/genomics
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/genomics/v1"
-// ...
-// ctx := context.Background()
-// genomicsService, err := genomics.NewService(ctx)
+// import "google.golang.org/api/genomics/v1"
+// ...
+// ctx := context.Background()
+// genomicsService, err := genomics.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// genomicsService, err := genomics.NewService(ctx, option.WithAPIKey("AIza..."))
+// genomicsService, err := genomics.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// genomicsService, err := genomics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// genomicsService, err := genomics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package genomics // import "google.golang.org/api/genomics/v1"
diff --git a/genomics/v1alpha2/genomics-gen.go b/genomics/v1alpha2/genomics-gen.go
index 07357bd06c7..00de38a5334 100644
--- a/genomics/v1alpha2/genomics-gen.go
+++ b/genomics/v1alpha2/genomics-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/genomics
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/genomics/v1alpha2"
-// ...
-// ctx := context.Background()
-// genomicsService, err := genomics.NewService(ctx)
+// import "google.golang.org/api/genomics/v1alpha2"
+// ...
+// ctx := context.Background()
+// genomicsService, err := genomics.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// genomicsService, err := genomics.NewService(ctx, option.WithScopes(genomics.GenomicsScope))
+// genomicsService, err := genomics.NewService(ctx, option.WithScopes(genomics.GenomicsScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// genomicsService, err := genomics.NewService(ctx, option.WithAPIKey("AIza..."))
+// genomicsService, err := genomics.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// genomicsService, err := genomics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// genomicsService, err := genomics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package genomics // import "google.golang.org/api/genomics/v1alpha2"
@@ -2473,8 +2473,8 @@ type PipelinesDeleteCall struct {
// Delete: Deletes a pipeline based on ID. Caller must have WRITE
// permission to the project.
//
-// - pipelineId: Caller must have WRITE access to the project in which
-// this pipeline is defined.
+// - pipelineId: Caller must have WRITE access to the project in which
+// this pipeline is defined.
func (r *PipelinesService) Delete(pipelineId string) *PipelinesDeleteCall {
c := &PipelinesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.pipelineId = pipelineId
@@ -2608,8 +2608,8 @@ type PipelinesGetCall struct {
// Get: Retrieves a pipeline based on ID. Caller must have READ
// permission to the project.
//
-// - pipelineId: Caller must have READ access to the project in which
-// this pipeline is defined.
+// - pipelineId: Caller must have READ access to the project in which
+// this pipeline is defined.
func (r *PipelinesService) Get(pipelineId string) *PipelinesGetCall {
c := &PipelinesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.pipelineId = pipelineId
diff --git a/genomics/v2alpha1/genomics-gen.go b/genomics/v2alpha1/genomics-gen.go
index c8835888c65..9f54cfdc1d9 100644
--- a/genomics/v2alpha1/genomics-gen.go
+++ b/genomics/v2alpha1/genomics-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/genomics
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/genomics/v2alpha1"
-// ...
-// ctx := context.Background()
-// genomicsService, err := genomics.NewService(ctx)
+// import "google.golang.org/api/genomics/v2alpha1"
+// ...
+// ctx := context.Background()
+// genomicsService, err := genomics.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// genomicsService, err := genomics.NewService(ctx, option.WithScopes(genomics.GenomicsScope))
+// genomicsService, err := genomics.NewService(ctx, option.WithScopes(genomics.GenomicsScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// genomicsService, err := genomics.NewService(ctx, option.WithAPIKey("AIza..."))
+// genomicsService, err := genomics.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// genomicsService, err := genomics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// genomicsService, err := genomics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package genomics // import "google.golang.org/api/genomics/v2alpha1"
@@ -2550,8 +2550,8 @@ type ProjectsWorkersCheckInCall struct {
// CheckIn: The worker uses this method to retrieve the assigned
// operation and provide periodic status updates.
//
-// - id: The VM identity token for authenticating the VM instance.
-// https://cloud.google.com/compute/docs/instances/verifying-instance-identity.
+// - id: The VM identity token for authenticating the VM instance.
+// https://cloud.google.com/compute/docs/instances/verifying-instance-identity.
func (r *ProjectsWorkersService) CheckIn(id string, checkinrequest *CheckInRequest) *ProjectsWorkersCheckInCall {
c := &ProjectsWorkersCheckInCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.id = id
@@ -2695,8 +2695,8 @@ type WorkersCheckInCall struct {
// CheckIn: The worker uses this method to retrieve the assigned
// operation and provide periodic status updates.
//
-// - id: The VM identity token for authenticating the VM instance.
-// https://cloud.google.com/compute/docs/instances/verifying-instance-identity.
+// - id: The VM identity token for authenticating the VM instance.
+// https://cloud.google.com/compute/docs/instances/verifying-instance-identity.
func (r *WorkersService) CheckIn(id string, checkinrequest *CheckInRequest) *WorkersCheckInCall {
c := &WorkersCheckInCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.id = id
diff --git a/gkebackup/v1/gkebackup-gen.go b/gkebackup/v1/gkebackup-gen.go
index a7b2c600313..1e1bdec3c02 100644
--- a/gkebackup/v1/gkebackup-gen.go
+++ b/gkebackup/v1/gkebackup-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gkebackup/v1"
-// ...
-// ctx := context.Background()
-// gkebackupService, err := gkebackup.NewService(ctx)
+// import "google.golang.org/api/gkebackup/v1"
+// ...
+// ctx := context.Background()
+// gkebackupService, err := gkebackup.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gkebackupService, err := gkebackup.NewService(ctx, option.WithAPIKey("AIza..."))
+// gkebackupService, err := gkebackup.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gkebackupService, err := gkebackup.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gkebackupService, err := gkebackup.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gkebackup // import "google.golang.org/api/gkebackup/v1"
@@ -2750,8 +2750,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2958,8 +2958,8 @@ type ProjectsLocationsBackupPlansCreateCall struct {
// Create: Creates a new BackupPlan in a given location.
//
-// - parent: The location within which to create the BackupPlan. Format:
-// `projects/*/locations/*`.
+// - parent: The location within which to create the BackupPlan. Format:
+// `projects/*/locations/*`.
func (r *ProjectsLocationsBackupPlansService) Create(parent string, backupplan *BackupPlan) *ProjectsLocationsBackupPlansCreateCall {
c := &ProjectsLocationsBackupPlansCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3116,8 +3116,8 @@ type ProjectsLocationsBackupPlansDeleteCall struct {
// Delete: Deletes an existing BackupPlan.
//
-// - name: Fully qualified BackupPlan name. Format:
-// `projects/*/locations/*/backupPlans/*`.
+// - name: Fully qualified BackupPlan name. Format:
+// `projects/*/locations/*/backupPlans/*`.
func (r *ProjectsLocationsBackupPlansService) Delete(name string) *ProjectsLocationsBackupPlansDeleteCall {
c := &ProjectsLocationsBackupPlansDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3263,8 +3263,8 @@ type ProjectsLocationsBackupPlansGetCall struct {
// Get: Retrieve the details of a single BackupPlan.
//
-// - name: Fully qualified BackupPlan name. Format:
-// `projects/*/locations/*/backupPlans/*`.
+// - name: Fully qualified BackupPlan name. Format:
+// `projects/*/locations/*/backupPlans/*`.
func (r *ProjectsLocationsBackupPlansService) Get(name string) *ProjectsLocationsBackupPlansGetCall {
c := &ProjectsLocationsBackupPlansGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3412,10 +3412,10 @@ type ProjectsLocationsBackupPlansGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsBackupPlansService) GetIamPolicy(resource string) *ProjectsLocationsBackupPlansGetIamPolicyCall {
c := &ProjectsLocationsBackupPlansGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3585,8 +3585,8 @@ type ProjectsLocationsBackupPlansListCall struct {
// List: Lists BackupPlans in a given location.
//
-// - parent: The location that contains the BackupPlans to list. Format:
-// `projects/*/locations/*`.
+// - parent: The location that contains the BackupPlans to list. Format:
+// `projects/*/locations/*`.
func (r *ProjectsLocationsBackupPlansService) List(parent string) *ProjectsLocationsBackupPlansListCall {
c := &ProjectsLocationsBackupPlansListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3809,8 +3809,8 @@ type ProjectsLocationsBackupPlansPatchCall struct {
// Patch: Update a BackupPlan.
//
-// - name: Output only. The full name of the BackupPlan resource.
-// Format: `projects/*/locations/*/backupPlans/*`.
+// - name: Output only. The full name of the BackupPlan resource.
+// Format: `projects/*/locations/*/backupPlans/*`.
func (r *ProjectsLocationsBackupPlansService) Patch(name string, backupplan *BackupPlan) *ProjectsLocationsBackupPlansPatchCall {
c := &ProjectsLocationsBackupPlansPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3975,10 +3975,10 @@ type ProjectsLocationsBackupPlansSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsBackupPlansService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBackupPlansSetIamPolicyCall {
c := &ProjectsLocationsBackupPlansSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4125,10 +4125,10 @@ type ProjectsLocationsBackupPlansTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsBackupPlansService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBackupPlansTestIamPermissionsCall {
c := &ProjectsLocationsBackupPlansTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4270,8 +4270,8 @@ type ProjectsLocationsBackupPlansBackupsCreateCall struct {
// Create: Creates a Backup for the given BackupPlan.
//
-// - parent: The BackupPlan within which to create the Backup. Format:
-// `projects/*/locations/*/backupPlans/*`.
+// - parent: The BackupPlan within which to create the Backup. Format:
+// `projects/*/locations/*/backupPlans/*`.
func (r *ProjectsLocationsBackupPlansBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsBackupPlansBackupsCreateCall {
c := &ProjectsLocationsBackupPlansBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4428,8 +4428,8 @@ type ProjectsLocationsBackupPlansBackupsDeleteCall struct {
// Delete: Deletes an existing Backup.
//
-// - name: Name of the Backup resource. Format:
-// `projects/*/locations/*/backupPlans/*/backups/*`.
+// - name: Name of the Backup resource. Format:
+// `projects/*/locations/*/backupPlans/*/backups/*`.
func (r *ProjectsLocationsBackupPlansBackupsService) Delete(name string) *ProjectsLocationsBackupPlansBackupsDeleteCall {
c := &ProjectsLocationsBackupPlansBackupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4588,8 +4588,8 @@ type ProjectsLocationsBackupPlansBackupsGetCall struct {
// Get: Retrieve the details of a single Backup.
//
-// - name: Full name of the Backup resource. Format:
-// `projects/*/locations/*/backupPlans/*/backups/*`.
+// - name: Full name of the Backup resource. Format:
+// `projects/*/locations/*/backupPlans/*/backups/*`.
func (r *ProjectsLocationsBackupPlansBackupsService) Get(name string) *ProjectsLocationsBackupPlansBackupsGetCall {
c := &ProjectsLocationsBackupPlansBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4737,10 +4737,10 @@ type ProjectsLocationsBackupPlansBackupsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsBackupPlansBackupsService) GetIamPolicy(resource string) *ProjectsLocationsBackupPlansBackupsGetIamPolicyCall {
c := &ProjectsLocationsBackupPlansBackupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4910,8 +4910,8 @@ type ProjectsLocationsBackupPlansBackupsListCall struct {
// List: Lists the Backups for a given BackupPlan.
//
-// - parent: The BackupPlan that contains the Backups to list. Format:
-// `projects/*/locations/*/backupPlans/*`.
+// - parent: The BackupPlan that contains the Backups to list. Format:
+// `projects/*/locations/*/backupPlans/*`.
func (r *ProjectsLocationsBackupPlansBackupsService) List(parent string) *ProjectsLocationsBackupPlansBackupsListCall {
c := &ProjectsLocationsBackupPlansBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5134,8 +5134,8 @@ type ProjectsLocationsBackupPlansBackupsPatchCall struct {
// Patch: Update a Backup.
//
-// - name: Output only. The fully qualified name of the Backup.
-// `projects/*/locations/*/backupPlans/*/backups/*`.
+// - name: Output only. The fully qualified name of the Backup.
+// `projects/*/locations/*/backupPlans/*/backups/*`.
func (r *ProjectsLocationsBackupPlansBackupsService) Patch(name string, backup *Backup) *ProjectsLocationsBackupPlansBackupsPatchCall {
c := &ProjectsLocationsBackupPlansBackupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5298,10 +5298,10 @@ type ProjectsLocationsBackupPlansBackupsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsBackupPlansBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBackupPlansBackupsSetIamPolicyCall {
c := &ProjectsLocationsBackupPlansBackupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5448,10 +5448,10 @@ type ProjectsLocationsBackupPlansBackupsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsBackupPlansBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBackupPlansBackupsTestIamPermissionsCall {
c := &ProjectsLocationsBackupPlansBackupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5593,8 +5593,8 @@ type ProjectsLocationsBackupPlansBackupsVolumeBackupsGetCall struct {
// Get: Retrieve the details of a single VolumeBackup.
//
-// - name: Full name of the VolumeBackup resource. Format:
-// `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.
+// - name: Full name of the VolumeBackup resource. Format:
+// `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`.
func (r *ProjectsLocationsBackupPlansBackupsVolumeBackupsService) Get(name string) *ProjectsLocationsBackupPlansBackupsVolumeBackupsGetCall {
c := &ProjectsLocationsBackupPlansBackupsVolumeBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5742,10 +5742,10 @@ type ProjectsLocationsBackupPlansBackupsVolumeBackupsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsBackupPlansBackupsVolumeBackupsService) GetIamPolicy(resource string) *ProjectsLocationsBackupPlansBackupsVolumeBackupsGetIamPolicyCall {
c := &ProjectsLocationsBackupPlansBackupsVolumeBackupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5915,8 +5915,8 @@ type ProjectsLocationsBackupPlansBackupsVolumeBackupsListCall struct {
// List: Lists the VolumeBackups for a given Backup.
//
-// - parent: The Backup that contains the VolumeBackups to list. Format:
-// `projects/*/locations/*/backupPlans/*/backups/*`.
+// - parent: The Backup that contains the VolumeBackups to list. Format:
+// `projects/*/locations/*/backupPlans/*/backups/*`.
func (r *ProjectsLocationsBackupPlansBackupsVolumeBackupsService) List(parent string) *ProjectsLocationsBackupPlansBackupsVolumeBackupsListCall {
c := &ProjectsLocationsBackupPlansBackupsVolumeBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6141,10 +6141,10 @@ type ProjectsLocationsBackupPlansBackupsVolumeBackupsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsBackupPlansBackupsVolumeBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBackupPlansBackupsVolumeBackupsSetIamPolicyCall {
c := &ProjectsLocationsBackupPlansBackupsVolumeBackupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6291,10 +6291,10 @@ type ProjectsLocationsBackupPlansBackupsVolumeBackupsTestIamPermissionsCall stru
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsBackupPlansBackupsVolumeBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBackupPlansBackupsVolumeBackupsTestIamPermissionsCall {
c := &ProjectsLocationsBackupPlansBackupsVolumeBackupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6949,8 +6949,8 @@ type ProjectsLocationsRestorePlansCreateCall struct {
// Create: Creates a new RestorePlan in a given location.
//
-// - parent: The location within which to create the RestorePlan.
-// Format: `projects/*/locations/*`.
+// - parent: The location within which to create the RestorePlan.
+// Format: `projects/*/locations/*`.
func (r *ProjectsLocationsRestorePlansService) Create(parent string, restoreplan *RestorePlan) *ProjectsLocationsRestorePlansCreateCall {
c := &ProjectsLocationsRestorePlansCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7107,8 +7107,8 @@ type ProjectsLocationsRestorePlansDeleteCall struct {
// Delete: Deletes an existing RestorePlan.
//
-// - name: Fully qualified RestorePlan name. Format:
-// `projects/*/locations/*/restorePlans/*`.
+// - name: Fully qualified RestorePlan name. Format:
+// `projects/*/locations/*/restorePlans/*`.
func (r *ProjectsLocationsRestorePlansService) Delete(name string) *ProjectsLocationsRestorePlansDeleteCall {
c := &ProjectsLocationsRestorePlansDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7267,8 +7267,8 @@ type ProjectsLocationsRestorePlansGetCall struct {
// Get: Retrieve the details of a single RestorePlan.
//
-// - name: Fully qualified RestorePlan name. Format:
-// `projects/*/locations/*/restorePlans/*`.
+// - name: Fully qualified RestorePlan name. Format:
+// `projects/*/locations/*/restorePlans/*`.
func (r *ProjectsLocationsRestorePlansService) Get(name string) *ProjectsLocationsRestorePlansGetCall {
c := &ProjectsLocationsRestorePlansGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7416,10 +7416,10 @@ type ProjectsLocationsRestorePlansGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRestorePlansService) GetIamPolicy(resource string) *ProjectsLocationsRestorePlansGetIamPolicyCall {
c := &ProjectsLocationsRestorePlansGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7589,8 +7589,8 @@ type ProjectsLocationsRestorePlansListCall struct {
// List: Lists RestorePlans in a given location.
//
-// - parent: The location that contains the RestorePlans to list.
-// Format: `projects/*/locations/*`.
+// - parent: The location that contains the RestorePlans to list.
+// Format: `projects/*/locations/*`.
func (r *ProjectsLocationsRestorePlansService) List(parent string) *ProjectsLocationsRestorePlansListCall {
c := &ProjectsLocationsRestorePlansListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7813,8 +7813,8 @@ type ProjectsLocationsRestorePlansPatchCall struct {
// Patch: Update a RestorePlan.
//
-// - name: Output only. The full name of the RestorePlan resource.
-// Format: `projects/*/locations/*/restorePlans/*`.
+// - name: Output only. The full name of the RestorePlan resource.
+// Format: `projects/*/locations/*/restorePlans/*`.
func (r *ProjectsLocationsRestorePlansService) Patch(name string, restoreplan *RestorePlan) *ProjectsLocationsRestorePlansPatchCall {
c := &ProjectsLocationsRestorePlansPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7978,10 +7978,10 @@ type ProjectsLocationsRestorePlansSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRestorePlansService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRestorePlansSetIamPolicyCall {
c := &ProjectsLocationsRestorePlansSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8128,10 +8128,10 @@ type ProjectsLocationsRestorePlansTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRestorePlansService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRestorePlansTestIamPermissionsCall {
c := &ProjectsLocationsRestorePlansTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8273,8 +8273,8 @@ type ProjectsLocationsRestorePlansRestoresCreateCall struct {
// Create: Creates a new Restore for the given RestorePlan.
//
-// - parent: The RestorePlan within which to create the Restore. Format:
-// `projects/*/locations/*/restorePlans/*`.
+// - parent: The RestorePlan within which to create the Restore. Format:
+// `projects/*/locations/*/restorePlans/*`.
func (r *ProjectsLocationsRestorePlansRestoresService) Create(parent string, restore *Restore) *ProjectsLocationsRestorePlansRestoresCreateCall {
c := &ProjectsLocationsRestorePlansRestoresCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8431,8 +8431,8 @@ type ProjectsLocationsRestorePlansRestoresDeleteCall struct {
// Delete: Deletes an existing Restore.
//
-// - name: Full name of the Restore Format:
-// `projects/*/locations/*/restorePlans/*/restores/*`.
+// - name: Full name of the Restore Format:
+// `projects/*/locations/*/restorePlans/*/restores/*`.
func (r *ProjectsLocationsRestorePlansRestoresService) Delete(name string) *ProjectsLocationsRestorePlansRestoresDeleteCall {
c := &ProjectsLocationsRestorePlansRestoresDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8591,8 +8591,8 @@ type ProjectsLocationsRestorePlansRestoresGetCall struct {
// Get: Retrieves the details of a single Restore.
//
-// - name: Name of the restore resource. Format:
-// `projects/*/locations/*/restorePlans/*/restores/*`.
+// - name: Name of the restore resource. Format:
+// `projects/*/locations/*/restorePlans/*/restores/*`.
func (r *ProjectsLocationsRestorePlansRestoresService) Get(name string) *ProjectsLocationsRestorePlansRestoresGetCall {
c := &ProjectsLocationsRestorePlansRestoresGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8740,10 +8740,10 @@ type ProjectsLocationsRestorePlansRestoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRestorePlansRestoresService) GetIamPolicy(resource string) *ProjectsLocationsRestorePlansRestoresGetIamPolicyCall {
c := &ProjectsLocationsRestorePlansRestoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8913,8 +8913,8 @@ type ProjectsLocationsRestorePlansRestoresListCall struct {
// List: Lists the Restores for a given RestorePlan.
//
-// - parent: The RestorePlan that contains the Restores to list. Format:
-// `projects/*/locations/*/restorePlans/*`.
+// - parent: The RestorePlan that contains the Restores to list. Format:
+// `projects/*/locations/*/restorePlans/*`.
func (r *ProjectsLocationsRestorePlansRestoresService) List(parent string) *ProjectsLocationsRestorePlansRestoresListCall {
c := &ProjectsLocationsRestorePlansRestoresListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9137,8 +9137,8 @@ type ProjectsLocationsRestorePlansRestoresPatchCall struct {
// Patch: Update a Restore.
//
-// - name: Output only. The full name of the Restore resource. Format:
-// `projects/*/locations/*/restorePlans/*/restores/*`.
+// - name: Output only. The full name of the Restore resource. Format:
+// `projects/*/locations/*/restorePlans/*/restores/*`.
func (r *ProjectsLocationsRestorePlansRestoresService) Patch(name string, restore *Restore) *ProjectsLocationsRestorePlansRestoresPatchCall {
c := &ProjectsLocationsRestorePlansRestoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9301,10 +9301,10 @@ type ProjectsLocationsRestorePlansRestoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRestorePlansRestoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRestorePlansRestoresSetIamPolicyCall {
c := &ProjectsLocationsRestorePlansRestoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9451,10 +9451,10 @@ type ProjectsLocationsRestorePlansRestoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRestorePlansRestoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRestorePlansRestoresTestIamPermissionsCall {
c := &ProjectsLocationsRestorePlansRestoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9596,8 +9596,8 @@ type ProjectsLocationsRestorePlansRestoresVolumeRestoresGetCall struct {
// Get: Retrieve the details of a single VolumeRestore.
//
-// - name: Full name of the VolumeRestore resource. Format:
-// `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`.
+// - name: Full name of the VolumeRestore resource. Format:
+// `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`.
func (r *ProjectsLocationsRestorePlansRestoresVolumeRestoresService) Get(name string) *ProjectsLocationsRestorePlansRestoresVolumeRestoresGetCall {
c := &ProjectsLocationsRestorePlansRestoresVolumeRestoresGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9745,10 +9745,10 @@ type ProjectsLocationsRestorePlansRestoresVolumeRestoresGetIamPolicyCall struct
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRestorePlansRestoresVolumeRestoresService) GetIamPolicy(resource string) *ProjectsLocationsRestorePlansRestoresVolumeRestoresGetIamPolicyCall {
c := &ProjectsLocationsRestorePlansRestoresVolumeRestoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9918,8 +9918,8 @@ type ProjectsLocationsRestorePlansRestoresVolumeRestoresListCall struct {
// List: Lists the VolumeRestores for a given Restore.
//
-// - parent: The Restore that contains the VolumeRestores to list.
-// Format: `projects/*/locations/*/restorePlans/*/restores/*`.
+// - parent: The Restore that contains the VolumeRestores to list.
+// Format: `projects/*/locations/*/restorePlans/*/restores/*`.
func (r *ProjectsLocationsRestorePlansRestoresVolumeRestoresService) List(parent string) *ProjectsLocationsRestorePlansRestoresVolumeRestoresListCall {
c := &ProjectsLocationsRestorePlansRestoresVolumeRestoresListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10145,10 +10145,10 @@ type ProjectsLocationsRestorePlansRestoresVolumeRestoresSetIamPolicyCall struct
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRestorePlansRestoresVolumeRestoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRestorePlansRestoresVolumeRestoresSetIamPolicyCall {
c := &ProjectsLocationsRestorePlansRestoresVolumeRestoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10295,10 +10295,10 @@ type ProjectsLocationsRestorePlansRestoresVolumeRestoresTestIamPermissionsCall s
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRestorePlansRestoresVolumeRestoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRestorePlansRestoresVolumeRestoresTestIamPermissionsCall {
c := &ProjectsLocationsRestorePlansRestoresVolumeRestoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go
index 66d22a0fa81..e2a14c29949 100644
--- a/gkehub/v1/gkehub-gen.go
+++ b/gkehub/v1/gkehub-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gkehub/v1"
-// ...
-// ctx := context.Background()
-// gkehubService, err := gkehub.NewService(ctx)
+// import "google.golang.org/api/gkehub/v1"
+// ...
+// ctx := context.Background()
+// gkehubService, err := gkehub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
+// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gkehub // import "google.golang.org/api/gkehub/v1"
@@ -3921,8 +3921,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4129,8 +4129,8 @@ type ProjectsLocationsFeaturesCreateCall struct {
// Create: Adds a new Feature.
//
-// - parent: The parent (project and location) where the Feature will be
-// created. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Feature will be
+// created. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsFeaturesService) Create(parent string, feature *Feature) *ProjectsLocationsFeaturesCreateCall {
c := &ProjectsLocationsFeaturesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4305,8 +4305,8 @@ type ProjectsLocationsFeaturesDeleteCall struct {
// Delete: Removes a Feature.
//
-// - name: The Feature resource name in the format
-// `projects/*/locations/*/features/*`.
+// - name: The Feature resource name in the format
+// `projects/*/locations/*/features/*`.
func (r *ProjectsLocationsFeaturesService) Delete(name string) *ProjectsLocationsFeaturesDeleteCall {
c := &ProjectsLocationsFeaturesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4475,8 +4475,8 @@ type ProjectsLocationsFeaturesGetCall struct {
// Get: Gets details of a single Feature.
//
-// - name: The Feature resource name in the format
-// `projects/*/locations/*/features/*`.
+// - name: The Feature resource name in the format
+// `projects/*/locations/*/features/*`.
func (r *ProjectsLocationsFeaturesService) Get(name string) *ProjectsLocationsFeaturesGetCall {
c := &ProjectsLocationsFeaturesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4624,10 +4624,10 @@ type ProjectsLocationsFeaturesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFeaturesService) GetIamPolicy(resource string) *ProjectsLocationsFeaturesGetIamPolicyCall {
c := &ProjectsLocationsFeaturesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4797,8 +4797,8 @@ type ProjectsLocationsFeaturesListCall struct {
// List: Lists Features in a given project and location.
//
-// - parent: The parent (project and location) where the Features will
-// be listed. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Features will
+// be listed. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsFeaturesService) List(parent string) *ProjectsLocationsFeaturesListCall {
c := &ProjectsLocationsFeaturesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5022,8 +5022,8 @@ type ProjectsLocationsFeaturesPatchCall struct {
// Patch: Updates an existing Feature.
//
-// - name: The Feature resource name in the format
-// `projects/*/locations/*/features/*`.
+// - name: The Feature resource name in the format
+// `projects/*/locations/*/features/*`.
func (r *ProjectsLocationsFeaturesService) Patch(name string, feature *Feature) *ProjectsLocationsFeaturesPatchCall {
c := &ProjectsLocationsFeaturesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5202,10 +5202,10 @@ type ProjectsLocationsFeaturesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFeaturesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsFeaturesSetIamPolicyCall {
c := &ProjectsLocationsFeaturesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5352,10 +5352,10 @@ type ProjectsLocationsFeaturesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFeaturesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsFeaturesTestIamPermissionsCall {
c := &ProjectsLocationsFeaturesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5500,8 +5500,8 @@ type ProjectsLocationsMembershipsCreateCall struct {
// follow the instructions at
// https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
//
-// - parent: The parent (project and location) where the Memberships
-// will be created. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships
+// will be created. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) Create(parent string, membership *Membership) *ProjectsLocationsMembershipsCreateCall {
c := &ProjectsLocationsMembershipsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5684,8 +5684,8 @@ type ProjectsLocationsMembershipsDeleteCall struct {
// the instructions at
// https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Delete(name string) *ProjectsLocationsMembershipsDeleteCall {
c := &ProjectsLocationsMembershipsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5843,8 +5843,8 @@ type ProjectsLocationsMembershipsGenerateConnectManifestCall struct {
// Google-provided libraries.** Most clients should not need to call
// this method directly.
//
-// - name: The Membership resource name the Agent will associate with,
-// in the format `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name the Agent will associate with,
+// in the format `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) GenerateConnectManifest(name string) *ProjectsLocationsMembershipsGenerateConnectManifestCall {
c := &ProjectsLocationsMembershipsGenerateConnectManifestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6073,8 +6073,8 @@ type ProjectsLocationsMembershipsGetCall struct {
// Get: Gets the details of a Membership.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Get(name string) *ProjectsLocationsMembershipsGetCall {
c := &ProjectsLocationsMembershipsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6222,10 +6222,10 @@ type ProjectsLocationsMembershipsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) GetIamPolicy(resource string) *ProjectsLocationsMembershipsGetIamPolicyCall {
c := &ProjectsLocationsMembershipsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6395,8 +6395,8 @@ type ProjectsLocationsMembershipsListCall struct {
// List: Lists Memberships in a given project and location.
//
-// - parent: The parent (project and location) where the Memberships
-// will be listed. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships
+// will be listed. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) List(parent string) *ProjectsLocationsMembershipsListCall {
c := &ProjectsLocationsMembershipsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6621,8 +6621,8 @@ type ProjectsLocationsMembershipsPatchCall struct {
// Patch: Updates an existing Membership.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Patch(name string, membership *Membership) *ProjectsLocationsMembershipsPatchCall {
c := &ProjectsLocationsMembershipsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6801,10 +6801,10 @@ type ProjectsLocationsMembershipsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMembershipsSetIamPolicyCall {
c := &ProjectsLocationsMembershipsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6951,10 +6951,10 @@ type ProjectsLocationsMembershipsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMembershipsTestIamPermissionsCall {
c := &ProjectsLocationsMembershipsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go
index 185da8819a2..eb3fc71fb44 100644
--- a/gkehub/v1alpha/gkehub-gen.go
+++ b/gkehub/v1alpha/gkehub-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gkehub/v1alpha"
-// ...
-// ctx := context.Background()
-// gkehubService, err := gkehub.NewService(ctx)
+// import "google.golang.org/api/gkehub/v1alpha"
+// ...
+// ctx := context.Background()
+// gkehubService, err := gkehub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
+// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gkehub // import "google.golang.org/api/gkehub/v1alpha"
@@ -5061,9 +5061,9 @@ type OrganizationsLocationsFleetsListCall struct {
// List: Returns all fleets within an organization or a project that the
// caller has access to.
//
-// - parent: The organization or project to list for Fleets under, in
-// the format `organizations/*/locations/*` or
-// `projects/*/locations/*`.
+// - parent: The organization or project to list for Fleets under, in
+// the format `organizations/*/locations/*` or
+// `projects/*/locations/*`.
func (r *OrganizationsLocationsFleetsService) List(parent string) *OrganizationsLocationsFleetsListCall {
c := &OrganizationsLocationsFleetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5406,8 +5406,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5614,8 +5614,8 @@ type ProjectsLocationsFeaturesCreateCall struct {
// Create: Adds a new Feature.
//
-// - parent: The parent (project and location) where the Feature will be
-// created. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Feature will be
+// created. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsFeaturesService) Create(parent string, feature *Feature) *ProjectsLocationsFeaturesCreateCall {
c := &ProjectsLocationsFeaturesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5790,8 +5790,8 @@ type ProjectsLocationsFeaturesDeleteCall struct {
// Delete: Removes a Feature.
//
-// - name: The Feature resource name in the format
-// `projects/*/locations/*/features/*`.
+// - name: The Feature resource name in the format
+// `projects/*/locations/*/features/*`.
func (r *ProjectsLocationsFeaturesService) Delete(name string) *ProjectsLocationsFeaturesDeleteCall {
c := &ProjectsLocationsFeaturesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5960,8 +5960,8 @@ type ProjectsLocationsFeaturesGetCall struct {
// Get: Gets details of a single Feature.
//
-// - name: The Feature resource name in the format
-// `projects/*/locations/*/features/*`.
+// - name: The Feature resource name in the format
+// `projects/*/locations/*/features/*`.
func (r *ProjectsLocationsFeaturesService) Get(name string) *ProjectsLocationsFeaturesGetCall {
c := &ProjectsLocationsFeaturesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6109,10 +6109,10 @@ type ProjectsLocationsFeaturesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFeaturesService) GetIamPolicy(resource string) *ProjectsLocationsFeaturesGetIamPolicyCall {
c := &ProjectsLocationsFeaturesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6282,8 +6282,8 @@ type ProjectsLocationsFeaturesListCall struct {
// List: Lists Features in a given project and location.
//
-// - parent: The parent (project and location) where the Features will
-// be listed. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Features will
+// be listed. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsFeaturesService) List(parent string) *ProjectsLocationsFeaturesListCall {
c := &ProjectsLocationsFeaturesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6507,8 +6507,8 @@ type ProjectsLocationsFeaturesPatchCall struct {
// Patch: Updates an existing Feature.
//
-// - name: The Feature resource name in the format
-// `projects/*/locations/*/features/*`.
+// - name: The Feature resource name in the format
+// `projects/*/locations/*/features/*`.
func (r *ProjectsLocationsFeaturesService) Patch(name string, feature *Feature) *ProjectsLocationsFeaturesPatchCall {
c := &ProjectsLocationsFeaturesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6687,10 +6687,10 @@ type ProjectsLocationsFeaturesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFeaturesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsFeaturesSetIamPolicyCall {
c := &ProjectsLocationsFeaturesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6837,10 +6837,10 @@ type ProjectsLocationsFeaturesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFeaturesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsFeaturesTestIamPermissionsCall {
c := &ProjectsLocationsFeaturesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6982,8 +6982,8 @@ type ProjectsLocationsFleetsCreateCall struct {
// Create: Creates a fleet.
//
-// - parent: The parent (project and location) where the Fleet will be
-// created. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Fleet will be
+// created. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsFleetsService) Create(parent string, fleet *Fleet) *ProjectsLocationsFleetsCreateCall {
c := &ProjectsLocationsFleetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7125,8 +7125,8 @@ type ProjectsLocationsFleetsDeleteCall struct {
// Delete: Removes a Fleet. There must be no memberships remaining in
// the Fleet.
//
-// - name: The Fleet resource name in the format
-// `projects/*/locations/*/fleets/*`.
+// - name: The Fleet resource name in the format
+// `projects/*/locations/*/fleets/*`.
func (r *ProjectsLocationsFleetsService) Delete(name string) *ProjectsLocationsFleetsDeleteCall {
c := &ProjectsLocationsFleetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7259,8 +7259,8 @@ type ProjectsLocationsFleetsGetCall struct {
// Get: Returns the details of a fleet.
//
-// - name: The Fleet resource name in the format
-// `projects/*/locations/*/fleets/*`.
+// - name: The Fleet resource name in the format
+// `projects/*/locations/*/fleets/*`.
func (r *ProjectsLocationsFleetsService) Get(name string) *ProjectsLocationsFleetsGetCall {
c := &ProjectsLocationsFleetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7407,9 +7407,9 @@ type ProjectsLocationsFleetsListCall struct {
// List: Returns all fleets within an organization or a project that the
// caller has access to.
//
-// - parent: The organization or project to list for Fleets under, in
-// the format `organizations/*/locations/*` or
-// `projects/*/locations/*`.
+// - parent: The organization or project to list for Fleets under, in
+// the format `organizations/*/locations/*` or
+// `projects/*/locations/*`.
func (r *ProjectsLocationsFleetsService) List(parent string) *ProjectsLocationsFleetsListCall {
c := &ProjectsLocationsFleetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7605,10 +7605,10 @@ type ProjectsLocationsFleetsPatchCall struct {
// Patch: Updates a fleet.
//
-// - name: Output only. The full, unique resource name of this fleet in
-// the format of
-// `projects/{project}/locations/{location}/fleets/{fleet}`. Each GCP
-// project can have at most one fleet resource, named "default".
+// - name: Output only. The full, unique resource name of this fleet in
+// the format of
+// `projects/{project}/locations/{location}/fleets/{fleet}`. Each GCP
+// project can have at most one fleet resource, named "default".
func (r *ProjectsLocationsFleetsService) Patch(name string, fleet *Fleet) *ProjectsLocationsFleetsPatchCall {
c := &ProjectsLocationsFleetsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7766,8 +7766,8 @@ type ProjectsLocationsMembershipsCreateCall struct {
// follow the instructions at
// https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
//
-// - parent: The parent (project and location) where the Memberships
-// will be created. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships
+// will be created. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) Create(parent string, membership *Membership) *ProjectsLocationsMembershipsCreateCall {
c := &ProjectsLocationsMembershipsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7950,8 +7950,8 @@ type ProjectsLocationsMembershipsDeleteCall struct {
// the instructions at
// https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Delete(name string) *ProjectsLocationsMembershipsDeleteCall {
c := &ProjectsLocationsMembershipsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8109,8 +8109,8 @@ type ProjectsLocationsMembershipsGenerateConnectManifestCall struct {
// Google-provided libraries.** Most clients should not need to call
// this method directly.
//
-// - name: The Membership resource name the Agent will associate with,
-// in the format `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name the Agent will associate with,
+// in the format `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) GenerateConnectManifest(name string) *ProjectsLocationsMembershipsGenerateConnectManifestCall {
c := &ProjectsLocationsMembershipsGenerateConnectManifestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8339,8 +8339,8 @@ type ProjectsLocationsMembershipsGetCall struct {
// Get: Gets the details of a Membership.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Get(name string) *ProjectsLocationsMembershipsGetCall {
c := &ProjectsLocationsMembershipsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8488,10 +8488,10 @@ type ProjectsLocationsMembershipsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) GetIamPolicy(resource string) *ProjectsLocationsMembershipsGetIamPolicyCall {
c := &ProjectsLocationsMembershipsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8661,8 +8661,8 @@ type ProjectsLocationsMembershipsListCall struct {
// List: Lists Memberships in a given project and location.
//
-// - parent: The parent (project and location) where the Memberships
-// will be listed. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships
+// will be listed. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) List(parent string) *ProjectsLocationsMembershipsListCall {
c := &ProjectsLocationsMembershipsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8888,9 +8888,9 @@ type ProjectsLocationsMembershipsListAdminCall struct {
// ListAdmin: Lists Memberships of admin clusters in a given project and
// location. **This method is only used internally**.
//
-// - parent: The parent (project and location) where the Memberships of
-// admin cluster will be listed. Specified in the format
-// `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships of
+// admin cluster will be listed. Specified in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) ListAdmin(parent string) *ProjectsLocationsMembershipsListAdminCall {
c := &ProjectsLocationsMembershipsListAdminCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9110,8 +9110,8 @@ type ProjectsLocationsMembershipsPatchCall struct {
// Patch: Updates an existing Membership.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Patch(name string, membership *Membership) *ProjectsLocationsMembershipsPatchCall {
c := &ProjectsLocationsMembershipsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9290,10 +9290,10 @@ type ProjectsLocationsMembershipsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMembershipsSetIamPolicyCall {
c := &ProjectsLocationsMembershipsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9440,10 +9440,10 @@ type ProjectsLocationsMembershipsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMembershipsTestIamPermissionsCall {
c := &ProjectsLocationsMembershipsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/gkehub/v1alpha2/gkehub-gen.go b/gkehub/v1alpha2/gkehub-gen.go
index 8894e47184b..6cec3dc5b53 100644
--- a/gkehub/v1alpha2/gkehub-gen.go
+++ b/gkehub/v1alpha2/gkehub-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gkehub/v1alpha2"
-// ...
-// ctx := context.Background()
-// gkehubService, err := gkehub.NewService(ctx)
+// import "google.golang.org/api/gkehub/v1alpha2"
+// ...
+// ctx := context.Background()
+// gkehubService, err := gkehub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
+// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gkehub // import "google.golang.org/api/gkehub/v1alpha2"
@@ -1941,8 +1941,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2155,8 +2155,8 @@ type ProjectsLocationsGlobalMembershipsInitializeHubCall struct {
// resources. A common example is granting the Hub Service Account
// access to another project, which requires the account to exist first.
//
-// - project: The Hub to initialize, in the format
-// `projects/*/locations/*/memberships/*`.
+// - project: The Hub to initialize, in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsGlobalMembershipsService) InitializeHub(project string, initializehubrequest *InitializeHubRequest) *ProjectsLocationsGlobalMembershipsInitializeHubCall {
c := &ProjectsLocationsGlobalMembershipsInitializeHubCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -2301,8 +2301,8 @@ type ProjectsLocationsMembershipsCreateCall struct {
// follow the instructions at
// https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
//
-// - parent: The parent (project and location) where the Memberships
-// will be created. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships
+// will be created. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) Create(parent string, membership *Membership) *ProjectsLocationsMembershipsCreateCall {
c := &ProjectsLocationsMembershipsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2463,8 +2463,8 @@ type ProjectsLocationsMembershipsDeleteCall struct {
// the instructions at
// https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Delete(name string) *ProjectsLocationsMembershipsDeleteCall {
c := &ProjectsLocationsMembershipsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2600,8 +2600,8 @@ type ProjectsLocationsMembershipsGenerateConnectManifestCall struct {
// Google-provided libraries.** Most clients should not need to call
// this method directly.
//
-// - name: The Membership resource name the Agent will associate with,
-// in the format `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name the Agent will associate with,
+// in the format `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) GenerateConnectManifest(name string) *ProjectsLocationsMembershipsGenerateConnectManifestCall {
c := &ProjectsLocationsMembershipsGenerateConnectManifestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2830,8 +2830,8 @@ type ProjectsLocationsMembershipsGetCall struct {
// Get: Gets the details of a Membership.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Get(name string) *ProjectsLocationsMembershipsGetCall {
c := &ProjectsLocationsMembershipsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2979,10 +2979,10 @@ type ProjectsLocationsMembershipsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) GetIamPolicy(resource string) *ProjectsLocationsMembershipsGetIamPolicyCall {
c := &ProjectsLocationsMembershipsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3152,8 +3152,8 @@ type ProjectsLocationsMembershipsListCall struct {
// List: Lists Memberships in a given project and location.
//
-// - parent: The parent (project and location) where the Memberships
-// will be listed. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships
+// will be listed. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) List(parent string) *ProjectsLocationsMembershipsListCall {
c := &ProjectsLocationsMembershipsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3378,8 +3378,8 @@ type ProjectsLocationsMembershipsPatchCall struct {
// Patch: Updates an existing Membership.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Patch(name string, membership *Membership) *ProjectsLocationsMembershipsPatchCall {
c := &ProjectsLocationsMembershipsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3536,10 +3536,10 @@ type ProjectsLocationsMembershipsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMembershipsSetIamPolicyCall {
c := &ProjectsLocationsMembershipsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3686,10 +3686,10 @@ type ProjectsLocationsMembershipsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMembershipsTestIamPermissionsCall {
c := &ProjectsLocationsMembershipsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go
index 55d3f10c696..a1c286e9f6e 100644
--- a/gkehub/v1beta/gkehub-gen.go
+++ b/gkehub/v1beta/gkehub-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gkehub/v1beta"
-// ...
-// ctx := context.Background()
-// gkehubService, err := gkehub.NewService(ctx)
+// import "google.golang.org/api/gkehub/v1beta"
+// ...
+// ctx := context.Background()
+// gkehubService, err := gkehub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
+// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gkehub // import "google.golang.org/api/gkehub/v1beta"
@@ -3753,8 +3753,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3961,8 +3961,8 @@ type ProjectsLocationsFeaturesCreateCall struct {
// Create: Adds a new Feature.
//
-// - parent: The parent (project and location) where the Feature will be
-// created. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Feature will be
+// created. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsFeaturesService) Create(parent string, feature *Feature) *ProjectsLocationsFeaturesCreateCall {
c := &ProjectsLocationsFeaturesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4137,8 +4137,8 @@ type ProjectsLocationsFeaturesDeleteCall struct {
// Delete: Removes a Feature.
//
-// - name: The Feature resource name in the format
-// `projects/*/locations/*/features/*`.
+// - name: The Feature resource name in the format
+// `projects/*/locations/*/features/*`.
func (r *ProjectsLocationsFeaturesService) Delete(name string) *ProjectsLocationsFeaturesDeleteCall {
c := &ProjectsLocationsFeaturesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4307,8 +4307,8 @@ type ProjectsLocationsFeaturesGetCall struct {
// Get: Gets details of a single Feature.
//
-// - name: The Feature resource name in the format
-// `projects/*/locations/*/features/*`.
+// - name: The Feature resource name in the format
+// `projects/*/locations/*/features/*`.
func (r *ProjectsLocationsFeaturesService) Get(name string) *ProjectsLocationsFeaturesGetCall {
c := &ProjectsLocationsFeaturesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4456,10 +4456,10 @@ type ProjectsLocationsFeaturesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFeaturesService) GetIamPolicy(resource string) *ProjectsLocationsFeaturesGetIamPolicyCall {
c := &ProjectsLocationsFeaturesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4629,8 +4629,8 @@ type ProjectsLocationsFeaturesListCall struct {
// List: Lists Features in a given project and location.
//
-// - parent: The parent (project and location) where the Features will
-// be listed. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Features will
+// be listed. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsFeaturesService) List(parent string) *ProjectsLocationsFeaturesListCall {
c := &ProjectsLocationsFeaturesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4854,8 +4854,8 @@ type ProjectsLocationsFeaturesPatchCall struct {
// Patch: Updates an existing Feature.
//
-// - name: The Feature resource name in the format
-// `projects/*/locations/*/features/*`.
+// - name: The Feature resource name in the format
+// `projects/*/locations/*/features/*`.
func (r *ProjectsLocationsFeaturesService) Patch(name string, feature *Feature) *ProjectsLocationsFeaturesPatchCall {
c := &ProjectsLocationsFeaturesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5034,10 +5034,10 @@ type ProjectsLocationsFeaturesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFeaturesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsFeaturesSetIamPolicyCall {
c := &ProjectsLocationsFeaturesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5184,10 +5184,10 @@ type ProjectsLocationsFeaturesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFeaturesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsFeaturesTestIamPermissionsCall {
c := &ProjectsLocationsFeaturesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5331,10 +5331,10 @@ type ProjectsLocationsMembershipsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) GetIamPolicy(resource string) *ProjectsLocationsMembershipsGetIamPolicyCall {
c := &ProjectsLocationsMembershipsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5506,10 +5506,10 @@ type ProjectsLocationsMembershipsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMembershipsSetIamPolicyCall {
c := &ProjectsLocationsMembershipsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5656,10 +5656,10 @@ type ProjectsLocationsMembershipsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMembershipsTestIamPermissionsCall {
c := &ProjectsLocationsMembershipsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/gkehub/v1beta1/gkehub-gen.go b/gkehub/v1beta1/gkehub-gen.go
index b3007008fe5..c3f73e70307 100644
--- a/gkehub/v1beta1/gkehub-gen.go
+++ b/gkehub/v1beta1/gkehub-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gkehub/v1beta1"
-// ...
-// ctx := context.Background()
-// gkehubService, err := gkehub.NewService(ctx)
+// import "google.golang.org/api/gkehub/v1beta1"
+// ...
+// ctx := context.Background()
+// gkehubService, err := gkehub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
+// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gkehub // import "google.golang.org/api/gkehub/v1beta1"
@@ -1953,8 +1953,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2164,8 +2164,8 @@ type ProjectsLocationsMembershipsCreateCall struct {
// follow the instructions at
// https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
//
-// - parent: The parent (project and location) where the Memberships
-// will be created. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships
+// will be created. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) Create(parent string, membership *Membership) *ProjectsLocationsMembershipsCreateCall {
c := &ProjectsLocationsMembershipsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2348,8 +2348,8 @@ type ProjectsLocationsMembershipsDeleteCall struct {
// the instructions at
// https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Delete(name string) *ProjectsLocationsMembershipsDeleteCall {
c := &ProjectsLocationsMembershipsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2507,8 +2507,8 @@ type ProjectsLocationsMembershipsGenerateConnectManifestCall struct {
// Google-provided libraries.** Most clients should not need to call
// this method directly.
//
-// - name: The Membership resource name the Agent will associate with,
-// in the format `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name the Agent will associate with,
+// in the format `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) GenerateConnectManifest(name string) *ProjectsLocationsMembershipsGenerateConnectManifestCall {
c := &ProjectsLocationsMembershipsGenerateConnectManifestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2758,8 +2758,8 @@ type ProjectsLocationsMembershipsGenerateExclusivityManifestCall struct {
// corresponding CR. The response will be the converted CRD and CR if
// there are any differences between the versions.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) GenerateExclusivityManifest(name string) *ProjectsLocationsMembershipsGenerateExclusivityManifestCall {
c := &ProjectsLocationsMembershipsGenerateExclusivityManifestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2933,8 +2933,8 @@ type ProjectsLocationsMembershipsGetCall struct {
// Get: Gets the details of a Membership.
//
-// - name: The Membership resource name in the format
-// `projects/*/locations/*/memberships/*`.
+// - name: The Membership resource name in the format
+// `projects/*/locations/*/memberships/*`.
func (r *ProjectsLocationsMembershipsService) Get(name string) *ProjectsLocationsMembershipsGetCall {
c := &ProjectsLocationsMembershipsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3082,10 +3082,10 @@ type ProjectsLocationsMembershipsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) GetIamPolicy(resource string) *ProjectsLocationsMembershipsGetIamPolicyCall {
c := &ProjectsLocationsMembershipsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3255,8 +3255,8 @@ type ProjectsLocationsMembershipsListCall struct {
// List: Lists Memberships in a given project and location.
//
-// - parent: The parent (project and location) where the Memberships
-// will be listed. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships
+// will be listed. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) List(parent string) *ProjectsLocationsMembershipsListCall {
c := &ProjectsLocationsMembershipsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3481,8 +3481,8 @@ type ProjectsLocationsMembershipsPatchCall struct {
// Patch: Updates an existing Membership.
//
-// - name: The membership resource name in the format:
-// `projects/[project_id]/locations/global/memberships/[membership_id]`.
+// - name: The membership resource name in the format:
+// `projects/[project_id]/locations/global/memberships/[membership_id]`.
func (r *ProjectsLocationsMembershipsService) Patch(name string, membership *Membership) *ProjectsLocationsMembershipsPatchCall {
c := &ProjectsLocationsMembershipsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3662,10 +3662,10 @@ type ProjectsLocationsMembershipsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMembershipsSetIamPolicyCall {
c := &ProjectsLocationsMembershipsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3812,10 +3812,10 @@ type ProjectsLocationsMembershipsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMembershipsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMembershipsTestIamPermissionsCall {
c := &ProjectsLocationsMembershipsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3959,8 +3959,8 @@ type ProjectsLocationsMembershipsValidateExclusivityCall struct {
// exclusivity in the cluster. The validation does not depend on an
// existing Hub membership resource.
//
-// - parent: The parent (project and location) where the Memberships
-// will be created. Specified in the format `projects/*/locations/*`.
+// - parent: The parent (project and location) where the Memberships
+// will be created. Specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsMembershipsService) ValidateExclusivity(parent string) *ProjectsLocationsMembershipsValidateExclusivityCall {
c := &ProjectsLocationsMembershipsValidateExclusivityCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/gkehub/v2alpha/gkehub-gen.go b/gkehub/v2alpha/gkehub-gen.go
index bfcb3dba754..0948986cfff 100644
--- a/gkehub/v2alpha/gkehub-gen.go
+++ b/gkehub/v2alpha/gkehub-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gkehub/v2alpha"
-// ...
-// ctx := context.Background()
-// gkehubService, err := gkehub.NewService(ctx)
+// import "google.golang.org/api/gkehub/v2alpha"
+// ...
+// ctx := context.Background()
+// gkehubService, err := gkehub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
+// gkehubService, err := gkehub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gkehubService, err := gkehub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gkehub // import "google.golang.org/api/gkehub/v2alpha"
@@ -576,8 +576,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/gmail/v1/gmail-gen.go b/gmail/v1/gmail-gen.go
index 0ff03b91433..750a4575a07 100644
--- a/gmail/v1/gmail-gen.go
+++ b/gmail/v1/gmail-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/gmail/api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gmail/v1"
-// ...
-// ctx := context.Background()
-// gmailService, err := gmail.NewService(ctx)
+// import "google.golang.org/api/gmail/v1"
+// ...
+// ctx := context.Background()
+// gmailService, err := gmail.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// gmailService, err := gmail.NewService(ctx, option.WithScopes(gmail.GmailSettingsSharingScope))
+// gmailService, err := gmail.NewService(ctx, option.WithScopes(gmail.GmailSettingsSharingScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gmailService, err := gmail.NewService(ctx, option.WithAPIKey("AIza..."))
+// gmailService, err := gmail.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gmailService, err := gmail.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gmailService, err := gmail.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gmail // import "google.golang.org/api/gmail/v1"
@@ -2269,8 +2269,8 @@ type UsersGetProfileCall struct {
// GetProfile: Gets the current user's Gmail profile.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersService) GetProfile(userId string) *UsersGetProfileCall {
c := &UsersGetProfileCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2419,8 +2419,8 @@ type UsersStopCall struct {
// Stop: Stop receiving push notifications for the given user mailbox.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersService) Stop(userId string) *UsersStopCall {
c := &UsersStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2529,8 +2529,8 @@ type UsersWatchCall struct {
// Watch: Set up or update a push notification watch on the given user
// mailbox.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersService) Watch(userId string, watchrequest *WatchRequest) *UsersWatchCall {
c := &UsersWatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2676,8 +2676,8 @@ type UsersDraftsCreateCall struct {
// Create: Creates a new draft with the `DRAFT` label.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersDraftsService) Create(userId string, draft *Draft) *UsersDraftsCreateCall {
c := &UsersDraftsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2907,9 +2907,9 @@ type UsersDraftsDeleteCall struct {
// Delete: Immediately and permanently deletes the specified draft. Does
// not simply trash it.
//
-// - id: The ID of the draft to delete.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the draft to delete.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersDraftsService) Delete(userId string, id string) *UsersDraftsDeleteCall {
c := &UsersDraftsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3027,9 +3027,9 @@ type UsersDraftsGetCall struct {
// Get: Gets the specified draft.
//
-// - id: The ID of the draft to retrieve.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the draft to retrieve.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersDraftsService) Get(userId string, id string) *UsersDraftsGetCall {
c := &UsersDraftsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3041,17 +3041,25 @@ func (r *UsersDraftsService) Get(userId string, id string) *UsersDraftsGetCall {
// draft in.
//
// Possible values:
-// "minimal" - Returns only email message ID and labels; does not
+//
+// "minimal" - Returns only email message ID and labels; does not
+//
// return the email headers, body, or payload.
-// "full" (default) - Returns the full email message data with body
+//
+// "full" (default) - Returns the full email message data with body
+//
// content parsed in the `payload` field; the `raw` field is not used.
// Format cannot be used when accessing the api using the gmail.metadata
// scope.
-// "raw" - Returns the full email message data with body content in
+//
+// "raw" - Returns the full email message data with body content in
+//
// the `raw` field as a base64url encoded string; the `payload` field is
// not used. Format cannot be used when accessing the api using the
// gmail.metadata scope.
-// "metadata" - Returns only email message ID, labels, and email
+//
+// "metadata" - Returns only email message ID, labels, and email
+//
// headers.
func (c *UsersDraftsGetCall) Format(format string) *UsersDraftsGetCall {
c.urlParams_.Set("format", format)
@@ -3226,8 +3234,8 @@ type UsersDraftsListCall struct {
// List: Lists the drafts in the user's mailbox.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersDraftsService) List(userId string) *UsersDraftsListCall {
c := &UsersDraftsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3453,8 +3461,8 @@ type UsersDraftsSendCall struct {
// Send: Sends the specified, existing draft to the recipients in the
// `To`, `Cc`, and `Bcc` headers.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersDraftsService) Send(userId string, draft *Draft) *UsersDraftsSendCall {
c := &UsersDraftsSendCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3685,9 +3693,9 @@ type UsersDraftsUpdateCall struct {
// Update: Replaces a draft's content.
//
-// - id: The ID of the draft to update.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the draft to update.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersDraftsService) Update(userId string, id string, draft *Draft) *UsersDraftsUpdateCall {
c := &UsersDraftsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3926,8 +3934,8 @@ type UsersHistoryListCall struct {
// List: Lists the history of all changes to the given mailbox. History
// results are returned in chronological order (increasing `historyId`).
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersHistoryService) List(userId string) *UsersHistoryListCall {
c := &UsersHistoryListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -3938,10 +3946,11 @@ func (r *UsersHistoryService) List(userId string) *UsersHistoryListCall {
// types to be returned by the function
//
// Possible values:
-// "messageAdded"
-// "messageDeleted"
-// "labelAdded"
-// "labelRemoved"
+//
+// "messageAdded"
+// "messageDeleted"
+// "labelAdded"
+// "labelRemoved"
func (c *UsersHistoryListCall) HistoryTypes(historyTypes ...string) *UsersHistoryListCall {
c.urlParams_.SetMulti("historyTypes", append([]string{}, historyTypes...))
return c
@@ -4191,8 +4200,8 @@ type UsersLabelsCreateCall struct {
// Create: Creates a new label.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersLabelsService) Create(userId string, label *Label) *UsersLabelsCreateCall {
c := &UsersLabelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -4337,9 +4346,9 @@ type UsersLabelsDeleteCall struct {
// Delete: Immediately and permanently deletes the specified label and
// removes it from any messages and threads that it is applied to.
//
-// - id: The ID of the label to delete.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the label to delete.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersLabelsService) Delete(userId string, id string) *UsersLabelsDeleteCall {
c := &UsersLabelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -4456,9 +4465,9 @@ type UsersLabelsGetCall struct {
// Get: Gets the specified label.
//
-// - id: The ID of the label to retrieve.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the label to retrieve.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersLabelsService) Get(userId string, id string) *UsersLabelsGetCall {
c := &UsersLabelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -4617,8 +4626,8 @@ type UsersLabelsListCall struct {
// List: Lists all labels in the user's mailbox.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersLabelsService) List(userId string) *UsersLabelsListCall {
c := &UsersLabelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -4769,9 +4778,9 @@ type UsersLabelsPatchCall struct {
// Patch: Patch the specified label.
//
-// - id: The ID of the label to update.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the label to update.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersLabelsService) Patch(userId string, id string, label *Label) *UsersLabelsPatchCall {
c := &UsersLabelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -4925,9 +4934,9 @@ type UsersLabelsUpdateCall struct {
// Update: Updates the specified label.
//
-// - id: The ID of the label to update.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the label to update.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersLabelsService) Update(userId string, id string, label *Label) *UsersLabelsUpdateCall {
c := &UsersLabelsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -5082,8 +5091,8 @@ type UsersMessagesBatchDeleteCall struct {
// guarantees that messages were not already deleted or even existed at
// all.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) BatchDelete(userId string, batchdeletemessagesrequest *BatchDeleteMessagesRequest) *UsersMessagesBatchDeleteCall {
c := &UsersMessagesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -5197,8 +5206,8 @@ type UsersMessagesBatchModifyCall struct {
// BatchModify: Modifies the labels on the specified messages.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) BatchModify(userId string, batchmodifymessagesrequest *BatchModifyMessagesRequest) *UsersMessagesBatchModifyCall {
c := &UsersMessagesBatchModifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -5314,9 +5323,9 @@ type UsersMessagesDeleteCall struct {
// Delete: Immediately and permanently deletes the specified message.
// This operation cannot be undone. Prefer `messages.trash` instead.
//
-// - id: The ID of the message to delete.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the message to delete.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) Delete(userId string, id string) *UsersMessagesDeleteCall {
c := &UsersMessagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -5431,12 +5440,12 @@ type UsersMessagesGetCall struct {
// Get: Gets the specified message.
//
-// - id: The ID of the message to retrieve. This ID is usually retrieved
-// using `messages.list`. The ID is also contained in the result when
-// a message is inserted (`messages.insert`) or imported
-// (`messages.import`).
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the message to retrieve. This ID is usually retrieved
+// using `messages.list`. The ID is also contained in the result when
+// a message is inserted (`messages.insert`) or imported
+// (`messages.import`).
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) Get(userId string, id string) *UsersMessagesGetCall {
c := &UsersMessagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -5448,17 +5457,25 @@ func (r *UsersMessagesService) Get(userId string, id string) *UsersMessagesGetCa
// message in.
//
// Possible values:
-// "minimal" - Returns only email message ID and labels; does not
+//
+// "minimal" - Returns only email message ID and labels; does not
+//
// return the email headers, body, or payload.
-// "full" (default) - Returns the full email message data with body
+//
+// "full" (default) - Returns the full email message data with body
+//
// content parsed in the `payload` field; the `raw` field is not used.
// Format cannot be used when accessing the api using the gmail.metadata
// scope.
-// "raw" - Returns the full email message data with body content in
+//
+// "raw" - Returns the full email message data with body content in
+//
// the `raw` field as a base64url encoded string; the `payload` field is
// not used. Format cannot be used when accessing the api using the
// gmail.metadata scope.
-// "metadata" - Returns only email message ID, labels, and email
+//
+// "metadata" - Returns only email message ID, labels, and email
+//
// headers.
func (c *UsersMessagesGetCall) Format(format string) *UsersMessagesGetCall {
c.urlParams_.Set("format", format)
@@ -5656,8 +5673,8 @@ type UsersMessagesImportCall struct {
// This function doesn't trigger forwarding rules or filters set up by
// the user.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) Import(userId string, message *Message) *UsersMessagesImportCall {
c := &UsersMessagesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -5677,9 +5694,13 @@ func (c *UsersMessagesImportCall) Deleted(deleted bool) *UsersMessagesImportCall
// Source for Gmail's internal date of the message.
//
// Possible values:
-// "receivedTime" - Internal message date set to current time when
+//
+// "receivedTime" - Internal message date set to current time when
+//
// received by Gmail.
-// "dateHeader" (default) - Internal message time based on 'Date'
+//
+// "dateHeader" (default) - Internal message time based on 'Date'
+//
// header in email, when valid.
func (c *UsersMessagesImportCall) InternalDateSource(internalDateSource string) *UsersMessagesImportCall {
c.urlParams_.Set("internalDateSource", internalDateSource)
@@ -5957,8 +5978,8 @@ type UsersMessagesInsertCall struct {
// similar to `IMAP APPEND`, bypassing most scanning and classification.
// Does not send a message.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) Insert(userId string, message *Message) *UsersMessagesInsertCall {
c := &UsersMessagesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -5978,9 +5999,13 @@ func (c *UsersMessagesInsertCall) Deleted(deleted bool) *UsersMessagesInsertCall
// Source for Gmail's internal date of the message.
//
// Possible values:
-// "receivedTime" (default) - Internal message date set to current
+//
+// "receivedTime" (default) - Internal message date set to current
+//
// time when received by Gmail.
-// "dateHeader" - Internal message time based on 'Date' header in
+//
+// "dateHeader" - Internal message time based on 'Date' header in
+//
// email, when valid.
func (c *UsersMessagesInsertCall) InternalDateSource(internalDateSource string) *UsersMessagesInsertCall {
c.urlParams_.Set("internalDateSource", internalDateSource)
@@ -6227,8 +6252,8 @@ type UsersMessagesListCall struct {
// List: Lists the messages in the user's mailbox.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) List(userId string) *UsersMessagesListCall {
c := &UsersMessagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -6467,9 +6492,9 @@ type UsersMessagesModifyCall struct {
// Modify: Modifies the labels on the specified message.
//
-// - id: The ID of the message to modify.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the message to modify.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) Modify(userId string, id string, modifymessagerequest *ModifyMessageRequest) *UsersMessagesModifyCall {
c := &UsersMessagesModifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -6623,8 +6648,8 @@ type UsersMessagesSendCall struct {
// Send: Sends the specified message to the recipients in the `To`,
// `Cc`, and `Bcc` headers.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) Send(userId string, message *Message) *UsersMessagesSendCall {
c := &UsersMessagesSendCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -6854,9 +6879,9 @@ type UsersMessagesTrashCall struct {
// Trash: Moves the specified message to the trash.
//
-// - id: The ID of the message to Trash.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the message to Trash.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) Trash(userId string, id string) *UsersMessagesTrashCall {
c := &UsersMessagesTrashCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -6999,9 +7024,9 @@ type UsersMessagesUntrashCall struct {
// Untrash: Removes the specified message from the trash.
//
-// - id: The ID of the message to remove from Trash.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the message to remove from Trash.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesService) Untrash(userId string, id string) *UsersMessagesUntrashCall {
c := &UsersMessagesUntrashCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -7146,10 +7171,10 @@ type UsersMessagesAttachmentsGetCall struct {
// Get: Gets the specified message attachment.
//
-// - id: The ID of the attachment.
-// - messageId: The ID of the message containing the attachment.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the attachment.
+// - messageId: The ID of the message containing the attachment.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersMessagesAttachmentsService) Get(userId string, messageId string, id string) *UsersMessagesAttachmentsGetCall {
c := &UsersMessagesAttachmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -7318,8 +7343,8 @@ type UsersSettingsGetAutoForwardingCall struct {
// GetAutoForwarding: Gets the auto-forwarding setting for the specified
// account.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) GetAutoForwarding(userId string) *UsersSettingsGetAutoForwardingCall {
c := &UsersSettingsGetAutoForwardingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -7468,8 +7493,8 @@ type UsersSettingsGetImapCall struct {
// GetImap: Gets IMAP settings.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) GetImap(userId string) *UsersSettingsGetImapCall {
c := &UsersSettingsGetImapCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -7618,8 +7643,8 @@ type UsersSettingsGetLanguageCall struct {
// GetLanguage: Gets language settings.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) GetLanguage(userId string) *UsersSettingsGetLanguageCall {
c := &UsersSettingsGetLanguageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -7768,8 +7793,8 @@ type UsersSettingsGetPopCall struct {
// GetPop: Gets POP settings.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) GetPop(userId string) *UsersSettingsGetPopCall {
c := &UsersSettingsGetPopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -7918,8 +7943,8 @@ type UsersSettingsGetVacationCall struct {
// GetVacation: Gets vacation responder settings.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) GetVacation(userId string) *UsersSettingsGetVacationCall {
c := &UsersSettingsGetVacationCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -8072,8 +8097,8 @@ type UsersSettingsUpdateAutoForwardingCall struct {
// service account clients that have been delegated domain-wide
// authority.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) UpdateAutoForwarding(userId string, autoforwarding *AutoForwarding) *UsersSettingsUpdateAutoForwardingCall {
c := &UsersSettingsUpdateAutoForwardingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -8215,8 +8240,8 @@ type UsersSettingsUpdateImapCall struct {
// UpdateImap: Updates IMAP settings.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) UpdateImap(userId string, imapsettings *ImapSettings) *UsersSettingsUpdateImapCall {
c := &UsersSettingsUpdateImapCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -8363,8 +8388,8 @@ type UsersSettingsUpdateLanguageCall struct {
// by Gmail but have a close variant that is, and so the variant may be
// chosen and saved instead.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) UpdateLanguage(userId string, languagesettings *LanguageSettings) *UsersSettingsUpdateLanguageCall {
c := &UsersSettingsUpdateLanguageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -8506,8 +8531,8 @@ type UsersSettingsUpdatePopCall struct {
// UpdatePop: Updates POP settings.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) UpdatePop(userId string, popsettings *PopSettings) *UsersSettingsUpdatePopCall {
c := &UsersSettingsUpdatePopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -8649,8 +8674,8 @@ type UsersSettingsUpdateVacationCall struct {
// UpdateVacation: Updates vacation responder settings.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsService) UpdateVacation(userId string, vacationsettings *VacationSettings) *UsersSettingsUpdateVacationCall {
c := &UsersSettingsUpdateVacationCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -8803,8 +8828,8 @@ type UsersSettingsDelegatesCreateCall struct {
// This method is only available to service account clients that have
// been delegated domain-wide authority.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsDelegatesService) Create(userId string, delegate *Delegate) *UsersSettingsDelegatesCreateCall {
c := &UsersSettingsDelegatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -8951,10 +8976,10 @@ type UsersSettingsDelegatesDeleteCall struct {
// is only available to service account clients that have been delegated
// domain-wide authority.
//
-// - delegateEmail: The email address of the user to be removed as a
-// delegate.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - delegateEmail: The email address of the user to be removed as a
+// delegate.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsDelegatesService) Delete(userId string, delegateEmail string) *UsersSettingsDelegatesDeleteCall {
c := &UsersSettingsDelegatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -9072,10 +9097,10 @@ type UsersSettingsDelegatesGetCall struct {
// This method is only available to service account clients that have
// been delegated domain-wide authority.
//
-// - delegateEmail: The email address of the user whose delegate
-// relationship is to be retrieved.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - delegateEmail: The email address of the user whose delegate
+// relationship is to be retrieved.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsDelegatesService) Get(userId string, delegateEmail string) *UsersSettingsDelegatesGetCall {
c := &UsersSettingsDelegatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -9235,8 +9260,8 @@ type UsersSettingsDelegatesListCall struct {
// only available to service account clients that have been delegated
// domain-wide authority.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsDelegatesService) List(userId string) *UsersSettingsDelegatesListCall {
c := &UsersSettingsDelegatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -9386,8 +9411,8 @@ type UsersSettingsFiltersCreateCall struct {
// Create: Creates a filter. Note: you can only create a maximum of
// 1,000 filters.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsFiltersService) Create(userId string, filter *Filter) *UsersSettingsFiltersCreateCall {
c := &UsersSettingsFiltersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -9529,9 +9554,9 @@ type UsersSettingsFiltersDeleteCall struct {
// Delete: Immediately and permanently deletes the specified filter.
//
-// - id: The ID of the filter to be deleted.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - id: The ID of the filter to be deleted.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsFiltersService) Delete(userId string, id string) *UsersSettingsFiltersDeleteCall {
c := &UsersSettingsFiltersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -9646,9 +9671,9 @@ type UsersSettingsFiltersGetCall struct {
// Get: Gets a filter.
//
-// - id: The ID of the filter to be fetched.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - id: The ID of the filter to be fetched.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsFiltersService) Get(userId string, id string) *UsersSettingsFiltersGetCall {
c := &UsersSettingsFiltersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -9806,8 +9831,8 @@ type UsersSettingsFiltersListCall struct {
// List: Lists the message filters of a Gmail user.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsFiltersService) List(userId string) *UsersSettingsFiltersListCall {
c := &UsersSettingsFiltersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -9961,8 +9986,8 @@ type UsersSettingsForwardingAddressesCreateCall struct {
// method is only available to service account clients that have been
// delegated domain-wide authority.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsForwardingAddressesService) Create(userId string, forwardingaddress *ForwardingAddress) *UsersSettingsForwardingAddressesCreateCall {
c := &UsersSettingsForwardingAddressesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -10107,9 +10132,9 @@ type UsersSettingsForwardingAddressesDeleteCall struct {
// available to service account clients that have been delegated
// domain-wide authority.
//
-// - forwardingEmail: The forwarding address to be deleted.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - forwardingEmail: The forwarding address to be deleted.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsForwardingAddressesService) Delete(userId string, forwardingEmail string) *UsersSettingsForwardingAddressesDeleteCall {
c := &UsersSettingsForwardingAddressesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -10224,9 +10249,9 @@ type UsersSettingsForwardingAddressesGetCall struct {
// Get: Gets the specified forwarding address.
//
-// - forwardingEmail: The forwarding address to be retrieved.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - forwardingEmail: The forwarding address to be retrieved.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsForwardingAddressesService) Get(userId string, forwardingEmail string) *UsersSettingsForwardingAddressesGetCall {
c := &UsersSettingsForwardingAddressesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -10384,8 +10409,8 @@ type UsersSettingsForwardingAddressesListCall struct {
// List: Lists the forwarding addresses for the specified account.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsForwardingAddressesService) List(userId string) *UsersSettingsForwardingAddressesListCall {
c := &UsersSettingsForwardingAddressesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -10543,8 +10568,8 @@ type UsersSettingsSendAsCreateCall struct {
// only available to service account clients that have been delegated
// domain-wide authority.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsSendAsService) Create(userId string, sendas *SendAs) *UsersSettingsSendAsCreateCall {
c := &UsersSettingsSendAsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -10689,9 +10714,9 @@ type UsersSettingsSendAsDeleteCall struct {
// available to service account clients that have been delegated
// domain-wide authority.
//
-// - sendAsEmail: The send-as alias to be deleted.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - sendAsEmail: The send-as alias to be deleted.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsSendAsService) Delete(userId string, sendAsEmail string) *UsersSettingsSendAsDeleteCall {
c := &UsersSettingsSendAsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -10807,9 +10832,9 @@ type UsersSettingsSendAsGetCall struct {
// Get: Gets the specified send-as alias. Fails with an HTTP 404 error
// if the specified address is not a member of the collection.
//
-// - sendAsEmail: The send-as alias to be retrieved.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - sendAsEmail: The send-as alias to be retrieved.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsSendAsService) Get(userId string, sendAsEmail string) *UsersSettingsSendAsGetCall {
c := &UsersSettingsSendAsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -10969,8 +10994,8 @@ type UsersSettingsSendAsListCall struct {
// includes the primary send-as address associated with the account as
// well as any custom "from" aliases.
//
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsSendAsService) List(userId string) *UsersSettingsSendAsListCall {
c := &UsersSettingsSendAsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -11120,9 +11145,9 @@ type UsersSettingsSendAsPatchCall struct {
// Patch: Patch the specified send-as alias.
//
-// - sendAsEmail: The send-as alias to be updated.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - sendAsEmail: The send-as alias to be updated.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsSendAsService) Patch(userId string, sendAsEmail string, sendas *SendAs) *UsersSettingsSendAsPatchCall {
c := &UsersSettingsSendAsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -11279,9 +11304,9 @@ type UsersSettingsSendAsUpdateCall struct {
// service account clients that have been delegated domain-wide
// authority.
//
-// - sendAsEmail: The send-as alias to be updated.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - sendAsEmail: The send-as alias to be updated.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsSendAsService) Update(userId string, sendAsEmail string, sendas *SendAs) *UsersSettingsSendAsUpdateCall {
c := &UsersSettingsSendAsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -11436,9 +11461,9 @@ type UsersSettingsSendAsVerifyCall struct {
// only available to service account clients that have been delegated
// domain-wide authority.
//
-// - sendAsEmail: The send-as alias to be verified.
-// - userId: User's email address. The special value "me" can be used to
-// indicate the authenticated user.
+// - sendAsEmail: The send-as alias to be verified.
+// - userId: User's email address. The special value "me" can be used to
+// indicate the authenticated user.
func (r *UsersSettingsSendAsService) Verify(userId string, sendAsEmail string) *UsersSettingsSendAsVerifyCall {
c := &UsersSettingsSendAsVerifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -11554,11 +11579,11 @@ type UsersSettingsSendAsSmimeInfoDeleteCall struct {
// Delete: Deletes the specified S/MIME config for the specified send-as
// alias.
//
-// - id: The immutable ID for the SmimeInfo.
-// - sendAsEmail: The email address that appears in the "From:" header
-// for mail sent using this alias.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The immutable ID for the SmimeInfo.
+// - sendAsEmail: The email address that appears in the "From:" header
+// for mail sent using this alias.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersSettingsSendAsSmimeInfoService) Delete(userId string, sendAsEmail string, id string) *UsersSettingsSendAsSmimeInfoDeleteCall {
c := &UsersSettingsSendAsSmimeInfoDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -11685,11 +11710,11 @@ type UsersSettingsSendAsSmimeInfoGetCall struct {
// Get: Gets the specified S/MIME config for the specified send-as
// alias.
//
-// - id: The immutable ID for the SmimeInfo.
-// - sendAsEmail: The email address that appears in the "From:" header
-// for mail sent using this alias.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The immutable ID for the SmimeInfo.
+// - sendAsEmail: The email address that appears in the "From:" header
+// for mail sent using this alias.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersSettingsSendAsSmimeInfoService) Get(userId string, sendAsEmail string, id string) *UsersSettingsSendAsSmimeInfoGetCall {
c := &UsersSettingsSendAsSmimeInfoGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -11859,10 +11884,10 @@ type UsersSettingsSendAsSmimeInfoInsertCall struct {
// Insert: Insert (upload) the given S/MIME config for the specified
// send-as alias. Note that pkcs12 format is required for the key.
//
-// - sendAsEmail: The email address that appears in the "From:" header
-// for mail sent using this alias.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - sendAsEmail: The email address that appears in the "From:" header
+// for mail sent using this alias.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersSettingsSendAsSmimeInfoService) Insert(userId string, sendAsEmail string, smimeinfo *SmimeInfo) *UsersSettingsSendAsSmimeInfoInsertCall {
c := &UsersSettingsSendAsSmimeInfoInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -12015,10 +12040,10 @@ type UsersSettingsSendAsSmimeInfoListCall struct {
// List: Lists S/MIME configs for the specified send-as alias.
//
-// - sendAsEmail: The email address that appears in the "From:" header
-// for mail sent using this alias.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - sendAsEmail: The email address that appears in the "From:" header
+// for mail sent using this alias.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersSettingsSendAsSmimeInfoService) List(userId string, sendAsEmail string) *UsersSettingsSendAsSmimeInfoListCall {
c := &UsersSettingsSendAsSmimeInfoListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -12179,11 +12204,11 @@ type UsersSettingsSendAsSmimeInfoSetDefaultCall struct {
// SetDefault: Sets the default S/MIME config for the specified send-as
// alias.
//
-// - id: The immutable ID for the SmimeInfo.
-// - sendAsEmail: The email address that appears in the "From:" header
-// for mail sent using this alias.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The immutable ID for the SmimeInfo.
+// - sendAsEmail: The email address that appears in the "From:" header
+// for mail sent using this alias.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersSettingsSendAsSmimeInfoService) SetDefault(userId string, sendAsEmail string, id string) *UsersSettingsSendAsSmimeInfoSetDefaultCall {
c := &UsersSettingsSendAsSmimeInfoSetDefaultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -12309,9 +12334,9 @@ type UsersThreadsDeleteCall struct {
// messages that belong to the thread are also deleted. This operation
// cannot be undone. Prefer `threads.trash` instead.
//
-// - id: ID of the Thread to delete.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: ID of the Thread to delete.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersThreadsService) Delete(userId string, id string) *UsersThreadsDeleteCall {
c := &UsersThreadsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -12426,9 +12451,9 @@ type UsersThreadsGetCall struct {
// Get: Gets the specified thread.
//
-// - id: The ID of the thread to retrieve.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the thread to retrieve.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersThreadsService) Get(userId string, id string) *UsersThreadsGetCall {
c := &UsersThreadsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -12440,13 +12465,19 @@ func (r *UsersThreadsService) Get(userId string, id string) *UsersThreadsGetCall
// messages in.
//
// Possible values:
-// "full" (default) - Returns the full email message data with body
+//
+// "full" (default) - Returns the full email message data with body
+//
// content parsed in the `payload` field; the `raw` field is not used.
// Format cannot be used when accessing the api using the gmail.metadata
// scope.
-// "metadata" - Returns only email message IDs, labels, and email
+//
+// "metadata" - Returns only email message IDs, labels, and email
+//
// headers.
-// "minimal" - Returns only email message IDs and labels; does not
+//
+// "minimal" - Returns only email message IDs and labels; does not
+//
// return the email headers, body, or payload.
func (c *UsersThreadsGetCall) Format(format string) *UsersThreadsGetCall {
c.urlParams_.Set("format", format)
@@ -12635,8 +12666,8 @@ type UsersThreadsListCall struct {
// List: Lists the threads in the user's mailbox.
//
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersThreadsService) List(userId string) *UsersThreadsListCall {
c := &UsersThreadsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -12876,9 +12907,9 @@ type UsersThreadsModifyCall struct {
// Modify: Modifies the labels applied to the thread. This applies to
// all messages in the thread.
//
-// - id: The ID of the thread to modify.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the thread to modify.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersThreadsService) Modify(userId string, id string, modifythreadrequest *ModifyThreadRequest) *UsersThreadsModifyCall {
c := &UsersThreadsModifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -13031,9 +13062,9 @@ type UsersThreadsTrashCall struct {
// Trash: Moves the specified thread to the trash. Any messages that
// belong to the thread are also moved to the trash.
//
-// - id: The ID of the thread to Trash.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the thread to Trash.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersThreadsService) Trash(userId string, id string) *UsersThreadsTrashCall {
c := &UsersThreadsTrashCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -13177,9 +13208,9 @@ type UsersThreadsUntrashCall struct {
// Untrash: Removes the specified thread from the trash. Any messages
// that belong to the thread are also removed from the trash.
//
-// - id: The ID of the thread to remove from Trash.
-// - userId: The user's email address. The special value `me` can be
-// used to indicate the authenticated user.
+// - id: The ID of the thread to remove from Trash.
+// - userId: The user's email address. The special value `me` can be
+// used to indicate the authenticated user.
func (r *UsersThreadsService) Untrash(userId string, id string) *UsersThreadsUntrashCall {
c := &UsersThreadsUntrashCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
diff --git a/gmailpostmastertools/v1/gmailpostmastertools-gen.go b/gmailpostmastertools/v1/gmailpostmastertools-gen.go
index 0a4225771dc..924550fae63 100644
--- a/gmailpostmastertools/v1/gmailpostmastertools-gen.go
+++ b/gmailpostmastertools/v1/gmailpostmastertools-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/gmail/postmaster
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gmailpostmastertools/v1"
-// ...
-// ctx := context.Background()
-// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx)
+// import "google.golang.org/api/gmailpostmastertools/v1"
+// ...
+// ctx := context.Background()
+// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx, option.WithAPIKey("AIza..."))
+// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gmailpostmastertools // import "google.golang.org/api/gmailpostmastertools/v1"
@@ -613,9 +613,9 @@ type DomainsGetCall struct {
// Get: Gets a specific domain registered by the client. Returns
// NOT_FOUND if the domain does not exist.
//
-// - name: The resource name of the domain. It should have the form
-// `domains/{domain_name}`, where domain_name is the fully qualified
-// domain name.
+// - name: The resource name of the domain. It should have the form
+// `domains/{domain_name}`, where domain_name is the fully qualified
+// domain name.
func (r *DomainsService) Get(name string) *DomainsGetCall {
c := &DomainsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -945,8 +945,8 @@ type DomainsTrafficStatsGetCall struct {
// PERMISSION_DENIED if user does not have permission to access
// TrafficStats for the domain.
//
-// - name: The resource name of the traffic statistics to get. E.g.,
-// domains/mymail.mydomain.com/trafficStats/20160807.
+// - name: The resource name of the traffic statistics to get. E.g.,
+// domains/mymail.mydomain.com/trafficStats/20160807.
func (r *DomainsTrafficStatsService) Get(name string) *DomainsTrafficStatsGetCall {
c := &DomainsTrafficStatsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1094,9 +1094,9 @@ type DomainsTrafficStatsListCall struct {
// PERMISSION_DENIED if user does not have permission to access
// TrafficStats for the domain.
//
-// - parent: The resource name of the domain whose traffic statistics
-// we'd like to list. It should have the form `domains/{domain_name}`,
-// where domain_name is the fully qualified domain name.
+// - parent: The resource name of the domain whose traffic statistics
+// we'd like to list. It should have the form `domains/{domain_name}`,
+// where domain_name is the fully qualified domain name.
func (r *DomainsTrafficStatsService) List(parent string) *DomainsTrafficStatsListCall {
c := &DomainsTrafficStatsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go
index af36c6eba55..b3851e58e84 100644
--- a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go
+++ b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/gmail/postmaster
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/gmailpostmastertools/v1beta1"
-// ...
-// ctx := context.Background()
-// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx)
+// import "google.golang.org/api/gmailpostmastertools/v1beta1"
+// ...
+// ctx := context.Background()
+// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx, option.WithAPIKey("AIza..."))
+// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// gmailpostmastertoolsService, err := gmailpostmastertools.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package gmailpostmastertools // import "google.golang.org/api/gmailpostmastertools/v1beta1"
@@ -619,9 +619,9 @@ type DomainsGetCall struct {
// Get: Gets a specific domain registered by the client. Returns
// NOT_FOUND if the domain does not exist.
//
-// - name: The resource name of the domain. It should have the form
-// `domains/{domain_name}`, where domain_name is the fully qualified
-// domain name.
+// - name: The resource name of the domain. It should have the form
+// `domains/{domain_name}`, where domain_name is the fully qualified
+// domain name.
func (r *DomainsService) Get(name string) *DomainsGetCall {
c := &DomainsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -951,8 +951,8 @@ type DomainsTrafficStatsGetCall struct {
// PERMISSION_DENIED if user does not have permission to access
// TrafficStats for the domain.
//
-// - name: The resource name of the traffic statistics to get. E.g.,
-// domains/mymail.mydomain.com/trafficStats/20160807.
+// - name: The resource name of the traffic statistics to get. E.g.,
+// domains/mymail.mydomain.com/trafficStats/20160807.
func (r *DomainsTrafficStatsService) Get(name string) *DomainsTrafficStatsGetCall {
c := &DomainsTrafficStatsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1100,9 +1100,9 @@ type DomainsTrafficStatsListCall struct {
// PERMISSION_DENIED if user does not have permission to access
// TrafficStats for the domain.
//
-// - parent: The resource name of the domain whose traffic statistics
-// we'd like to list. It should have the form `domains/{domain_name}`,
-// where domain_name is the fully qualified domain name.
+// - parent: The resource name of the domain whose traffic statistics
+// we'd like to list. It should have the form `domains/{domain_name}`,
+// where domain_name is the fully qualified domain name.
func (r *DomainsTrafficStatsService) List(parent string) *DomainsTrafficStatsListCall {
c := &DomainsTrafficStatsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/google-api-go-generator/gen.go b/google-api-go-generator/gen.go
index 3dc26090268..744efea9503 100644
--- a/google-api-go-generator/gen.go
+++ b/google-api-go-generator/gen.go
@@ -392,7 +392,9 @@ var oddVersionRE = regexp.MustCompile(`^(.+)_(v[\d\.]+)$`)
// that the final path component of the import path doesn't look
// like a Go identifier. This keeps the consistency that import paths
// for the generated Go packages look like:
-// google.golang.org/api/NAME/v
+//
+// google.golang.org/api/NAME/v
+//
// and have package NAME.
// See https://github.com/google/google-api-go-client/issues/78
func renameVersion(version string) string {
diff --git a/google-api-go-generator/gen_test.go b/google-api-go-generator/gen_test.go
index c1d75426c30..63a59314bcc 100644
--- a/google-api-go-generator/gen_test.go
+++ b/google-api-go-generator/gen_test.go
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build go1.19
+// +build go1.19
+
package main
import (
diff --git a/google-api-go-generator/testdata/any.want b/google-api-go-generator/testdata/any.want
index 6030af08547..b153fa00d55 100644
--- a/google-api-go-generator/testdata/any.want
+++ b/google-api-go-generator/testdata/any.want
@@ -8,31 +8,31 @@
//
// This package is DEPRECATED. Use package cloud.google.com/go/logging instead.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/logging/v1beta3"
-// ...
-// ctx := context.Background()
-// loggingService, err := logging.NewService(ctx)
+// import "google.golang.org/api/logging/v1beta3"
+// ...
+// ctx := context.Background()
+// loggingService, err := logging.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// loggingService, err := logging.NewService(ctx, option.WithAPIKey("AIza..."))
+// loggingService, err := logging.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// loggingService, err := logging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// loggingService, err := logging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package logging // import "google.golang.org/api/logging/v1beta3"
@@ -792,8 +792,8 @@ type ProjectsLogServicesListCall struct {
// List: Lists log services associated with log entries ingested for a
// project.
//
-// - projectsId: Part of `projectName`. The project resource whose
-// services are to be listed.
+// - projectsId: Part of `projectName`. The project resource whose
+// services are to be listed.
func (r *ProjectsLogServicesService) List(projectsId string) *ProjectsLogServicesListCall {
c := &ProjectsLogServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -1000,12 +1000,12 @@ type ProjectsLogServicesIndexesListCall struct {
// List: Lists log service indexes associated with a log service.
//
-// - logServicesId: Part of `serviceName`. See documentation of
-// `projectsId`.
-// - projectsId: Part of `serviceName`. A log service resource of the
-// form `/projects/*/logServices/*`. The service indexes of the log
-// service are returned. Example:
-// "/projects/myProj/logServices/appengine.googleapis.com".
+// - logServicesId: Part of `serviceName`. See documentation of
+// `projectsId`.
+// - projectsId: Part of `serviceName`. A log service resource of the
+// form `/projects/*/logServices/*`. The service indexes of the log
+// service are returned. Example:
+// "/projects/myProj/logServices/appengine.googleapis.com".
func (r *ProjectsLogServicesIndexesService) List(projectsId string, logServicesId string) *ProjectsLogServicesIndexesListCall {
c := &ProjectsLogServicesIndexesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -1258,10 +1258,10 @@ type ProjectsLogServicesSinksCreateCall struct {
// Create: Creates the specified log service sink resource.
//
-// - logServicesId: Part of `serviceName`. See documentation of
-// `projectsId`.
-// - projectsId: Part of `serviceName`. The name of the service in which
-// to create a sink.
+// - logServicesId: Part of `serviceName`. See documentation of
+// `projectsId`.
+// - projectsId: Part of `serviceName`. The name of the service in which
+// to create a sink.
func (r *ProjectsLogServicesSinksService) Create(projectsId string, logServicesId string, logsink *LogSink) *ProjectsLogServicesSinksCreateCall {
c := &ProjectsLogServicesSinksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -1411,10 +1411,10 @@ type ProjectsLogServicesSinksDeleteCall struct {
// Delete: Deletes the specified log service sink.
//
-// - logServicesId: Part of `sinkName`. See documentation of
-// `projectsId`.
-// - projectsId: Part of `sinkName`. The name of the sink to delete.
-// - sinksId: Part of `sinkName`. See documentation of `projectsId`.
+// - logServicesId: Part of `sinkName`. See documentation of
+// `projectsId`.
+// - projectsId: Part of `sinkName`. The name of the sink to delete.
+// - sinksId: Part of `sinkName`. See documentation of `projectsId`.
func (r *ProjectsLogServicesSinksService) Delete(projectsId string, logServicesId string, sinksId string) *ProjectsLogServicesSinksDeleteCall {
c := &ProjectsLogServicesSinksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -1565,10 +1565,10 @@ type ProjectsLogServicesSinksGetCall struct {
// Get: Gets the specified log service sink resource.
//
-// - logServicesId: Part of `sinkName`. See documentation of
-// `projectsId`.
-// - projectsId: Part of `sinkName`. The name of the sink to return.
-// - sinksId: Part of `sinkName`. See documentation of `projectsId`.
+// - logServicesId: Part of `sinkName`. See documentation of
+// `projectsId`.
+// - projectsId: Part of `sinkName`. The name of the sink to return.
+// - sinksId: Part of `sinkName`. See documentation of `projectsId`.
func (r *ProjectsLogServicesSinksService) Get(projectsId string, logServicesId string, sinksId string) *ProjectsLogServicesSinksGetCall {
c := &ProjectsLogServicesSinksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -1731,10 +1731,10 @@ type ProjectsLogServicesSinksListCall struct {
// List: Lists log service sinks associated with the specified service.
//
-// - logServicesId: Part of `serviceName`. See documentation of
-// `projectsId`.
-// - projectsId: Part of `serviceName`. The name of the service for
-// which to list sinks.
+// - logServicesId: Part of `serviceName`. See documentation of
+// `projectsId`.
+// - projectsId: Part of `serviceName`. The name of the service for
+// which to list sinks.
func (r *ProjectsLogServicesSinksService) List(projectsId string, logServicesId string) *ProjectsLogServicesSinksListCall {
c := &ProjectsLogServicesSinksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -1889,10 +1889,10 @@ type ProjectsLogServicesSinksUpdateCall struct {
// Update: Creates or update the specified log service sink resource.
//
-// - logServicesId: Part of `sinkName`. See documentation of
-// `projectsId`.
-// - projectsId: Part of `sinkName`. The name of the sink to update.
-// - sinksId: Part of `sinkName`. See documentation of `projectsId`.
+// - logServicesId: Part of `sinkName`. See documentation of
+// `projectsId`.
+// - projectsId: Part of `sinkName`. The name of the sink to update.
+// - sinksId: Part of `sinkName`. See documentation of `projectsId`.
func (r *ProjectsLogServicesSinksService) Update(projectsId string, logServicesId string, sinksId string, logsink *LogSink) *ProjectsLogServicesSinksUpdateCall {
c := &ProjectsLogServicesSinksUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -2192,8 +2192,8 @@ type ProjectsLogsListCall struct {
// List: Lists log resources belonging to the specified project.
//
-// - projectsId: Part of `projectName`. The project name for which to
-// list the log resources.
+// - projectsId: Part of `projectName`. The project name for which to
+// list the log resources.
func (r *ProjectsLogsService) List(projectsId string) *ProjectsLogsListCall {
c := &ProjectsLogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -2428,9 +2428,9 @@ type ProjectsLogsEntriesWriteCall struct {
// `entries[].metadata.labels` maps, saving you the trouble of creating
// identical copies for each entry.
//
-// - logsId: Part of `logName`. See documentation of `projectsId`.
-// - projectsId: Part of `logName`. The name of the log resource into
-// which to insert the log entries.
+// - logsId: Part of `logName`. See documentation of `projectsId`.
+// - projectsId: Part of `logName`. The name of the log resource into
+// which to insert the log entries.
func (r *ProjectsLogsEntriesService) Write(projectsId string, logsId string, writelogentriesrequest *WriteLogEntriesRequest) *ProjectsLogsEntriesWriteCall {
c := &ProjectsLogsEntriesWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -2580,9 +2580,9 @@ type ProjectsLogsSinksCreateCall struct {
// Create: Creates the specified log sink resource.
//
-// - logsId: Part of `logName`. See documentation of `projectsId`.
-// - projectsId: Part of `logName`. The log in which to create a sink
-// resource.
+// - logsId: Part of `logName`. See documentation of `projectsId`.
+// - projectsId: Part of `logName`. The log in which to create a sink
+// resource.
func (r *ProjectsLogsSinksService) Create(projectsId string, logsId string, logsink *LogSink) *ProjectsLogsSinksCreateCall {
c := &ProjectsLogsSinksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
@@ -2885,10 +2885,10 @@ type ProjectsLogsSinksGetCall struct {
// Get: Gets the specified log sink resource.
//
-// - logsId: Part of `sinkName`. See documentation of `projectsId`.
-// - projectsId: Part of `sinkName`. The name of the sink resource to
-// return.
-// - sinksId: Part of `sinkName`. See documentation of `projectsId`.
+// - logsId: Part of `sinkName`. See documentation of `projectsId`.
+// - projectsId: Part of `sinkName`. The name of the sink resource to
+// return.
+// - sinksId: Part of `sinkName`. See documentation of `projectsId`.
func (r *ProjectsLogsSinksService) Get(projectsId string, logsId string, sinksId string) *ProjectsLogsSinksGetCall {
c := &ProjectsLogsSinksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectsId = projectsId
diff --git a/google-api-go-generator/testdata/arrayofarray-1.want b/google-api-go-generator/testdata/arrayofarray-1.want
index 189908bf2c5..613bf8da0a6 100644
--- a/google-api-go-generator/testdata/arrayofarray-1.want
+++ b/google-api-go-generator/testdata/arrayofarray-1.want
@@ -6,31 +6,31 @@
// Package arrayofarray provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/arrayofarray/v1"
-// ...
-// ctx := context.Background()
-// arrayofarrayService, err := arrayofarray.NewService(ctx)
+// import "google.golang.org/api/arrayofarray/v1"
+// ...
+// ctx := context.Background()
+// arrayofarrayService, err := arrayofarray.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// arrayofarrayService, err := arrayofarray.NewService(ctx, option.WithAPIKey("AIza..."))
+// arrayofarrayService, err := arrayofarray.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// arrayofarrayService, err := arrayofarray.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// arrayofarrayService, err := arrayofarray.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package arrayofarray // import "google.golang.org/api/arrayofarray/v1"
diff --git a/google-api-go-generator/testdata/arrayofenum.want b/google-api-go-generator/testdata/arrayofenum.want
index 8935c79f576..03703a49334 100644
--- a/google-api-go-generator/testdata/arrayofenum.want
+++ b/google-api-go-generator/testdata/arrayofenum.want
@@ -6,31 +6,31 @@
// Package arrayofenum provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/arrayofenum/v1"
-// ...
-// ctx := context.Background()
-// arrayofenumService, err := arrayofenum.NewService(ctx)
+// import "google.golang.org/api/arrayofenum/v1"
+// ...
+// ctx := context.Background()
+// arrayofenumService, err := arrayofenum.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// arrayofenumService, err := arrayofenum.NewService(ctx, option.WithAPIKey("AIza..."))
+// arrayofenumService, err := arrayofenum.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// arrayofenumService, err := arrayofenum.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// arrayofenumService, err := arrayofenum.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package arrayofenum // import "google.golang.org/api/arrayofenum/v1"
diff --git a/google-api-go-generator/testdata/arrayofmapofobjects.want b/google-api-go-generator/testdata/arrayofmapofobjects.want
index 6e4e142e8b3..5b21a1ed0b3 100644
--- a/google-api-go-generator/testdata/arrayofmapofobjects.want
+++ b/google-api-go-generator/testdata/arrayofmapofobjects.want
@@ -6,31 +6,31 @@
// Package arrayofmapofstrings provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/arrayofmapofstrings/v1"
-// ...
-// ctx := context.Background()
-// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx)
+// import "google.golang.org/api/arrayofmapofstrings/v1"
+// ...
+// ctx := context.Background()
+// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx, option.WithAPIKey("AIza..."))
+// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package arrayofmapofstrings // import "google.golang.org/api/arrayofmapofstrings/v1"
diff --git a/google-api-go-generator/testdata/arrayofmapofstrings.want b/google-api-go-generator/testdata/arrayofmapofstrings.want
index 53f33677651..4569e5f50c0 100644
--- a/google-api-go-generator/testdata/arrayofmapofstrings.want
+++ b/google-api-go-generator/testdata/arrayofmapofstrings.want
@@ -6,31 +6,31 @@
// Package arrayofmapofstrings provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/arrayofmapofstrings/v1"
-// ...
-// ctx := context.Background()
-// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx)
+// import "google.golang.org/api/arrayofmapofstrings/v1"
+// ...
+// ctx := context.Background()
+// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx, option.WithAPIKey("AIza..."))
+// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// arrayofmapofstringsService, err := arrayofmapofstrings.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package arrayofmapofstrings // import "google.golang.org/api/arrayofmapofstrings/v1"
diff --git a/google-api-go-generator/testdata/blogger-3.want b/google-api-go-generator/testdata/blogger-3.want
index 86bfb5bca88..4f7566a309c 100644
--- a/google-api-go-generator/testdata/blogger-3.want
+++ b/google-api-go-generator/testdata/blogger-3.want
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/blogger/docs/3.0/getting_started
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/blogger/v3"
-// ...
-// ctx := context.Background()
-// bloggerService, err := blogger.NewService(ctx)
+// import "google.golang.org/api/blogger/v3"
+// ...
+// ctx := context.Background()
+// bloggerService, err := blogger.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// bloggerService, err := blogger.NewService(ctx, option.WithScopes(blogger.BloggerReadonlyScope))
+// bloggerService, err := blogger.NewService(ctx, option.WithScopes(blogger.BloggerReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// bloggerService, err := blogger.NewService(ctx, option.WithAPIKey("AIza..."))
+// bloggerService, err := blogger.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// bloggerService, err := blogger.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// bloggerService, err := blogger.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package blogger // import "google.golang.org/api/blogger/v3"
@@ -1597,9 +1597,9 @@ type BlogUserInfosGetCall struct {
// Get: Gets one blog and user info pair by blogId and userId.
//
-// - blogId: The ID of the blog to get.
-// - userId: ID of the user whose blogs are to be fetched. Either the
-// word 'self' (sans quote marks) or the user's profile identifier.
+// - blogId: The ID of the blog to get.
+// - userId: ID of the user whose blogs are to be fetched. Either the
+// word 'self' (sans quote marks) or the user's profile identifier.
func (r *BlogUserInfosService) Get(userId string, blogId string) *BlogUserInfosGetCall {
c := &BlogUserInfosGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2065,8 +2065,8 @@ type BlogsListByUserCall struct {
// ListByUser: Retrieves a list of blogs, possibly filtered.
//
-// - userId: ID of the user whose blogs are to be fetched. Either the
-// word 'self' (sans quote marks) or the user's profile identifier.
+// - userId: ID of the user whose blogs are to be fetched. Either the
+// word 'self' (sans quote marks) or the user's profile identifier.
func (r *BlogsService) ListByUser(userId string) *BlogsListByUserCall {
c := &BlogsListByUserCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -2084,9 +2084,10 @@ func (c *BlogsListByUserCall) FetchUserInfo(fetchUserInfo bool) *BlogsListByUser
// View sets the optional parameter "view":
//
// Possible values:
-// "ADMIN" - Admin level detail
-// "AUTHOR" - Author level detail
-// "READER" - Admin level detail
+//
+// "ADMIN" - Admin level detail
+// "AUTHOR" - Author level detail
+// "READER" - Admin level detail
func (c *BlogsListByUserCall) View(view string) *BlogsListByUserCall {
c.urlParams_.Set("view", view)
return c
@@ -2740,10 +2741,11 @@ func (c *CommentsListCall) StartDate(startDate string) *CommentsListCall {
// Statuses sets the optional parameter "statuses":
//
// Possible values:
-// "emptied" - Comments that have had their content removed
-// "live" - Comments that are publicly visible
-// "pending" - Comments that are awaiting administrator approval
-// "spam" - Comments marked as spam by the administrator
+//
+// "emptied" - Comments that have had their content removed
+// "live" - Comments that are publicly visible
+// "pending" - Comments that are awaiting administrator approval
+// "spam" - Comments marked as spam by the administrator
func (c *CommentsListCall) Statuses(statuses ...string) *CommentsListCall {
c.urlParams_.SetMulti("statuses", append([]string{}, statuses...))
return c
@@ -2752,9 +2754,10 @@ func (c *CommentsListCall) Statuses(statuses ...string) *CommentsListCall {
// View sets the optional parameter "view":
//
// Possible values:
-// "ADMIN" - Admin level detail
-// "AUTHOR" - Author level detail
-// "READER" - Admin level detail
+//
+// "ADMIN" - Admin level detail
+// "AUTHOR" - Author level detail
+// "READER" - Admin level detail
func (c *CommentsListCall) View(view string) *CommentsListCall {
c.urlParams_.Set("view", view)
return c
@@ -3530,9 +3533,10 @@ func (r *PageViewsService) Get(blogId string) *PageViewsGetCall {
// Range sets the optional parameter "range":
//
// Possible values:
-// "30DAYS" - Page view counts from the last thirty days.
-// "7DAYS" - Page view counts from the last seven days.
-// "all" - Total page view counts from all time.
+//
+// "30DAYS" - Page view counts from the last thirty days.
+// "7DAYS" - Page view counts from the last seven days.
+// "all" - Total page view counts from all time.
func (c *PageViewsGetCall) Range(range_ ...string) *PageViewsGetCall {
c.urlParams_.SetMulti("range", append([]string{}, range_...))
return c
@@ -3816,9 +3820,10 @@ func (r *PagesService) Get(blogId string, pageId string) *PagesGetCall {
// View sets the optional parameter "view":
//
// Possible values:
-// "ADMIN" - Admin level detail
-// "AUTHOR" - Author level detail
-// "READER" - Admin level detail
+//
+// "ADMIN" - Admin level detail
+// "AUTHOR" - Author level detail
+// "READER" - Admin level detail
func (c *PagesGetCall) View(view string) *PagesGetCall {
c.urlParams_.Set("view", view)
return c
@@ -4142,9 +4147,10 @@ func (c *PagesListCall) FetchBodies(fetchBodies bool) *PagesListCall {
// Statuses sets the optional parameter "statuses":
//
// Possible values:
-// "draft" - Draft (unpublished) Pages
-// "imported" - Pages that have had their content removed
-// "live" - Pages that are publicly visible
+//
+// "draft" - Draft (unpublished) Pages
+// "imported" - Pages that have had their content removed
+// "live" - Pages that are publicly visible
func (c *PagesListCall) Statuses(statuses ...string) *PagesListCall {
c.urlParams_.SetMulti("statuses", append([]string{}, statuses...))
return c
@@ -4153,9 +4159,10 @@ func (c *PagesListCall) Statuses(statuses ...string) *PagesListCall {
// View sets the optional parameter "view":
//
// Possible values:
-// "ADMIN" - Admin level detail
-// "AUTHOR" - Author level detail
-// "READER" - Admin level detail
+//
+// "ADMIN" - Admin level detail
+// "AUTHOR" - Author level detail
+// "READER" - Admin level detail
func (c *PagesListCall) View(view string) *PagesListCall {
c.urlParams_.Set("view", view)
return c
@@ -4637,11 +4644,11 @@ type PostUserInfosGetCall struct {
// Get: Gets one post and user info pair by postId and userId.
//
-// - blogId: The ID of the blog.
-// - postId: The ID of the post to get.
-// - userId: ID of the user for the per-user information to be fetched.
-// Either the word 'self' (sans quote marks) or the user's profile
-// identifier.
+// - blogId: The ID of the blog.
+// - postId: The ID of the post to get.
+// - userId: ID of the user for the per-user information to be fetched.
+// Either the word 'self' (sans quote marks) or the user's profile
+// identifier.
func (r *PostUserInfosService) Get(userId string, blogId string, postId string) *PostUserInfosGetCall {
c := &PostUserInfosGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -4819,10 +4826,10 @@ type PostUserInfosListCall struct {
// List: Retrieves a list of post and user info pairs, possibly
// filtered.
//
-// - blogId: ID of the blog to fetch posts from.
-// - userId: ID of the user for the per-user information to be fetched.
-// Either the word 'self' (sans quote marks) or the user's profile
-// identifier.
+// - blogId: ID of the blog to fetch posts from.
+// - userId: ID of the user for the per-user information to be fetched.
+// Either the word 'self' (sans quote marks) or the user's profile
+// identifier.
func (r *PostUserInfosService) List(userId string, blogId string) *PostUserInfosListCall {
c := &PostUserInfosListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.userId = userId
@@ -4861,8 +4868,9 @@ func (c *PostUserInfosListCall) MaxResults(maxResults int64) *PostUserInfosListC
// OrderBy sets the optional parameter "orderBy": Sort search results
//
// Possible values:
-// "published" - Order by the date the post was published
-// "updated" - Order by the date the post was last updated
+//
+// "published" - Order by the date the post was published
+// "updated" - Order by the date the post was last updated
func (c *PostUserInfosListCall) OrderBy(orderBy string) *PostUserInfosListCall {
c.urlParams_.Set("orderBy", orderBy)
return c
@@ -4885,9 +4893,10 @@ func (c *PostUserInfosListCall) StartDate(startDate string) *PostUserInfosListCa
// Statuses sets the optional parameter "statuses":
//
// Possible values:
-// "draft" - Draft posts
-// "live" - Published posts
-// "scheduled" - Posts that are scheduled to publish in future.
+//
+// "draft" - Draft posts
+// "live" - Published posts
+// "scheduled" - Posts that are scheduled to publish in future.
func (c *PostUserInfosListCall) Statuses(statuses ...string) *PostUserInfosListCall {
c.urlParams_.SetMulti("statuses", append([]string{}, statuses...))
return c
@@ -4896,9 +4905,10 @@ func (c *PostUserInfosListCall) Statuses(statuses ...string) *PostUserInfosListC
// View sets the optional parameter "view":
//
// Possible values:
-// "ADMIN" - Admin level detail
-// "AUTHOR" - Author level detail
-// "READER" - Reader level detail
+//
+// "ADMIN" - Admin level detail
+// "AUTHOR" - Author level detail
+// "READER" - Reader level detail
func (c *PostUserInfosListCall) View(view string) *PostUserInfosListCall {
c.urlParams_.Set("view", view)
return c
@@ -5280,9 +5290,10 @@ func (c *PostsGetCall) MaxComments(maxComments int64) *PostsGetCall {
// View sets the optional parameter "view":
//
// Possible values:
-// "ADMIN" - Admin level detail
-// "AUTHOR" - Author level detail
-// "READER" - Admin level detail
+//
+// "ADMIN" - Admin level detail
+// "AUTHOR" - Author level detail
+// "READER" - Admin level detail
func (c *PostsGetCall) View(view string) *PostsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -5473,9 +5484,10 @@ func (c *PostsGetByPathCall) MaxComments(maxComments int64) *PostsGetByPathCall
// View sets the optional parameter "view":
//
// Possible values:
-// "ADMIN" - Admin level detail
-// "AUTHOR" - Author level detail
-// "READER" - Admin level detail
+//
+// "ADMIN" - Admin level detail
+// "AUTHOR" - Author level detail
+// "READER" - Admin level detail
func (c *PostsGetByPathCall) View(view string) *PostsGetByPathCall {
c.urlParams_.Set("view", view)
return c
@@ -5845,8 +5857,9 @@ func (c *PostsListCall) MaxResults(maxResults int64) *PostsListCall {
// OrderBy sets the optional parameter "orderBy": Sort search results
//
// Possible values:
-// "published" - Order by the date the post was published
-// "updated" - Order by the date the post was last updated
+//
+// "published" - Order by the date the post was published
+// "updated" - Order by the date the post was last updated
func (c *PostsListCall) OrderBy(orderBy string) *PostsListCall {
c.urlParams_.Set("orderBy", orderBy)
return c
@@ -5869,9 +5882,10 @@ func (c *PostsListCall) StartDate(startDate string) *PostsListCall {
// Statuses sets the optional parameter "statuses":
//
// Possible values:
-// "draft" - Draft posts
-// "live" - Published posts
-// "scheduled" - Posts that are scheduled to publish in future.
+//
+// "draft" - Draft posts
+// "live" - Published posts
+// "scheduled" - Posts that are scheduled to publish in future.
func (c *PostsListCall) Statuses(statuses ...string) *PostsListCall {
c.urlParams_.SetMulti("statuses", append([]string{}, statuses...))
return c
@@ -5880,9 +5894,10 @@ func (c *PostsListCall) Statuses(statuses ...string) *PostsListCall {
// View sets the optional parameter "view":
//
// Possible values:
-// "ADMIN" - Admin level detail
-// "AUTHOR" - Author level detail
-// "READER" - Reader level detail
+//
+// "ADMIN" - Admin level detail
+// "AUTHOR" - Author level detail
+// "READER" - Reader level detail
func (c *PostsListCall) View(view string) *PostsListCall {
c.urlParams_.Set("view", view)
return c
@@ -6596,8 +6611,9 @@ func (c *PostsSearchCall) FetchBodies(fetchBodies bool) *PostsSearchCall {
// OrderBy sets the optional parameter "orderBy": Sort search results
//
// Possible values:
-// "published" - Order by the date the post was published
-// "updated" - Order by the date the post was last updated
+//
+// "published" - Order by the date the post was published
+// "updated" - Order by the date the post was last updated
func (c *PostsSearchCall) OrderBy(orderBy string) *PostsSearchCall {
c.urlParams_.Set("orderBy", orderBy)
return c
diff --git a/google-api-go-generator/testdata/floats.want b/google-api-go-generator/testdata/floats.want
index e1c3eaae572..82156e64fd8 100644
--- a/google-api-go-generator/testdata/floats.want
+++ b/google-api-go-generator/testdata/floats.want
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/appengine/docs/admin-api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/x/v1"
-// ...
-// ctx := context.Background()
-// xService, err := x.NewService(ctx)
+// import "google.golang.org/api/x/v1"
+// ...
+// ctx := context.Background()
+// xService, err := x.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// xService, err := x.NewService(ctx, option.WithAPIKey("AIza..."))
+// xService, err := x.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// xService, err := x.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// xService, err := x.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package x // import "google.golang.org/api/x/v1"
diff --git a/google-api-go-generator/testdata/getwithoutbody.want b/google-api-go-generator/testdata/getwithoutbody.want
index b71a5f022c0..85f5d2283ae 100644
--- a/google-api-go-generator/testdata/getwithoutbody.want
+++ b/google-api-go-generator/testdata/getwithoutbody.want
@@ -6,31 +6,31 @@
// Package getwithoutbody provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/getwithoutbody/v1"
-// ...
-// ctx := context.Background()
-// getwithoutbodyService, err := getwithoutbody.NewService(ctx)
+// import "google.golang.org/api/getwithoutbody/v1"
+// ...
+// ctx := context.Background()
+// getwithoutbodyService, err := getwithoutbody.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// getwithoutbodyService, err := getwithoutbody.NewService(ctx, option.WithAPIKey("AIza..."))
+// getwithoutbodyService, err := getwithoutbody.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// getwithoutbodyService, err := getwithoutbody.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// getwithoutbodyService, err := getwithoutbody.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package getwithoutbody // import "google.golang.org/api/getwithoutbody/v1"
@@ -217,8 +217,8 @@ type MetricDescriptorsListCall struct {
// in the response to request subsequent pages of results by setting the
// pageToken query parameter to the value of the nextPageToken.
//
-// - project: The project id. The value can be the numeric project ID or
-// string-based project name.
+// - project: The project id. The value can be the numeric project ID or
+// string-based project name.
func (r *MetricDescriptorsService) List(project string, listmetricrequest *ListMetricRequest) *MetricDescriptorsListCall {
c := &MetricDescriptorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
diff --git a/google-api-go-generator/testdata/http-body.want b/google-api-go-generator/testdata/http-body.want
index bb6e4830107..c197d966153 100644
--- a/google-api-go-generator/testdata/http-body.want
+++ b/google-api-go-generator/testdata/http-body.want
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/healthcare
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/healthcare/v1beta1"
-// ...
-// ctx := context.Background()
-// healthcareService, err := healthcare.NewService(ctx)
+// import "google.golang.org/api/healthcare/v1beta1"
+// ...
+// ctx := context.Background()
+// healthcareService, err := healthcare.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
+// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package healthcare // import "google.golang.org/api/healthcare/v1beta1"
@@ -199,7 +199,6 @@ type ProjectsLocationsDatasetsFhirStoresFhirService struct {
// or
// an HTML page.
//
-//
// This message can be used both in streaming and non-streaming API
// methods in
// the request as well as the response.
@@ -212,29 +211,33 @@ type ProjectsLocationsDatasetsFhirStoresFhirService struct {
//
// Example:
//
-// message GetResourceRequest {
-// // A unique request id.
-// string request_id = 1;
+// message GetResourceRequest {
+// // A unique request id.
+// string request_id = 1;
+//
+// // The raw HTTP body is bound to this field.
+// google.api.HttpBody http_body = 2;
+// }
//
-// // The raw HTTP body is bound to this field.
-// google.api.HttpBody http_body = 2;
-// }
+// service ResourceService {
+// rpc GetResource(GetResourceRequest) returns
//
-// service ResourceService {
-// rpc GetResource(GetResourceRequest) returns
// (google.api.HttpBody);
-// rpc UpdateResource(google.api.HttpBody) returns
+//
+// rpc UpdateResource(google.api.HttpBody) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// Example with streaming methods:
//
-// service CaldavService {
-// rpc GetCalendar(stream google.api.HttpBody)
-// returns (stream google.api.HttpBody);
-// rpc UpdateCalendar(stream google.api.HttpBody)
-// returns (stream google.api.HttpBody);
-// }
+// service CaldavService {
+// rpc GetCalendar(stream google.api.HttpBody)
+// returns (stream google.api.HttpBody);
+// rpc UpdateCalendar(stream google.api.HttpBody)
+// returns (stream google.api.HttpBody);
+// }
//
// Use of this type only changes how the request and response bodies
// are
@@ -293,7 +296,6 @@ type ProjectsLocationsDatasetsFhirStoresFhirCreateResourceCall struct {
// CreateResource: Creates a FHIR resource.
//
-//
// - parent: The name of the FHIR store this resource belongs to.
// - type: The type of the resource to create.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) CreateResource(parent string, type_ string, body_ io.Reader) *ProjectsLocationsDatasetsFhirStoresFhirCreateResourceCall {
diff --git a/google-api-go-generator/testdata/json-body.want b/google-api-go-generator/testdata/json-body.want
index b07308f33b7..d6e8c9ce2d6 100644
--- a/google-api-go-generator/testdata/json-body.want
+++ b/google-api-go-generator/testdata/json-body.want
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/ml/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/ml/v1"
-// ...
-// ctx := context.Background()
-// mlService, err := ml.NewService(ctx)
+// import "google.golang.org/api/ml/v1"
+// ...
+// ctx := context.Background()
+// mlService, err := ml.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mlService, err := ml.NewService(ctx, option.WithAPIKey("AIza..."))
+// mlService, err := ml.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mlService, err := ml.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mlService, err := ml.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package ml // import "google.golang.org/api/ml/v1"
@@ -211,7 +211,6 @@ type ProjectsOperationsService struct {
// or
// an HTML page.
//
-//
// This message can be used both in streaming and non-streaming API
// methods in
// the request as well as the response.
@@ -224,29 +223,33 @@ type ProjectsOperationsService struct {
//
// Example:
//
-// message GetResourceRequest {
-// // A unique request id.
-// string request_id = 1;
+// message GetResourceRequest {
+// // A unique request id.
+// string request_id = 1;
+//
+// // The raw HTTP body is bound to this field.
+// google.api.HttpBody http_body = 2;
+// }
//
-// // The raw HTTP body is bound to this field.
-// google.api.HttpBody http_body = 2;
-// }
+// service ResourceService {
+// rpc GetResource(GetResourceRequest) returns
//
-// service ResourceService {
-// rpc GetResource(GetResourceRequest) returns
// (google.api.HttpBody);
-// rpc UpdateResource(google.api.HttpBody) returns
+//
+// rpc UpdateResource(google.api.HttpBody) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// Example with streaming methods:
//
-// service CaldavService {
-// rpc GetCalendar(stream google.api.HttpBody)
-// returns (stream google.api.HttpBody);
-// rpc UpdateCalendar(stream google.api.HttpBody)
-// returns (stream google.api.HttpBody);
-// }
+// service CaldavService {
+// rpc GetCalendar(stream google.api.HttpBody)
+// returns (stream google.api.HttpBody);
+// rpc UpdateCalendar(stream google.api.HttpBody)
+// returns (stream google.api.HttpBody);
+// }
//
// Use of this type only changes how the request and response bodies
// are
@@ -2106,41 +2109,41 @@ func (s *GoogleCloudMlV1__Version) MarshalJSON() ([]byte, error) {
//
// Example Policy with multiple AuditConfigs:
//
-// {
-// "audit_configs": [
-// {
-// "service": "allServices"
-// "audit_log_configs": [
-// {
-// "log_type": "DATA_READ",
-// "exempted_members": [
-// "user:foo@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@gmail.com"
-// ]
-// }
-// ]
-// }
-// ]
-// }
+// {
+// "audit_configs": [
+// {
+// "service": "allServices"
+// "audit_log_configs": [
+// {
+// "log_type": "DATA_READ",
+// "exempted_members": [
+// "user:foo@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@gmail.com"
+// ]
+// }
+// ]
+// }
+// ]
+// }
//
// For fooservice, this policy enables DATA_READ, DATA_WRITE and
// ADMIN_READ
@@ -2187,19 +2190,19 @@ func (s *GoogleIamV1__AuditConfig) MarshalJSON() ([]byte, error) {
// type of permissions.
// Example:
//
-// {
-// "audit_log_configs": [
-// {
-// "log_type": "DATA_READ",
-// "exempted_members": [
-// "user:foo@gmail.com"
-// ]
-// },
-// {
-// "log_type": "DATA_WRITE",
-// }
-// ]
-// }
+// {
+// "audit_log_configs": [
+// {
+// "log_type": "DATA_READ",
+// "exempted_members": [
+// "user:foo@gmail.com"
+// ]
+// },
+// {
+// "log_type": "DATA_WRITE",
+// }
+// ]
+// }
//
// This enables 'DATA_READ' and 'DATA_WRITE' logging, while
// exempting
@@ -2321,7 +2324,6 @@ func (s *GoogleIamV1__Binding) MarshalJSON() ([]byte, error) {
// 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
@@ -2332,38 +2334,38 @@ func (s *GoogleIamV1__Binding) MarshalJSON() ([]byte, error) {
//
// **JSON Example**
//
-// {
-// "bindings": [
-// {
-// "role": "roles/owner",
-// "members": [
-// "user:mike@example.com",
-// "group:admins@example.com",
-// "domain:google.com",
+// {
+// "bindings": [
+// {
+// "role": "roles/owner",
+// "members": [
+// "user:mike@example.com",
+// "group:admins@example.com",
+// "domain:google.com",
//
// "serviceAccount:my-other-app@appspot.gserviceaccount.com"
-// ]
-// },
-// {
-// "role": "roles/viewer",
-// "members": ["user:sean@example.com"]
-// }
-// ]
-// }
//
-// **YAML Example**
+// ]
+// },
+// {
+// "role": "roles/viewer",
+// "members": ["user:sean@example.com"]
+// }
+// ]
+// }
//
-// bindings:
-// - members:
-// - user:mike@example.com
-// - group:admins@example.com
-// - domain:google.com
-// - serviceAccount:my-other-app@appspot.gserviceaccount.com
-// role: roles/owner
-// - members:
-// - user:sean@example.com
-// role: roles/viewer
+// **YAML Example**
//
+// bindings:
+// - members:
+// - user:mike@example.com
+// - group:admins@example.com
+// - domain:google.com
+// - serviceAccount:my-other-app@appspot.gserviceaccount.com
+// role: roles/owner
+// - members:
+// - user:sean@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).
@@ -2657,10 +2659,12 @@ func (s *GoogleLongrunning__Operation) MarshalJSON() ([]byte, error) {
// request
// or the response type of an API method. For instance:
//
-// service Foo {
-// rpc Bar(google.protobuf.Empty) returns
+// service Foo {
+// rpc Bar(google.protobuf.Empty) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// The JSON representation for `Empty` is empty JSON object `{}`.
type GoogleProtobuf__Empty struct {
@@ -2723,29 +2727,41 @@ type GoogleProtobuf__Empty struct {
//
// - Partial errors. If a service needs to return partial errors to the
// client,
-// it may embed the `Status` in the normal response to indicate the
+//
+// it may embed the `Status` in the normal response to indicate the
+//
// partial
-// errors.
+//
+// errors.
//
// - Workflow errors. A typical workflow has multiple steps. Each step
// may
-// have a `Status` message for error reporting.
+//
+// have a `Status` message for error reporting.
//
// - Batch operations. If a client uses batch request and batch
// response, the
-// `Status` message should be used directly inside batch response,
+//
+// `Status` message should be used directly inside batch response,
+//
// one for
-// each error sub-response.
+//
+// each error sub-response.
//
// - Asynchronous operations. If an API call embeds asynchronous
// operation
-// results in its response, the status of those operations should
+//
+// results in its response, the status of those operations should
+//
// be
-// represented directly using the `Status` message.
+//
+// represented directly using the `Status` message.
//
// - Logging. If some API errors are stored in logs, the message
// `Status` could
-// be used directly after any stripping needed for security/privacy
+//
+// be used directly after any stripping needed for security/privacy
+//
// reasons.
type GoogleRpc__Status struct {
// Code: The status code, which should be an enum value of
@@ -2789,9 +2805,9 @@ func (s *GoogleRpc__Status) MarshalJSON() ([]byte, error) {
// GoogleType__Expr: Represents an expression text. Example:
//
-// title: "User account presence"
-// description: "Determines whether the request has a user account"
-// expression: "size(request.user) > 0"
+// title: "User account presence"
+// description: "Determines whether the request has a user account"
+// expression: "size(request.user) > 0"
type GoogleType__Expr struct {
// Description: An optional description of the expression. This is a
// longer text which
@@ -3014,8 +3030,8 @@ type ProjectsPredictCall struct {
//
// - name: The resource name of a model or a version.
//
-// Authorization: requires the `predict` permission on the specified
-// resource.
+// Authorization: requires the `predict` permission on the specified
+// resource.
func (r *ProjectsService) Predict(name string, googlecloudmlv1__predictrequest *GoogleCloudMlV1__PredictRequest) *ProjectsPredictCall {
c := &ProjectsPredictCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3595,10 +3611,10 @@ type ProjectsJobsGetIamPolicyCall struct {
// policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested.
-// See the operation documentation for the appropriate value for this
-// field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested.
+// See the operation documentation for the appropriate value for this
+// field.
func (r *ProjectsJobsService) GetIamPolicy(resource string) *ProjectsJobsGetIamPolicyCall {
c := &ProjectsJobsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3995,13 +4011,15 @@ func (r *ProjectsJobsService) Patch(name string, googlecloudmlv1__job *GoogleClo
// parameter
// would be specified as `labels`, `etag`, and the
// `PATCH` request body would specify the new value, as follows:
-// {
-// "labels": {
-// "owner": "Google",
-// "color": "Blue"
-// }
-// "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4"
-// }
+//
+// {
+// "labels": {
+// "owner": "Google",
+// "color": "Blue"
+// }
+// "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4"
+// }
+//
// If `etag` matches the one on the server, the labels of the job will
// be
// replaced with the given ones, and the server end `etag` will
@@ -4156,10 +4174,10 @@ type ProjectsJobsSetIamPolicyCall struct {
// resource. Replaces any
// existing policy.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified.
-// See the operation documentation for the appropriate value for this
-// field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified.
+// See the operation documentation for the appropriate value for this
+// field.
func (r *ProjectsJobsService) SetIamPolicy(resource string, googleiamv1__setiampolicyrequest *GoogleIamV1__SetIamPolicyRequest) *ProjectsJobsSetIamPolicyCall {
c := &ProjectsJobsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4311,10 +4329,10 @@ type ProjectsJobsTestIamPermissionsCall struct {
// operation
// may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested.
-// See the operation documentation for the appropriate value for this
-// field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested.
+// See the operation documentation for the appropriate value for this
+// field.
func (r *ProjectsJobsService) TestIamPermissions(resource string, googleiamv1__testiampermissionsrequest *GoogleIamV1__TestIamPermissionsRequest) *ProjectsJobsTestIamPermissionsCall {
c := &ProjectsJobsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4606,10 +4624,10 @@ type ProjectsLocationsListCall struct {
// List: List all locations that provides at least one type of CMLE
// capability.
//
-// - parent: The name of the project for which available locations are
-// to be
-// listed (since some locations might be restricted to specific
-// projects).
+// - parent: The name of the project for which available locations are
+// to be
+// listed (since some locations might be restricted to specific
+// projects).
func (r *ProjectsLocationsService) List(parent string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5251,10 +5269,10 @@ type ProjectsModelsGetIamPolicyCall struct {
// policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested.
-// See the operation documentation for the appropriate value for this
-// field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested.
+// See the operation documentation for the appropriate value for this
+// field.
func (r *ProjectsModelsService) GetIamPolicy(resource string) *ProjectsModelsGetIamPolicyCall {
c := &ProjectsModelsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5644,12 +5662,13 @@ func (r *ProjectsModelsService) Patch(name string, googlecloudmlv1__model *Googl
// specified as `description`, `default_version.name`, and the
// `PATCH`
// request body would specify the new value, as follows:
-// {
-// "description": "foo",
-// "defaultVersion": {
-// "name":"version_1"
-// }
-// }
+//
+// {
+// "description": "foo",
+// "defaultVersion": {
+// "name":"version_1"
+// }
+// }
//
// Currently the supported update masks are `description`
// and
@@ -5801,10 +5820,10 @@ type ProjectsModelsSetIamPolicyCall struct {
// resource. Replaces any
// existing policy.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified.
-// See the operation documentation for the appropriate value for this
-// field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified.
+// See the operation documentation for the appropriate value for this
+// field.
func (r *ProjectsModelsService) SetIamPolicy(resource string, googleiamv1__setiampolicyrequest *GoogleIamV1__SetIamPolicyRequest) *ProjectsModelsSetIamPolicyCall {
c := &ProjectsModelsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5956,10 +5975,10 @@ type ProjectsModelsTestIamPermissionsCall struct {
// operation
// may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested.
-// See the operation documentation for the appropriate value for this
-// field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested.
+// See the operation documentation for the appropriate value for this
+// field.
func (r *ProjectsModelsService) TestIamPermissions(resource string, googleiamv1__testiampermissionsrequest *GoogleIamV1__TestIamPermissionsRequest) *ProjectsModelsTestIamPermissionsCall {
c := &ProjectsModelsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6265,11 +6284,11 @@ type ProjectsModelsVersionsDeleteCall struct {
// version
// of the model unless it is the only remaining version.
//
-// - name: The name of the version. You can get the names of all
-// the
-// versions of a model by calling
-// projects.models.versions.list
-// (/ml-engine/reference/rest/v1/projects.models.versions/list).
+// - name: The name of the version. You can get the names of all
+// the
+// versions of a model by calling
+// projects.models.versions.list
+// (/ml-engine/reference/rest/v1/projects.models.versions/list).
func (r *ProjectsModelsVersionsService) Delete(name string) *ProjectsModelsVersionsDeleteCall {
c := &ProjectsModelsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6801,9 +6820,10 @@ func (r *ProjectsModelsVersionsService) Patch(name string, googlecloudmlv1__vers
// `update_mask` parameter would be specified as `description`, and
// the
// `PATCH` request body would specify the new value, as follows:
-// {
-// "description": "foo"
-// }
+//
+// {
+// "description": "foo"
+// }
//
// Currently the only supported update mask fields are `description`
// and
@@ -6964,12 +6984,12 @@ type ProjectsModelsVersionsSetDefaultCall struct {
// version
// setting manually using this method.
//
-// - name: The name of the version to make the default for the model.
-// You
-// can get the names of all the versions of a model by
-// calling
-// projects.models.versions.list
-// (/ml-engine/reference/rest/v1/projects.models.versions/list).
+// - name: The name of the version to make the default for the model.
+// You
+// can get the names of all the versions of a model by
+// calling
+// projects.models.versions.list
+// (/ml-engine/reference/rest/v1/projects.models.versions/list).
func (r *ProjectsModelsVersionsService) SetDefault(name string, googlecloudmlv1__setdefaultversionrequest *GoogleCloudMlV1__SetDefaultVersionRequest) *ProjectsModelsVersionsSetDefaultCall {
c := &ProjectsModelsVersionsSetDefaultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7109,7 +7129,9 @@ type ProjectsOperationsCancelCall struct {
}
// Cancel: Starts asynchronous cancellation on a long-running operation.
-// The server
+//
+// The server
+//
// makes a best effort to cancel the operation, but success is
// not
// guaranteed. If the server doesn't support this method, it
diff --git a/google-api-go-generator/testdata/mapofany.want b/google-api-go-generator/testdata/mapofany.want
index 99aa1f33b51..853b119e545 100644
--- a/google-api-go-generator/testdata/mapofany.want
+++ b/google-api-go-generator/testdata/mapofany.want
@@ -6,31 +6,31 @@
// Package mapofany provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mapofany/v1"
-// ...
-// ctx := context.Background()
-// mapofanyService, err := mapofany.NewService(ctx)
+// import "google.golang.org/api/mapofany/v1"
+// ...
+// ctx := context.Background()
+// mapofanyService, err := mapofany.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mapofanyService, err := mapofany.NewService(ctx, option.WithAPIKey("AIza..."))
+// mapofanyService, err := mapofany.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mapofanyService, err := mapofany.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mapofanyService, err := mapofany.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mapofany // import "google.golang.org/api/mapofany/v1"
diff --git a/google-api-go-generator/testdata/mapofarrayofobjects.want b/google-api-go-generator/testdata/mapofarrayofobjects.want
index 8c02ff3249a..9a60668abb7 100644
--- a/google-api-go-generator/testdata/mapofarrayofobjects.want
+++ b/google-api-go-generator/testdata/mapofarrayofobjects.want
@@ -6,31 +6,31 @@
// Package additionalprops provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/additionalprops/v1"
-// ...
-// ctx := context.Background()
-// additionalpropsService, err := additionalprops.NewService(ctx)
+// import "google.golang.org/api/additionalprops/v1"
+// ...
+// ctx := context.Background()
+// additionalpropsService, err := additionalprops.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// additionalpropsService, err := additionalprops.NewService(ctx, option.WithAPIKey("AIza..."))
+// additionalpropsService, err := additionalprops.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// additionalpropsService, err := additionalprops.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// additionalpropsService, err := additionalprops.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package additionalprops // import "google.golang.org/api/additionalprops/v1"
diff --git a/google-api-go-generator/testdata/mapofint64strings.want b/google-api-go-generator/testdata/mapofint64strings.want
index 2bdd94ca473..9b11d4649ad 100644
--- a/google-api-go-generator/testdata/mapofint64strings.want
+++ b/google-api-go-generator/testdata/mapofint64strings.want
@@ -6,31 +6,31 @@
// Package androidbuildinternal provides access to the .
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/androidbuildinternal/v1"
-// ...
-// ctx := context.Background()
-// androidbuildinternalService, err := androidbuildinternal.NewService(ctx)
+// import "google.golang.org/api/androidbuildinternal/v1"
+// ...
+// ctx := context.Background()
+// androidbuildinternalService, err := androidbuildinternal.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// androidbuildinternalService, err := androidbuildinternal.NewService(ctx, option.WithAPIKey("AIza..."))
+// androidbuildinternalService, err := androidbuildinternal.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// androidbuildinternalService, err := androidbuildinternal.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// androidbuildinternalService, err := androidbuildinternal.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package androidbuildinternal // import "google.golang.org/api/androidbuildinternal/v1"
diff --git a/google-api-go-generator/testdata/mapofobjects.want b/google-api-go-generator/testdata/mapofobjects.want
index 4ac67adf1a0..8f8f9c07f75 100644
--- a/google-api-go-generator/testdata/mapofobjects.want
+++ b/google-api-go-generator/testdata/mapofobjects.want
@@ -6,31 +6,31 @@
// Package additionalpropsobjs provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/additionalpropsobjs/v1"
-// ...
-// ctx := context.Background()
-// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx)
+// import "google.golang.org/api/additionalpropsobjs/v1"
+// ...
+// ctx := context.Background()
+// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx, option.WithAPIKey("AIza..."))
+// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package additionalpropsobjs // import "google.golang.org/api/additionalpropsobjs/v1"
diff --git a/google-api-go-generator/testdata/mapofstrings-1.want b/google-api-go-generator/testdata/mapofstrings-1.want
index a8b04f4ee99..d4254581387 100644
--- a/google-api-go-generator/testdata/mapofstrings-1.want
+++ b/google-api-go-generator/testdata/mapofstrings-1.want
@@ -6,31 +6,31 @@
// Package additionalprops provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/additionalprops/v1"
-// ...
-// ctx := context.Background()
-// additionalpropsService, err := additionalprops.NewService(ctx)
+// import "google.golang.org/api/additionalprops/v1"
+// ...
+// ctx := context.Background()
+// additionalpropsService, err := additionalprops.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// additionalpropsService, err := additionalprops.NewService(ctx, option.WithAPIKey("AIza..."))
+// additionalpropsService, err := additionalprops.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// additionalpropsService, err := additionalprops.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// additionalpropsService, err := additionalprops.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package additionalprops // import "google.golang.org/api/additionalprops/v1"
diff --git a/google-api-go-generator/testdata/param-rename.want b/google-api-go-generator/testdata/param-rename.want
index 090662bec13..7783d0367fb 100644
--- a/google-api-go-generator/testdata/param-rename.want
+++ b/google-api-go-generator/testdata/param-rename.want
@@ -6,31 +6,31 @@
// Package paramrename provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/paramrename/v1"
-// ...
-// ctx := context.Background()
-// paramrenameService, err := paramrename.NewService(ctx)
+// import "google.golang.org/api/paramrename/v1"
+// ...
+// ctx := context.Background()
+// paramrenameService, err := paramrename.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// paramrenameService, err := paramrename.NewService(ctx, option.WithAPIKey("AIza..."))
+// paramrenameService, err := paramrename.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// paramrenameService, err := paramrename.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// paramrenameService, err := paramrename.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package paramrename // import "google.golang.org/api/paramrename/v1"
@@ -159,9 +159,9 @@ type EventsMoveCall struct {
// Move: Moves an event to another calendar, i.e. changes an event's
// organizer.
//
-// - destination: Calendar identifier of the target calendar where the
-// event is to be moved to.
-// - rightString: Yet another parameter.
+// - destination: Calendar identifier of the target calendar where the
+// event is to be moved to.
+// - rightString: Yet another parameter.
func (r *EventsService) Move(destinationid string, rightString string) *EventsMoveCall {
c := &EventsMoveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("destination", destinationid)
@@ -312,8 +312,8 @@ type ReportsQueryCall struct {
// Query: Retrieve your YouTube Analytics reports.
//
-// - startDate: The start date for fetching YouTube Analytics data. The
-// value should be in YYYY-MM-DD format.
+// - startDate: The start date for fetching YouTube Analytics data. The
+// value should be in YYYY-MM-DD format.
func (r *ReportsService) Query(startDate string) *ReportsQueryCall {
c := &ReportsQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("start-date", startDate)
diff --git a/google-api-go-generator/testdata/quotednum.want b/google-api-go-generator/testdata/quotednum.want
index 8d718141fd4..8939dcbccdc 100644
--- a/google-api-go-generator/testdata/quotednum.want
+++ b/google-api-go-generator/testdata/quotednum.want
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/ad-exchange/buyer-rest
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/adexchangebuyer/v1.1"
-// ...
-// ctx := context.Background()
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx)
+// import "google.golang.org/api/adexchangebuyer/v1.1"
+// ...
+// ctx := context.Background()
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithAPIKey("AIza..."))
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// adexchangebuyerService, err := adexchangebuyer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package adexchangebuyer // import "google.golang.org/api/adexchangebuyer/v1.1"
diff --git a/google-api-go-generator/testdata/repeated.want b/google-api-go-generator/testdata/repeated.want
index 202faa8cd9f..5b8533955ed 100644
--- a/google-api-go-generator/testdata/repeated.want
+++ b/google-api-go-generator/testdata/repeated.want
@@ -6,31 +6,31 @@
// Package repeated provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/repeated/v1"
-// ...
-// ctx := context.Background()
-// repeatedService, err := repeated.NewService(ctx)
+// import "google.golang.org/api/repeated/v1"
+// ...
+// ctx := context.Background()
+// repeatedService, err := repeated.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// repeatedService, err := repeated.NewService(ctx, option.WithAPIKey("AIza..."))
+// repeatedService, err := repeated.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// repeatedService, err := repeated.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// repeatedService, err := repeated.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package repeated // import "google.golang.org/api/repeated/v1"
diff --git a/google-api-go-generator/testdata/required-query.want b/google-api-go-generator/testdata/required-query.want
index 618661d2cd5..9b2b98460a6 100644
--- a/google-api-go-generator/testdata/required-query.want
+++ b/google-api-go-generator/testdata/required-query.want
@@ -6,31 +6,31 @@
// Package tshealth provides access to the .
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/tshealth/"
-// ...
-// ctx := context.Background()
-// tshealthService, err := tshealth.NewService(ctx)
+// import "google.golang.org/api/tshealth/"
+// ...
+// ctx := context.Background()
+// tshealthService, err := tshealth.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// tshealthService, err := tshealth.NewService(ctx, option.WithAPIKey("AIza..."))
+// tshealthService, err := tshealth.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// tshealthService, err := tshealth.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// tshealthService, err := tshealth.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package tshealth // import "google.golang.org/api/tshealth/"
diff --git a/google-api-go-generator/testdata/resource-named-service.want b/google-api-go-generator/testdata/resource-named-service.want
index bebe4d31746..32331987e04 100644
--- a/google-api-go-generator/testdata/resource-named-service.want
+++ b/google-api-go-generator/testdata/resource-named-service.want
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/appengine/docs/admin-api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/appengine/v1"
-// ...
-// ctx := context.Background()
-// appengineService, err := appengine.NewService(ctx)
+// import "google.golang.org/api/appengine/v1"
+// ...
+// ctx := context.Background()
+// appengineService, err := appengine.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// appengineService, err := appengine.NewService(ctx, option.WithAPIKey("AIza..."))
+// appengineService, err := appengine.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// appengineService, err := appengine.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// appengineService, err := appengine.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package appengine // import "google.golang.org/api/appengine/v1"
@@ -2195,8 +2195,8 @@ type AppsGetCall struct {
// Get: Gets information about an application.
//
-// - appsId: Part of `name`. Name of the Application resource to get.
-// Example: `apps/myapp`.
+// - appsId: Part of `name`. Name of the Application resource to get.
+// Example: `apps/myapp`.
func (r *AppsService) Get(appsId string) *AppsGetCall {
c := &AppsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -2344,8 +2344,8 @@ type AppsRepairCall struct {
// message about a missing feature, for example "*Error retrieving the
// App Engine service account*".
//
-// - appsId: Part of `name`. Name of the application to repair. Example:
-// `apps/myapp`.
+// - appsId: Part of `name`. Name of the application to repair. Example:
+// `apps/myapp`.
func (r *AppsService) Repair(appsId string, repairapplicationrequest *RepairApplicationRequest) *AppsRepairCall {
c := &AppsRepairCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -2641,8 +2641,8 @@ type AppsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - appsId: Part of `name`. The resource that owns the locations
-// collection, if applicable.
+// - appsId: Part of `name`. The resource that owns the locations
+// collection, if applicable.
func (r *AppsLocationsService) List(appsId string) *AppsLocationsListCall {
c := &AppsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -3207,9 +3207,9 @@ type AppsServicesDeleteCall struct {
// Delete: Deletes the specified service and all enclosed versions.
//
-// - appsId: Part of `name`. Name of the resource requested. Example:
-// `apps/myapp/services/default`.
-// - servicesId: Part of `name`. See documentation of `appsId`.
+// - appsId: Part of `name`. Name of the resource requested. Example:
+// `apps/myapp/services/default`.
+// - servicesId: Part of `name`. See documentation of `appsId`.
func (r *AppsServicesService) Delete(appsId string, servicesId string) *AppsServicesDeleteCall {
c := &AppsServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -3350,9 +3350,9 @@ type AppsServicesGetCall struct {
// Get: Gets the current configuration of the specified service.
//
-// - appsId: Part of `name`. Name of the resource requested. Example:
-// `apps/myapp/services/default`.
-// - servicesId: Part of `name`. See documentation of `appsId`.
+// - appsId: Part of `name`. Name of the resource requested. Example:
+// `apps/myapp/services/default`.
+// - servicesId: Part of `name`. See documentation of `appsId`.
func (r *AppsServicesService) Get(appsId string, servicesId string) *AppsServicesGetCall {
c := &AppsServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -3505,8 +3505,8 @@ type AppsServicesListCall struct {
// List: Lists all the services in the application.
//
-// - appsId: Part of `parent`. Name of the parent Application resource.
-// Example: `apps/myapp`.
+// - appsId: Part of `parent`. Name of the parent Application resource.
+// Example: `apps/myapp`.
func (r *AppsServicesService) List(appsId string) *AppsServicesListCall {
c := &AppsServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -3697,9 +3697,9 @@ type AppsServicesPatchCall struct {
// Patch: Updates the configuration of the specified service.
//
-// - appsId: Part of `name`. Name of the resource to update. Example:
-// `apps/myapp/services/default`.
-// - servicesId: Part of `name`. See documentation of `appsId`.
+// - appsId: Part of `name`. Name of the resource to update. Example:
+// `apps/myapp/services/default`.
+// - servicesId: Part of `name`. See documentation of `appsId`.
func (r *AppsServicesService) Patch(appsId string, servicesId string, service *Service) *AppsServicesPatchCall {
c := &AppsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -3885,9 +3885,9 @@ type AppsServicesVersionsCreateCall struct {
// Create: Deploys code and resource files to a new version.
//
-// - appsId: Part of `parent`. Name of the parent resource to create
-// this version under. Example: `apps/myapp/services/default`.
-// - servicesId: Part of `parent`. See documentation of `appsId`.
+// - appsId: Part of `parent`. Name of the parent resource to create
+// this version under. Example: `apps/myapp/services/default`.
+// - servicesId: Part of `parent`. See documentation of `appsId`.
func (r *AppsServicesVersionsService) Create(appsId string, servicesId string, version *Version) *AppsServicesVersionsCreateCall {
c := &AppsServicesVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -4037,10 +4037,10 @@ type AppsServicesVersionsDeleteCall struct {
// Delete: Deletes an existing Version resource.
//
-// - appsId: Part of `name`. Name of the resource requested. Example:
-// `apps/myapp/services/default/versions/v1`.
-// - servicesId: Part of `name`. See documentation of `appsId`.
-// - versionsId: Part of `name`. See documentation of `appsId`.
+// - appsId: Part of `name`. Name of the resource requested. Example:
+// `apps/myapp/services/default/versions/v1`.
+// - servicesId: Part of `name`. See documentation of `appsId`.
+// - versionsId: Part of `name`. See documentation of `appsId`.
func (r *AppsServicesVersionsService) Delete(appsId string, servicesId string, versionsId string) *AppsServicesVersionsDeleteCall {
c := &AppsServicesVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -4193,10 +4193,10 @@ type AppsServicesVersionsGetCall struct {
// `BASIC_VIEW` will be returned. Specify the `FULL_VIEW` parameter to
// get the full resource.
//
-// - appsId: Part of `name`. Name of the resource requested. Example:
-// `apps/myapp/services/default/versions/v1`.
-// - servicesId: Part of `name`. See documentation of `appsId`.
-// - versionsId: Part of `name`. See documentation of `appsId`.
+// - appsId: Part of `name`. Name of the resource requested. Example:
+// `apps/myapp/services/default/versions/v1`.
+// - servicesId: Part of `name`. See documentation of `appsId`.
+// - versionsId: Part of `name`. See documentation of `appsId`.
func (r *AppsServicesVersionsService) Get(appsId string, servicesId string, versionsId string) *AppsServicesVersionsGetCall {
c := &AppsServicesVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -4209,8 +4209,9 @@ func (r *AppsServicesVersionsService) Get(appsId string, servicesId string, vers
// returned in the `Get` response.
//
// Possible values:
-// "BASIC"
-// "FULL"
+//
+// "BASIC"
+// "FULL"
func (c *AppsServicesVersionsGetCall) View(view string) *AppsServicesVersionsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -4379,9 +4380,9 @@ type AppsServicesVersionsListCall struct {
// List: Lists the versions of a service.
//
-// - appsId: Part of `parent`. Name of the parent Service resource.
-// Example: `apps/myapp/services/default`.
-// - servicesId: Part of `parent`. See documentation of `appsId`.
+// - appsId: Part of `parent`. Name of the parent Service resource.
+// Example: `apps/myapp/services/default`.
+// - servicesId: Part of `parent`. See documentation of `appsId`.
func (r *AppsServicesVersionsService) List(appsId string, servicesId string) *AppsServicesVersionsListCall {
c := &AppsServicesVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -4407,8 +4408,9 @@ func (c *AppsServicesVersionsListCall) PageToken(pageToken string) *AppsServices
// returned in the `List` response.
//
// Possible values:
-// "BASIC"
-// "FULL"
+//
+// "BASIC"
+// "FULL"
func (c *AppsServicesVersionsListCall) View(view string) *AppsServicesVersionsListCall {
c.urlParams_.Set("view", view)
return c
@@ -4616,10 +4618,10 @@ type AppsServicesVersionsPatchCall struct {
// For Version resources that use automatic scaling and run in the App
// Engine standard environment.
//
-// - appsId: Part of `name`. Name of the resource to update. Example:
-// `apps/myapp/services/default/versions/1`.
-// - servicesId: Part of `name`. See documentation of `appsId`.
-// - versionsId: Part of `name`. See documentation of `appsId`.
+// - appsId: Part of `name`. Name of the resource to update. Example:
+// `apps/myapp/services/default/versions/1`.
+// - servicesId: Part of `name`. See documentation of `appsId`.
+// - versionsId: Part of `name`. See documentation of `appsId`.
func (r *AppsServicesVersionsService) Patch(appsId string, servicesId string, versionsId string, version *Version) *AppsServicesVersionsPatchCall {
c := &AppsServicesVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -4798,11 +4800,11 @@ type AppsServicesVersionsInstancesDebugCall struct {
// instance should be started. Only applicable for instances in App
// Engine flexible environment.
//
-// - appsId: Part of `name`. Name of the resource requested. Example:
-// `apps/myapp/services/default/versions/v1/instances/instance-1`.
-// - instancesId: Part of `name`. See documentation of `appsId`.
-// - servicesId: Part of `name`. See documentation of `appsId`.
-// - versionsId: Part of `name`. See documentation of `appsId`.
+// - appsId: Part of `name`. Name of the resource requested. Example:
+// `apps/myapp/services/default/versions/v1/instances/instance-1`.
+// - instancesId: Part of `name`. See documentation of `appsId`.
+// - servicesId: Part of `name`. See documentation of `appsId`.
+// - versionsId: Part of `name`. See documentation of `appsId`.
func (r *AppsServicesVersionsInstancesService) Debug(appsId string, servicesId string, versionsId string, instancesId string, debuginstancerequest *DebugInstanceRequest) *AppsServicesVersionsInstancesDebugCall {
c := &AppsServicesVersionsInstancesDebugCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -4971,11 +4973,11 @@ type AppsServicesVersionsInstancesDeleteCall struct {
// Delete: Stops a running instance.
//
-// - appsId: Part of `name`. Name of the resource requested. Example:
-// `apps/myapp/services/default/versions/v1/instances/instance-1`.
-// - instancesId: Part of `name`. See documentation of `appsId`.
-// - servicesId: Part of `name`. See documentation of `appsId`.
-// - versionsId: Part of `name`. See documentation of `appsId`.
+// - appsId: Part of `name`. Name of the resource requested. Example:
+// `apps/myapp/services/default/versions/v1/instances/instance-1`.
+// - instancesId: Part of `name`. See documentation of `appsId`.
+// - servicesId: Part of `name`. See documentation of `appsId`.
+// - versionsId: Part of `name`. See documentation of `appsId`.
func (r *AppsServicesVersionsInstancesService) Delete(appsId string, servicesId string, versionsId string, instancesId string) *AppsServicesVersionsInstancesDeleteCall {
c := &AppsServicesVersionsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -5136,11 +5138,11 @@ type AppsServicesVersionsInstancesGetCall struct {
// Get: Gets instance information.
//
-// - appsId: Part of `name`. Name of the resource requested. Example:
-// `apps/myapp/services/default/versions/v1/instances/instance-1`.
-// - instancesId: Part of `name`. See documentation of `appsId`.
-// - servicesId: Part of `name`. See documentation of `appsId`.
-// - versionsId: Part of `name`. See documentation of `appsId`.
+// - appsId: Part of `name`. Name of the resource requested. Example:
+// `apps/myapp/services/default/versions/v1/instances/instance-1`.
+// - instancesId: Part of `name`. See documentation of `appsId`.
+// - servicesId: Part of `name`. See documentation of `appsId`.
+// - versionsId: Part of `name`. See documentation of `appsId`.
func (r *AppsServicesVersionsInstancesService) Get(appsId string, servicesId string, versionsId string, instancesId string) *AppsServicesVersionsInstancesGetCall {
c := &AppsServicesVersionsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
@@ -5313,10 +5315,10 @@ type AppsServicesVersionsInstancesListCall struct {
// List: Lists the instances of a version.
//
-// - appsId: Part of `parent`. Name of the parent Version resource.
-// Example: `apps/myapp/services/default/versions/v1`.
-// - servicesId: Part of `parent`. See documentation of `appsId`.
-// - versionsId: Part of `parent`. See documentation of `appsId`.
+// - appsId: Part of `parent`. Name of the parent Version resource.
+// Example: `apps/myapp/services/default/versions/v1`.
+// - servicesId: Part of `parent`. See documentation of `appsId`.
+// - versionsId: Part of `parent`. See documentation of `appsId`.
func (r *AppsServicesVersionsInstancesService) List(appsId string, servicesId string, versionsId string) *AppsServicesVersionsInstancesListCall {
c := &AppsServicesVersionsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.appsId = appsId
diff --git a/google-api-go-generator/testdata/unfortunatedefaults.want b/google-api-go-generator/testdata/unfortunatedefaults.want
index 084be49ce1c..979c178d358 100644
--- a/google-api-go-generator/testdata/unfortunatedefaults.want
+++ b/google-api-go-generator/testdata/unfortunatedefaults.want
@@ -6,31 +6,31 @@
// Package wrapnewlines provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/wrapnewlines/v1"
-// ...
-// ctx := context.Background()
-// wrapnewlinesService, err := wrapnewlines.NewService(ctx)
+// import "google.golang.org/api/wrapnewlines/v1"
+// ...
+// ctx := context.Background()
+// wrapnewlinesService, err := wrapnewlines.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// wrapnewlinesService, err := wrapnewlines.NewService(ctx, option.WithAPIKey("AIza..."))
+// wrapnewlinesService, err := wrapnewlines.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// wrapnewlinesService, err := wrapnewlines.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// wrapnewlinesService, err := wrapnewlines.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package wrapnewlines // import "google.golang.org/api/wrapnewlines/v1"
diff --git a/google-api-go-generator/testdata/variants.want b/google-api-go-generator/testdata/variants.want
index cc478b25bc5..6e8cb3ca567 100644
--- a/google-api-go-generator/testdata/variants.want
+++ b/google-api-go-generator/testdata/variants.want
@@ -6,31 +6,31 @@
// Package additionalpropsobjs provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/additionalpropsobjs/v1"
-// ...
-// ctx := context.Background()
-// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx)
+// import "google.golang.org/api/additionalpropsobjs/v1"
+// ...
+// ctx := context.Background()
+// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx, option.WithAPIKey("AIza..."))
+// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// additionalpropsobjsService, err := additionalpropsobjs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package additionalpropsobjs // import "google.golang.org/api/additionalpropsobjs/v1"
diff --git a/google-api-go-generator/testdata/wrapnewlines.want b/google-api-go-generator/testdata/wrapnewlines.want
index 2fd441bfdc7..f0da134af17 100644
--- a/google-api-go-generator/testdata/wrapnewlines.want
+++ b/google-api-go-generator/testdata/wrapnewlines.want
@@ -6,31 +6,31 @@
// Package wrapnewlines provides access to the Example API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/wrapnewlines/v1"
-// ...
-// ctx := context.Background()
-// wrapnewlinesService, err := wrapnewlines.NewService(ctx)
+// import "google.golang.org/api/wrapnewlines/v1"
+// ...
+// ctx := context.Background()
+// wrapnewlinesService, err := wrapnewlines.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// wrapnewlinesService, err := wrapnewlines.NewService(ctx, option.WithAPIKey("AIza..."))
+// wrapnewlinesService, err := wrapnewlines.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// wrapnewlinesService, err := wrapnewlines.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// wrapnewlinesService, err := wrapnewlines.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package wrapnewlines // import "google.golang.org/api/wrapnewlines/v1"
diff --git a/googleapi/googleapi.go b/googleapi/googleapi.go
index 2d3e00edc9f..75248fd16ec 100644
--- a/googleapi/googleapi.go
+++ b/googleapi/googleapi.go
@@ -382,11 +382,11 @@ func ConvertVariant(v map[string]interface{}, dst interface{}) bool {
// For example, if your response has a "NextPageToken" and a slice of "Items" with "Id" fields,
// you could request just those fields like this:
//
-// svc.Events.List().Fields("nextPageToken", "items/id").Do()
+// svc.Events.List().Fields("nextPageToken", "items/id").Do()
//
// or if you were also interested in each Item's "Updated" field, you can combine them like this:
//
-// svc.Events.List().Fields("nextPageToken", "items(id,updated)").Do()
+// svc.Events.List().Fields("nextPageToken", "items(id,updated)").Do()
//
// Another way to find field names is through the Google API explorer:
// https://developers.google.com/apis-explorer/#p/
diff --git a/googleapi/transport/apikey.go b/googleapi/transport/apikey.go
index 61720ec2ea1..f5d826c2a19 100644
--- a/googleapi/transport/apikey.go
+++ b/googleapi/transport/apikey.go
@@ -7,7 +7,7 @@
//
// This package is DEPRECATED. Users should instead use,
//
-// service, err := NewService(..., option.WithAPIKey(...))
+// service, err := NewService(..., option.WithAPIKey(...))
package transport
import (
diff --git a/groupsmigration/v1/groupsmigration-gen.go b/groupsmigration/v1/groupsmigration-gen.go
index 82a02ddf343..318207c8a68 100644
--- a/groupsmigration/v1/groupsmigration-gen.go
+++ b/groupsmigration/v1/groupsmigration-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/google-apps/groups-migration/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/groupsmigration/v1"
-// ...
-// ctx := context.Background()
-// groupsmigrationService, err := groupsmigration.NewService(ctx)
+// import "google.golang.org/api/groupsmigration/v1"
+// ...
+// ctx := context.Background()
+// groupsmigrationService, err := groupsmigration.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// groupsmigrationService, err := groupsmigration.NewService(ctx, option.WithAPIKey("AIza..."))
+// groupsmigrationService, err := groupsmigration.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// groupsmigrationService, err := groupsmigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// groupsmigrationService, err := groupsmigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package groupsmigration // import "google.golang.org/api/groupsmigration/v1"
diff --git a/groupssettings/v1/groupssettings-gen.go b/groupssettings/v1/groupssettings-gen.go
index 9089b2b9419..623a5a39b88 100644
--- a/groupssettings/v1/groupssettings-gen.go
+++ b/groupssettings/v1/groupssettings-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/google-apps/groups-settings/get_started
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/groupssettings/v1"
-// ...
-// ctx := context.Background()
-// groupssettingsService, err := groupssettings.NewService(ctx)
+// import "google.golang.org/api/groupssettings/v1"
+// ...
+// ctx := context.Background()
+// groupssettingsService, err := groupssettings.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// groupssettingsService, err := groupssettings.NewService(ctx, option.WithAPIKey("AIza..."))
+// groupssettingsService, err := groupssettings.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// groupssettingsService, err := groupssettings.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// groupssettingsService, err := groupssettings.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package groupssettings // import "google.golang.org/api/groupssettings/v1"
diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go
index e6fb5771144..45bac99ebd3 100644
--- a/healthcare/v1/healthcare-gen.go
+++ b/healthcare/v1/healthcare-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/healthcare
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/healthcare/v1"
-// ...
-// ctx := context.Background()
-// healthcareService, err := healthcare.NewService(ctx)
+// import "google.golang.org/api/healthcare/v1"
+// ...
+// ctx := context.Background()
+// healthcareService, err := healthcare.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
+// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package healthcare // import "google.golang.org/api/healthcare/v1"
@@ -5994,8 +5994,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6205,9 +6205,9 @@ type ProjectsLocationsDatasetsCreateCall struct {
// which contains a Dataset or `Operation.error`. The metadata field
// type is OperationMetadata.
//
-// - parent: The name of the project where the server creates the
-// dataset. For example,
-// `projects/{project_id}/locations/{location_id}`.
+// - parent: The name of the project where the server creates the
+// dataset. For example,
+// `projects/{project_id}/locations/{location_id}`.
func (r *ProjectsLocationsDatasetsService) Create(parent string, dataset *Dataset) *ProjectsLocationsDatasetsCreateCall {
c := &ProjectsLocationsDatasetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6371,9 +6371,9 @@ type ProjectsLocationsDatasetsDeidentifyCall struct {
// For more information, see Viewing error logs in Cloud Logging
// (https://cloud.google.com/healthcare/docs/how-tos/logging).
//
-// - sourceDataset: Source dataset resource name. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// `.
+// - sourceDataset: Source dataset resource name. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// `.
func (r *ProjectsLocationsDatasetsService) Deidentify(sourceDataset string, deidentifydatasetrequest *DeidentifyDatasetRequest) *ProjectsLocationsDatasetsDeidentifyCall {
c := &ProjectsLocationsDatasetsDeidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sourceDataset = sourceDataset
@@ -6516,9 +6516,9 @@ type ProjectsLocationsDatasetsDeleteCall struct {
// in the dataset. Deleting a dataset does not affect the sources from
// which the dataset was imported (if any).
//
-// - name: The name of the dataset to delete. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// `.
+// - name: The name of the dataset to delete. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// `.
func (r *ProjectsLocationsDatasetsService) Delete(name string) *ProjectsLocationsDatasetsDeleteCall {
c := &ProjectsLocationsDatasetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6651,9 +6651,9 @@ type ProjectsLocationsDatasetsGetCall struct {
// Get: Gets any metadata associated with a dataset.
//
-// - name: The name of the dataset to read. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// `.
+// - name: The name of the dataset to read. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// `.
func (r *ProjectsLocationsDatasetsService) Get(name string) *ProjectsLocationsDatasetsGetCall {
c := &ProjectsLocationsDatasetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6801,10 +6801,10 @@ type ProjectsLocationsDatasetsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsGetIamPolicyCall {
c := &ProjectsLocationsDatasetsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6974,8 +6974,8 @@ type ProjectsLocationsDatasetsListCall struct {
// List: Lists the health datasets in the current project.
//
-// - parent: The name of the project whose datasets should be listed.
-// For example, `projects/{project_id}/locations/{location_id}`.
+// - parent: The name of the project whose datasets should be listed.
+// For example, `projects/{project_id}/locations/{location_id}`.
func (r *ProjectsLocationsDatasetsService) List(parent string) *ProjectsLocationsDatasetsListCall {
c := &ProjectsLocationsDatasetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7168,9 +7168,9 @@ type ProjectsLocationsDatasetsPatchCall struct {
// Patch: Updates dataset metadata.
//
-// - name: Resource name of the dataset, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// `.
+// - name: Resource name of the dataset, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// `.
func (r *ProjectsLocationsDatasetsService) Patch(name string, dataset *Dataset) *ProjectsLocationsDatasetsPatchCall {
c := &ProjectsLocationsDatasetsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7328,10 +7328,10 @@ type ProjectsLocationsDatasetsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsSetIamPolicyCall {
c := &ProjectsLocationsDatasetsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7478,10 +7478,10 @@ type ProjectsLocationsDatasetsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7625,10 +7625,10 @@ type ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall struct {
// mapping in the specified consent store is consented for the specified
// use.
//
-// - consentStore: Name of the consent store where the requested data_id
-// is stored, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}`.
+// - consentStore: Name of the consent store where the requested data_id
+// is stored, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}`.
func (r *ProjectsLocationsDatasetsConsentStoresService) CheckDataAccess(consentStore string, checkdataaccessrequest *CheckDataAccessRequest) *ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall {
c := &ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.consentStore = consentStore
@@ -8065,8 +8065,8 @@ type ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall struct {
// mappings are created or updated and when they are included in
// EvaluateUserConsents results.
//
-// - consentStore: Name of the consent store to retrieve User data
-// mappings from.
+// - consentStore: Name of the consent store to retrieve User data
+// mappings from.
func (r *ProjectsLocationsDatasetsConsentStoresService) EvaluateUserConsents(consentStore string, evaluateuserconsentsrequest *EvaluateUserConsentsRequest) *ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall {
c := &ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.consentStore = consentStore
@@ -8377,10 +8377,10 @@ type ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsConsentStoresService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall {
c := &ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8756,10 +8756,10 @@ type ProjectsLocationsDatasetsConsentStoresPatchCall struct {
// Patch: Updates the specified consent store.
//
-// - name: Resource name of the consent store, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}`. Cannot be changed after
-// creation.
+// - name: Resource name of the consent store, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}`. Cannot be changed after
+// creation.
func (r *ProjectsLocationsDatasetsConsentStoresService) Patch(name string, consentstore *ConsentStore) *ProjectsLocationsDatasetsConsentStoresPatchCall {
c := &ProjectsLocationsDatasetsConsentStoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8946,8 +8946,8 @@ type ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall struct {
// "healthcare_consent_store" } severity: "ERROR" timestamp: "TIMESTAMP"
// ```
//
-// - consentStore: Name of the consent store to retrieve User data
-// mappings from.
+// - consentStore: Name of the consent store to retrieve User data
+// mappings from.
func (r *ProjectsLocationsDatasetsConsentStoresService) QueryAccessibleData(consentStore string, queryaccessibledatarequest *QueryAccessibleDataRequest) *ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall {
c := &ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.consentStore = consentStore
@@ -9091,10 +9091,10 @@ type ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsConsentStoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall {
c := &ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9241,10 +9241,10 @@ type ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsConsentStoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9387,8 +9387,8 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall struct
// Create: Creates a new Attribute definition in the parent consent
// store.
//
-// - parent: The name of the consent store that this Attribute
-// definition belongs to.
+// - parent: The name of the consent store that this Attribute
+// definition belongs to.
func (r *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService) Create(parent string, attributedefinition *AttributeDefinition) *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall {
c := &ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9547,10 +9547,10 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall struct
// Attribute definition is referenced by any User data mapping, or the
// latest revision of any Consent.
//
-// - name: The resource name of the Attribute definition to delete. To
-// preserve referential integrity, Attribute definitions referenced by
-// a User data mapping or the latest revision of a Consent cannot be
-// deleted.
+// - name: The resource name of the Attribute definition to delete. To
+// preserve referential integrity, Attribute definitions referenced by
+// a User data mapping or the latest revision of a Consent cannot be
+// deleted.
func (r *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService) Delete(name string) *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall {
c := &ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9829,8 +9829,8 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall struct {
// List: Lists the Attribute definitions in the specified consent store.
//
-// - parent: Name of the consent store to retrieve Attribute definitions
-// from.
+// - parent: Name of the consent store to retrieve Attribute definitions
+// from.
func (r *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService) List(parent string) *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall {
c := &ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10036,10 +10036,10 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall struct
// Patch: Updates the specified Attribute definition.
//
-// - name: Resource name of the Attribute definition, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/attributeDefinitions/{attribute_de
-// finition_id}`. Cannot be changed after creation.
+// - name: Resource name of the Attribute definition, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/attributeDefinitions/{attribute_de
+// finition_id}`. Cannot be changed after creation.
func (r *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService) Patch(name string, attributedefinition *AttributeDefinition) *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall {
c := &ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10200,8 +10200,8 @@ type ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall struct {
// Create: Creates a new Consent artifact in the parent consent store.
//
-// - parent: The name of the consent store this Consent artifact belongs
-// to.
+// - parent: The name of the consent store this Consent artifact belongs
+// to.
func (r *ProjectsLocationsDatasetsConsentStoresConsentArtifactsService) Create(parent string, consentartifact *ConsentArtifact) *ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10343,9 +10343,9 @@ type ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall struct {
// Delete: Deletes the specified Consent artifact. Fails if the artifact
// is referenced by the latest revision of any Consent.
//
-// - name: The resource name of the Consent artifact to delete. To
-// preserve referential integrity, Consent artifacts referenced by the
-// latest revision of a Consent cannot be deleted.
+// - name: The resource name of the Consent artifact to delete. To
+// preserve referential integrity, Consent artifacts referenced by the
+// latest revision of a Consent cannot be deleted.
func (r *ProjectsLocationsDatasetsConsentStoresConsentArtifactsService) Delete(name string) *ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10624,8 +10624,8 @@ type ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall struct {
// List: Lists the Consent artifacts in the specified consent store.
//
-// - parent: Name of the consent store to retrieve consent artifacts
-// from.
+// - parent: Name of the consent store to retrieve consent artifacts
+// from.
func (r *ProjectsLocationsDatasetsConsentStoresConsentArtifactsService) List(parent string) *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10862,11 +10862,11 @@ type ProjectsLocationsDatasetsConsentStoresConsentsActivateCall struct {
// latest revision of the specified Consent is in the `REJECTED` or
// `REVOKED` state.
//
-// - name: The resource name of the Consent to activate, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. An
-// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
-// name.
+// - name: The resource name of the Consent to activate, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. An
+// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
+// name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Activate(name string, activateconsentrequest *ActivateConsentRequest) *ProjectsLocationsDatasetsConsentStoresConsentsActivateCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11152,11 +11152,11 @@ type ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall struct {
// revision of a Consent, see [DeleteConsentRevision]. This operation
// does not delete the related Consent artifact.
//
-// - name: The resource name of the Consent to delete, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. An
-// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
-// name.
+// - name: The resource name of the Consent to delete, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. An
+// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
+// name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Delete(name string) *ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11290,12 +11290,12 @@ type ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall struct {
// INVALID_ARGUMENT error occurs if the specified revision is the latest
// revision.
//
-// - name: The resource name of the Consent revision to delete, of the
-// form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}@{revision_id
-// }`. An INVALID_ARGUMENT error occurs if `revision_id` is not
-// specified in the name.
+// - name: The resource name of the Consent revision to delete, of the
+// form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}@{revision_id
+// }`. An INVALID_ARGUMENT error occurs if `revision_id` is not
+// specified in the name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) DeleteRevision(name string) *ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11429,14 +11429,14 @@ type ProjectsLocationsDatasetsConsentStoresConsentsGetCall struct {
// Get: Gets the specified revision of a Consent, or the latest revision
// if `revision_id` is not specified in the resource name.
//
-// - name: The resource name of the Consent to retrieve, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. In order
-// to retrieve a previous revision of the Consent, also provide the
-// revision ID:
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}@{revision_id
-// }`.
+// - name: The resource name of the Consent to retrieve, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. In order
+// to retrieve a previous revision of the Consent, also provide the
+// revision ID:
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}@{revision_id
+// }`.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Get(name string) *ProjectsLocationsDatasetsConsentStoresConsentsGetCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12053,10 +12053,10 @@ type ProjectsLocationsDatasetsConsentStoresConsentsPatchCall struct {
// error occurs if the latest revision of the specified Consent is in
// the `REJECTED` or `REVOKED` state.
//
-// - name: Resource name of the Consent, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. Cannot be
-// changed after creation.
+// - name: Resource name of the Consent, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. Cannot be
+// changed after creation.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Patch(name string, consent *Consent) *ProjectsLocationsDatasetsConsentStoresConsentsPatchCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12220,11 +12220,11 @@ type ProjectsLocationsDatasetsConsentStoresConsentsRejectCall struct {
// the latest revision of the specified Consent is in the `ACTIVE` or
// `REVOKED` state.
//
-// - name: The resource name of the Consent to reject, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. An
-// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
-// name.
+// - name: The resource name of the Consent to reject, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. An
+// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
+// name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Reject(name string, rejectconsentrequest *RejectConsentRequest) *ProjectsLocationsDatasetsConsentStoresConsentsRejectCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsRejectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12371,11 +12371,11 @@ type ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall struct {
// the latest revision of the given consent is in `DRAFT` or `REJECTED`
// state.
//
-// - name: The resource name of the Consent to revoke, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. An
-// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
-// name.
+// - name: The resource name of the Consent to revoke, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. An
+// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
+// name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Revoke(name string, revokeconsentrequest *RevokeConsentRequest) *ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13079,8 +13079,8 @@ type ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall struct {
// List: Lists the User data mappings in the specified consent store.
//
-// - parent: Name of the consent store to retrieve User data mappings
-// from.
+// - parent: Name of the consent store to retrieve User data mappings
+// from.
func (r *ProjectsLocationsDatasetsConsentStoresUserDataMappingsService) List(parent string) *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall {
c := &ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13310,10 +13310,10 @@ type ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall struct {
// Patch: Updates the specified User data mapping.
//
-// - name: Resource name of the User data mapping, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/userDataMappings/{user_data_mappin
-// g_id}`.
+// - name: Resource name of the User data mapping, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/userDataMappings/{user_data_mappin
+// g_id}`.
func (r *ProjectsLocationsDatasetsConsentStoresUserDataMappingsService) Patch(name string, userdatamapping *UserDataMapping) *ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall {
c := &ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13635,9 +13635,9 @@ type ProjectsLocationsDatasetsDicomStoresDeidentifyCall struct {
// Error details are also logged to Cloud Logging (see Viewing error
// logs in Cloud Logging (/healthcare/docs/how-tos/logging)).
//
-// - sourceStore: Source DICOM store resource name. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - sourceStore: Source DICOM store resource name. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) Deidentify(sourceStore string, deidentifydicomstorerequest *DeidentifyDicomStoreRequest) *ProjectsLocationsDatasetsDicomStoresDeidentifyCall {
c := &ProjectsLocationsDatasetsDicomStoresDeidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sourceStore = sourceStore
@@ -13916,10 +13916,10 @@ type ProjectsLocationsDatasetsDicomStoresExportCall struct {
// (https://cloud.google.com/healthcare/docs/how-tos/logging). The
// metadata field type is OperationMetadata.
//
-// - name: The DICOM store resource name from which to export the data.
-// For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - name: The DICOM store resource name from which to export the data.
+// For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) Export(name string, exportdicomdatarequest *ExportDicomDataRequest) *ProjectsLocationsDatasetsDicomStoresExportCall {
c := &ProjectsLocationsDatasetsDicomStoresExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14209,10 +14209,10 @@ type ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsDicomStoresService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall {
c := &ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -14386,10 +14386,10 @@ type ProjectsLocationsDatasetsDicomStoresImportCall struct {
// (https://cloud.google.com/healthcare/docs/how-tos/logging). The
// metadata field type is OperationMetadata.
//
-// - name: The name of the DICOM store resource into which the data is
-// imported. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - name: The name of the DICOM store resource into which the data is
+// imported. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) Import(name string, importdicomdatarequest *ImportDicomDataRequest) *ProjectsLocationsDatasetsDicomStoresImportCall {
c := &ProjectsLocationsDatasetsDicomStoresImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14761,9 +14761,9 @@ type ProjectsLocationsDatasetsDicomStoresPatchCall struct {
// Patch: Updates the specified DICOM store.
//
-// - name: Resource name of the DICOM store, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - name: Resource name of the DICOM store, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) Patch(name string, dicomstore *DicomStore) *ProjectsLocationsDatasetsDicomStoresPatchCall {
c := &ProjectsLocationsDatasetsDicomStoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14929,13 +14929,13 @@ type ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall struct {
// series, instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
-// request. For example, `instances`, `series/{series_uid}/instances`,
-// or `studies/{study_uid}/instances`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
+// request. For example, `instances`, `series/{series_uid}/instances`,
+// or `studies/{study_uid}/instances`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) SearchForInstances(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15068,12 +15068,12 @@ type ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall struct {
// instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForSeries DICOMweb request. For
-// example, `series` or `studies/{study_uid}/series`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForSeries DICOMweb request. For
+// example, `series` or `studies/{study_uid}/series`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) SearchForSeries(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall {
c := &ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15206,12 +15206,12 @@ type ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall struct {
// instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForStudies DICOMweb request.
-// For example, `studies`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForStudies DICOMweb request.
+// For example, `studies`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) SearchForStudies(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall {
c := &ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15336,10 +15336,10 @@ type ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsDicomStoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall {
c := &ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -15490,13 +15490,13 @@ type ProjectsLocationsDatasetsDicomStoresStoreInstancesCall struct {
// how to call StoreInstances, see Storing DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#storing_dicom_data).
//
-// - dicomWebPath: The path of the StoreInstances DICOMweb request. For
-// example, `studies/[{study_uid}]`. Note that the `study_uid` is
-// optional.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the StoreInstances DICOMweb request. For
+// example, `studies/[{study_uid}]`. Note that the `study_uid` is
+// optional.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) StoreInstances(parent string, dicomWebPath string, body_ io.Reader) *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresStoreInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15614,10 +15614,10 @@ type ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsDicomStoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -15766,9 +15766,9 @@ type ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall struct {
// DeleteStudy, see Deleting a study, series, or instance
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
//
-// - dicomWebPath: The path of the DeleteStudy request. For example,
-// `studies/{study_uid}`.
-// - parent: .
+// - dicomWebPath: The path of the DeleteStudy request. For example,
+// `studies/{study_uid}`.
+// - parent: .
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) Delete(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15920,12 +15920,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall struct {
// show how to call RetrieveStudyMetadata, see Retrieving metadata
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata).
//
-// - dicomWebPath: The path of the RetrieveStudyMetadata DICOMweb
-// request. For example, `studies/{study_uid}/metadata`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveStudyMetadata DICOMweb
+// request. For example, `studies/{study_uid}/metadata`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) RetrieveMetadata(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16057,12 +16057,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall struct {
// show how to call RetrieveStudy, see Retrieving DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data).
//
-// - dicomWebPath: The path of the RetrieveStudy DICOMweb request. For
-// example, `studies/{study_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveStudy DICOMweb request. For
+// example, `studies/{study_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) RetrieveStudy(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16195,13 +16195,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall struct {
// series, instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
-// request. For example, `instances`, `series/{series_uid}/instances`,
-// or `studies/{study_uid}/instances`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
+// request. For example, `instances`, `series/{series_uid}/instances`,
+// or `studies/{study_uid}/instances`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) SearchForInstances(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16334,12 +16334,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall struct {
// instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForSeries DICOMweb request. For
-// example, `series` or `studies/{study_uid}/series`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForSeries DICOMweb request. For
+// example, `series` or `studies/{study_uid}/series`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) SearchForSeries(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16471,13 +16471,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall struct {
// how to call StoreInstances, see Storing DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#storing_dicom_data).
//
-// - dicomWebPath: The path of the StoreInstances DICOMweb request. For
-// example, `studies/[{study_uid}]`. Note that the `study_uid` is
-// optional.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the StoreInstances DICOMweb request. For
+// example, `studies/[{study_uid}]`. Note that the `study_uid` is
+// optional.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) StoreInstances(parent string, dicomWebPath string, body_ io.Reader) *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16597,12 +16597,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall struct {
// to call DeleteSeries, see Deleting a study, series, or instance
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
//
-// - dicomWebPath: The path of the DeleteSeries request. For example,
-// `studies/{study_uid}/series/{series_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the DeleteSeries request. For example,
+// `studies/{study_uid}/series/{series_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesService) Delete(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16755,13 +16755,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall struc
// show how to call RetrieveSeriesMetadata, see Retrieving metadata
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata).
//
-// - dicomWebPath: The path of the RetrieveSeriesMetadata DICOMweb
-// request. For example,
-// `studies/{study_uid}/series/{series_uid}/metadata`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveSeriesMetadata DICOMweb
+// request. For example,
+// `studies/{study_uid}/series/{series_uid}/metadata`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesService) RetrieveMetadata(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16893,12 +16893,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall struct
// show how to call RetrieveSeries, see Retrieving DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data).
//
-// - dicomWebPath: The path of the RetrieveSeries DICOMweb request. For
-// example, `studies/{study_uid}/series/{series_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveSeries DICOMweb request. For
+// example, `studies/{study_uid}/series/{series_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesService) RetrieveSeries(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17031,13 +17031,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall str
// series, instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
-// request. For example, `instances`, `series/{series_uid}/instances`,
-// or `studies/{study_uid}/instances`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
+// request. For example, `instances`, `series/{series_uid}/instances`,
+// or `studies/{study_uid}/instances`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesService) SearchForInstances(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17166,12 +17166,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall struct
// to call DeleteInstance, see Deleting a study, series, or instance
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
//
-// - dicomWebPath: The path of the DeleteInstance request. For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the DeleteInstance request. For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesService) Delete(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17326,13 +17326,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceC
// how to call RetrieveInstance, see Retrieving an instance
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_an_instance).
//
-// - dicomWebPath: The path of the RetrieveInstance DICOMweb request.
-// For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveInstance DICOMweb request.
+// For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesService) RetrieveInstance(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17466,14 +17466,14 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataC
// show how to call RetrieveInstanceMetadata, see Retrieving metadata
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata).
//
-// - dicomWebPath: The path of the RetrieveInstanceMetadata DICOMweb
-// request. For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/me
-// tadata`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveInstanceMetadata DICOMweb
+// request. For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/me
+// tadata`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesService) RetrieveMetadata(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17607,14 +17607,14 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedC
// image formats
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats).
//
-// - dicomWebPath: The path of the RetrieveRenderedInstance DICOMweb
-// request. For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/re
-// ndered`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveRenderedInstance DICOMweb
+// request. For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/re
+// ndered`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesService) RetrieveRendered(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17746,14 +17746,14 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFra
// to call RetrieveFrames, see Retrieving DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data).
//
-// - dicomWebPath: The path of the RetrieveFrames DICOMweb request. For
-// example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/fr
-// ames/{frame_list}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveFrames DICOMweb request. For
+// example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/fr
+// ames/{frame_list}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesService) RetrieveFrames(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFramesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFramesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17887,14 +17887,14 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRen
// image formats
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats).
//
-// - dicomWebPath: The path of the RetrieveRenderedFrames DICOMweb
-// request. For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/fr
-// ames/{frame_list}/rendered`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveRenderedFrames DICOMweb
+// request. For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/fr
+// ames/{frame_list}/rendered`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesService) RetrieveRendered(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRenderedCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRenderedCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -18178,9 +18178,9 @@ type ProjectsLocationsDatasetsFhirStoresDeidentifyCall struct {
// Cloud Logging
// (https://cloud.google.com/healthcare/docs/how-tos/logging)).
//
-// - sourceStore: Source FHIR store resource name. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /fhirStores/{fhir_store_id}`.
+// - sourceStore: Source FHIR store resource name. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /fhirStores/{fhir_store_id}`.
func (r *ProjectsLocationsDatasetsFhirStoresService) Deidentify(sourceStore string, deidentifyfhirstorerequest *DeidentifyFhirStoreRequest) *ProjectsLocationsDatasetsFhirStoresDeidentifyCall {
c := &ProjectsLocationsDatasetsFhirStoresDeidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sourceStore = sourceStore
@@ -18463,10 +18463,10 @@ type ProjectsLocationsDatasetsFhirStoresExportCall struct {
// ExportResourcesResponse is returned in the response field. The
// metadata field type for this operation is OperationMetadata.
//
-// - name: The name of the FHIR store to export resource from, in the
-// format of
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /fhirStores/{fhir_store_id}`.
+// - name: The name of the FHIR store to export resource from, in the
+// format of
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /fhirStores/{fhir_store_id}`.
func (r *ProjectsLocationsDatasetsFhirStoresService) Export(name string, exportresourcesrequest *ExportResourcesRequest) *ProjectsLocationsDatasetsFhirStoresExportCall {
c := &ProjectsLocationsDatasetsFhirStoresExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18756,10 +18756,10 @@ type ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsFhirStoresService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall {
c := &ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -18989,10 +18989,10 @@ type ProjectsLocationsDatasetsFhirStoresImportCall struct {
// ImportResourcesResponse is returned in the response field. The
// metadata field type for this operation is OperationMetadata.
//
-// - name: The name of the FHIR store to import FHIR resources to, in
-// the format of
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /fhirStores/{fhir_store_id}`.
+// - name: The name of the FHIR store to import FHIR resources to, in
+// the format of
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /fhirStores/{fhir_store_id}`.
func (r *ProjectsLocationsDatasetsFhirStoresService) Import(name string, importresourcesrequest *ImportResourcesRequest) *ProjectsLocationsDatasetsFhirStoresImportCall {
c := &ProjectsLocationsDatasetsFhirStoresImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19364,9 +19364,9 @@ type ProjectsLocationsDatasetsFhirStoresPatchCall struct {
// Patch: Updates the configuration of the specified FHIR store.
//
-// - name: Output only. Resource name of the FHIR store, of the form
-// `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_
-// id}`.
+// - name: Output only. Resource name of the FHIR store, of the form
+// `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_
+// id}`.
func (r *ProjectsLocationsDatasetsFhirStoresService) Patch(name string, fhirstore *FhirStore) *ProjectsLocationsDatasetsFhirStoresPatchCall {
c := &ProjectsLocationsDatasetsFhirStoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19524,10 +19524,10 @@ type ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsFhirStoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall {
c := &ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -19674,10 +19674,10 @@ type ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsFhirStoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -19845,8 +19845,8 @@ type ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall struct {
// (/healthcare/docs/how-tos/fhir-resources#getting_all_patient_compartme
// nt_resources).
//
-// - name: Name of the `Patient` resource for which the information is
-// required.
+// - name: Name of the `Patient` resource for which the information is
+// required.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) PatientEverything(name string) *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20202,16 +20202,16 @@ type ProjectsLocationsDatasetsFhirStoresFhirResourceValidateCall struct {
// to a valid API method on a FHIR store, a generic GCP error might be
// returned instead.
//
-// - parent: The name of the FHIR store that holds the profiles being
-// used for validation.
-// - type: The FHIR resource type of the resource being validated. For a
-// complete list, see the FHIR Resource Index (DSTU2
-// (http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
-// STU3
-// (http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
-// or R4
-// (http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
-// Must match the resource type in the provided content.
+// - parent: The name of the FHIR store that holds the profiles being
+// used for validation.
+// - type: The FHIR resource type of the resource being validated. For a
+// complete list, see the FHIR Resource Index (DSTU2
+// (http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
+// STU3
+// (http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
+// or R4
+// (http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
+// Must match the resource type in the provided content.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ResourceValidate(parent string, type_ string, body_ io.Reader) *ProjectsLocationsDatasetsFhirStoresFhirResourceValidateCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirResourceValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20486,15 +20486,15 @@ type ProjectsLocationsDatasetsFhirStoresFhirCreateCall struct {
// Creating a FHIR resource
// (/healthcare/docs/how-tos/fhir-resources#creating_a_fhir_resource).
//
-// - parent: The name of the FHIR store this resource belongs to.
-// - type: The FHIR resource type to create, such as Patient or
-// Observation. For a complete list, see the FHIR Resource Index
-// (DSTU2
-// (http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
-// STU3
-// (http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
-// R4 (http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
-// Must match the resource type in the provided content.
+// - parent: The name of the FHIR store this resource belongs to.
+// - type: The FHIR resource type to create, such as Patient or
+// Observation. For a complete list, see the FHIR Resource Index
+// (DSTU2
+// (http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
+// STU3
+// (http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
+// R4 (http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
+// Must match the resource type in the provided content.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) Create(parent string, type_ string, body_ io.Reader) *ProjectsLocationsDatasetsFhirStoresFhirCreateCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20748,8 +20748,8 @@ type ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall struct {
// samples that show how to call `executeBundle`, see Managing FHIR
// resources using FHIR bundles (/healthcare/docs/how-tos/fhir-bundles).
//
-// - parent: Name of the FHIR store in which this bundle will be
-// executed.
+// - parent: Name of the FHIR store in which this bundle will be
+// executed.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ExecuteBundle(parent string, body_ io.Reader) *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21505,14 +21505,14 @@ type ProjectsLocationsDatasetsFhirStoresFhirSearchTypeCall struct {
// (/healthcare/docs/how-tos/fhir-search) and Advanced FHIR search
// features (/healthcare/docs/how-tos/fhir-advanced-search).
//
-// - parent: Name of the FHIR store to retrieve resources from.
-// - resourceType: The FHIR resource type to search, such as Patient or
-// Observation. For a complete list, see the FHIR Resource Index
-// (DSTU2
-// (http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
-// STU3
-// (http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
-// R4 (http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
+// - parent: Name of the FHIR store to retrieve resources from.
+// - resourceType: The FHIR resource type to search, such as Patient or
+// Observation. For a complete list, see the FHIR Resource Index
+// (DSTU2
+// (http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
+// STU3
+// (http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
+// R4 (http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) SearchType(parent string, resourceType string, searchresourcesrequest *SearchResourcesRequest) *ProjectsLocationsDatasetsFhirStoresFhirSearchTypeCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirSearchTypeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22178,9 +22178,9 @@ type ProjectsLocationsDatasetsHl7V2StoresExportCall struct {
// ExportMessagesResponse is returned in the response field. The
// metadata field type for this operation is OperationMetadata.
//
-// - name: The name of the source HL7v2 store, in the format
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /hl7v2Stores/{hl7v2_store_id}`.
+// - name: The name of the source HL7v2 store, in the format
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /hl7v2Stores/{hl7v2_store_id}`.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) Export(name string, exportmessagesrequest *ExportMessagesRequest) *ProjectsLocationsDatasetsHl7V2StoresExportCall {
c := &ProjectsLocationsDatasetsHl7V2StoresExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22470,10 +22470,10 @@ type ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall {
c := &ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -22669,9 +22669,9 @@ type ProjectsLocationsDatasetsHl7V2StoresImportCall struct {
// ImportMessagesResponse is returned in the response field. The
// metadata field type for this operation is OperationMetadata.
//
-// - name: The name of the target HL7v2 store, in the format
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /hl7v2Stores/{hl7v2_store_id}`.
+// - name: The name of the target HL7v2 store, in the format
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /hl7v2Stores/{hl7v2_store_id}`.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) Import(name string, importmessagesrequest *ImportMessagesRequest) *ProjectsLocationsDatasetsHl7V2StoresImportCall {
c := &ProjectsLocationsDatasetsHl7V2StoresImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23043,9 +23043,9 @@ type ProjectsLocationsDatasetsHl7V2StoresPatchCall struct {
// Patch: Updates the HL7v2 store.
//
-// - name: Resource name of the HL7v2 store, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /hl7V2Stores/{hl7v2_store_id}`.
+// - name: Resource name of the HL7v2 store, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /hl7V2Stores/{hl7v2_store_id}`.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) Patch(name string, hl7v2store *Hl7V2Store) *ProjectsLocationsDatasetsHl7V2StoresPatchCall {
c := &ProjectsLocationsDatasetsHl7V2StoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23203,10 +23203,10 @@ type ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall {
c := &ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -23353,10 +23353,10 @@ type ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -23789,15 +23789,22 @@ func (r *ProjectsLocationsDatasetsHl7V2StoresMessagesService) Get(name string) *
// equivalent to FULL.
//
// Possible values:
-// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL.
-// "RAW_ONLY" - Server responses include all the message fields except
+//
+// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL.
+// "RAW_ONLY" - Server responses include all the message fields except
+//
// parsed_data field, and schematized_data fields.
-// "PARSED_ONLY" - Server responses include all the message fields
+//
+// "PARSED_ONLY" - Server responses include all the message fields
+//
// except data field, and schematized_data fields.
-// "FULL" - Server responses include all the message fields.
-// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
+// "FULL" - Server responses include all the message fields.
+// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
// fields except data and parsed_data fields.
-// "BASIC" - Server responses include only the name field.
+//
+// "BASIC" - Server responses include only the name field.
func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) View(view string) *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall {
c.urlParams_.Set("view", view)
return c
@@ -24204,15 +24211,22 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) PageToken(pageTok
// the performance of this method.
//
// Possible values:
-// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL.
-// "RAW_ONLY" - Server responses include all the message fields except
+//
+// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL.
+// "RAW_ONLY" - Server responses include all the message fields except
+//
// parsed_data field, and schematized_data fields.
-// "PARSED_ONLY" - Server responses include all the message fields
+//
+// "PARSED_ONLY" - Server responses include all the message fields
+//
// except data field, and schematized_data fields.
-// "FULL" - Server responses include all the message fields.
-// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
+// "FULL" - Server responses include all the message fields.
+// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
// fields except data and parsed_data fields.
-// "BASIC" - Server responses include only the name field.
+//
+// "BASIC" - Server responses include only the name field.
func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) View(view string) *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall {
c.urlParams_.Set("view", view)
return c
@@ -24425,10 +24439,10 @@ type ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall struct {
// the existing set of labels. Existing labels with the same keys are
// updated.
//
-// - name: Resource name of the Message, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`. Assigned by
-// the server.
+// - name: Resource name of the Message, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`. Assigned by
+// the server.
func (r *ProjectsLocationsDatasetsHl7V2StoresMessagesService) Patch(name string, message *Message) *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall {
c := &ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25098,8 +25112,8 @@ type ProjectsLocationsServicesNlpAnalyzeEntitiesCall struct {
// includes the recognized entity mentions and the relationships between
// them. AnalyzeEntities uses context aware models to detect entities.
//
-// - nlpService: The resource name of the service of the form:
-// "projects/{project_id}/locations/{location_id}/services/nlp".
+// - nlpService: The resource name of the service of the form:
+// "projects/{project_id}/locations/{location_id}/services/nlp".
func (r *ProjectsLocationsServicesNlpService) AnalyzeEntities(nlpService string, analyzeentitiesrequest *AnalyzeEntitiesRequest) *ProjectsLocationsServicesNlpAnalyzeEntitiesCall {
c := &ProjectsLocationsServicesNlpAnalyzeEntitiesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nlpService = nlpService
diff --git a/healthcare/v1alpha/healthcare-gen.go b/healthcare/v1alpha/healthcare-gen.go
index b7bf5355f93..6450005bf48 100644
--- a/healthcare/v1alpha/healthcare-gen.go
+++ b/healthcare/v1alpha/healthcare-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/healthcare
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/healthcare/v1alpha"
-// ...
-// ctx := context.Background()
-// healthcareService, err := healthcare.NewService(ctx)
+// import "google.golang.org/api/healthcare/v1alpha"
+// ...
+// ctx := context.Background()
+// healthcareService, err := healthcare.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
+// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package healthcare // import "google.golang.org/api/healthcare/v1alpha"
@@ -215,41 +215,41 @@ type ProjectsLocationsDatasetsOperationsService struct {
//
// Example Policy with multiple AuditConfigs:
//
-// {
-// "audit_configs": [
-// {
-// "service": "allServices"
-// "audit_log_configs": [
-// {
-// "log_type": "DATA_READ",
-// "exempted_members": [
-// "user:foo@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@gmail.com"
-// ]
-// }
-// ]
-// }
-// ]
-// }
+// {
+// "audit_configs": [
+// {
+// "service": "allServices"
+// "audit_log_configs": [
+// {
+// "log_type": "DATA_READ",
+// "exempted_members": [
+// "user:foo@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@gmail.com"
+// ]
+// }
+// ]
+// }
+// ]
+// }
//
// For fooservice, this policy enables DATA_READ, DATA_WRITE and
// ADMIN_READ
@@ -296,19 +296,19 @@ func (s *AuditConfig) MarshalJSON() ([]byte, error) {
// permissions.
// Example:
//
-// {
-// "audit_log_configs": [
-// {
-// "log_type": "DATA_READ",
-// "exempted_members": [
-// "user:foo@gmail.com"
-// ]
-// },
-// {
-// "log_type": "DATA_WRITE",
-// }
-// ]
-// }
+// {
+// "audit_log_configs": [
+// {
+// "log_type": "DATA_READ",
+// "exempted_members": [
+// "user:foo@gmail.com"
+// ]
+// },
+// {
+// "log_type": "DATA_WRITE",
+// }
+// ]
+// }
//
// This enables 'DATA_READ' and 'DATA_WRITE' logging, while
// exempting
@@ -427,9 +427,9 @@ func (s *Binding) MarshalJSON() ([]byte, error) {
// Expr: Represents an expression text. Example:
//
-// title: "User account presence"
-// description: "Determines whether the request has a user account"
-// expression: "size(request.user) > 0"
+// title: "User account presence"
+// description: "Determines whether the request has a user account"
+// expression: "size(request.user) > 0"
type Expr struct {
// Description: An optional description of the expression. This is a
// longer text which
@@ -685,7 +685,6 @@ func (s *Operation) MarshalJSON() ([]byte, error) {
// 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
@@ -696,38 +695,38 @@ func (s *Operation) MarshalJSON() ([]byte, error) {
//
// **JSON Example**
//
-// {
-// "bindings": [
-// {
-// "role": "roles/owner",
-// "members": [
-// "user:mike@example.com",
-// "group:admins@example.com",
-// "domain:google.com",
+// {
+// "bindings": [
+// {
+// "role": "roles/owner",
+// "members": [
+// "user:mike@example.com",
+// "group:admins@example.com",
+// "domain:google.com",
//
// "serviceAccount:my-other-app@appspot.gserviceaccount.com"
-// ]
-// },
-// {
-// "role": "roles/viewer",
-// "members": ["user:sean@example.com"]
-// }
-// ]
-// }
//
-// **YAML Example**
+// ]
+// },
+// {
+// "role": "roles/viewer",
+// "members": ["user:sean@example.com"]
+// }
+// ]
+// }
//
-// bindings:
-// - members:
-// - user:mike@example.com
-// - group:admins@example.com
-// - domain:google.com
-// - serviceAccount:my-other-app@appspot.gserviceaccount.com
-// role: roles/owner
-// - members:
-// - user:sean@example.com
-// role: roles/viewer
+// **YAML Example**
//
+// bindings:
+// - members:
+// - user:mike@example.com
+// - group:admins@example.com
+// - domain:google.com
+// - serviceAccount:my-other-app@appspot.gserviceaccount.com
+// role: roles/owner
+// - members:
+// - user:sean@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).
@@ -887,29 +886,41 @@ func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) {
//
// - Partial errors. If a service needs to return partial errors to the
// client,
-// it may embed the `Status` in the normal response to indicate the
+//
+// it may embed the `Status` in the normal response to indicate the
+//
// partial
-// errors.
+//
+// errors.
//
// - Workflow errors. A typical workflow has multiple steps. Each step
// may
-// have a `Status` message for error reporting.
+//
+// have a `Status` message for error reporting.
//
// - Batch operations. If a client uses batch request and batch
// response, the
-// `Status` message should be used directly inside batch response,
+//
+// `Status` message should be used directly inside batch response,
+//
// one for
-// each error sub-response.
+//
+// each error sub-response.
//
// - Asynchronous operations. If an API call embeds asynchronous
// operation
-// results in its response, the status of those operations should
+//
+// results in its response, the status of those operations should
+//
// be
-// represented directly using the `Status` message.
+//
+// represented directly using the `Status` message.
//
// - Logging. If some API errors are stored in logs, the message
// `Status` could
-// be used directly after any stripping needed for security/privacy
+//
+// be used directly after any stripping needed for security/privacy
+//
// reasons.
type Status struct {
// Code: The status code, which should be an enum value of
diff --git a/healthcare/v1alpha2/healthcare-gen.go b/healthcare/v1alpha2/healthcare-gen.go
index fda288f2dbc..972ab578f2d 100644
--- a/healthcare/v1alpha2/healthcare-gen.go
+++ b/healthcare/v1alpha2/healthcare-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/healthcare
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/healthcare/v1alpha2"
-// ...
-// ctx := context.Background()
-// healthcareService, err := healthcare.NewService(ctx)
+// import "google.golang.org/api/healthcare/v1alpha2"
+// ...
+// ctx := context.Background()
+// healthcareService, err := healthcare.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
+// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package healthcare // import "google.golang.org/api/healthcare/v1alpha2"
@@ -472,41 +472,41 @@ func (s *AnnotationStore) MarshalJSON() ([]byte, error) {
//
// Example Policy with multiple AuditConfigs:
//
-// {
-// "audit_configs": [
-// {
-// "service": "allServices"
-// "audit_log_configs": [
-// {
-// "log_type": "DATA_READ",
-// "exempted_members": [
-// "user:jose@example.com"
-// ]
-// },
-// {
-// "log_type": "DATA_WRITE",
-// },
-// {
-// "log_type": "ADMIN_READ",
-// }
-// ]
-// },
-// {
-// "service": "sampleservice.googleapis.com"
-// "audit_log_configs": [
-// {
-// "log_type": "DATA_READ",
-// },
-// {
-// "log_type": "DATA_WRITE",
-// "exempted_members": [
-// "user:aliya@example.com"
-// ]
-// }
-// ]
-// }
-// ]
-// }
+// {
+// "audit_configs": [
+// {
+// "service": "allServices"
+// "audit_log_configs": [
+// {
+// "log_type": "DATA_READ",
+// "exempted_members": [
+// "user:jose@example.com"
+// ]
+// },
+// {
+// "log_type": "DATA_WRITE",
+// },
+// {
+// "log_type": "ADMIN_READ",
+// }
+// ]
+// },
+// {
+// "service": "sampleservice.googleapis.com"
+// "audit_log_configs": [
+// {
+// "log_type": "DATA_READ",
+// },
+// {
+// "log_type": "DATA_WRITE",
+// "exempted_members": [
+// "user:aliya@example.com"
+// ]
+// }
+// ]
+// }
+// ]
+// }
//
// For sampleservice, this policy enables DATA_READ, DATA_WRITE and
// ADMIN_READ
@@ -553,19 +553,19 @@ func (s *AuditConfig) MarshalJSON() ([]byte, error) {
// permissions.
// Example:
//
-// {
-// "audit_log_configs": [
-// {
-// "log_type": "DATA_READ",
-// "exempted_members": [
-// "user:jose@example.com"
-// ]
-// },
-// {
-// "log_type": "DATA_WRITE",
-// }
-// ]
-// }
+// {
+// "audit_log_configs": [
+// {
+// "log_type": "DATA_READ",
+// "exempted_members": [
+// "user:jose@example.com"
+// ]
+// },
+// {
+// "log_type": "DATA_WRITE",
+// }
+// ]
+// }
//
// This enables 'DATA_READ' and 'DATA_WRITE' logging, while
// exempting
@@ -1227,10 +1227,12 @@ func (s *DicomStore) MarshalJSON() ([]byte, error) {
// request
// or the response type of an API method. For instance:
//
-// service Foo {
-// rpc Bar(google.protobuf.Empty) returns
+// service Foo {
+// rpc Bar(google.protobuf.Empty) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// The JSON representation for `Empty` is empty JSON object `{}`.
type Empty struct {
@@ -1377,9 +1379,9 @@ func (s *ExportResourcesRequest) MarshalJSON() ([]byte, error) {
// Expr: Represents an expression text. Example:
//
-// title: "User account presence"
-// description: "Determines whether the request has a user account"
-// expression: "size(request.user) > 0"
+// title: "User account presence"
+// description: "Determines whether the request has a user account"
+// expression: "size(request.user) > 0"
type Expr struct {
// Description: An optional description of the expression. This is a
// longer text which
@@ -2348,7 +2350,6 @@ func (s *Hl7V2Store) MarshalJSON() ([]byte, error) {
// or
// an HTML page.
//
-//
// This message can be used both in streaming and non-streaming API
// methods in
// the request as well as the response.
@@ -2361,29 +2362,31 @@ func (s *Hl7V2Store) MarshalJSON() ([]byte, error) {
//
// Example:
//
-// message GetResourceRequest {
-// // A unique request id.
-// string request_id = 1;
+// message GetResourceRequest {
+// // A unique request id.
+// string request_id = 1;
//
-// // The raw HTTP body is bound to this field.
-// google.api.HttpBody http_body = 2;
-// }
+// // The raw HTTP body is bound to this field.
+// google.api.HttpBody http_body = 2;
+// }
+//
+// service ResourceService {
+// rpc GetResource(GetResourceRequest) returns
//
-// service ResourceService {
-// rpc GetResource(GetResourceRequest) returns
// (google.api.HttpBody);
-// rpc UpdateResource(google.api.HttpBody) returns
-// (google.protobuf.Empty);
-// }
+//
+// rpc UpdateResource(google.api.HttpBody) returns
+// (google.protobuf.Empty);
+// }
//
// Example with streaming methods:
//
-// service CaldavService {
-// rpc GetCalendar(stream google.api.HttpBody)
-// returns (stream google.api.HttpBody);
-// rpc UpdateCalendar(stream google.api.HttpBody)
-// returns (stream google.api.HttpBody);
-// }
+// service CaldavService {
+// rpc GetCalendar(stream google.api.HttpBody)
+// returns (stream google.api.HttpBody);
+// rpc UpdateCalendar(stream google.api.HttpBody)
+// returns (stream google.api.HttpBody);
+// }
//
// Use of this type only changes how the request and response bodies
// are
@@ -3504,7 +3507,6 @@ func (s *PatientId) MarshalJSON() ([]byte, error) {
// 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
@@ -3515,38 +3517,38 @@ func (s *PatientId) MarshalJSON() ([]byte, error) {
//
// **JSON Example**
//
-// {
-// "bindings": [
-// {
-// "role": "roles/owner",
-// "members": [
-// "user:mike@example.com",
-// "group:admins@example.com",
-// "domain:google.com",
+// {
+// "bindings": [
+// {
+// "role": "roles/owner",
+// "members": [
+// "user:mike@example.com",
+// "group:admins@example.com",
+// "domain:google.com",
//
// "serviceAccount:my-other-app@appspot.gserviceaccount.com"
-// ]
-// },
-// {
-// "role": "roles/viewer",
-// "members": ["user:sean@example.com"]
-// }
-// ]
-// }
//
-// **YAML Example**
+// ]
+// },
+// {
+// "role": "roles/viewer",
+// "members": ["user:sean@example.com"]
+// }
+// ]
+// }
//
-// bindings:
-// - members:
-// - user:mike@example.com
-// - group:admins@example.com
-// - domain:google.com
-// - serviceAccount:my-other-app@appspot.gserviceaccount.com
-// role: roles/owner
-// - members:
-// - user:sean@example.com
-// role: roles/viewer
+// **YAML Example**
//
+// bindings:
+// - members:
+// - user:mike@example.com
+// - group:admins@example.com
+// - domain:google.com
+// - serviceAccount:my-other-app@appspot.gserviceaccount.com
+// role: roles/owner
+// - members:
+// - user:sean@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).
@@ -17993,10 +17995,11 @@ func (r *ProjectsLocationsDatasetsHl7V2StoresMessagesService) Get(name string) *
// in the response.
//
// Possible values:
-// "MESSAGE_VIEW_UNSPECIFIED"
-// "RAW_ONLY"
-// "PARSED_ONLY"
-// "FULL"
+//
+// "MESSAGE_VIEW_UNSPECIFIED"
+// "RAW_ONLY"
+// "PARSED_ONLY"
+// "FULL"
func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) View(view string) *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall {
c.urlParams_.Set("view", view)
return c
diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go
index 18ab0f09afa..bef525881da 100644
--- a/healthcare/v1beta1/healthcare-gen.go
+++ b/healthcare/v1beta1/healthcare-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/healthcare
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/healthcare/v1beta1"
-// ...
-// ctx := context.Background()
-// healthcareService, err := healthcare.NewService(ctx)
+// import "google.golang.org/api/healthcare/v1beta1"
+// ...
+// ctx := context.Background()
+// healthcareService, err := healthcare.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
+// healthcareService, err := healthcare.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// healthcareService, err := healthcare.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package healthcare // import "google.golang.org/api/healthcare/v1beta1"
@@ -7362,8 +7362,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7573,9 +7573,9 @@ type ProjectsLocationsDatasetsCreateCall struct {
// which contains a Dataset or `Operation.error`. The metadata field
// type is OperationMetadata.
//
-// - parent: The name of the project where the server creates the
-// dataset. For example,
-// `projects/{project_id}/locations/{location_id}`.
+// - parent: The name of the project where the server creates the
+// dataset. For example,
+// `projects/{project_id}/locations/{location_id}`.
func (r *ProjectsLocationsDatasetsService) Create(parent string, dataset *Dataset) *ProjectsLocationsDatasetsCreateCall {
c := &ProjectsLocationsDatasetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7739,9 +7739,9 @@ type ProjectsLocationsDatasetsDeidentifyCall struct {
// logs in Cloud Logging
// (https://cloud.google.com/healthcare/docs/how-tos/logging).
//
-// - sourceDataset: Source dataset resource name. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// `.
+// - sourceDataset: Source dataset resource name. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// `.
func (r *ProjectsLocationsDatasetsService) Deidentify(sourceDataset string, deidentifydatasetrequest *DeidentifyDatasetRequest) *ProjectsLocationsDatasetsDeidentifyCall {
c := &ProjectsLocationsDatasetsDeidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sourceDataset = sourceDataset
@@ -7884,9 +7884,9 @@ type ProjectsLocationsDatasetsDeleteCall struct {
// in the dataset. Deleting a dataset does not affect the sources from
// which the dataset was imported (if any).
//
-// - name: The name of the dataset to delete. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// `.
+// - name: The name of the dataset to delete. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// `.
func (r *ProjectsLocationsDatasetsService) Delete(name string) *ProjectsLocationsDatasetsDeleteCall {
c := &ProjectsLocationsDatasetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8019,9 +8019,9 @@ type ProjectsLocationsDatasetsGetCall struct {
// Get: Gets any metadata associated with a dataset.
//
-// - name: The name of the dataset to read. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// `.
+// - name: The name of the dataset to read. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// `.
func (r *ProjectsLocationsDatasetsService) Get(name string) *ProjectsLocationsDatasetsGetCall {
c := &ProjectsLocationsDatasetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8169,10 +8169,10 @@ type ProjectsLocationsDatasetsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsGetIamPolicyCall {
c := &ProjectsLocationsDatasetsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8342,8 +8342,8 @@ type ProjectsLocationsDatasetsListCall struct {
// List: Lists the health datasets in the current project.
//
-// - parent: The name of the project whose datasets should be listed.
-// For example, `projects/{project_id}/locations/{location_id}`.
+// - parent: The name of the project whose datasets should be listed.
+// For example, `projects/{project_id}/locations/{location_id}`.
func (r *ProjectsLocationsDatasetsService) List(parent string) *ProjectsLocationsDatasetsListCall {
c := &ProjectsLocationsDatasetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8536,9 +8536,9 @@ type ProjectsLocationsDatasetsPatchCall struct {
// Patch: Updates dataset metadata.
//
-// - name: Resource name of the dataset, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// `.
+// - name: Resource name of the dataset, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// `.
func (r *ProjectsLocationsDatasetsService) Patch(name string, dataset *Dataset) *ProjectsLocationsDatasetsPatchCall {
c := &ProjectsLocationsDatasetsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8696,10 +8696,10 @@ type ProjectsLocationsDatasetsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsSetIamPolicyCall {
c := &ProjectsLocationsDatasetsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8846,10 +8846,10 @@ type ProjectsLocationsDatasetsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9285,10 +9285,10 @@ type ProjectsLocationsDatasetsAnnotationStoresEvaluateCall struct {
// Logging (see Viewing error logs in Cloud Logging
// (https://cloud.google.com/healthcare/docs/how-tos/logging)).
//
-// - name: The Annotation store to compare against `golden_store`, in
-// the format of
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /annotationStores/{annotation_store_id}`.
+// - name: The Annotation store to compare against `golden_store`, in
+// the format of
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /annotationStores/{annotation_store_id}`.
func (r *ProjectsLocationsDatasetsAnnotationStoresService) Evaluate(name string, evaluateannotationstorerequest *EvaluateAnnotationStoreRequest) *ProjectsLocationsDatasetsAnnotationStoresEvaluateCall {
c := &ProjectsLocationsDatasetsAnnotationStoresEvaluateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9435,10 +9435,10 @@ type ProjectsLocationsDatasetsAnnotationStoresExportCall struct {
// Errors are logged to Cloud Logging (see Viewing error logs in Cloud
// Logging (https://cloud.google.com/healthcare/docs/how-tos/logging)).
//
-// - name: The name of the Annotation store to export annotations to, in
-// the format of
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /annotationStores/{annotation_store_id}`.
+// - name: The name of the Annotation store to export annotations to, in
+// the format of
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /annotationStores/{annotation_store_id}`.
func (r *ProjectsLocationsDatasetsAnnotationStoresService) Export(name string, exportannotationsrequest *ExportAnnotationsRequest) *ProjectsLocationsDatasetsAnnotationStoresExportCall {
c := &ProjectsLocationsDatasetsAnnotationStoresExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9729,10 +9729,10 @@ type ProjectsLocationsDatasetsAnnotationStoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsAnnotationStoresService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsAnnotationStoresGetIamPolicyCall {
c := &ProjectsLocationsDatasetsAnnotationStoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9908,10 +9908,10 @@ type ProjectsLocationsDatasetsAnnotationStoresImportCall struct {
// Viewing error logs in Cloud Logging
// (https://cloud.google.com/healthcare/docs/how-tos/logging)).
//
-// - name: The name of the Annotation store to which the server imports
-// annotations, in the format
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /annotationStores/{annotation_store_id}`.
+// - name: The name of the Annotation store to which the server imports
+// annotations, in the format
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /annotationStores/{annotation_store_id}`.
func (r *ProjectsLocationsDatasetsAnnotationStoresService) Import(name string, importannotationsrequest *ImportAnnotationsRequest) *ProjectsLocationsDatasetsAnnotationStoresImportCall {
c := &ProjectsLocationsDatasetsAnnotationStoresImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10284,9 +10284,9 @@ type ProjectsLocationsDatasetsAnnotationStoresPatchCall struct {
// Patch: Updates the specified Annotation store.
//
-// - name: Resource name of the Annotation store, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /annotationStores/{annotation_store_id}`.
+// - name: Resource name of the Annotation store, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /annotationStores/{annotation_store_id}`.
func (r *ProjectsLocationsDatasetsAnnotationStoresService) Patch(name string, annotationstore *AnnotationStore) *ProjectsLocationsDatasetsAnnotationStoresPatchCall {
c := &ProjectsLocationsDatasetsAnnotationStoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10444,10 +10444,10 @@ type ProjectsLocationsDatasetsAnnotationStoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsAnnotationStoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsAnnotationStoresSetIamPolicyCall {
c := &ProjectsLocationsDatasetsAnnotationStoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10594,10 +10594,10 @@ type ProjectsLocationsDatasetsAnnotationStoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsAnnotationStoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsAnnotationStoresTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsAnnotationStoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10741,10 +10741,10 @@ type ProjectsLocationsDatasetsAnnotationStoresAnnotationsCreateCall struct {
// Annotation objects for the same source more than once since a unique
// ID is assigned to each record by this service.
//
-// - parent: The name of the Annotation store this annotation belongs
-// to. For example,
-// `projects/my-project/locations/us-central1/datasets/mydataset/annota
-// tionStores/myannotationstore`.
+// - parent: The name of the Annotation store this annotation belongs
+// to. For example,
+// `projects/my-project/locations/us-central1/datasets/mydataset/annota
+// tionStores/myannotationstore`.
func (r *ProjectsLocationsDatasetsAnnotationStoresAnnotationsService) Create(parent string, annotation *Annotation) *ProjectsLocationsDatasetsAnnotationStoresAnnotationsCreateCall {
c := &ProjectsLocationsDatasetsAnnotationStoresAnnotationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11208,10 +11208,13 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall) PageToken
// populated in the response.
//
// Possible values:
-// "ANNOTATION_VIEW_UNSPECIFIED" - Same as BASIC.
-// "ANNOTATION_VIEW_BASIC" - Only `name`, `annotation_source` and
+//
+// "ANNOTATION_VIEW_UNSPECIFIED" - Same as BASIC.
+// "ANNOTATION_VIEW_BASIC" - Only `name`, `annotation_source` and
+//
// `custom_data` fields are populated.
-// "ANNOTATION_VIEW_FULL" - All fields are populated.
+//
+// "ANNOTATION_VIEW_FULL" - All fields are populated.
func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall) View(view string) *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall {
c.urlParams_.Set("view", view)
return c
@@ -11408,10 +11411,10 @@ type ProjectsLocationsDatasetsAnnotationStoresAnnotationsPatchCall struct {
// Patch: Updates the Annotation.
//
-// - name: Resource name of the Annotation, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /annotationStores/{annotation_store_id}/annotations/{annotation_id}`
-// .
+// - name: Resource name of the Annotation, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /annotationStores/{annotation_store_id}/annotations/{annotation_id}`
+// .
func (r *ProjectsLocationsDatasetsAnnotationStoresAnnotationsService) Patch(name string, annotation *Annotation) *ProjectsLocationsDatasetsAnnotationStoresAnnotationsPatchCall {
c := &ProjectsLocationsDatasetsAnnotationStoresAnnotationsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11569,10 +11572,10 @@ type ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall struct {
// mapping in the specified consent store is consented for the specified
// use.
//
-// - consentStore: Name of the consent store where the requested data_id
-// is stored, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}`.
+// - consentStore: Name of the consent store where the requested data_id
+// is stored, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}`.
func (r *ProjectsLocationsDatasetsConsentStoresService) CheckDataAccess(consentStore string, checkdataaccessrequest *CheckDataAccessRequest) *ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall {
c := &ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.consentStore = consentStore
@@ -12009,8 +12012,8 @@ type ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall struct {
// mappings are created or updated and when they are included in
// EvaluateUserConsents results.
//
-// - consentStore: Name of the consent store to retrieve User data
-// mappings from.
+// - consentStore: Name of the consent store to retrieve User data
+// mappings from.
func (r *ProjectsLocationsDatasetsConsentStoresService) EvaluateUserConsents(consentStore string, evaluateuserconsentsrequest *EvaluateUserConsentsRequest) *ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall {
c := &ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.consentStore = consentStore
@@ -12321,10 +12324,10 @@ type ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsConsentStoresService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall {
c := &ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -12723,10 +12726,10 @@ type ProjectsLocationsDatasetsConsentStoresPatchCall struct {
// Patch: Updates the specified consent store.
//
-// - name: Resource name of the consent store, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}`. Cannot be changed after
-// creation.
+// - name: Resource name of the consent store, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}`. Cannot be changed after
+// creation.
func (r *ProjectsLocationsDatasetsConsentStoresService) Patch(name string, consentstore *ConsentStore) *ProjectsLocationsDatasetsConsentStoresPatchCall {
c := &ProjectsLocationsDatasetsConsentStoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12913,8 +12916,8 @@ type ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall struct {
// "healthcare_consent_store" } severity: "ERROR" timestamp: "TIMESTAMP"
// ```
//
-// - consentStore: Name of the consent store to retrieve User data
-// mappings from.
+// - consentStore: Name of the consent store to retrieve User data
+// mappings from.
func (r *ProjectsLocationsDatasetsConsentStoresService) QueryAccessibleData(consentStore string, queryaccessibledatarequest *QueryAccessibleDataRequest) *ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall {
c := &ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.consentStore = consentStore
@@ -13058,10 +13061,10 @@ type ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsConsentStoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall {
c := &ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13208,10 +13211,10 @@ type ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsConsentStoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13354,8 +13357,8 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall struct
// Create: Creates a new Attribute definition in the parent consent
// store.
//
-// - parent: The name of the consent store that this Attribute
-// definition belongs to.
+// - parent: The name of the consent store that this Attribute
+// definition belongs to.
func (r *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService) Create(parent string, attributedefinition *AttributeDefinition) *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall {
c := &ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13514,10 +13517,10 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall struct
// Attribute definition is referenced by any User data mapping, or the
// latest revision of any Consent.
//
-// - name: The resource name of the Attribute definition to delete. To
-// preserve referential integrity, Attribute definitions referenced by
-// a User data mapping or the latest revision of a Consent cannot be
-// deleted.
+// - name: The resource name of the Attribute definition to delete. To
+// preserve referential integrity, Attribute definitions referenced by
+// a User data mapping or the latest revision of a Consent cannot be
+// deleted.
func (r *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService) Delete(name string) *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall {
c := &ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13796,8 +13799,8 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall struct {
// List: Lists the Attribute definitions in the specified consent store.
//
-// - parent: Name of the consent store to retrieve Attribute definitions
-// from.
+// - parent: Name of the consent store to retrieve Attribute definitions
+// from.
func (r *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService) List(parent string) *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall {
c := &ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14026,10 +14029,10 @@ type ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall struct
// Patch: Updates the specified Attribute definition.
//
-// - name: Resource name of the Attribute definition, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/attributeDefinitions/{attribute_de
-// finition_id}`. Cannot be changed after creation.
+// - name: Resource name of the Attribute definition, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/attributeDefinitions/{attribute_de
+// finition_id}`. Cannot be changed after creation.
func (r *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService) Patch(name string, attributedefinition *AttributeDefinition) *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall {
c := &ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14190,8 +14193,8 @@ type ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall struct {
// Create: Creates a new Consent artifact in the parent consent store.
//
-// - parent: The name of the consent store this Consent artifact belongs
-// to.
+// - parent: The name of the consent store this Consent artifact belongs
+// to.
func (r *ProjectsLocationsDatasetsConsentStoresConsentArtifactsService) Create(parent string, consentartifact *ConsentArtifact) *ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14333,9 +14336,9 @@ type ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall struct {
// Delete: Deletes the specified Consent artifact. Fails if the artifact
// is referenced by the latest revision of any Consent.
//
-// - name: The resource name of the Consent artifact to delete. To
-// preserve referential integrity, Consent artifacts referenced by the
-// latest revision of a Consent cannot be deleted.
+// - name: The resource name of the Consent artifact to delete. To
+// preserve referential integrity, Consent artifacts referenced by the
+// latest revision of a Consent cannot be deleted.
func (r *ProjectsLocationsDatasetsConsentStoresConsentArtifactsService) Delete(name string) *ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14614,8 +14617,8 @@ type ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall struct {
// List: Lists the Consent artifacts in the specified consent store.
//
-// - parent: Name of the consent store to retrieve consent artifacts
-// from.
+// - parent: Name of the consent store to retrieve consent artifacts
+// from.
func (r *ProjectsLocationsDatasetsConsentStoresConsentArtifactsService) List(parent string) *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14852,11 +14855,11 @@ type ProjectsLocationsDatasetsConsentStoresConsentsActivateCall struct {
// latest revision of the specified consent is in the `REJECTED` or
// `REVOKED` state.
//
-// - name: The resource name of the Consent to activate, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. An
-// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
-// name.
+// - name: The resource name of the Consent to activate, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. An
+// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
+// name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Activate(name string, activateconsentrequest *ActivateConsentRequest) *ProjectsLocationsDatasetsConsentStoresConsentsActivateCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15142,11 +15145,11 @@ type ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall struct {
// revision of a Consent, see [DeleteConsentRevision]. This operation
// does not delete the related Consent artifact.
//
-// - name: The resource name of the Consent to delete, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. An
-// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
-// name.
+// - name: The resource name of the Consent to delete, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. An
+// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
+// name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Delete(name string) *ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15280,12 +15283,12 @@ type ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall struct {
// INVALID_ARGUMENT error occurs if the specified revision is the latest
// revision.
//
-// - name: The resource name of the Consent revision to delete, of the
-// form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}@{revision_id
-// }`. An INVALID_ARGUMENT error occurs if `revision_id` is not
-// specified in the name.
+// - name: The resource name of the Consent revision to delete, of the
+// form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}@{revision_id
+// }`. An INVALID_ARGUMENT error occurs if `revision_id` is not
+// specified in the name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) DeleteRevision(name string) *ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15419,14 +15422,14 @@ type ProjectsLocationsDatasetsConsentStoresConsentsGetCall struct {
// Get: Gets the specified revision of a Consent, or the latest revision
// if `revision_id` is not specified in the resource name.
//
-// - name: The resource name of the Consent to retrieve, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. In order
-// to retrieve a previous revision of the Consent, also provide the
-// revision ID:
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}@{revision_id
-// }`.
+// - name: The resource name of the Consent to retrieve, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. In order
+// to retrieve a previous revision of the Consent, also provide the
+// revision ID:
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}@{revision_id
+// }`.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Get(name string) *ProjectsLocationsDatasetsConsentStoresConsentsGetCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16043,10 +16046,10 @@ type ProjectsLocationsDatasetsConsentStoresConsentsPatchCall struct {
// error occurs if the latest revision of the specified Consent is in
// the `REJECTED` or `REVOKED` state.
//
-// - name: Resource name of the Consent, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. Cannot be
-// changed after creation.
+// - name: Resource name of the Consent, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. Cannot be
+// changed after creation.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Patch(name string, consent *Consent) *ProjectsLocationsDatasetsConsentStoresConsentsPatchCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16210,11 +16213,11 @@ type ProjectsLocationsDatasetsConsentStoresConsentsRejectCall struct {
// the latest revision of the specified Consent is in the `ACTIVE` or
// `REVOKED` state.
//
-// - name: The resource name of the Consent to reject, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. An
-// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
-// name.
+// - name: The resource name of the Consent to reject, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. An
+// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
+// name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Reject(name string, rejectconsentrequest *RejectConsentRequest) *ProjectsLocationsDatasetsConsentStoresConsentsRejectCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsRejectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16361,11 +16364,11 @@ type ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall struct {
// the latest revision of the given consent is in `DRAFT` or `REJECTED`
// state.
//
-// - name: The resource name of the Consent to revoke, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/consents/{consent_id}`. An
-// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
-// name.
+// - name: The resource name of the Consent to revoke, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/consents/{consent_id}`. An
+// INVALID_ARGUMENT error occurs if `revision_id` is specified in the
+// name.
func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) Revoke(name string, revokeconsentrequest *RevokeConsentRequest) *ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall {
c := &ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17069,8 +17072,8 @@ type ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall struct {
// List: Lists the User data mappings in the specified consent store.
//
-// - parent: Name of the consent store to retrieve User data mappings
-// from.
+// - parent: Name of the consent store to retrieve User data mappings
+// from.
func (r *ProjectsLocationsDatasetsConsentStoresUserDataMappingsService) List(parent string) *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall {
c := &ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17300,10 +17303,10 @@ type ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall struct {
// Patch: Updates the specified User data mapping.
//
-// - name: Resource name of the User data mapping, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /consentStores/{consent_store_id}/userDataMappings/{user_data_mappin
-// g_id}`.
+// - name: Resource name of the User data mapping, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /consentStores/{consent_store_id}/userDataMappings/{user_data_mappin
+// g_id}`.
func (r *ProjectsLocationsDatasetsConsentStoresUserDataMappingsService) Patch(name string, userdatamapping *UserDataMapping) *ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall {
c := &ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17626,9 +17629,9 @@ type ProjectsLocationsDatasetsDicomStoresDeidentifyCall struct {
// logs in Cloud Logging
// (https://cloud.google.com/healthcare/docs/how-tos/logging).
//
-// - sourceStore: Source DICOM store resource name. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - sourceStore: Source DICOM store resource name. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) Deidentify(sourceStore string, deidentifydicomstorerequest *DeidentifyDicomStoreRequest) *ProjectsLocationsDatasetsDicomStoresDeidentifyCall {
c := &ProjectsLocationsDatasetsDicomStoresDeidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sourceStore = sourceStore
@@ -17907,10 +17910,10 @@ type ProjectsLocationsDatasetsDicomStoresExportCall struct {
// (https://cloud.google.com/healthcare/docs/how-tos/logging). The
// metadata field type is OperationMetadata.
//
-// - name: The DICOM store resource name from which to export the data.
-// For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - name: The DICOM store resource name from which to export the data.
+// For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) Export(name string, exportdicomdatarequest *ExportDicomDataRequest) *ProjectsLocationsDatasetsDicomStoresExportCall {
c := &ProjectsLocationsDatasetsDicomStoresExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18200,10 +18203,10 @@ type ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsDicomStoresService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall {
c := &ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -18377,10 +18380,10 @@ type ProjectsLocationsDatasetsDicomStoresImportCall struct {
// (https://cloud.google.com/healthcare/docs/how-tos/logging). The
// metadata field type is OperationMetadata.
//
-// - name: The name of the DICOM store resource into which the data is
-// imported. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - name: The name of the DICOM store resource into which the data is
+// imported. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) Import(name string, importdicomdatarequest *ImportDicomDataRequest) *ProjectsLocationsDatasetsDicomStoresImportCall {
c := &ProjectsLocationsDatasetsDicomStoresImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18752,9 +18755,9 @@ type ProjectsLocationsDatasetsDicomStoresPatchCall struct {
// Patch: Updates the specified DICOM store.
//
-// - name: Resource name of the DICOM store, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - name: Resource name of the DICOM store, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) Patch(name string, dicomstore *DicomStore) *ProjectsLocationsDatasetsDicomStoresPatchCall {
c := &ProjectsLocationsDatasetsDicomStoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18920,13 +18923,13 @@ type ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall struct {
// series, instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
-// request. For example, `instances`, `series/{series_uid}/instances`,
-// or `studies/{study_uid}/instances`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
+// request. For example, `instances`, `series/{series_uid}/instances`,
+// or `studies/{study_uid}/instances`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) SearchForInstances(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19059,12 +19062,12 @@ type ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall struct {
// instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForSeries DICOMweb request. For
-// example, `series` or `studies/{study_uid}/series`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForSeries DICOMweb request. For
+// example, `series` or `studies/{study_uid}/series`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) SearchForSeries(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall {
c := &ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19197,12 +19200,12 @@ type ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall struct {
// instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForStudies DICOMweb request.
-// For example, `studies`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForStudies DICOMweb request.
+// For example, `studies`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) SearchForStudies(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall {
c := &ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19327,10 +19330,10 @@ type ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsDicomStoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall {
c := &ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -19481,13 +19484,13 @@ type ProjectsLocationsDatasetsDicomStoresStoreInstancesCall struct {
// how to call StoreInstances, see Storing DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#storing_dicom_data).
//
-// - dicomWebPath: The path of the StoreInstances DICOMweb request. For
-// example, `studies/[{study_uid}]`. Note that the `study_uid` is
-// optional.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the StoreInstances DICOMweb request. For
+// example, `studies/[{study_uid}]`. Note that the `study_uid` is
+// optional.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresService) StoreInstances(parent string, dicomWebPath string, body_ io.Reader) *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresStoreInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19605,10 +19608,10 @@ type ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsDicomStoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -19756,9 +19759,9 @@ type ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall struct {
// call DeleteStudy, see Deleting a study, series, or instance
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
//
-// - dicomWebPath: The path of the DeleteStudy request. For example,
-// `studies/{study_uid}`.
-// - parent: .
+// - dicomWebPath: The path of the DeleteStudy request. For example,
+// `studies/{study_uid}`.
+// - parent: .
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) Delete(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19910,12 +19913,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall struct {
// show how to call RetrieveStudyMetadata, see Retrieving metadata
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata).
//
-// - dicomWebPath: The path of the RetrieveStudyMetadata DICOMweb
-// request. For example, `studies/{study_uid}/metadata`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveStudyMetadata DICOMweb
+// request. For example, `studies/{study_uid}/metadata`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) RetrieveMetadata(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20047,12 +20050,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall struct {
// show how to call RetrieveStudy, see Retrieving DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data).
//
-// - dicomWebPath: The path of the RetrieveStudy DICOMweb request. For
-// example, `studies/{study_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveStudy DICOMweb request. For
+// example, `studies/{study_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) RetrieveStudy(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20185,13 +20188,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall struct {
// series, instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
-// request. For example, `instances`, `series/{series_uid}/instances`,
-// or `studies/{study_uid}/instances`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
+// request. For example, `instances`, `series/{series_uid}/instances`,
+// or `studies/{study_uid}/instances`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) SearchForInstances(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20324,12 +20327,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall struct {
// instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForSeries DICOMweb request. For
-// example, `series` or `studies/{study_uid}/series`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForSeries DICOMweb request. For
+// example, `series` or `studies/{study_uid}/series`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) SearchForSeries(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20461,13 +20464,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall struct {
// how to call StoreInstances, see Storing DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#storing_dicom_data).
//
-// - dicomWebPath: The path of the StoreInstances DICOMweb request. For
-// example, `studies/[{study_uid}]`. Note that the `study_uid` is
-// optional.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the StoreInstances DICOMweb request. For
+// example, `studies/[{study_uid}]`. Note that the `study_uid` is
+// optional.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) StoreInstances(parent string, dicomWebPath string, body_ io.Reader) *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20587,12 +20590,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall struct {
// series, or instance
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
//
-// - dicomWebPath: The path of the DeleteSeries request. For example,
-// `studies/{study_uid}/series/{series_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the DeleteSeries request. For example,
+// `studies/{study_uid}/series/{series_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesService) Delete(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20745,13 +20748,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall struc
// show how to call RetrieveSeriesMetadata, see Retrieving metadata
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata).
//
-// - dicomWebPath: The path of the RetrieveSeriesMetadata DICOMweb
-// request. For example,
-// `studies/{study_uid}/series/{series_uid}/metadata`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveSeriesMetadata DICOMweb
+// request. For example,
+// `studies/{study_uid}/series/{series_uid}/metadata`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesService) RetrieveMetadata(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20883,12 +20886,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall struct
// show how to call RetrieveSeries, see Retrieving DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data).
//
-// - dicomWebPath: The path of the RetrieveSeries DICOMweb request. For
-// example, `studies/{study_uid}/series/{series_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveSeries DICOMweb request. For
+// example, `studies/{study_uid}/series/{series_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesService) RetrieveSeries(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21021,13 +21024,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall str
// series, instances, and frames
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#searching_for_studies_series_instances_and_frames).
//
-// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
-// request. For example, `instances`, `series/{series_uid}/instances`,
-// or `studies/{study_uid}/instances`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the SearchForInstancesRequest DICOMweb
+// request. For example, `instances`, `series/{series_uid}/instances`,
+// or `studies/{study_uid}/instances`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesService) SearchForInstances(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21156,12 +21159,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall struct
// to call DeleteInstance, see Deleting a study, series, or instance
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
//
-// - dicomWebPath: The path of the DeleteInstance request. For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the DeleteInstance request. For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesService) Delete(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21316,13 +21319,13 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceC
// how to call RetrieveInstance, see Retrieving an instance
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_an_instance).
//
-// - dicomWebPath: The path of the RetrieveInstance DICOMweb request.
-// For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveInstance DICOMweb request.
+// For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesService) RetrieveInstance(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21456,14 +21459,14 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataC
// show how to call RetrieveInstanceMetadata, see Retrieving metadata
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata).
//
-// - dicomWebPath: The path of the RetrieveInstanceMetadata DICOMweb
-// request. For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/me
-// tadata`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveInstanceMetadata DICOMweb
+// request. For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/me
+// tadata`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesService) RetrieveMetadata(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21597,14 +21600,14 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedC
// image formats
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats).
//
-// - dicomWebPath: The path of the RetrieveRenderedInstance DICOMweb
-// request. For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/re
-// ndered`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveRenderedInstance DICOMweb
+// request. For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/re
+// ndered`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesService) RetrieveRendered(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21736,14 +21739,14 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFra
// to call RetrieveFrames, see Retrieving DICOM data
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_dicom_data).
//
-// - dicomWebPath: The path of the RetrieveFrames DICOMweb request. For
-// example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/fr
-// ames/{frame_list}`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveFrames DICOMweb request. For
+// example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/fr
+// ames/{frame_list}`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesService) RetrieveFrames(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFramesCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFramesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21877,14 +21880,14 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRen
// image formats
// (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats).
//
-// - dicomWebPath: The path of the RetrieveRenderedFrames DICOMweb
-// request. For example,
-// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/fr
-// ames/{frame_list}/rendered`.
-// - parent: The name of the DICOM store that is being accessed. For
-// example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /dicomStores/{dicom_store_id}`.
+// - dicomWebPath: The path of the RetrieveRenderedFrames DICOMweb
+// request. For example,
+// `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/fr
+// ames/{frame_list}/rendered`.
+// - parent: The name of the DICOM store that is being accessed. For
+// example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /dicomStores/{dicom_store_id}`.
func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesService) RetrieveRendered(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRenderedCall {
c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRenderedCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22014,9 +22017,9 @@ type ProjectsLocationsDatasetsFhirStoresConfigureSearchCall struct {
// an Operation that can be used to track the progress of the reindexing
// by calling GetOperation.
//
-// - name: The name of the FHIR store to configure, in the format
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /fhirStores/{fhir_store_id}`.
+// - name: The name of the FHIR store to configure, in the format
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /fhirStores/{fhir_store_id}`.
func (r *ProjectsLocationsDatasetsFhirStoresService) ConfigureSearch(name string, configuresearchrequest *ConfigureSearchRequest) *ProjectsLocationsDatasetsFhirStoresConfigureSearchCall {
c := &ProjectsLocationsDatasetsFhirStoresConfigureSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22319,9 +22322,9 @@ type ProjectsLocationsDatasetsFhirStoresDeidentifyCall struct {
// Logging. For more information, see Viewing error logs in Cloud
// Logging (https://cloud.google.com/healthcare/docs/how-tos/logging).
//
-// - sourceStore: Source FHIR store resource name. For example,
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /fhirStores/{fhir_store_id}`.
+// - sourceStore: Source FHIR store resource name. For example,
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /fhirStores/{fhir_store_id}`.
func (r *ProjectsLocationsDatasetsFhirStoresService) Deidentify(sourceStore string, deidentifyfhirstorerequest *DeidentifyFhirStoreRequest) *ProjectsLocationsDatasetsFhirStoresDeidentifyCall {
c := &ProjectsLocationsDatasetsFhirStoresDeidentifyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sourceStore = sourceStore
@@ -22604,10 +22607,10 @@ type ProjectsLocationsDatasetsFhirStoresExportCall struct {
// ExportResourcesResponse is returned in the response field. The
// metadata field type for this operation is OperationMetadata.
//
-// - name: The name of the FHIR store to export resource from, in the
-// format of
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /fhirStores/{fhir_store_id}`.
+// - name: The name of the FHIR store to export resource from, in the
+// format of
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /fhirStores/{fhir_store_id}`.
func (r *ProjectsLocationsDatasetsFhirStoresService) Export(name string, exportresourcesrequest *ExportResourcesRequest) *ProjectsLocationsDatasetsFhirStoresExportCall {
c := &ProjectsLocationsDatasetsFhirStoresExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22897,10 +22900,10 @@ type ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsFhirStoresService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall {
c := &ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -23130,10 +23133,10 @@ type ProjectsLocationsDatasetsFhirStoresImportCall struct {
// ImportResourcesResponse is returned in the response field. The
// metadata field type for this operation is OperationMetadata.
//
-// - name: The name of the FHIR store to import FHIR resources to, in
-// the format of
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /fhirStores/{fhir_store_id}`.
+// - name: The name of the FHIR store to import FHIR resources to, in
+// the format of
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /fhirStores/{fhir_store_id}`.
func (r *ProjectsLocationsDatasetsFhirStoresService) Import(name string, importresourcesrequest *ImportResourcesRequest) *ProjectsLocationsDatasetsFhirStoresImportCall {
c := &ProjectsLocationsDatasetsFhirStoresImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23505,9 +23508,9 @@ type ProjectsLocationsDatasetsFhirStoresPatchCall struct {
// Patch: Updates the configuration of the specified FHIR store.
//
-// - name: Output only. Resource name of the FHIR store, of the form
-// `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_
-// id}`.
+// - name: Output only. Resource name of the FHIR store, of the form
+// `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_
+// id}`.
func (r *ProjectsLocationsDatasetsFhirStoresService) Patch(name string, fhirstore *FhirStore) *ProjectsLocationsDatasetsFhirStoresPatchCall {
c := &ProjectsLocationsDatasetsFhirStoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23665,10 +23668,10 @@ type ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsFhirStoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall {
c := &ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -23815,10 +23818,10 @@ type ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsFhirStoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -23973,8 +23976,8 @@ type ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall struct
// the request cannot be mapped to a valid API method on a FHIR store, a
// generic GCP error might be returned instead.
//
-// - parent: The name for the FHIR store containing the concept map(s)
-// to use for the translation.
+// - parent: The name for the FHIR store containing the concept map(s)
+// to use for the translation.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ConceptMapSearchTranslate(parent string) *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24490,8 +24493,8 @@ type ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall struct {
// (/healthcare/docs/how-tos/fhir-resources#getting_all_patient_compartme
// nt_resources).
//
-// - name: Name of the `Patient` resource for which the information is
-// required.
+// - name: Name of the `Patient` resource for which the information is
+// required.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) PatientEverything(name string) *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -24847,16 +24850,16 @@ type ProjectsLocationsDatasetsFhirStoresFhirResourceValidateCall struct {
// to a valid API method on a FHIR store, a generic GCP error might be
// returned instead.
//
-// - parent: The name of the FHIR store that holds the profiles being
-// used for validation.
-// - type: The FHIR resource type of the resource being validated. For a
-// complete list, see the FHIR Resource Index (DSTU2
-// (http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
-// STU3
-// (http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
-// or R4
-// (http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
-// Must match the resource type in the provided content.
+// - parent: The name of the FHIR store that holds the profiles being
+// used for validation.
+// - type: The FHIR resource type of the resource being validated. For a
+// complete list, see the FHIR Resource Index (DSTU2
+// (http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
+// STU3
+// (http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
+// or R4
+// (http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
+// Must match the resource type in the provided content.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ResourceValidate(parent string, type_ string, body_ io.Reader) *ProjectsLocationsDatasetsFhirStoresFhirResourceValidateCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirResourceValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25139,15 +25142,15 @@ type ProjectsLocationsDatasetsFhirStoresFhirConditionalDeleteCall struct {
// (/healthcare/docs/how-tos/fhir-resources#conditionally_deleting_a_fhir
// _resource).
//
-// - parent: The name of the FHIR store this resource belongs to.
-// - type: The FHIR resource type to delete, such as Patient or
-// Observation. For a complete list, see the FHIR Resource Index
-// (DSTU2
-// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
-// STU3
-// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
-// R4
-// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
+// - parent: The name of the FHIR store this resource belongs to.
+// - type: The FHIR resource type to delete, such as Patient or
+// Observation. For a complete list, see the FHIR Resource Index
+// (DSTU2
+// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
+// STU3
+// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
+// R4
+// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ConditionalDelete(parent string, type_ string) *ProjectsLocationsDatasetsFhirStoresFhirConditionalDeleteCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirConditionalDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25316,15 +25319,15 @@ type ProjectsLocationsDatasetsFhirStoresFhirConditionalPatchCall struct {
// (/healthcare/docs/how-tos/fhir-resources#conditionally_patching_a_fhir
// _resource).
//
-// - parent: The name of the FHIR store this resource belongs to.
-// - type: The FHIR resource type to update, such as Patient or
-// Observation. For a complete list, see the FHIR Resource Index
-// (DSTU2
-// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
-// STU3
-// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
-// R4
-// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
+// - parent: The name of the FHIR store this resource belongs to.
+// - type: The FHIR resource type to update, such as Patient or
+// Observation. For a complete list, see the FHIR Resource Index
+// (DSTU2
+// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
+// STU3
+// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
+// R4
+// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ConditionalPatch(parent string, type_ string, body_ io.Reader) *ProjectsLocationsDatasetsFhirStoresFhirConditionalPatchCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirConditionalPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25474,16 +25477,16 @@ type ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdateCall struct {
// (/healthcare/docs/how-tos/fhir-resources#conditionally_updating_a_fhir
// _resource).
//
-// - parent: The name of the FHIR store this resource belongs to.
-// - type: The FHIR resource type to update, such as Patient or
-// Observation. For a complete list, see the FHIR Resource Index
-// (DSTU2
-// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
-// STU3
-// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
-// R4
-// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
-// Must match the resource type in the provided content.
+// - parent: The name of the FHIR store this resource belongs to.
+// - type: The FHIR resource type to update, such as Patient or
+// Observation. For a complete list, see the FHIR Resource Index
+// (DSTU2
+// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
+// STU3
+// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
+// R4
+// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
+// Must match the resource type in the provided content.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ConditionalUpdate(parent string, type_ string, body_ io.Reader) *ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdateCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25622,16 +25625,16 @@ type ProjectsLocationsDatasetsFhirStoresFhirCreateCall struct {
// FHIR resource
// (/healthcare/docs/how-tos/fhir-resources#creating_a_fhir_resource).
//
-// - parent: The name of the FHIR store this resource belongs to.
-// - type: The FHIR resource type to create, such as Patient or
-// Observation. For a complete list, see the FHIR Resource Index
-// (DSTU2
-// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
-// STU3
-// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
-// R4
-// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
-// Must match the resource type in the provided content.
+// - parent: The name of the FHIR store this resource belongs to.
+// - type: The FHIR resource type to create, such as Patient or
+// Observation. For a complete list, see the FHIR Resource Index
+// (DSTU2
+// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
+// STU3
+// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
+// R4
+// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
+// Must match the resource type in the provided content.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) Create(parent string, type_ string, body_ io.Reader) *ProjectsLocationsDatasetsFhirStoresFhirCreateCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25893,8 +25896,8 @@ type ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall struct {
// `executeBundle`, see Managing FHIR resources using FHIR bundles
// (/healthcare/docs/how-tos/fhir-bundles).
//
-// - parent: Name of the FHIR store in which this bundle will be
-// executed.
+// - parent: Name of the FHIR store in which this bundle will be
+// executed.
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) ExecuteBundle(parent string, body_ io.Reader) *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26652,15 +26655,15 @@ type ProjectsLocationsDatasetsFhirStoresFhirSearchTypeCall struct {
// (/healthcare/docs/how-tos/fhir-search) and Advanced FHIR search
// features (/healthcare/docs/how-tos/fhir-advanced-search).
//
-// - parent: Name of the FHIR store to retrieve resources from.
-// - resourceType: The FHIR resource type to search, such as Patient or
-// Observation. For a complete list, see the FHIR Resource Index
-// (DSTU2
-// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
-// STU3
-// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
-// R4
-// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
+// - parent: Name of the FHIR store to retrieve resources from.
+// - resourceType: The FHIR resource type to search, such as Patient or
+// Observation. For a complete list, see the FHIR Resource Index
+// (DSTU2
+// (https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
+// STU3
+// (https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
+// R4
+// (https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
func (r *ProjectsLocationsDatasetsFhirStoresFhirService) SearchType(parent string, resourceType string, searchresourcesrequest *SearchResourcesRequest) *ProjectsLocationsDatasetsFhirStoresFhirSearchTypeCall {
c := &ProjectsLocationsDatasetsFhirStoresFhirSearchTypeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27327,9 +27330,9 @@ type ProjectsLocationsDatasetsHl7V2StoresExportCall struct {
// ExportMessagesResponse is returned in the response field. The
// metadata field type for this operation is OperationMetadata.
//
-// - name: The name of the source HL7v2 store, in the format
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /hl7v2Stores/{hl7v2_store_id}`.
+// - name: The name of the source HL7v2 store, in the format
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /hl7v2Stores/{hl7v2_store_id}`.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) Export(name string, exportmessagesrequest *ExportMessagesRequest) *ProjectsLocationsDatasetsHl7V2StoresExportCall {
c := &ProjectsLocationsDatasetsHl7V2StoresExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27619,10 +27622,10 @@ type ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) GetIamPolicy(resource string) *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall {
c := &ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -27818,9 +27821,9 @@ type ProjectsLocationsDatasetsHl7V2StoresImportCall struct {
// ImportMessagesResponse is returned in the response field. The
// metadata field type for this operation is OperationMetadata.
//
-// - name: The name of the target HL7v2 store, in the format
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /hl7v2Stores/{hl7v2_store_id}`.
+// - name: The name of the target HL7v2 store, in the format
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /hl7v2Stores/{hl7v2_store_id}`.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) Import(name string, importmessagesrequest *ImportMessagesRequest) *ProjectsLocationsDatasetsHl7V2StoresImportCall {
c := &ProjectsLocationsDatasetsHl7V2StoresImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28192,9 +28195,9 @@ type ProjectsLocationsDatasetsHl7V2StoresPatchCall struct {
// Patch: Updates the HL7v2 store.
//
-// - name: Resource name of the HL7v2 store, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /hl7V2Stores/{hl7v2_store_id}`.
+// - name: Resource name of the HL7v2 store, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /hl7V2Stores/{hl7v2_store_id}`.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) Patch(name string, hl7v2store *Hl7V2Store) *ProjectsLocationsDatasetsHl7V2StoresPatchCall {
c := &ProjectsLocationsDatasetsHl7V2StoresPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28352,10 +28355,10 @@ type ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall {
c := &ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -28502,10 +28505,10 @@ type ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsDatasetsHl7V2StoresService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall {
c := &ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -28647,10 +28650,10 @@ type ProjectsLocationsDatasetsHl7V2StoresMessagesBatchGetCall struct {
// BatchGet: Gets multiple messages in the given HL7v2 store.
//
-// - parent: Name of the HL7v2 store to retrieve messages from, in the
-// format:
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /hl7v2Stores/{hl7v2_store_id}`.
+// - parent: Name of the HL7v2 store to retrieve messages from, in the
+// format:
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /hl7v2Stores/{hl7v2_store_id}`.
func (r *ProjectsLocationsDatasetsHl7V2StoresMessagesService) BatchGet(parent string) *ProjectsLocationsDatasetsHl7V2StoresMessagesBatchGetCall {
c := &ProjectsLocationsDatasetsHl7V2StoresMessagesBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -28672,16 +28675,25 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesBatchGetCall) Ids(ids ...st
// equivalent to BASIC.
//
// Possible values:
-// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL for
+//
+// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL for
+//
// getMessage, equivalent to BASIC for listMessages.
-// "RAW_ONLY" - Server responses include all the message fields except
+//
+// "RAW_ONLY" - Server responses include all the message fields except
+//
// parsed_data, and schematized_data fields.
-// "PARSED_ONLY" - Server responses include all the message fields
+//
+// "PARSED_ONLY" - Server responses include all the message fields
+//
// except data and schematized_data fields.
-// "FULL" - Server responses include all the message fields.
-// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
+// "FULL" - Server responses include all the message fields.
+// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
// fields except data and parsed_data fields.
-// "BASIC" - Server responses include only the name field.
+//
+// "BASIC" - Server responses include only the name field.
func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesBatchGetCall) View(view string) *ProjectsLocationsDatasetsHl7V2StoresMessagesBatchGetCall {
c.urlParams_.Set("view", view)
return c
@@ -29144,16 +29156,25 @@ func (r *ProjectsLocationsDatasetsHl7V2StoresMessagesService) Get(name string) *
// equivalent to FULL.
//
// Possible values:
-// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL for
+//
+// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL for
+//
// getMessage, equivalent to BASIC for listMessages.
-// "RAW_ONLY" - Server responses include all the message fields except
+//
+// "RAW_ONLY" - Server responses include all the message fields except
+//
// parsed_data, and schematized_data fields.
-// "PARSED_ONLY" - Server responses include all the message fields
+//
+// "PARSED_ONLY" - Server responses include all the message fields
+//
// except data and schematized_data fields.
-// "FULL" - Server responses include all the message fields.
-// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
+// "FULL" - Server responses include all the message fields.
+// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
// fields except data and parsed_data fields.
-// "BASIC" - Server responses include only the name field.
+//
+// "BASIC" - Server responses include only the name field.
func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) View(view string) *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall {
c.urlParams_.Set("view", view)
return c
@@ -29560,16 +29581,25 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) PageToken(pageTok
// the performance of this method.
//
// Possible values:
-// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL for
+//
+// "MESSAGE_VIEW_UNSPECIFIED" - Not specified, equivalent to FULL for
+//
// getMessage, equivalent to BASIC for listMessages.
-// "RAW_ONLY" - Server responses include all the message fields except
+//
+// "RAW_ONLY" - Server responses include all the message fields except
+//
// parsed_data, and schematized_data fields.
-// "PARSED_ONLY" - Server responses include all the message fields
+//
+// "PARSED_ONLY" - Server responses include all the message fields
+//
// except data and schematized_data fields.
-// "FULL" - Server responses include all the message fields.
-// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
+// "FULL" - Server responses include all the message fields.
+// "SCHEMATIZED_ONLY" - Server responses include all the message
+//
// fields except data and parsed_data fields.
-// "BASIC" - Server responses include only the name field.
+//
+// "BASIC" - Server responses include only the name field.
func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) View(view string) *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall {
c.urlParams_.Set("view", view)
return c
@@ -29782,10 +29812,10 @@ type ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall struct {
// the existing set of labels. Existing labels with the same keys are
// updated.
//
-// - name: Resource name of the Message, of the form
-// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
-// /hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`. Assigned by
-// the server.
+// - name: Resource name of the Message, of the form
+// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
+// /hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`. Assigned by
+// the server.
func (r *ProjectsLocationsDatasetsHl7V2StoresMessagesService) Patch(name string, message *Message) *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall {
c := &ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -30456,8 +30486,8 @@ type ProjectsLocationsServicesNlpAnalyzeEntitiesCall struct {
// them. AnalyzeEntities uses context aware models to detect entities.
// This method can only analyze documents written in English.
//
-// - nlpService: The resource name of the service of the form:
-// "projects/{project_id}/locations/{location_id}/services/nlp".
+// - nlpService: The resource name of the service of the form:
+// "projects/{project_id}/locations/{location_id}/services/nlp".
func (r *ProjectsLocationsServicesNlpService) AnalyzeEntities(nlpService string, analyzeentitiesrequest *AnalyzeEntitiesRequest) *ProjectsLocationsServicesNlpAnalyzeEntitiesCall {
c := &ProjectsLocationsServicesNlpAnalyzeEntitiesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nlpService = nlpService
diff --git a/homegraph/v1/homegraph-gen.go b/homegraph/v1/homegraph-gen.go
index e81926b9daf..4b6f66f11d2 100644
--- a/homegraph/v1/homegraph-gen.go
+++ b/homegraph/v1/homegraph-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/actions/smarthome/create-app#request-sync
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/homegraph/v1"
-// ...
-// ctx := context.Background()
-// homegraphService, err := homegraph.NewService(ctx)
+// import "google.golang.org/api/homegraph/v1"
+// ...
+// ctx := context.Background()
+// homegraphService, err := homegraph.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// homegraphService, err := homegraph.NewService(ctx, option.WithAPIKey("AIza..."))
+// homegraphService, err := homegraph.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// homegraphService, err := homegraph.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// homegraphService, err := homegraph.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package homegraph // import "google.golang.org/api/homegraph/v1"
@@ -583,7 +583,9 @@ func (s *ReportStateAndNotificationDevice) MarshalJSON() ([]byte, error) {
// ReportStateAndNotificationRequest: Request type for the
// `ReportStateAndNotification`
// (#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification)
-// call. It may include states, notifications, or both. States and
+//
+// call. It may include states, notifications, or both. States and
+//
// notifications are defined per `device_id` (for example, "123" and
// "456" in the following example). # Example ```json { "requestId":
// "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "agentUserId": "1234",
@@ -632,7 +634,8 @@ func (s *ReportStateAndNotificationRequest) MarshalJSON() ([]byte, error) {
// ReportStateAndNotificationResponse: Response type for the
// `ReportStateAndNotification`
// (#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification)
-// call.
+//
+// call.
type ReportStateAndNotificationResponse struct {
// RequestId: Request ID copied from ReportStateAndNotificationRequest.
RequestId string `json:"requestId,omitempty"`
diff --git a/iam/v1/iam-gen.go b/iam/v1/iam-gen.go
index c1bf2168c27..3a30c6ae687 100644
--- a/iam/v1/iam-gen.go
+++ b/iam/v1/iam-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/iam/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/iam/v1"
-// ...
-// ctx := context.Background()
-// iamService, err := iam.NewService(ctx)
+// import "google.golang.org/api/iam/v1"
+// ...
+// ctx := context.Background()
+// iamService, err := iam.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// iamService, err := iam.NewService(ctx, option.WithAPIKey("AIza..."))
+// iamService, err := iam.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// iamService, err := iam.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// iamService, err := iam.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package iam // import "google.golang.org/api/iam/v1"
@@ -3699,28 +3699,28 @@ type OrganizationsRolesCreateCall struct {
// Create: Creates a new custom Role.
//
-// - parent: The `parent` parameter's value depends on the target
-// resource for the request, namely `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `parent` value format is described below: *
-// `projects.roles.create()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/create):
-// `projects/{PROJECT_ID}`. This method creates project-level custom
-// roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles).
-// Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` *
-// `organizations.roles.create()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/create):
-// `organizations/{ORGANIZATION_ID}`. This method creates
-// organization-level custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles).
-// Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// ` Note: Wildcard (*) values are invalid; you must specify a
-// complete project ID or organization ID.
+// - parent: The `parent` parameter's value depends on the target
+// resource for the request, namely `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `parent` value format is described below: *
+// `projects.roles.create()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/create):
+// `projects/{PROJECT_ID}`. This method creates project-level custom
+// roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles).
+// Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` *
+// `organizations.roles.create()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/create):
+// `organizations/{ORGANIZATION_ID}`. This method creates
+// organization-level custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles).
+// Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// ` Note: Wildcard (*) values are invalid; you must specify a
+// complete project ID or organization ID.
func (r *OrganizationsRolesService) Create(parent string, createrolerequest *CreateRoleRequest) *OrganizationsRolesCreateCall {
c := &OrganizationsRolesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3869,28 +3869,28 @@ type OrganizationsRolesDeleteCall struct {
// recovered. * If an IAM policy contains a binding to the custom role,
// the binding is permanently removed.
//
-// - name: The `name` parameter's value depends on the target resource
-// for the request, namely `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `name` value format is described below: *
-// `projects.roles.delete()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/delete):
-// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes
-// only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the project level. Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
-// OLE_ID}` * `organizations.roles.delete()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/delete):
-// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
-// method deletes only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the organization level. Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
-// specify a complete project ID or organization ID.
+// - name: The `name` parameter's value depends on the target resource
+// for the request, namely `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `name` value format is described below: *
+// `projects.roles.delete()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/delete):
+// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes
+// only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the project level. Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
+// OLE_ID}` * `organizations.roles.delete()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/delete):
+// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
+// method deletes only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the organization level. Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
+// specify a complete project ID or organization ID.
func (r *OrganizationsRolesService) Delete(name string) *OrganizationsRolesDeleteCall {
c := &OrganizationsRolesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4036,36 +4036,36 @@ type OrganizationsRolesGetCall struct {
// Get: Gets the definition of a Role.
//
-// - name: The `name` parameter's value depends on the target resource
-// for the request, namely `roles`
-// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `name` value format is described below: *
-// `roles.get()`
-// (https://cloud.google.com/iam/reference/rest/v1/roles/get):
-// `roles/{ROLE_NAME}`. This method returns results from all
-// predefined roles
-// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
-// in Cloud IAM. Example request URL:
-// `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` *
-// `projects.roles.get()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/get):
-// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns
-// only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the project level. Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
-// OLE_ID}` * `organizations.roles.get()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/get):
-// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
-// method returns only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the organization level. Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
-// specify a complete project ID or organization ID.
+// - name: The `name` parameter's value depends on the target resource
+// for the request, namely `roles`
+// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `name` value format is described below: *
+// `roles.get()`
+// (https://cloud.google.com/iam/reference/rest/v1/roles/get):
+// `roles/{ROLE_NAME}`. This method returns results from all
+// predefined roles
+// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
+// in Cloud IAM. Example request URL:
+// `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` *
+// `projects.roles.get()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/get):
+// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns
+// only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the project level. Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
+// OLE_ID}` * `organizations.roles.get()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/get):
+// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
+// method returns only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the organization level. Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
+// specify a complete project ID or organization ID.
func (r *OrganizationsRolesService) Get(name string) *OrganizationsRolesGetCall {
c := &OrganizationsRolesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4212,35 +4212,35 @@ type OrganizationsRolesListCall struct {
// List: Lists every predefined Role that IAM supports, or every custom
// role that is defined for an organization or project.
//
-// - parent: The `parent` parameter's value depends on the target
-// resource for the request, namely `roles`
-// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `parent` value format is described below: *
-// `roles.list()`
-// (https://cloud.google.com/iam/reference/rest/v1/roles/list): An
-// empty string. This method doesn't require a resource; it simply
-// returns all predefined roles
-// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
-// in Cloud IAM. Example request URL:
-// `https://iam.googleapis.com/v1/roles` * `projects.roles.list()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/list):
-// `projects/{PROJECT_ID}`. This method lists all project-level custom
-// roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles).
-// Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` *
-// `organizations.roles.list()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/list):
-// `organizations/{ORGANIZATION_ID}`. This method lists all
-// organization-level custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles).
-// Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// ` Note: Wildcard (*) values are invalid; you must specify a
-// complete project ID or organization ID.
+// - parent: The `parent` parameter's value depends on the target
+// resource for the request, namely `roles`
+// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `parent` value format is described below: *
+// `roles.list()`
+// (https://cloud.google.com/iam/reference/rest/v1/roles/list): An
+// empty string. This method doesn't require a resource; it simply
+// returns all predefined roles
+// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
+// in Cloud IAM. Example request URL:
+// `https://iam.googleapis.com/v1/roles` * `projects.roles.list()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/list):
+// `projects/{PROJECT_ID}`. This method lists all project-level custom
+// roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles).
+// Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` *
+// `organizations.roles.list()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/list):
+// `organizations/{ORGANIZATION_ID}`. This method lists all
+// organization-level custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles).
+// Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// ` Note: Wildcard (*) values are invalid; you must specify a
+// complete project ID or organization ID.
func (r *OrganizationsRolesService) List(parent string) *OrganizationsRolesListCall {
c := &OrganizationsRolesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4276,9 +4276,12 @@ func (c *OrganizationsRolesListCall) ShowDeleted(showDeleted bool) *Organization
// return the `includedPermissions` field.
//
// Possible values:
-// "BASIC" - Omits the `included_permissions` field. This is the
+//
+// "BASIC" - Omits the `included_permissions` field. This is the
+//
// default value.
-// "FULL" - Returns all fields.
+//
+// "FULL" - Returns all fields.
func (c *OrganizationsRolesListCall) View(view string) *OrganizationsRolesListCall {
c.urlParams_.Set("view", view)
return c
@@ -4473,28 +4476,28 @@ type OrganizationsRolesPatchCall struct {
// Patch: Updates the definition of a custom Role.
//
-// - name: The `name` parameter's value depends on the target resource
-// for the request, namely `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `name` value format is described below: *
-// `projects.roles.patch()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch):
-// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates
-// only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the project level. Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
-// OLE_ID}` * `organizations.roles.patch()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/patch):
-// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
-// method updates only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the organization level. Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
-// specify a complete project ID or organization ID.
+// - name: The `name` parameter's value depends on the target resource
+// for the request, namely `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `name` value format is described below: *
+// `projects.roles.patch()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch):
+// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates
+// only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the project level. Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
+// OLE_ID}` * `organizations.roles.patch()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/patch):
+// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
+// method updates only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the organization level. Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
+// specify a complete project ID or organization ID.
func (r *OrganizationsRolesService) Patch(name string, role *Role) *OrganizationsRolesPatchCall {
c := &OrganizationsRolesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4649,28 +4652,28 @@ type OrganizationsRolesUndeleteCall struct {
// Undelete: Undeletes a custom Role.
//
-// - name: The `name` parameter's value depends on the target resource
-// for the request, namely `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `name` value format is described below: *
-// `projects.roles.undelete()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/undelete):
-// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method
-// undeletes only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the project level. Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
-// OLE_ID}` * `organizations.roles.undelete()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/undelete):
-// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
-// method undeletes only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the organization level. Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
-// specify a complete project ID or organization ID.
+// - name: The `name` parameter's value depends on the target resource
+// for the request, namely `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `name` value format is described below: *
+// `projects.roles.undelete()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/undelete):
+// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method
+// undeletes only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the project level. Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
+// OLE_ID}` * `organizations.roles.undelete()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/undelete):
+// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
+// method undeletes only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the organization level. Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
+// specify a complete project ID or organization ID.
func (r *OrganizationsRolesService) Undelete(name string, undeleterolerequest *UndeleteRoleRequest) *OrganizationsRolesUndeleteCall {
c := &OrganizationsRolesUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4961,8 +4964,8 @@ type ProjectsLocationsWorkloadIdentityPoolsCreateCall struct {
// Create: Creates a new WorkloadIdentityPool. You cannot reuse the name
// of a deleted pool until 30 days after deletion.
//
-// - parent: The parent resource to create the pool in. The only
-// supported location is `global`.
+// - parent: The parent resource to create the pool in. The only
+// supported location is `global`.
func (r *ProjectsLocationsWorkloadIdentityPoolsService) Create(parent string, workloadidentitypool *WorkloadIdentityPool) *ProjectsLocationsWorkloadIdentityPoolsCreateCall {
c := &ProjectsLocationsWorkloadIdentityPoolsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7306,28 +7309,28 @@ type ProjectsRolesCreateCall struct {
// Create: Creates a new custom Role.
//
-// - parent: The `parent` parameter's value depends on the target
-// resource for the request, namely `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `parent` value format is described below: *
-// `projects.roles.create()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/create):
-// `projects/{PROJECT_ID}`. This method creates project-level custom
-// roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles).
-// Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` *
-// `organizations.roles.create()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/create):
-// `organizations/{ORGANIZATION_ID}`. This method creates
-// organization-level custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles).
-// Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// ` Note: Wildcard (*) values are invalid; you must specify a
-// complete project ID or organization ID.
+// - parent: The `parent` parameter's value depends on the target
+// resource for the request, namely `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `parent` value format is described below: *
+// `projects.roles.create()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/create):
+// `projects/{PROJECT_ID}`. This method creates project-level custom
+// roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles).
+// Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` *
+// `organizations.roles.create()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/create):
+// `organizations/{ORGANIZATION_ID}`. This method creates
+// organization-level custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles).
+// Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// ` Note: Wildcard (*) values are invalid; you must specify a
+// complete project ID or organization ID.
func (r *ProjectsRolesService) Create(parent string, createrolerequest *CreateRoleRequest) *ProjectsRolesCreateCall {
c := &ProjectsRolesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7476,28 +7479,28 @@ type ProjectsRolesDeleteCall struct {
// recovered. * If an IAM policy contains a binding to the custom role,
// the binding is permanently removed.
//
-// - name: The `name` parameter's value depends on the target resource
-// for the request, namely `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `name` value format is described below: *
-// `projects.roles.delete()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/delete):
-// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes
-// only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the project level. Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
-// OLE_ID}` * `organizations.roles.delete()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/delete):
-// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
-// method deletes only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the organization level. Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
-// specify a complete project ID or organization ID.
+// - name: The `name` parameter's value depends on the target resource
+// for the request, namely `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `name` value format is described below: *
+// `projects.roles.delete()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/delete):
+// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes
+// only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the project level. Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
+// OLE_ID}` * `organizations.roles.delete()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/delete):
+// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
+// method deletes only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the organization level. Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
+// specify a complete project ID or organization ID.
func (r *ProjectsRolesService) Delete(name string) *ProjectsRolesDeleteCall {
c := &ProjectsRolesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7643,36 +7646,36 @@ type ProjectsRolesGetCall struct {
// Get: Gets the definition of a Role.
//
-// - name: The `name` parameter's value depends on the target resource
-// for the request, namely `roles`
-// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `name` value format is described below: *
-// `roles.get()`
-// (https://cloud.google.com/iam/reference/rest/v1/roles/get):
-// `roles/{ROLE_NAME}`. This method returns results from all
-// predefined roles
-// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
-// in Cloud IAM. Example request URL:
-// `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` *
-// `projects.roles.get()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/get):
-// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns
-// only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the project level. Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
-// OLE_ID}` * `organizations.roles.get()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/get):
-// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
-// method returns only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the organization level. Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
-// specify a complete project ID or organization ID.
+// - name: The `name` parameter's value depends on the target resource
+// for the request, namely `roles`
+// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `name` value format is described below: *
+// `roles.get()`
+// (https://cloud.google.com/iam/reference/rest/v1/roles/get):
+// `roles/{ROLE_NAME}`. This method returns results from all
+// predefined roles
+// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
+// in Cloud IAM. Example request URL:
+// `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` *
+// `projects.roles.get()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/get):
+// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns
+// only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the project level. Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
+// OLE_ID}` * `organizations.roles.get()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/get):
+// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
+// method returns only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the organization level. Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
+// specify a complete project ID or organization ID.
func (r *ProjectsRolesService) Get(name string) *ProjectsRolesGetCall {
c := &ProjectsRolesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7819,35 +7822,35 @@ type ProjectsRolesListCall struct {
// List: Lists every predefined Role that IAM supports, or every custom
// role that is defined for an organization or project.
//
-// - parent: The `parent` parameter's value depends on the target
-// resource for the request, namely `roles`
-// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `parent` value format is described below: *
-// `roles.list()`
-// (https://cloud.google.com/iam/reference/rest/v1/roles/list): An
-// empty string. This method doesn't require a resource; it simply
-// returns all predefined roles
-// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
-// in Cloud IAM. Example request URL:
-// `https://iam.googleapis.com/v1/roles` * `projects.roles.list()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/list):
-// `projects/{PROJECT_ID}`. This method lists all project-level custom
-// roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles).
-// Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` *
-// `organizations.roles.list()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/list):
-// `organizations/{ORGANIZATION_ID}`. This method lists all
-// organization-level custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles).
-// Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// ` Note: Wildcard (*) values are invalid; you must specify a
-// complete project ID or organization ID.
+// - parent: The `parent` parameter's value depends on the target
+// resource for the request, namely `roles`
+// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `parent` value format is described below: *
+// `roles.list()`
+// (https://cloud.google.com/iam/reference/rest/v1/roles/list): An
+// empty string. This method doesn't require a resource; it simply
+// returns all predefined roles
+// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
+// in Cloud IAM. Example request URL:
+// `https://iam.googleapis.com/v1/roles` * `projects.roles.list()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/list):
+// `projects/{PROJECT_ID}`. This method lists all project-level custom
+// roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles).
+// Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` *
+// `organizations.roles.list()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/list):
+// `organizations/{ORGANIZATION_ID}`. This method lists all
+// organization-level custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles).
+// Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// ` Note: Wildcard (*) values are invalid; you must specify a
+// complete project ID or organization ID.
func (r *ProjectsRolesService) List(parent string) *ProjectsRolesListCall {
c := &ProjectsRolesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7883,9 +7886,12 @@ func (c *ProjectsRolesListCall) ShowDeleted(showDeleted bool) *ProjectsRolesList
// return the `includedPermissions` field.
//
// Possible values:
-// "BASIC" - Omits the `included_permissions` field. This is the
+//
+// "BASIC" - Omits the `included_permissions` field. This is the
+//
// default value.
-// "FULL" - Returns all fields.
+//
+// "FULL" - Returns all fields.
func (c *ProjectsRolesListCall) View(view string) *ProjectsRolesListCall {
c.urlParams_.Set("view", view)
return c
@@ -8080,28 +8086,28 @@ type ProjectsRolesPatchCall struct {
// Patch: Updates the definition of a custom Role.
//
-// - name: The `name` parameter's value depends on the target resource
-// for the request, namely `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `name` value format is described below: *
-// `projects.roles.patch()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch):
-// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates
-// only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the project level. Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
-// OLE_ID}` * `organizations.roles.patch()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/patch):
-// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
-// method updates only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the organization level. Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
-// specify a complete project ID or organization ID.
+// - name: The `name` parameter's value depends on the target resource
+// for the request, namely `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `name` value format is described below: *
+// `projects.roles.patch()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch):
+// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates
+// only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the project level. Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
+// OLE_ID}` * `organizations.roles.patch()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/patch):
+// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
+// method updates only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the organization level. Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
+// specify a complete project ID or organization ID.
func (r *ProjectsRolesService) Patch(name string, role *Role) *ProjectsRolesPatchCall {
c := &ProjectsRolesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8256,28 +8262,28 @@ type ProjectsRolesUndeleteCall struct {
// Undelete: Undeletes a custom Role.
//
-// - name: The `name` parameter's value depends on the target resource
-// for the request, namely `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `name` value format is described below: *
-// `projects.roles.undelete()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/undelete):
-// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method
-// undeletes only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the project level. Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
-// OLE_ID}` * `organizations.roles.undelete()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/undelete):
-// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
-// method undeletes only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the organization level. Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
-// specify a complete project ID or organization ID.
+// - name: The `name` parameter's value depends on the target resource
+// for the request, namely `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles) or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `name` value format is described below: *
+// `projects.roles.undelete()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/undelete):
+// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method
+// undeletes only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the project level. Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
+// OLE_ID}` * `organizations.roles.undelete()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/undelete):
+// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
+// method undeletes only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the organization level. Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
+// specify a complete project ID or organization ID.
func (r *ProjectsRolesService) Undelete(name string, undeleterolerequest *UndeleteRoleRequest) *ProjectsRolesUndeleteCall {
c := &ProjectsRolesUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8419,8 +8425,8 @@ type ProjectsServiceAccountsCreateCall struct {
// Create: Creates a ServiceAccount.
//
-// - name: The resource name of the project associated with the service
-// accounts, such as `projects/my-project-123`.
+// - name: The resource name of the project associated with the service
+// accounts, such as `projects/my-project-123`.
func (r *ProjectsServiceAccountsService) Create(name string, createserviceaccountrequest *CreateServiceAccountRequest) *ProjectsServiceAccountsCreateCall {
c := &ProjectsServiceAccountsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8572,11 +8578,11 @@ type ProjectsServiceAccountsDeleteCall struct {
// there are no unintended consequences, you can delete the service
// account.
//
-// - name: The resource name of the service account in the following
-// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account in the following
+// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsService) Delete(name string) *ProjectsServiceAccountsDeleteCall {
c := &ProjectsServiceAccountsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8720,11 +8726,11 @@ type ProjectsServiceAccountsDisableCall struct {
// for unintended consequences. If there are no unintended consequences,
// you can delete the service account with DeleteServiceAccount.
//
-// - name: The resource name of the service account in the following
-// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account in the following
+// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsService) Disable(name string, disableserviceaccountrequest *DisableServiceAccountRequest) *ProjectsServiceAccountsDisableCall {
c := &ProjectsServiceAccountsDisableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8871,11 +8877,11 @@ type ProjectsServiceAccountsEnableCall struct {
// because it was compromised—you cannot use this method to enable the
// service account.
//
-// - name: The resource name of the service account in the following
-// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account in the following
+// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsService) Enable(name string, enableserviceaccountrequest *EnableServiceAccountRequest) *ProjectsServiceAccountsEnableCall {
c := &ProjectsServiceAccountsEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9017,11 +9023,11 @@ type ProjectsServiceAccountsGetCall struct {
// Get: Gets a ServiceAccount.
//
-// - name: The resource name of the service account in the following
-// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account in the following
+// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsService) Get(name string) *ProjectsServiceAccountsGetCall {
c := &ProjectsServiceAccountsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9175,10 +9181,10 @@ type ProjectsServiceAccountsGetIamPolicyCall struct {
// (https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy)
// method.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsServiceAccountsService) GetIamPolicy(resource string) *ProjectsServiceAccountsGetIamPolicyCall {
c := &ProjectsServiceAccountsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9335,8 +9341,8 @@ type ProjectsServiceAccountsListCall struct {
// List: Lists every ServiceAccount that belongs to a specific project.
//
-// - name: The resource name of the project associated with the service
-// accounts, such as `projects/my-project-123`.
+// - name: The resource name of the project associated with the service
+// accounts, such as `projects/my-project-123`.
func (r *ProjectsServiceAccountsService) List(name string) *ProjectsServiceAccountsListCall {
c := &ProjectsServiceAccountsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9532,18 +9538,18 @@ type ProjectsServiceAccountsPatchCall struct {
// Patch: Patches a ServiceAccount.
//
-// - name: The resource name of the service account. Use one of the
-// following formats: *
-// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
-// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an
-// alternative, you can use the `-` wildcard character instead of the
-// project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` *
-// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using
-// the `-` wildcard character, because it can cause response messages
-// to contain misleading error codes. For example, if you try to get
-// the service account `projects/-/serviceAccounts/fake@example.com`,
-// which does not exist, the response contains an HTTP `403 Forbidden`
-// error instead of a `404 Not Found` error.
+// - name: The resource name of the service account. Use one of the
+// following formats: *
+// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
+// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an
+// alternative, you can use the `-` wildcard character instead of the
+// project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` *
+// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using
+// the `-` wildcard character, because it can cause response messages
+// to contain misleading error codes. For example, if you try to get
+// the service account `projects/-/serviceAccounts/fake@example.com`,
+// which does not exist, the response contains an HTTP `403 Forbidden`
+// error instead of a `404 Not Found` error.
func (r *ProjectsServiceAccountsService) Patch(name string, patchserviceaccountrequest *PatchServiceAccountRequest) *ProjectsServiceAccountsPatchCall {
c := &ProjectsServiceAccountsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9698,10 +9704,10 @@ type ProjectsServiceAccountsSetIamPolicyCall struct {
// or Manage access to other resources
// (https://cloud.google.com/iam/help/access/manage-other-resources).
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsServiceAccountsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsServiceAccountsSetIamPolicyCall {
c := &ProjectsServiceAccountsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9849,13 +9855,13 @@ type ProjectsServiceAccountsSignBlobCall struct {
// instructions. Signs a blob using the system-managed private key for a
// ServiceAccount.
//
-// - name: Deprecated. Migrate to Service Account Credentials API
-// (https://cloud.google.com/iam/help/credentials/migrate-api). The
-// resource name of the service account in the following format:
-// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
-// wildcard for the `PROJECT_ID` will infer the project from the
-// account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: Deprecated. Migrate to Service Account Credentials API
+// (https://cloud.google.com/iam/help/credentials/migrate-api). The
+// resource name of the service account in the following format:
+// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
+// wildcard for the `PROJECT_ID` will infer the project from the
+// account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsService) SignBlob(name string, signblobrequest *SignBlobRequest) *ProjectsServiceAccountsSignBlobCall {
c := &ProjectsServiceAccountsSignBlobCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10003,13 +10009,13 @@ type ProjectsServiceAccountsSignJwtCall struct {
// instructions. Signs a JSON Web Token (JWT) using the system-managed
// private key for a ServiceAccount.
//
-// - name: Deprecated. Migrate to Service Account Credentials API
-// (https://cloud.google.com/iam/help/credentials/migrate-api). The
-// resource name of the service account in the following format:
-// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
-// wildcard for the `PROJECT_ID` will infer the project from the
-// account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: Deprecated. Migrate to Service Account Credentials API
+// (https://cloud.google.com/iam/help/credentials/migrate-api). The
+// resource name of the service account in the following format:
+// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
+// wildcard for the `PROJECT_ID` will infer the project from the
+// account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsService) SignJwt(name string, signjwtrequest *SignJwtRequest) *ProjectsServiceAccountsSignJwtCall {
c := &ProjectsServiceAccountsSignJwtCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10152,10 +10158,10 @@ type ProjectsServiceAccountsTestIamPermissionsCall struct {
// TestIamPermissions: Tests whether the caller has the specified
// permissions on a ServiceAccount.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsServiceAccountsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsServiceAccountsTestIamPermissionsCall {
c := &ProjectsServiceAccountsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10302,11 +10308,11 @@ type ProjectsServiceAccountsUndeleteCall struct {
// way to restore a deleted service account that has been permanently
// removed.
//
-// - name: The resource name of the service account in the following
-// format:
-// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_UNIQUE_ID}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account.
+// - name: The resource name of the service account in the following
+// format:
+// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_UNIQUE_ID}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account.
func (r *ProjectsServiceAccountsService) Undelete(name string, undeleteserviceaccountrequest *UndeleteServiceAccountRequest) *ProjectsServiceAccountsUndeleteCall {
c := &ProjectsServiceAccountsUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10450,18 +10456,18 @@ type ProjectsServiceAccountsUpdateCall struct {
// Use PatchServiceAccount instead. Updates a ServiceAccount. You can
// update only the `display_name` field.
//
-// - name: The resource name of the service account. Use one of the
-// following formats: *
-// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
-// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an
-// alternative, you can use the `-` wildcard character instead of the
-// project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` *
-// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using
-// the `-` wildcard character, because it can cause response messages
-// to contain misleading error codes. For example, if you try to get
-// the service account `projects/-/serviceAccounts/fake@example.com`,
-// which does not exist, the response contains an HTTP `403 Forbidden`
-// error instead of a `404 Not Found` error.
+// - name: The resource name of the service account. Use one of the
+// following formats: *
+// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
+// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an
+// alternative, you can use the `-` wildcard character instead of the
+// project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` *
+// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using
+// the `-` wildcard character, because it can cause response messages
+// to contain misleading error codes. For example, if you try to get
+// the service account `projects/-/serviceAccounts/fake@example.com`,
+// which does not exist, the response contains an HTTP `403 Forbidden`
+// error instead of a `404 Not Found` error.
func (r *ProjectsServiceAccountsService) Update(name string, serviceaccount *ServiceAccount) *ProjectsServiceAccountsUpdateCall {
c := &ProjectsServiceAccountsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10603,11 +10609,11 @@ type ProjectsServiceAccountsKeysCreateCall struct {
// Create: Creates a ServiceAccountKey.
//
-// - name: The resource name of the service account in the following
-// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account in the following
+// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsKeysService) Create(name string, createserviceaccountkeyrequest *CreateServiceAccountKeyRequest) *ProjectsServiceAccountsKeysCreateCall {
c := &ProjectsServiceAccountsKeysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10750,12 +10756,12 @@ type ProjectsServiceAccountsKeysDeleteCall struct {
// does not revoke short-lived credentials that have been issued based
// on the service account key.
//
-// - name: The resource name of the service account key in the following
-// format:
-// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account key in the following
+// format:
+// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsKeysService) Delete(name string) *ProjectsServiceAccountsKeysDeleteCall {
c := &ProjectsServiceAccountsKeysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10889,12 +10895,12 @@ type ProjectsServiceAccountsKeysDisableCall struct {
// Disable: Disable a ServiceAccountKey. A disabled service account key
// can be re-enabled with EnableServiceAccountKey.
//
-// - name: The resource name of the service account key in the following
-// format:
-// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account key in the following
+// format:
+// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsKeysService) Disable(name string, disableserviceaccountkeyrequest *DisableServiceAccountKeyRequest) *ProjectsServiceAccountsKeysDisableCall {
c := &ProjectsServiceAccountsKeysDisableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11036,12 +11042,12 @@ type ProjectsServiceAccountsKeysEnableCall struct {
// Enable: Enable a ServiceAccountKey.
//
-// - name: The resource name of the service account key in the following
-// format:
-// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account key in the following
+// format:
+// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsKeysService) Enable(name string, enableserviceaccountkeyrequest *EnableServiceAccountKeyRequest) *ProjectsServiceAccountsKeysEnableCall {
c := &ProjectsServiceAccountsKeysEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11183,12 +11189,12 @@ type ProjectsServiceAccountsKeysGetCall struct {
// Get: Gets a ServiceAccountKey.
//
-// - name: The resource name of the service account key in the following
-// format:
-// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account key in the following
+// format:
+// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsKeysService) Get(name string) *ProjectsServiceAccountsKeysGetCall {
c := &ProjectsServiceAccountsKeysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11200,9 +11206,10 @@ func (r *ProjectsServiceAccountsKeysService) Get(name string) *ProjectsServiceAc
// that the public key is not returned.
//
// Possible values:
-// "TYPE_NONE" - Do not return the public key.
-// "TYPE_X509_PEM_FILE" - X509 PEM format.
-// "TYPE_RAW_PUBLIC_KEY" - Raw public key.
+//
+// "TYPE_NONE" - Do not return the public key.
+// "TYPE_X509_PEM_FILE" - X509 PEM format.
+// "TYPE_RAW_PUBLIC_KEY" - Raw public key.
func (c *ProjectsServiceAccountsKeysGetCall) PublicKeyType(publicKeyType string) *ProjectsServiceAccountsKeysGetCall {
c.urlParams_.Set("publicKeyType", publicKeyType)
return c
@@ -11362,11 +11369,11 @@ type ProjectsServiceAccountsKeysListCall struct {
// List: Lists every ServiceAccountKey for a service account.
//
-// - name: The resource name of the service account in the following
-// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
-// `-` as a wildcard for the `PROJECT_ID`, will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account in the following
+// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
+// `-` as a wildcard for the `PROJECT_ID`, will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsKeysService) List(name string) *ProjectsServiceAccountsKeysListCall {
c := &ProjectsServiceAccountsKeysListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11379,11 +11386,17 @@ func (r *ProjectsServiceAccountsKeysService) List(name string) *ProjectsServiceA
// returned.
//
// Possible values:
-// "KEY_TYPE_UNSPECIFIED" - Unspecified key type. The presence of this
+//
+// "KEY_TYPE_UNSPECIFIED" - Unspecified key type. The presence of this
+//
// in the message will immediately result in an error.
-// "USER_MANAGED" - User-managed keys (managed and rotated by the
+//
+// "USER_MANAGED" - User-managed keys (managed and rotated by the
+//
// user).
-// "SYSTEM_MANAGED" - System-managed keys (managed and rotated by
+//
+// "SYSTEM_MANAGED" - System-managed keys (managed and rotated by
+//
// Google).
func (c *ProjectsServiceAccountsKeysListCall) KeyTypes(keyTypes ...string) *ProjectsServiceAccountsKeysListCall {
c.urlParams_.SetMulti("keyTypes", append([]string{}, keyTypes...))
@@ -11548,11 +11561,11 @@ type ProjectsServiceAccountsKeysUploadCall struct {
// the public key, you can use the private key from the key pair as a
// service account key.
//
-// - name: The resource name of the service account in the following
-// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
-// `-` as a wildcard for the `PROJECT_ID` will infer the project from
-// the account. The `ACCOUNT` value can be the `email` address or the
-// `unique_id` of the service account.
+// - name: The resource name of the service account in the following
+// format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using
+// `-` as a wildcard for the `PROJECT_ID` will infer the project from
+// the account. The `ACCOUNT` value can be the `email` address or the
+// `unique_id` of the service account.
func (r *ProjectsServiceAccountsKeysService) Upload(name string, uploadserviceaccountkeyrequest *UploadServiceAccountKeyRequest) *ProjectsServiceAccountsKeysUploadCall {
c := &ProjectsServiceAccountsKeysUploadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11694,36 +11707,36 @@ type RolesGetCall struct {
// Get: Gets the definition of a Role.
//
-// - name: The `name` parameter's value depends on the target resource
-// for the request, namely `roles`
-// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
-// `organizations`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
-// Each resource type's `name` value format is described below: *
-// `roles.get()`
-// (https://cloud.google.com/iam/reference/rest/v1/roles/get):
-// `roles/{ROLE_NAME}`. This method returns results from all
-// predefined roles
-// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
-// in Cloud IAM. Example request URL:
-// `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` *
-// `projects.roles.get()`
-// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/get):
-// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns
-// only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the project level. Example request URL:
-// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
-// OLE_ID}` * `organizations.roles.get()`
-// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/get):
-// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
-// method returns only custom roles
-// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
-// have been created at the organization level. Example request URL:
-// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
-// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
-// specify a complete project ID or organization ID.
+// - name: The `name` parameter's value depends on the target resource
+// for the request, namely `roles`
+// (https://cloud.google.com/iam/reference/rest/v1/roles), `projects`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles), or
+// `organizations`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles).
+// Each resource type's `name` value format is described below: *
+// `roles.get()`
+// (https://cloud.google.com/iam/reference/rest/v1/roles/get):
+// `roles/{ROLE_NAME}`. This method returns results from all
+// predefined roles
+// (https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
+// in Cloud IAM. Example request URL:
+// `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` *
+// `projects.roles.get()`
+// (https://cloud.google.com/iam/reference/rest/v1/projects.roles/get):
+// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns
+// only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the project level. Example request URL:
+// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_R
+// OLE_ID}` * `organizations.roles.get()`
+// (https://cloud.google.com/iam/reference/rest/v1/organizations.roles/get):
+// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This
+// method returns only custom roles
+// (https://cloud.google.com/iam/docs/understanding-custom-roles) that
+// have been created at the organization level. Example request URL:
+// `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles
+// /{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must
+// specify a complete project ID or organization ID.
func (r *RolesService) Get(name string) *RolesGetCall {
c := &RolesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11935,9 +11948,12 @@ func (c *RolesListCall) ShowDeleted(showDeleted bool) *RolesListCall {
// return the `includedPermissions` field.
//
// Possible values:
-// "BASIC" - Omits the `included_permissions` field. This is the
+//
+// "BASIC" - Omits the `included_permissions` field. This is the
+//
// default value.
-// "FULL" - Returns all fields.
+//
+// "FULL" - Returns all fields.
func (c *RolesListCall) View(view string) *RolesListCall {
c.urlParams_.Set("view", view)
return c
diff --git a/iam/v2beta/iam-gen.go b/iam/v2beta/iam-gen.go
index da2df320968..5851fb7e0e0 100644
--- a/iam/v2beta/iam-gen.go
+++ b/iam/v2beta/iam-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/iam/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/iam/v2beta"
-// ...
-// ctx := context.Background()
-// iamService, err := iam.NewService(ctx)
+// import "google.golang.org/api/iam/v2beta"
+// ...
+// ctx := context.Background()
+// iamService, err := iam.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// iamService, err := iam.NewService(ctx, option.WithAPIKey("AIza..."))
+// iamService, err := iam.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// iamService, err := iam.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// iamService, err := iam.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package iam // import "google.golang.org/api/iam/v2beta"
@@ -790,16 +790,16 @@ type PoliciesCreatePolicyCall struct {
// CreatePolicy: Creates a policy.
//
-// - parent: The resource that the policy is attached to, along with the
-// kind of policy to create. Format:
-// `policies/{attachment_point}/denypolicies` The attachment point is
-// identified by its URL-encoded full resource name, which means that
-// the forward-slash character, `/`, must be written as `%2F`. For
-// example,
-// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
-// t/denypolicies`. For organizations and folders, use the numeric ID
-// in the full resource name. For projects, you can use the
-// alphanumeric or the numeric ID.
+// - parent: The resource that the policy is attached to, along with the
+// kind of policy to create. Format:
+// `policies/{attachment_point}/denypolicies` The attachment point is
+// identified by its URL-encoded full resource name, which means that
+// the forward-slash character, `/`, must be written as `%2F`. For
+// example,
+// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
+// t/denypolicies`. For organizations and folders, use the numeric ID
+// in the full resource name. For projects, you can use the
+// alphanumeric or the numeric ID.
func (r *PoliciesService) CreatePolicy(parent string, googleiamv2betapolicy *GoogleIamV2betaPolicy) *PoliciesCreatePolicyCall {
c := &PoliciesCreatePolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -955,14 +955,14 @@ type PoliciesDeleteCall struct {
// Delete: Deletes a policy. This action is permanent.
//
-// - name: The resource name of the policy to delete. Format:
-// `policies/{attachment_point}/denypolicies/{policy_id}` Use the
-// URL-encoded full resource name, which means that the forward-slash
-// character, `/`, must be written as `%2F`. For example,
-// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
-// t/denypolicies/my-policy`. For organizations and folders, use the
-// numeric ID in the full resource name. For projects, you can use the
-// alphanumeric or the numeric ID.
+// - name: The resource name of the policy to delete. Format:
+// `policies/{attachment_point}/denypolicies/{policy_id}` Use the
+// URL-encoded full resource name, which means that the forward-slash
+// character, `/`, must be written as `%2F`. For example,
+// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
+// t/denypolicies/my-policy`. For organizations and folders, use the
+// numeric ID in the full resource name. For projects, you can use the
+// alphanumeric or the numeric ID.
func (r *PoliciesService) Delete(name string) *PoliciesDeleteCall {
c := &PoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1110,14 +1110,14 @@ type PoliciesGetCall struct {
// Get: Gets a policy.
//
-// - name: The resource name of the policy to retrieve. Format:
-// `policies/{attachment_point}/denypolicies/{policy_id}` Use the
-// URL-encoded full resource name, which means that the forward-slash
-// character, `/`, must be written as `%2F`. For example,
-// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
-// t/denypolicies/my-policy`. For organizations and folders, use the
-// numeric ID in the full resource name. For projects, you can use the
-// alphanumeric or the numeric ID.
+// - name: The resource name of the policy to retrieve. Format:
+// `policies/{attachment_point}/denypolicies/{policy_id}` Use the
+// URL-encoded full resource name, which means that the forward-slash
+// character, `/`, must be written as `%2F`. For example,
+// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
+// t/denypolicies/my-policy`. For organizations and folders, use the
+// numeric ID in the full resource name. For projects, you can use the
+// alphanumeric or the numeric ID.
func (r *PoliciesService) Get(name string) *PoliciesGetCall {
c := &PoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1265,16 +1265,16 @@ type PoliciesListPoliciesCall struct {
// attached to a resource. The response lists only policy metadata. In
// particular, policy rules are omitted.
//
-// - parent: The resource that the policy is attached to, along with the
-// kind of policy to list. Format:
-// `policies/{attachment_point}/denypolicies` The attachment point is
-// identified by its URL-encoded full resource name, which means that
-// the forward-slash character, `/`, must be written as `%2F`. For
-// example,
-// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
-// t/denypolicies`. For organizations and folders, use the numeric ID
-// in the full resource name. For projects, you can use the
-// alphanumeric or the numeric ID.
+// - parent: The resource that the policy is attached to, along with the
+// kind of policy to list. Format:
+// `policies/{attachment_point}/denypolicies` The attachment point is
+// identified by its URL-encoded full resource name, which means that
+// the forward-slash character, `/`, must be written as `%2F`. For
+// example,
+// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
+// t/denypolicies`. For organizations and folders, use the numeric ID
+// in the full resource name. For projects, you can use the
+// alphanumeric or the numeric ID.
func (r *PoliciesService) ListPolicies(parent string) *PoliciesListPoliciesCall {
c := &PoliciesListPoliciesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1474,17 +1474,17 @@ type PoliciesUpdateCall struct {
// `UpdatePolicy` to write the updated policy. This pattern helps
// prevent conflicts between concurrent updates.
//
-// - name: Immutable. The resource name of the `Policy`, which must be
-// unique. Format:
-// `policies/{attachment_point}/denypolicies/{policy_id}` The
-// attachment point is identified by its URL-encoded full resource
-// name, which means that the forward-slash character, `/`, must be
-// written as `%2F`. For example,
-// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
-// t/denypolicies/my-deny-policy`. For organizations and folders, use
-// the numeric ID in the full resource name. For projects, requests
-// can use the alphanumeric or the numeric ID. Responses always
-// contain the numeric ID.
+// - name: Immutable. The resource name of the `Policy`, which must be
+// unique. Format:
+// `policies/{attachment_point}/denypolicies/{policy_id}` The
+// attachment point is identified by its URL-encoded full resource
+// name, which means that the forward-slash character, `/`, must be
+// written as `%2F`. For example,
+// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-projec
+// t/denypolicies/my-deny-policy`. For organizations and folders, use
+// the numeric ID in the full resource name. For projects, requests
+// can use the alphanumeric or the numeric ID. Responses always
+// contain the numeric ID.
func (r *PoliciesService) Update(name string, googleiamv2betapolicy *GoogleIamV2betaPolicy) *PoliciesUpdateCall {
c := &PoliciesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/iamcredentials/v1/iamcredentials-gen.go b/iamcredentials/v1/iamcredentials-gen.go
index 41642001183..e450fba31cb 100644
--- a/iamcredentials/v1/iamcredentials-gen.go
+++ b/iamcredentials/v1/iamcredentials-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/iamcredentials/v1"
-// ...
-// ctx := context.Background()
-// iamcredentialsService, err := iamcredentials.NewService(ctx)
+// import "google.golang.org/api/iamcredentials/v1"
+// ...
+// ctx := context.Background()
+// iamcredentialsService, err := iamcredentials.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// iamcredentialsService, err := iamcredentials.NewService(ctx, option.WithAPIKey("AIza..."))
+// iamcredentialsService, err := iamcredentials.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// iamcredentialsService, err := iamcredentials.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// iamcredentialsService, err := iamcredentials.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package iamcredentials // import "google.golang.org/api/iamcredentials/v1"
@@ -519,11 +519,11 @@ type ProjectsServiceAccountsGenerateAccessTokenCall struct {
// GenerateAccessToken: Generates an OAuth 2.0 access token for a
// service account.
//
-// - name: The resource name of the service account for which the
-// credentials are requested, in the following format:
-// `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
-// wildcard character is required; replacing it with a project ID is
-// invalid.
+// - name: The resource name of the service account for which the
+// credentials are requested, in the following format:
+// `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
+// wildcard character is required; replacing it with a project ID is
+// invalid.
func (r *ProjectsServiceAccountsService) GenerateAccessToken(name string, generateaccesstokenrequest *GenerateAccessTokenRequest) *ProjectsServiceAccountsGenerateAccessTokenCall {
c := &ProjectsServiceAccountsGenerateAccessTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -666,11 +666,11 @@ type ProjectsServiceAccountsGenerateIdTokenCall struct {
// GenerateIdToken: Generates an OpenID Connect ID token for a service
// account.
//
-// - name: The resource name of the service account for which the
-// credentials are requested, in the following format:
-// `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
-// wildcard character is required; replacing it with a project ID is
-// invalid.
+// - name: The resource name of the service account for which the
+// credentials are requested, in the following format:
+// `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
+// wildcard character is required; replacing it with a project ID is
+// invalid.
func (r *ProjectsServiceAccountsService) GenerateIdToken(name string, generateidtokenrequest *GenerateIdTokenRequest) *ProjectsServiceAccountsGenerateIdTokenCall {
c := &ProjectsServiceAccountsGenerateIdTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -813,11 +813,11 @@ type ProjectsServiceAccountsSignBlobCall struct {
// SignBlob: Signs a blob using a service account's system-managed
// private key.
//
-// - name: The resource name of the service account for which the
-// credentials are requested, in the following format:
-// `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
-// wildcard character is required; replacing it with a project ID is
-// invalid.
+// - name: The resource name of the service account for which the
+// credentials are requested, in the following format:
+// `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
+// wildcard character is required; replacing it with a project ID is
+// invalid.
func (r *ProjectsServiceAccountsService) SignBlob(name string, signblobrequest *SignBlobRequest) *ProjectsServiceAccountsSignBlobCall {
c := &ProjectsServiceAccountsSignBlobCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -960,11 +960,11 @@ type ProjectsServiceAccountsSignJwtCall struct {
// SignJwt: Signs a JWT using a service account's system-managed private
// key.
//
-// - name: The resource name of the service account for which the
-// credentials are requested, in the following format:
-// `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
-// wildcard character is required; replacing it with a project ID is
-// invalid.
+// - name: The resource name of the service account for which the
+// credentials are requested, in the following format:
+// `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
+// wildcard character is required; replacing it with a project ID is
+// invalid.
func (r *ProjectsServiceAccountsService) SignJwt(name string, signjwtrequest *SignJwtRequest) *ProjectsServiceAccountsSignJwtCall {
c := &ProjectsServiceAccountsSignJwtCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/iap/v1/iap-gen.go b/iap/v1/iap-gen.go
index 3fed84ea6e0..fea6b5f6dab 100644
--- a/iap/v1/iap-gen.go
+++ b/iap/v1/iap-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/iap
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/iap/v1"
-// ...
-// ctx := context.Background()
-// iapService, err := iap.NewService(ctx)
+// import "google.golang.org/api/iap/v1"
+// ...
+// ctx := context.Background()
+// iapService, err := iap.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// iapService, err := iap.NewService(ctx, option.WithAPIKey("AIza..."))
+// iapService, err := iap.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// iapService, err := iap.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// iapService, err := iap.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package iap // import "google.golang.org/api/iap/v1"
@@ -1442,8 +1442,8 @@ type ProjectsBrandsCreateCall struct {
// brand does not already exist for the project, and that the specified
// support email is owned by the caller.
//
-// - parent: GCP Project number/id under which the brand is to be
-// created. In the following format: projects/{project_number/id}.
+// - parent: GCP Project number/id under which the brand is to be
+// created. In the following format: projects/{project_number/id}.
func (r *ProjectsBrandsService) Create(parent string, brand *Brand) *ProjectsBrandsCreateCall {
c := &ProjectsBrandsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1585,8 +1585,8 @@ type ProjectsBrandsGetCall struct {
// Get: Retrieves the OAuth brand of the project.
//
-// - name: Name of the brand to be fetched. In the following format:
-// projects/{project_number/id}/brands/{brand}.
+// - name: Name of the brand to be fetched. In the following format:
+// projects/{project_number/id}/brands/{brand}.
func (r *ProjectsBrandsService) Get(name string) *ProjectsBrandsGetCall {
c := &ProjectsBrandsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1732,8 +1732,8 @@ type ProjectsBrandsListCall struct {
// List: Lists the existing brands for the project.
//
-// - parent: GCP Project number/id. In the following format:
-// projects/{project_number/id}.
+// - parent: GCP Project number/id. In the following format:
+// projects/{project_number/id}.
func (r *ProjectsBrandsService) List(parent string) *ProjectsBrandsListCall {
c := &ProjectsBrandsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1881,9 +1881,9 @@ type ProjectsBrandsIdentityAwareProxyClientsCreateCall struct {
// client is owned by IAP. Requires that the brand for the project
// exists and that it is set for internal-only use.
//
-// - parent: Path to create the client in. In the following format:
-// projects/{project_number/id}/brands/{brand}. The project must
-// belong to a G Suite account.
+// - parent: Path to create the client in. In the following format:
+// projects/{project_number/id}/brands/{brand}. The project must
+// belong to a G Suite account.
func (r *ProjectsBrandsIdentityAwareProxyClientsService) Create(parent string, identityawareproxyclient *IdentityAwareProxyClient) *ProjectsBrandsIdentityAwareProxyClientsCreateCall {
c := &ProjectsBrandsIdentityAwareProxyClientsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2027,10 +2027,10 @@ type ProjectsBrandsIdentityAwareProxyClientsDeleteCall struct {
// given project, and cleaning up after tests. Requires that the client
// is owned by IAP.
//
-// - name: Name of the Identity Aware Proxy client to be deleted. In the
-// following format:
-// projects/{project_number/id}/brands/{brand}/identityAwareProxyClient
-// s/{client_id}.
+// - name: Name of the Identity Aware Proxy client to be deleted. In the
+// following format:
+// projects/{project_number/id}/brands/{brand}/identityAwareProxyClient
+// s/{client_id}.
func (r *ProjectsBrandsIdentityAwareProxyClientsService) Delete(name string) *ProjectsBrandsIdentityAwareProxyClientsDeleteCall {
c := &ProjectsBrandsIdentityAwareProxyClientsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2164,10 +2164,10 @@ type ProjectsBrandsIdentityAwareProxyClientsGetCall struct {
// Get: Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires
// that the client is owned by IAP.
//
-// - name: Name of the Identity Aware Proxy client to be fetched. In the
-// following format:
-// projects/{project_number/id}/brands/{brand}/identityAwareProxyClient
-// s/{client_id}.
+// - name: Name of the Identity Aware Proxy client to be fetched. In the
+// following format:
+// projects/{project_number/id}/brands/{brand}/identityAwareProxyClient
+// s/{client_id}.
func (r *ProjectsBrandsIdentityAwareProxyClientsService) Get(name string) *ProjectsBrandsIdentityAwareProxyClientsGetCall {
c := &ProjectsBrandsIdentityAwareProxyClientsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2313,8 +2313,8 @@ type ProjectsBrandsIdentityAwareProxyClientsListCall struct {
// List: Lists the existing clients for the brand.
//
-// - parent: Full brand path. In the following format:
-// projects/{project_number/id}/brands/{brand}.
+// - parent: Full brand path. In the following format:
+// projects/{project_number/id}/brands/{brand}.
func (r *ProjectsBrandsIdentityAwareProxyClientsService) List(parent string) *ProjectsBrandsIdentityAwareProxyClientsListCall {
c := &ProjectsBrandsIdentityAwareProxyClientsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2514,10 +2514,10 @@ type ProjectsBrandsIdentityAwareProxyClientsResetSecretCall struct {
// secret. Useful if the secret was compromised. Requires that the
// client is owned by IAP.
//
-// - name: Name of the Identity Aware Proxy client to that will have its
-// secret reset. In the following format:
-// projects/{project_number/id}/brands/{brand}/identityAwareProxyClient
-// s/{client_id}.
+// - name: Name of the Identity Aware Proxy client to that will have its
+// secret reset. In the following format:
+// projects/{project_number/id}/brands/{brand}/identityAwareProxyClient
+// s/{client_id}.
func (r *ProjectsBrandsIdentityAwareProxyClientsService) ResetSecret(name string, resetidentityawareproxyclientsecretrequest *ResetIdentityAwareProxyClientSecretRequest) *ProjectsBrandsIdentityAwareProxyClientsResetSecretCall {
c := &ProjectsBrandsIdentityAwareProxyClientsResetSecretCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2659,9 +2659,9 @@ type ProjectsIapTunnelLocationsDestGroupsCreateCall struct {
// Create: Creates a new TunnelDestGroup.
//
-// - parent: Google Cloud Project ID and location. In the following
-// format:
-// `projects/{project_number/id}/iap_tunnel/locations/{location}`.
+// - parent: Google Cloud Project ID and location. In the following
+// format:
+// `projects/{project_number/id}/iap_tunnel/locations/{location}`.
func (r *ProjectsIapTunnelLocationsDestGroupsService) Create(parent string, tunneldestgroup *TunnelDestGroup) *ProjectsIapTunnelLocationsDestGroupsCreateCall {
c := &ProjectsIapTunnelLocationsDestGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2816,10 +2816,10 @@ type ProjectsIapTunnelLocationsDestGroupsDeleteCall struct {
// Delete: Deletes a TunnelDestGroup.
//
-// - name: Name of the TunnelDestGroup to delete. In the following
-// format:
-// `projects/{project_number/id}/iap_tunnel/locations/{location}/destGr
-// oups/{dest_group}`.
+// - name: Name of the TunnelDestGroup to delete. In the following
+// format:
+// `projects/{project_number/id}/iap_tunnel/locations/{location}/destGr
+// oups/{dest_group}`.
func (r *ProjectsIapTunnelLocationsDestGroupsService) Delete(name string) *ProjectsIapTunnelLocationsDestGroupsDeleteCall {
c := &ProjectsIapTunnelLocationsDestGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2952,10 +2952,10 @@ type ProjectsIapTunnelLocationsDestGroupsGetCall struct {
// Get: Retrieves an existing TunnelDestGroup.
//
-// - name: Name of the TunnelDestGroup to be fetched. In the following
-// format:
-// `projects/{project_number/id}/iap_tunnel/locations/{location}/destGr
-// oups/{dest_group}`.
+// - name: Name of the TunnelDestGroup to be fetched. In the following
+// format:
+// `projects/{project_number/id}/iap_tunnel/locations/{location}/destGr
+// oups/{dest_group}`.
func (r *ProjectsIapTunnelLocationsDestGroupsService) Get(name string) *ProjectsIapTunnelLocationsDestGroupsGetCall {
c := &ProjectsIapTunnelLocationsDestGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3103,10 +3103,10 @@ type ProjectsIapTunnelLocationsDestGroupsListCall struct {
// locations, use a `-` as the location ID. For example:
// `/v1/projects/123/iap_tunnel/locations/-/destGroups`
//
-// - parent: Google Cloud Project ID and location. In the following
-// format:
-// `projects/{project_number/id}/iap_tunnel/locations/{location}`. A
-// `-` can be used for the location to group across all locations.
+// - parent: Google Cloud Project ID and location. In the following
+// format:
+// `projects/{project_number/id}/iap_tunnel/locations/{location}`. A
+// `-` can be used for the location to group across all locations.
func (r *ProjectsIapTunnelLocationsDestGroupsService) List(parent string) *ProjectsIapTunnelLocationsDestGroupsListCall {
c := &ProjectsIapTunnelLocationsDestGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3303,9 +3303,9 @@ type ProjectsIapTunnelLocationsDestGroupsPatchCall struct {
// Patch: Updates a TunnelDestGroup.
//
-// - name: Immutable. Identifier for the TunnelDestGroup. Must be unique
-// within the project and contain only lower case letters (a-z) and
-// dashes (-).
+// - name: Immutable. Identifier for the TunnelDestGroup. Must be unique
+// within the project and contain only lower case letters (a-z) and
+// dashes (-).
func (r *ProjectsIapTunnelLocationsDestGroupsService) Patch(name string, tunneldestgroup *TunnelDestGroup) *ProjectsIapTunnelLocationsDestGroupsPatchCall {
c := &ProjectsIapTunnelLocationsDestGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3465,10 +3465,10 @@ type V1GetIamPolicyCall struct {
// IAP can be found at:
// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *V1Service) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *V1GetIamPolicyCall {
c := &V1GetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3611,9 +3611,9 @@ type V1GetIapSettingsCall struct {
// GetIapSettings: Gets the IAP settings on a particular IAP protected
// resource.
//
-// - name: The resource name for which to retrieve the settings.
-// Authorization: Requires the `getSettings` permission for the
-// associated resource.
+// - name: The resource name for which to retrieve the settings.
+// Authorization: Requires the `getSettings` permission for the
+// associated resource.
func (r *V1Service) GetIapSettings(name string) *V1GetIapSettingsCall {
c := &V1GetIapSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3762,10 +3762,10 @@ type V1SetIamPolicyCall struct {
// information about managing access via IAP can be found at:
// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *V1Service) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *V1SetIamPolicyCall {
c := &V1SetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3910,10 +3910,10 @@ type V1TestIamPermissionsCall struct {
// managing access via IAP can be found at:
// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *V1Service) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *V1TestIamPermissionsCall {
c := &V1TestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/iap/v1beta1/iap-gen.go b/iap/v1beta1/iap-gen.go
index f5c0fa02aef..ba369fb57db 100644
--- a/iap/v1beta1/iap-gen.go
+++ b/iap/v1beta1/iap-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/iap
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/iap/v1beta1"
-// ...
-// ctx := context.Background()
-// iapService, err := iap.NewService(ctx)
+// import "google.golang.org/api/iap/v1beta1"
+// ...
+// ctx := context.Background()
+// iapService, err := iap.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// iapService, err := iap.NewService(ctx, option.WithAPIKey("AIza..."))
+// iapService, err := iap.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// iapService, err := iap.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// iapService, err := iap.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package iap // import "google.golang.org/api/iap/v1beta1"
@@ -568,10 +568,10 @@ type V1beta1GetIamPolicyCall struct {
// IAP can be found at:
// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *V1beta1Service) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *V1beta1GetIamPolicyCall {
c := &V1beta1GetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -716,10 +716,10 @@ type V1beta1SetIamPolicyCall struct {
// information about managing access via IAP can be found at:
// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *V1beta1Service) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *V1beta1SetIamPolicyCall {
c := &V1beta1SetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -866,10 +866,10 @@ type V1beta1TestIamPermissionsCall struct {
// information about managing access via IAP can be found at:
// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *V1beta1Service) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *V1beta1TestIamPermissionsCall {
c := &V1beta1TestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/ideahub/v1alpha/ideahub-gen.go b/ideahub/v1alpha/ideahub-gen.go
index 5b08166663a..e80da02c1aa 100644
--- a/ideahub/v1alpha/ideahub-gen.go
+++ b/ideahub/v1alpha/ideahub-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://console.cloud.google.com/apis/library/ideahub.googleapis.com
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/ideahub/v1alpha"
-// ...
-// ctx := context.Background()
-// ideahubService, err := ideahub.NewService(ctx)
+// import "google.golang.org/api/ideahub/v1alpha"
+// ...
+// ctx := context.Background()
+// ideahubService, err := ideahub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// ideahubService, err := ideahub.NewService(ctx, option.WithAPIKey("AIza..."))
+// ideahubService, err := ideahub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// ideahubService, err := ideahub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// ideahubService, err := ideahub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package ideahub // import "google.golang.org/api/ideahub/v1alpha"
@@ -771,8 +771,8 @@ type PlatformsPropertiesIdeaActivitiesCreateCall struct {
// Create: Creates an idea activity entry.
//
-// - parent: The parent resource where this idea activity will be
-// created. Format: platforms/{platform}/property/{property}.
+// - parent: The parent resource where this idea activity will be
+// created. Format: platforms/{platform}/property/{property}.
func (r *PlatformsPropertiesIdeaActivitiesService) Create(parent string, googlesearchideahubv1alphaideaactivity *GoogleSearchIdeahubV1alphaIdeaActivity) *PlatformsPropertiesIdeaActivitiesCreateCall {
c := &PlatformsPropertiesIdeaActivitiesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -912,8 +912,8 @@ type PlatformsPropertiesIdeaStatesPatchCall struct {
// Patch: Update an idea state resource.
//
-// - name: Unique identifier for the idea state. Format:
-// platforms/{platform}/properties/{property}/ideaStates/{idea_state}.
+// - name: Unique identifier for the idea state. Format:
+// platforms/{platform}/properties/{property}/ideaStates/{idea_state}.
func (r *PlatformsPropertiesIdeaStatesService) Patch(nameid string, googlesearchideahubv1alphaideastate *GoogleSearchIdeahubV1alphaIdeaState) *PlatformsPropertiesIdeaStatesPatchCall {
c := &PlatformsPropertiesIdeaStatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -1066,8 +1066,8 @@ type PlatformsPropertiesIdeasListCall struct {
// List: List ideas for a given Creator and filter and sort options.
//
-// - parent: If defined, specifies the creator for which to filter by.
-// Format: publishers/{publisher}/properties/{property}.
+// - parent: If defined, specifies the creator for which to filter by.
+// Format: publishers/{publisher}/properties/{property}.
func (r *PlatformsPropertiesIdeasService) List(parent string) *PlatformsPropertiesIdeasListCall {
c := &PlatformsPropertiesIdeasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1293,8 +1293,8 @@ type PlatformsPropertiesLocalesListCall struct {
// List: Returns which locales ideas are available in for a given
// Creator.
//
-// - parent: The web property to check idea availability for Format:
-// platforms/{platform}/property/{property}.
+// - parent: The web property to check idea availability for Format:
+// platforms/{platform}/property/{property}.
func (r *PlatformsPropertiesLocalesService) List(parent string) *PlatformsPropertiesLocalesListCall {
c := &PlatformsPropertiesLocalesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1491,8 +1491,8 @@ type PlatformsPropertiesTopicStatesPatchCall struct {
// Patch: Update a topic state resource.
//
-// - name: Unique identifier for the topic state. Format:
-// platforms/{platform}/properties/{property}/topicStates/{topic_state}.
+// - name: Unique identifier for the topic state. Format:
+// platforms/{platform}/properties/{property}/topicStates/{topic_state}.
func (r *PlatformsPropertiesTopicStatesService) Patch(nameid string, googlesearchideahubv1alphatopicstate *GoogleSearchIdeahubV1alphaTopicState) *PlatformsPropertiesTopicStatesPatchCall {
c := &PlatformsPropertiesTopicStatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
diff --git a/ideahub/v1beta/ideahub-gen.go b/ideahub/v1beta/ideahub-gen.go
index 74ded21e363..de2d36c5f8d 100644
--- a/ideahub/v1beta/ideahub-gen.go
+++ b/ideahub/v1beta/ideahub-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://console.cloud.google.com/apis/library/ideahub.googleapis.com
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/ideahub/v1beta"
-// ...
-// ctx := context.Background()
-// ideahubService, err := ideahub.NewService(ctx)
+// import "google.golang.org/api/ideahub/v1beta"
+// ...
+// ctx := context.Background()
+// ideahubService, err := ideahub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// ideahubService, err := ideahub.NewService(ctx, option.WithAPIKey("AIza..."))
+// ideahubService, err := ideahub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// ideahubService, err := ideahub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// ideahubService, err := ideahub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package ideahub // import "google.golang.org/api/ideahub/v1beta"
@@ -537,8 +537,8 @@ type PlatformsPropertiesIdeaActivitiesCreateCall struct {
// Create: Creates an idea activity entry.
//
-// - parent: The parent resource where this idea activity will be
-// created. Format: platforms/{platform}/property/{property}.
+// - parent: The parent resource where this idea activity will be
+// created. Format: platforms/{platform}/property/{property}.
func (r *PlatformsPropertiesIdeaActivitiesService) Create(parent string, googlesearchideahubv1betaideaactivity *GoogleSearchIdeahubV1betaIdeaActivity) *PlatformsPropertiesIdeaActivitiesCreateCall {
c := &PlatformsPropertiesIdeaActivitiesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -678,8 +678,8 @@ type PlatformsPropertiesIdeaStatesPatchCall struct {
// Patch: Update an idea state resource.
//
-// - name: Unique identifier for the idea state. Format:
-// platforms/{platform}/properties/{property}/ideaStates/{idea_state}.
+// - name: Unique identifier for the idea state. Format:
+// platforms/{platform}/properties/{property}/ideaStates/{idea_state}.
func (r *PlatformsPropertiesIdeaStatesService) Patch(nameid string, googlesearchideahubv1betaideastate *GoogleSearchIdeahubV1betaIdeaState) *PlatformsPropertiesIdeaStatesPatchCall {
c := &PlatformsPropertiesIdeaStatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -832,8 +832,8 @@ type PlatformsPropertiesIdeasListCall struct {
// List: List ideas for a given Creator and filter and sort options.
//
-// - parent: If defined, specifies the creator for which to filter by.
-// Format: publishers/{publisher}/properties/{property}.
+// - parent: If defined, specifies the creator for which to filter by.
+// Format: publishers/{publisher}/properties/{property}.
func (r *PlatformsPropertiesIdeasService) List(parent string) *PlatformsPropertiesIdeasListCall {
c := &PlatformsPropertiesIdeasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1059,8 +1059,8 @@ type PlatformsPropertiesLocalesListCall struct {
// List: Returns which locales ideas are available in for a given
// Creator.
//
-// - parent: The web property to check idea availability for Format:
-// platforms/{platform}/property/{property}.
+// - parent: The web property to check idea availability for Format:
+// platforms/{platform}/property/{property}.
func (r *PlatformsPropertiesLocalesService) List(parent string) *PlatformsPropertiesLocalesListCall {
c := &PlatformsPropertiesLocalesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1256,8 +1256,8 @@ type PlatformsPropertiesTopicStatesPatchCall struct {
// Patch: Update a topic state resource.
//
-// - name: Unique identifier for the topic state. Format:
-// platforms/{platform}/properties/{property}/topicStates/{topic_state}.
+// - name: Unique identifier for the topic state. Format:
+// platforms/{platform}/properties/{property}/topicStates/{topic_state}.
func (r *PlatformsPropertiesTopicStatesService) Patch(nameid string, googlesearchideahubv1betatopicstate *GoogleSearchIdeahubV1betaTopicState) *PlatformsPropertiesTopicStatesPatchCall {
c := &PlatformsPropertiesTopicStatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
diff --git a/identitytoolkit/v3/identitytoolkit-gen.go b/identitytoolkit/v3/identitytoolkit-gen.go
index 516a79f5a11..70559f9bfb4 100644
--- a/identitytoolkit/v3/identitytoolkit-gen.go
+++ b/identitytoolkit/v3/identitytoolkit-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/identity-toolkit/v3/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/identitytoolkit/v3"
-// ...
-// ctx := context.Background()
-// identitytoolkitService, err := identitytoolkit.NewService(ctx)
+// import "google.golang.org/api/identitytoolkit/v3"
+// ...
+// ctx := context.Background()
+// identitytoolkitService, err := identitytoolkit.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithScopes(identitytoolkit.FirebaseScope))
+// identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithScopes(identitytoolkit.FirebaseScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithAPIKey("AIza..."))
+// identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// identitytoolkitService, err := identitytoolkit.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package identitytoolkit // import "google.golang.org/api/identitytoolkit/v3"
diff --git a/ids/v1/ids-gen.go b/ids/v1/ids-gen.go
index 6e1c10b63fd..456a5bd8862 100644
--- a/ids/v1/ids-gen.go
+++ b/ids/v1/ids-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/ids/v1"
-// ...
-// ctx := context.Background()
-// idsService, err := ids.NewService(ctx)
+// import "google.golang.org/api/ids/v1"
+// ...
+// ctx := context.Background()
+// idsService, err := ids.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// idsService, err := ids.NewService(ctx, option.WithAPIKey("AIza..."))
+// idsService, err := ids.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// idsService, err := ids.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// idsService, err := ids.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package ids // import "google.golang.org/api/ids/v1"
@@ -1203,8 +1203,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1747,8 +1747,8 @@ type ProjectsLocationsEndpointsGetCall struct {
// Get: Gets details of a single Endpoint.
//
-// - name: The name of the endpoint to retrieve. Format:
-// projects/{project}/locations/{location}/endpoints/{endpoint}.
+// - name: The name of the endpoint to retrieve. Format:
+// projects/{project}/locations/{location}/endpoints/{endpoint}.
func (r *ProjectsLocationsEndpointsService) Get(name string) *ProjectsLocationsEndpointsGetCall {
c := &ProjectsLocationsEndpointsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1896,10 +1896,10 @@ type ProjectsLocationsEndpointsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEndpointsService) GetIamPolicy(resource string) *ProjectsLocationsEndpointsGetIamPolicyCall {
c := &ProjectsLocationsEndpointsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2291,10 +2291,10 @@ type ProjectsLocationsEndpointsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEndpointsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEndpointsSetIamPolicyCall {
c := &ProjectsLocationsEndpointsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2441,10 +2441,10 @@ type ProjectsLocationsEndpointsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEndpointsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEndpointsTestIamPermissionsCall {
c := &ProjectsLocationsEndpointsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/impersonate/doc.go b/impersonate/doc.go
index 71c52071450..155ef70e15a 100644
--- a/impersonate/doc.go
+++ b/impersonate/doc.go
@@ -4,7 +4,7 @@
// Package impersonate is used to impersonate Google Credentials.
//
-// Required IAM roles
+// # Required IAM roles
//
// In order to impersonate a service account the base service account must have
// the Service Account Token Creator role, roles/iam.serviceAccountTokenCreator,
@@ -20,10 +20,10 @@
// service account SA2 while using delegate service accounts DSA1 and DSA2,
// the following must be true:
//
-// 1. Base service account SA1 has roles/iam.serviceAccountTokenCreator on
-// DSA1.
-// 2. DSA1 has roles/iam.serviceAccountTokenCreator on DSA2.
-// 3. DSA2 has roles/iam.serviceAccountTokenCreator on target SA2.
+// 1. Base service account SA1 has roles/iam.serviceAccountTokenCreator on
+// DSA1.
+// 2. DSA1 has roles/iam.serviceAccountTokenCreator on DSA2.
+// 3. DSA2 has roles/iam.serviceAccountTokenCreator on target SA2.
//
// If the base credential is an authorized user and not a service account, or if
// the option WithQuotaProject is set, the target service account must have a
diff --git a/indexing/v3/indexing-gen.go b/indexing/v3/indexing-gen.go
index df8899706d4..25e4f495523 100644
--- a/indexing/v3/indexing-gen.go
+++ b/indexing/v3/indexing-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/search/apis/indexing-api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/indexing/v3"
-// ...
-// ctx := context.Background()
-// indexingService, err := indexing.NewService(ctx)
+// import "google.golang.org/api/indexing/v3"
+// ...
+// ctx := context.Background()
+// indexingService, err := indexing.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// indexingService, err := indexing.NewService(ctx, option.WithAPIKey("AIza..."))
+// indexingService, err := indexing.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// indexingService, err := indexing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// indexingService, err := indexing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package indexing // import "google.golang.org/api/indexing/v3"
diff --git a/internal/creds.go b/internal/creds.go
index b067a179b7a..32d52413b30 100644
--- a/internal/creds.go
+++ b/internal/creds.go
@@ -70,11 +70,12 @@ const (
//
// - A self-signed JWT flow will be executed if the following conditions are
// met:
-// (1) At least one of the following is true:
-// (a) No scope is provided
-// (b) Scope for self-signed JWT flow is enabled
-// (c) Audiences are explicitly provided by users
-// (2) No service account impersontation
+//
+// (1) At least one of the following is true:
+// (a) No scope is provided
+// (b) Scope for self-signed JWT flow is enabled
+// (c) Audiences are explicitly provided by users
+// (2) No service account impersontation
//
// - Otherwise, executes standard OAuth 2.0 flow
// More details: google.aip.dev/auth/4111
diff --git a/internal/gensupport/json.go b/internal/gensupport/json.go
index c01e32189f4..1b770464110 100644
--- a/internal/gensupport/json.go
+++ b/internal/gensupport/json.go
@@ -13,9 +13,10 @@ import (
// MarshalJSON returns a JSON encoding of schema containing only selected fields.
// A field is selected if any of the following is true:
-// * it has a non-empty value
-// * its field name is present in forceSendFields and it is not a nil pointer or nil interface
-// * its field name is present in nullFields.
+// - it has a non-empty value
+// - its field name is present in forceSendFields and it is not a nil pointer or nil interface
+// - its field name is present in nullFields.
+//
// The JSON key for each selected field is taken from the field's json: struct tag.
func MarshalJSON(schema interface{}, forceSendFields, nullFields []string) ([]byte, error) {
if len(forceSendFields) == 0 && len(nullFields) == 0 {
diff --git a/internal/gensupport/params.go b/internal/gensupport/params.go
index 6703721ffde..1a30d2ca252 100644
--- a/internal/gensupport/params.go
+++ b/internal/gensupport/params.go
@@ -37,7 +37,7 @@ func (u URLParams) SetMulti(key string, values []string) {
u[key] = values
}
-// Encode encodes the values into ``URL encoded'' form
+// Encode encodes the values into “URL encoded” form
// ("bar=baz&foo=quux") sorted by key.
func (u URLParams) Encode() string {
return url.Values(u).Encode()
diff --git a/iterator/testing/testing.go b/iterator/testing/testing.go
index 2ad053adc36..55b8d99027c 100644
--- a/iterator/testing/testing.go
+++ b/iterator/testing/testing.go
@@ -24,18 +24,22 @@ import (
//
// The create function should create and return a new iterator.
// It will typically look like
-// func() interface{} { return client.Items(ctx) }
+//
+// func() interface{} { return client.Items(ctx) }
//
// The next function takes the return value of create and should return the
// result of calling Next on the iterator. It can usually be defined as
-// func(it interface{}) (interface{}, error) { return it.(*ItemIterator).Next() }
+//
+// func(it interface{}) (interface{}, error) { return it.(*ItemIterator).Next() }
//
// TestIterator checks that the iterator returns all the elements of want
// in order, followed by (zero, done). It also confirms that subsequent calls
// to next also return (zero, done).
//
// If the iterator implements the method
-// PageInfo() *iterator.PageInfo
+//
+// PageInfo() *iterator.PageInfo
+//
// then exact pagination with iterator.Pager is also tested. Pagination testing
// will be more informative if the want slice contains at least three elements.
//
diff --git a/jobs/v2/jobs-gen.go b/jobs/v2/jobs-gen.go
index f3492ae3c0d..157df08619e 100644
--- a/jobs/v2/jobs-gen.go
+++ b/jobs/v2/jobs-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/talent-solution/job-search/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/jobs/v2"
-// ...
-// ctx := context.Background()
-// jobsService, err := jobs.NewService(ctx)
+// import "google.golang.org/api/jobs/v2"
+// ...
+// ctx := context.Background()
+// jobsService, err := jobs.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// jobsService, err := jobs.NewService(ctx, option.WithScopes(jobs.JobsScope))
+// jobsService, err := jobs.NewService(ctx, option.WithScopes(jobs.JobsScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// jobsService, err := jobs.NewService(ctx, option.WithAPIKey("AIza..."))
+// jobsService, err := jobs.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// jobsService, err := jobs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// jobsService, err := jobs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package jobs // import "google.golang.org/api/jobs/v2"
@@ -7998,10 +7998,14 @@ func (c *V2CompleteCall) Query(query string) *V2CompleteCall {
// completion. The defaults is CompletionScope.PUBLIC.
//
// Possible values:
-// "COMPLETION_SCOPE_UNSPECIFIED" - Default value.
-// "TENANT" - Suggestions are based only on the data provided by the
+//
+// "COMPLETION_SCOPE_UNSPECIFIED" - Default value.
+// "TENANT" - Suggestions are based only on the data provided by the
+//
// client.
-// "PUBLIC" - Suggestions are based on all jobs data in the system
+//
+// "PUBLIC" - Suggestions are based on all jobs data in the system
+//
// that's visible to the client
func (c *V2CompleteCall) Scope(scope string) *V2CompleteCall {
c.urlParams_.Set("scope", scope)
@@ -8012,10 +8016,11 @@ func (c *V2CompleteCall) Scope(scope string) *V2CompleteCall {
// default is CompletionType.COMBINED.
//
// Possible values:
-// "COMPLETION_TYPE_UNSPECIFIED" - Default value.
-// "JOB_TITLE" - Only suggest job titles.
-// "COMPANY_NAME" - Only suggest company names.
-// "COMBINED" - Suggest both job titles and company names.
+//
+// "COMPLETION_TYPE_UNSPECIFIED" - Default value.
+// "JOB_TITLE" - Only suggest job titles.
+// "COMPANY_NAME" - Only suggest company names.
+// "COMBINED" - Suggest both job titles and company names.
func (c *V2CompleteCall) Type(type_ string) *V2CompleteCall {
c.urlParams_.Set("type", type_)
return c
diff --git a/jobs/v3/jobs-gen.go b/jobs/v3/jobs-gen.go
index f4445152c75..ce57233cb9e 100644
--- a/jobs/v3/jobs-gen.go
+++ b/jobs/v3/jobs-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/talent-solution/job-search/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/jobs/v3"
-// ...
-// ctx := context.Background()
-// jobsService, err := jobs.NewService(ctx)
+// import "google.golang.org/api/jobs/v3"
+// ...
+// ctx := context.Background()
+// jobsService, err := jobs.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// jobsService, err := jobs.NewService(ctx, option.WithScopes(jobs.JobsScope))
+// jobsService, err := jobs.NewService(ctx, option.WithScopes(jobs.JobsScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// jobsService, err := jobs.NewService(ctx, option.WithAPIKey("AIza..."))
+// jobsService, err := jobs.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// jobsService, err := jobs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// jobsService, err := jobs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package jobs // import "google.golang.org/api/jobs/v3"
@@ -3701,9 +3701,9 @@ type ProjectsCompleteCall struct {
// Complete: Completes the specified prefix with keyword suggestions.
// Intended for use by a job search auto-complete search box.
//
-// - name: Resource name of project the completion is performed within.
-// The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - name: Resource name of project the completion is performed within.
+// The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsService) Complete(name string) *ProjectsCompleteCall {
c := &ProjectsCompleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3770,10 +3770,14 @@ func (c *ProjectsCompleteCall) Query(query string) *ProjectsCompleteCall {
// completion. The defaults is CompletionScope.PUBLIC.
//
// Possible values:
-// "COMPLETION_SCOPE_UNSPECIFIED" - Default value.
-// "TENANT" - Suggestions are based only on the data provided by the
+//
+// "COMPLETION_SCOPE_UNSPECIFIED" - Default value.
+// "TENANT" - Suggestions are based only on the data provided by the
+//
// client.
-// "PUBLIC" - Suggestions are based on all jobs data in the system
+//
+// "PUBLIC" - Suggestions are based on all jobs data in the system
+//
// that's visible to the client
func (c *ProjectsCompleteCall) Scope(scope string) *ProjectsCompleteCall {
c.urlParams_.Set("scope", scope)
@@ -3784,10 +3788,11 @@ func (c *ProjectsCompleteCall) Scope(scope string) *ProjectsCompleteCall {
// default is CompletionType.COMBINED.
//
// Possible values:
-// "COMPLETION_TYPE_UNSPECIFIED" - Default value.
-// "JOB_TITLE" - Only suggest job titles.
-// "COMPANY_NAME" - Only suggest company names.
-// "COMBINED" - Suggest both job titles and company names.
+//
+// "COMPLETION_TYPE_UNSPECIFIED" - Default value.
+// "JOB_TITLE" - Only suggest job titles.
+// "COMPANY_NAME" - Only suggest company names.
+// "COMBINED" - Suggest both job titles and company names.
func (c *ProjectsCompleteCall) Type(type_ string) *ProjectsCompleteCall {
c.urlParams_.Set("type", type_)
return c
@@ -4140,9 +4145,9 @@ type ProjectsCompaniesCreateCall struct {
// Create: Creates a new company entity.
//
-// - parent: Resource name of the project under which the company is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: Resource name of the project under which the company is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsCompaniesService) Create(parent string, createcompanyrequest *CreateCompanyRequest) *ProjectsCompaniesCreateCall {
c := &ProjectsCompaniesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4285,9 +4290,9 @@ type ProjectsCompaniesDeleteCall struct {
// Delete: Deletes specified company. Prerequisite: The company has no
// jobs associated with it.
//
-// - name: The resource name of the company to be deleted. The format is
-// "projects/{project_id}/companies/{company_id}", for example,
-// "projects/api-test-project/companies/foo".
+// - name: The resource name of the company to be deleted. The format is
+// "projects/{project_id}/companies/{company_id}", for example,
+// "projects/api-test-project/companies/foo".
func (r *ProjectsCompaniesService) Delete(name string) *ProjectsCompaniesDeleteCall {
c := &ProjectsCompaniesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4421,9 +4426,9 @@ type ProjectsCompaniesGetCall struct {
// Get: Retrieves specified company.
//
-// - name: The resource name of the company to be retrieved. The format
-// is "projects/{project_id}/companies/{company_id}", for example,
-// "projects/api-test-project/companies/foo".
+// - name: The resource name of the company to be retrieved. The format
+// is "projects/{project_id}/companies/{company_id}", for example,
+// "projects/api-test-project/companies/foo".
func (r *ProjectsCompaniesService) Get(name string) *ProjectsCompaniesGetCall {
c := &ProjectsCompaniesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4570,9 +4575,9 @@ type ProjectsCompaniesListCall struct {
// List: Lists all companies associated with the service account.
//
-// - parent: Resource name of the project under which the company is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: Resource name of the project under which the company is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsCompaniesService) List(parent string) *ProjectsCompaniesListCall {
c := &ProjectsCompaniesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4782,11 +4787,11 @@ type ProjectsCompaniesPatchCall struct {
// update a company name, delete the company and all jobs associated
// with it, and only then re-create them.
//
-// - name: Required during company update. The resource name for a
-// company. This is generated by the service when a company is
-// created. The format is
-// "projects/{project_id}/companies/{company_id}", for example,
-// "projects/api-test-project/companies/foo".
+// - name: Required during company update. The resource name for a
+// company. This is generated by the service when a company is
+// created. The format is
+// "projects/{project_id}/companies/{company_id}", for example,
+// "projects/api-test-project/companies/foo".
func (r *ProjectsCompaniesService) Patch(name string, updatecompanyrequest *UpdateCompanyRequest) *ProjectsCompaniesPatchCall {
c := &ProjectsCompaniesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4929,9 +4934,9 @@ type ProjectsJobsBatchDeleteCall struct {
// BatchDelete: Deletes a list of Jobs by filter.
//
-// - parent: The resource name of the project under which the job is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project under which the job is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) BatchDelete(parent string, batchdeletejobsrequest *BatchDeleteJobsRequest) *ProjectsJobsBatchDeleteCall {
c := &ProjectsJobsBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5075,9 +5080,9 @@ type ProjectsJobsCreateCall struct {
// Create: Creates a new job. Typically, the job becomes searchable
// within 10 seconds, but it may take up to 5 minutes.
//
-// - parent: The resource name of the project under which the job is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project under which the job is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) Create(parent string, createjobrequest *CreateJobRequest) *ProjectsJobsCreateCall {
c := &ProjectsJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5220,9 +5225,9 @@ type ProjectsJobsDeleteCall struct {
// Delete: Deletes the specified job. Typically, the job becomes
// unsearchable within 10 seconds, but it may take up to 5 minutes.
//
-// - name: The resource name of the job to be deleted. The format is
-// "projects/{project_id}/jobs/{job_id}", for example,
-// "projects/api-test-project/jobs/1234".
+// - name: The resource name of the job to be deleted. The format is
+// "projects/{project_id}/jobs/{job_id}", for example,
+// "projects/api-test-project/jobs/1234".
func (r *ProjectsJobsService) Delete(name string) *ProjectsJobsDeleteCall {
c := &ProjectsJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5357,9 +5362,9 @@ type ProjectsJobsGetCall struct {
// Get: Retrieves the specified job, whose status is OPEN or recently
// EXPIRED within the last 90 days.
//
-// - name: The resource name of the job to retrieve. The format is
-// "projects/{project_id}/jobs/{job_id}", for example,
-// "projects/api-test-project/jobs/1234".
+// - name: The resource name of the job to retrieve. The format is
+// "projects/{project_id}/jobs/{job_id}", for example,
+// "projects/api-test-project/jobs/1234".
func (r *ProjectsJobsService) Get(name string) *ProjectsJobsGetCall {
c := &ProjectsJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5506,9 +5511,9 @@ type ProjectsJobsListCall struct {
// List: Lists jobs by filter.
//
-// - parent: The resource name of the project under which the job is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project under which the job is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) List(parent string) *ProjectsJobsListCall {
c := &ProjectsJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5537,17 +5542,25 @@ func (c *ProjectsJobsListCall) Filter(filter string) *ProjectsJobsListCall {
// JobView.JOB_VIEW_FULL if no value is specified.
//
// Possible values:
-// "JOB_VIEW_UNSPECIFIED" - Default value.
-// "JOB_VIEW_ID_ONLY" - A ID only view of job, with following
+//
+// "JOB_VIEW_UNSPECIFIED" - Default value.
+// "JOB_VIEW_ID_ONLY" - A ID only view of job, with following
+//
// attributes: Job.name, Job.requisition_id, Job.language_code.
-// "JOB_VIEW_MINIMAL" - A minimal view of the job, with the following
+//
+// "JOB_VIEW_MINIMAL" - A minimal view of the job, with the following
+//
// attributes: Job.name, Job.requisition_id, Job.title,
// Job.company_name, Job.DerivedInfo.locations, Job.language_code.
-// "JOB_VIEW_SMALL" - A small view of the job, with the following
+//
+// "JOB_VIEW_SMALL" - A small view of the job, with the following
+//
// attributes in the search results: Job.name, Job.requisition_id,
// Job.title, Job.company_name, Job.DerivedInfo.locations,
// Job.visibility, Job.language_code, Job.description.
-// "JOB_VIEW_FULL" - All available attributes are included in the
+//
+// "JOB_VIEW_FULL" - All available attributes are included in the
+//
// search results.
func (c *ProjectsJobsListCall) JobView(jobView string) *ProjectsJobsListCall {
c.urlParams_.Set("jobView", jobView)
@@ -5769,12 +5782,12 @@ type ProjectsJobsPatchCall struct {
// visible in search results within 10 seconds, but it may take up to 5
// minutes.
//
-// - name: Required during job update. The resource name for the job.
-// This is generated by the service when a job is created. The format
-// is "projects/{project_id}/jobs/{job_id}", for example,
-// "projects/api-test-project/jobs/1234". Use of this field in job
-// queries and API calls is preferred over the use of requisition_id
-// since this value is unique.
+// - name: Required during job update. The resource name for the job.
+// This is generated by the service when a job is created. The format
+// is "projects/{project_id}/jobs/{job_id}", for example,
+// "projects/api-test-project/jobs/1234". Use of this field in job
+// queries and API calls is preferred over the use of requisition_id
+// since this value is unique.
func (r *ProjectsJobsService) Patch(name string, updatejobrequest *UpdateJobRequest) *ProjectsJobsPatchCall {
c := &ProjectsJobsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5919,9 +5932,9 @@ type ProjectsJobsSearchCall struct {
// call constrains the visibility of jobs present in the database, and
// only returns jobs that the caller has permission to search against.
//
-// - parent: The resource name of the project to search within. The
-// format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project to search within. The
+// format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) Search(parent string, searchjobsrequest *SearchJobsRequest) *ProjectsJobsSearchCall {
c := &ProjectsJobsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6092,9 +6105,9 @@ type ProjectsJobsSearchForAlertCall struct {
// present in the database, and only returns jobs the caller has
// permission to search against.
//
-// - parent: The resource name of the project to search within. The
-// format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project to search within. The
+// format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) SearchForAlert(parent string, searchjobsrequest *SearchJobsRequest) *ProjectsJobsSearchForAlertCall {
c := &ProjectsJobsSearchForAlertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/jobs/v3p1beta1/jobs-gen.go b/jobs/v3p1beta1/jobs-gen.go
index d14be999294..7c620b811ad 100644
--- a/jobs/v3p1beta1/jobs-gen.go
+++ b/jobs/v3p1beta1/jobs-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/talent-solution/job-search/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/jobs/v3p1beta1"
-// ...
-// ctx := context.Background()
-// jobsService, err := jobs.NewService(ctx)
+// import "google.golang.org/api/jobs/v3p1beta1"
+// ...
+// ctx := context.Background()
+// jobsService, err := jobs.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// jobsService, err := jobs.NewService(ctx, option.WithScopes(jobs.JobsScope))
+// jobsService, err := jobs.NewService(ctx, option.WithScopes(jobs.JobsScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// jobsService, err := jobs.NewService(ctx, option.WithAPIKey("AIza..."))
+// jobsService, err := jobs.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// jobsService, err := jobs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// jobsService, err := jobs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package jobs // import "google.golang.org/api/jobs/v3p1beta1"
@@ -4060,9 +4060,9 @@ type ProjectsCompleteCall struct {
// Complete: Completes the specified prefix with keyword suggestions.
// Intended for use by a job search auto-complete search box.
//
-// - name: Resource name of project the completion is performed within.
-// The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - name: Resource name of project the completion is performed within.
+// The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsService) Complete(name string) *ProjectsCompleteCall {
c := &ProjectsCompleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4129,10 +4129,14 @@ func (c *ProjectsCompleteCall) Query(query string) *ProjectsCompleteCall {
// completion. The defaults is CompletionScope.PUBLIC.
//
// Possible values:
-// "COMPLETION_SCOPE_UNSPECIFIED" - Default value.
-// "TENANT" - Suggestions are based only on the data provided by the
+//
+// "COMPLETION_SCOPE_UNSPECIFIED" - Default value.
+// "TENANT" - Suggestions are based only on the data provided by the
+//
// client.
-// "PUBLIC" - Suggestions are based on all jobs data in the system
+//
+// "PUBLIC" - Suggestions are based on all jobs data in the system
+//
// that's visible to the client
func (c *ProjectsCompleteCall) Scope(scope string) *ProjectsCompleteCall {
c.urlParams_.Set("scope", scope)
@@ -4143,10 +4147,11 @@ func (c *ProjectsCompleteCall) Scope(scope string) *ProjectsCompleteCall {
// default is CompletionType.COMBINED.
//
// Possible values:
-// "COMPLETION_TYPE_UNSPECIFIED" - Default value.
-// "JOB_TITLE" - Only suggest job titles.
-// "COMPANY_NAME" - Only suggest company names.
-// "COMBINED" - Suggest both job titles and company names.
+//
+// "COMPLETION_TYPE_UNSPECIFIED" - Default value.
+// "JOB_TITLE" - Only suggest job titles.
+// "COMPANY_NAME" - Only suggest company names.
+// "COMBINED" - Suggest both job titles and company names.
func (c *ProjectsCompleteCall) Type(type_ string) *ProjectsCompleteCall {
c.urlParams_.Set("type", type_)
return c
@@ -4499,9 +4504,9 @@ type ProjectsCompaniesCreateCall struct {
// Create: Creates a new company entity.
//
-// - parent: Resource name of the project under which the company is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: Resource name of the project under which the company is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsCompaniesService) Create(parent string, createcompanyrequest *CreateCompanyRequest) *ProjectsCompaniesCreateCall {
c := &ProjectsCompaniesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4644,9 +4649,9 @@ type ProjectsCompaniesDeleteCall struct {
// Delete: Deletes specified company. Prerequisite: The company has no
// jobs associated with it.
//
-// - name: The resource name of the company to be deleted. The format is
-// "projects/{project_id}/companies/{company_id}", for example,
-// "projects/api-test-project/companies/foo".
+// - name: The resource name of the company to be deleted. The format is
+// "projects/{project_id}/companies/{company_id}", for example,
+// "projects/api-test-project/companies/foo".
func (r *ProjectsCompaniesService) Delete(name string) *ProjectsCompaniesDeleteCall {
c := &ProjectsCompaniesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4780,9 +4785,9 @@ type ProjectsCompaniesGetCall struct {
// Get: Retrieves specified company.
//
-// - name: The resource name of the company to be retrieved. The format
-// is "projects/{project_id}/companies/{company_id}", for example,
-// "projects/api-test-project/companies/foo".
+// - name: The resource name of the company to be retrieved. The format
+// is "projects/{project_id}/companies/{company_id}", for example,
+// "projects/api-test-project/companies/foo".
func (r *ProjectsCompaniesService) Get(name string) *ProjectsCompaniesGetCall {
c := &ProjectsCompaniesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4929,9 +4934,9 @@ type ProjectsCompaniesListCall struct {
// List: Lists all companies associated with the service account.
//
-// - parent: Resource name of the project under which the company is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: Resource name of the project under which the company is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsCompaniesService) List(parent string) *ProjectsCompaniesListCall {
c := &ProjectsCompaniesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5141,11 +5146,11 @@ type ProjectsCompaniesPatchCall struct {
// update a company name, delete the company and all jobs associated
// with it, and only then re-create them.
//
-// - name: Required during company update. The resource name for a
-// company. This is generated by the service when a company is
-// created. The format is
-// "projects/{project_id}/companies/{company_id}", for example,
-// "projects/api-test-project/companies/foo".
+// - name: Required during company update. The resource name for a
+// company. This is generated by the service when a company is
+// created. The format is
+// "projects/{project_id}/companies/{company_id}", for example,
+// "projects/api-test-project/companies/foo".
func (r *ProjectsCompaniesService) Patch(name string, updatecompanyrequest *UpdateCompanyRequest) *ProjectsCompaniesPatchCall {
c := &ProjectsCompaniesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5288,9 +5293,9 @@ type ProjectsJobsBatchDeleteCall struct {
// BatchDelete: Deletes a list of Jobs by filter.
//
-// - parent: The resource name of the project under which the job is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project under which the job is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) BatchDelete(parent string, batchdeletejobsrequest *BatchDeleteJobsRequest) *ProjectsJobsBatchDeleteCall {
c := &ProjectsJobsBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5434,9 +5439,9 @@ type ProjectsJobsCreateCall struct {
// Create: Creates a new job. Typically, the job becomes searchable
// within 10 seconds, but it may take up to 5 minutes.
//
-// - parent: The resource name of the project under which the job is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project under which the job is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) Create(parent string, createjobrequest *CreateJobRequest) *ProjectsJobsCreateCall {
c := &ProjectsJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5579,9 +5584,9 @@ type ProjectsJobsDeleteCall struct {
// Delete: Deletes the specified job. Typically, the job becomes
// unsearchable within 10 seconds, but it may take up to 5 minutes.
//
-// - name: The resource name of the job to be deleted. The format is
-// "projects/{project_id}/jobs/{job_id}", for example,
-// "projects/api-test-project/jobs/1234".
+// - name: The resource name of the job to be deleted. The format is
+// "projects/{project_id}/jobs/{job_id}", for example,
+// "projects/api-test-project/jobs/1234".
func (r *ProjectsJobsService) Delete(name string) *ProjectsJobsDeleteCall {
c := &ProjectsJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5716,9 +5721,9 @@ type ProjectsJobsGetCall struct {
// Get: Retrieves the specified job, whose status is OPEN or recently
// EXPIRED within the last 90 days.
//
-// - name: The resource name of the job to retrieve. The format is
-// "projects/{project_id}/jobs/{job_id}", for example,
-// "projects/api-test-project/jobs/1234".
+// - name: The resource name of the job to retrieve. The format is
+// "projects/{project_id}/jobs/{job_id}", for example,
+// "projects/api-test-project/jobs/1234".
func (r *ProjectsJobsService) Get(name string) *ProjectsJobsGetCall {
c := &ProjectsJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5865,9 +5870,9 @@ type ProjectsJobsListCall struct {
// List: Lists jobs by filter.
//
-// - parent: The resource name of the project under which the job is
-// created. The format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project under which the job is
+// created. The format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) List(parent string) *ProjectsJobsListCall {
c := &ProjectsJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5896,17 +5901,25 @@ func (c *ProjectsJobsListCall) Filter(filter string) *ProjectsJobsListCall {
// JobView.JOB_VIEW_FULL if no value is specified.
//
// Possible values:
-// "JOB_VIEW_UNSPECIFIED" - Default value.
-// "JOB_VIEW_ID_ONLY" - A ID only view of job, with following
+//
+// "JOB_VIEW_UNSPECIFIED" - Default value.
+// "JOB_VIEW_ID_ONLY" - A ID only view of job, with following
+//
// attributes: Job.name, Job.requisition_id, Job.language_code.
-// "JOB_VIEW_MINIMAL" - A minimal view of the job, with the following
+//
+// "JOB_VIEW_MINIMAL" - A minimal view of the job, with the following
+//
// attributes: Job.name, Job.requisition_id, Job.title,
// Job.company_name, Job.DerivedInfo.locations, Job.language_code.
-// "JOB_VIEW_SMALL" - A small view of the job, with the following
+//
+// "JOB_VIEW_SMALL" - A small view of the job, with the following
+//
// attributes in the search results: Job.name, Job.requisition_id,
// Job.title, Job.company_name, Job.DerivedInfo.locations,
// Job.visibility, Job.language_code, Job.description.
-// "JOB_VIEW_FULL" - All available attributes are included in the
+//
+// "JOB_VIEW_FULL" - All available attributes are included in the
+//
// search results.
func (c *ProjectsJobsListCall) JobView(jobView string) *ProjectsJobsListCall {
c.urlParams_.Set("jobView", jobView)
@@ -6128,12 +6141,12 @@ type ProjectsJobsPatchCall struct {
// visible in search results within 10 seconds, but it may take up to 5
// minutes.
//
-// - name: Required during job update. The resource name for the job.
-// This is generated by the service when a job is created. The format
-// is "projects/{project_id}/jobs/{job_id}", for example,
-// "projects/api-test-project/jobs/1234". Use of this field in job
-// queries and API calls is preferred over the use of requisition_id
-// since this value is unique.
+// - name: Required during job update. The resource name for the job.
+// This is generated by the service when a job is created. The format
+// is "projects/{project_id}/jobs/{job_id}", for example,
+// "projects/api-test-project/jobs/1234". Use of this field in job
+// queries and API calls is preferred over the use of requisition_id
+// since this value is unique.
func (r *ProjectsJobsService) Patch(name string, updatejobrequest *UpdateJobRequest) *ProjectsJobsPatchCall {
c := &ProjectsJobsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6278,9 +6291,9 @@ type ProjectsJobsSearchCall struct {
// call constrains the visibility of jobs present in the database, and
// only returns jobs that the caller has permission to search against.
//
-// - parent: The resource name of the project to search within. The
-// format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project to search within. The
+// format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) Search(parent string, searchjobsrequest *SearchJobsRequest) *ProjectsJobsSearchCall {
c := &ProjectsJobsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6451,9 +6464,9 @@ type ProjectsJobsSearchForAlertCall struct {
// present in the database, and only returns jobs the caller has
// permission to search against.
//
-// - parent: The resource name of the project to search within. The
-// format is "projects/{project_id}", for example,
-// "projects/api-test-project".
+// - parent: The resource name of the project to search within. The
+// format is "projects/{project_id}", for example,
+// "projects/api-test-project".
func (r *ProjectsJobsService) SearchForAlert(parent string, searchjobsrequest *SearchJobsRequest) *ProjectsJobsSearchForAlertCall {
c := &ProjectsJobsSearchForAlertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/jobs/v4/jobs-gen.go b/jobs/v4/jobs-gen.go
index 64fd9f489e0..af4c861b956 100644
--- a/jobs/v4/jobs-gen.go
+++ b/jobs/v4/jobs-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/talent-solution/job-search/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/jobs/v4"
-// ...
-// ctx := context.Background()
-// jobsService, err := jobs.NewService(ctx)
+// import "google.golang.org/api/jobs/v4"
+// ...
+// ctx := context.Background()
+// jobsService, err := jobs.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// jobsService, err := jobs.NewService(ctx, option.WithScopes(jobs.JobsScope))
+// jobsService, err := jobs.NewService(ctx, option.WithScopes(jobs.JobsScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// jobsService, err := jobs.NewService(ctx, option.WithAPIKey("AIza..."))
+// jobsService, err := jobs.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// jobsService, err := jobs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// jobsService, err := jobs.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package jobs // import "google.golang.org/api/jobs/v4"
@@ -3882,9 +3882,9 @@ type ProjectsTenantsCompleteQueryCall struct {
// suggestions. Intended for use by a job search auto-complete search
// box.
//
-// - tenant: Resource name of tenant the completion is performed within.
-// The format is "projects/{project_id}/tenants/{tenant_id}", for
-// example, "projects/foo/tenants/bar".
+// - tenant: Resource name of tenant the completion is performed within.
+// The format is "projects/{project_id}/tenants/{tenant_id}", for
+// example, "projects/foo/tenants/bar".
func (r *ProjectsTenantsService) CompleteQuery(tenant string) *ProjectsTenantsCompleteQueryCall {
c := &ProjectsTenantsCompleteQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.tenant = tenant
@@ -3929,10 +3929,14 @@ func (c *ProjectsTenantsCompleteQueryCall) Query(query string) *ProjectsTenantsC
// completion. The defaults is CompletionScope.PUBLIC.
//
// Possible values:
-// "COMPLETION_SCOPE_UNSPECIFIED" - Default value.
-// "TENANT" - Suggestions are based only on the data provided by the
+//
+// "COMPLETION_SCOPE_UNSPECIFIED" - Default value.
+// "TENANT" - Suggestions are based only on the data provided by the
+//
// client.
-// "PUBLIC" - Suggestions are based on all jobs data in the system
+//
+// "PUBLIC" - Suggestions are based on all jobs data in the system
+//
// that's visible to the client
func (c *ProjectsTenantsCompleteQueryCall) Scope(scope string) *ProjectsTenantsCompleteQueryCall {
c.urlParams_.Set("scope", scope)
@@ -3943,14 +3947,20 @@ func (c *ProjectsTenantsCompleteQueryCall) Scope(scope string) *ProjectsTenantsC
// default is CompletionType.COMBINED.
//
// Possible values:
-// "COMPLETION_TYPE_UNSPECIFIED" - Default value.
-// "JOB_TITLE" - Suggest job titles for jobs autocomplete. For
+//
+// "COMPLETION_TYPE_UNSPECIFIED" - Default value.
+// "JOB_TITLE" - Suggest job titles for jobs autocomplete. For
+//
// CompletionType.JOB_TITLE type, only open jobs with the same
// language_codes are returned.
-// "COMPANY_NAME" - Suggest company names for jobs autocomplete. For
+//
+// "COMPANY_NAME" - Suggest company names for jobs autocomplete. For
+//
// CompletionType.COMPANY_NAME type, only companies having open jobs
// with the same language_codes are returned.
-// "COMBINED" - Suggest both job titles and company names for jobs
+//
+// "COMBINED" - Suggest both job titles and company names for jobs
+//
// autocomplete. For CompletionType.COMBINED type, only open jobs with
// the same language_codes or companies having open jobs with the same
// language_codes are returned.
@@ -4153,9 +4163,9 @@ type ProjectsTenantsCreateCall struct {
// Create: Creates a new tenant entity.
//
-// - parent: Resource name of the project under which the tenant is
-// created. The format is "projects/{project_id}", for example,
-// "projects/foo".
+// - parent: Resource name of the project under which the tenant is
+// created. The format is "projects/{project_id}", for example,
+// "projects/foo".
func (r *ProjectsTenantsService) Create(parent string, tenant *Tenant) *ProjectsTenantsCreateCall {
c := &ProjectsTenantsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4297,9 +4307,9 @@ type ProjectsTenantsDeleteCall struct {
// Delete: Deletes specified tenant.
//
-// - name: The resource name of the tenant to be deleted. The format is
-// "projects/{project_id}/tenants/{tenant_id}", for example,
-// "projects/foo/tenants/bar".
+// - name: The resource name of the tenant to be deleted. The format is
+// "projects/{project_id}/tenants/{tenant_id}", for example,
+// "projects/foo/tenants/bar".
func (r *ProjectsTenantsService) Delete(name string) *ProjectsTenantsDeleteCall {
c := &ProjectsTenantsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4433,9 +4443,9 @@ type ProjectsTenantsGetCall struct {
// Get: Retrieves specified tenant.
//
-// - name: The resource name of the tenant to be retrieved. The format
-// is "projects/{project_id}/tenants/{tenant_id}", for example,
-// "projects/foo/tenants/bar".
+// - name: The resource name of the tenant to be retrieved. The format
+// is "projects/{project_id}/tenants/{tenant_id}", for example,
+// "projects/foo/tenants/bar".
func (r *ProjectsTenantsService) Get(name string) *ProjectsTenantsGetCall {
c := &ProjectsTenantsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4582,9 +4592,9 @@ type ProjectsTenantsListCall struct {
// List: Lists all tenants associated with the project.
//
-// - parent: Resource name of the project under which the tenant is
-// created. The format is "projects/{project_id}", for example,
-// "projects/foo".
+// - parent: Resource name of the project under which the tenant is
+// created. The format is "projects/{project_id}", for example,
+// "projects/foo".
func (r *ProjectsTenantsService) List(parent string) *ProjectsTenantsListCall {
c := &ProjectsTenantsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4778,10 +4788,10 @@ type ProjectsTenantsPatchCall struct {
// Patch: Updates specified tenant.
//
-// - name: Required during tenant update. The resource name for a
-// tenant. This is generated by the service when a tenant is created.
-// The format is "projects/{project_id}/tenants/{tenant_id}", for
-// example, "projects/foo/tenants/bar".
+// - name: Required during tenant update. The resource name for a
+// tenant. This is generated by the service when a tenant is created.
+// The format is "projects/{project_id}/tenants/{tenant_id}", for
+// example, "projects/foo/tenants/bar".
func (r *ProjectsTenantsService) Patch(name string, tenant *Tenant) *ProjectsTenantsPatchCall {
c := &ProjectsTenantsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4945,9 +4955,9 @@ type ProjectsTenantsClientEventsCreateCall struct {
// more (https://cloud.google.com/talent-solution/docs/management-tools)
// about self service tools.
//
-// - parent: Resource name of the tenant under which the event is
-// created. The format is "projects/{project_id}/tenants/{tenant_id}",
-// for example, "projects/foo/tenants/bar".
+// - parent: Resource name of the tenant under which the event is
+// created. The format is "projects/{project_id}/tenants/{tenant_id}",
+// for example, "projects/foo/tenants/bar".
func (r *ProjectsTenantsClientEventsService) Create(parent string, clientevent *ClientEvent) *ProjectsTenantsClientEventsCreateCall {
c := &ProjectsTenantsClientEventsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5090,9 +5100,9 @@ type ProjectsTenantsCompaniesCreateCall struct {
// Create: Creates a new company entity.
//
-// - parent: Resource name of the tenant under which the company is
-// created. The format is "projects/{project_id}/tenants/{tenant_id}",
-// for example, "projects/foo/tenants/bar".
+// - parent: Resource name of the tenant under which the company is
+// created. The format is "projects/{project_id}/tenants/{tenant_id}",
+// for example, "projects/foo/tenants/bar".
func (r *ProjectsTenantsCompaniesService) Create(parent string, company *Company) *ProjectsTenantsCompaniesCreateCall {
c := &ProjectsTenantsCompaniesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5235,9 +5245,9 @@ type ProjectsTenantsCompaniesDeleteCall struct {
// Delete: Deletes specified company. Prerequisite: The company has no
// jobs associated with it.
//
-// - name: The resource name of the company to be deleted. The format is
-// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}",
-// for example, "projects/foo/tenants/bar/companies/baz".
+// - name: The resource name of the company to be deleted. The format is
+// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}",
+// for example, "projects/foo/tenants/bar/companies/baz".
func (r *ProjectsTenantsCompaniesService) Delete(name string) *ProjectsTenantsCompaniesDeleteCall {
c := &ProjectsTenantsCompaniesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5371,10 +5381,10 @@ type ProjectsTenantsCompaniesGetCall struct {
// Get: Retrieves specified company.
//
-// - name: The resource name of the company to be retrieved. The format
-// is
-// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}",
-// for example, "projects/api-test-project/tenants/foo/companies/bar".
+// - name: The resource name of the company to be retrieved. The format
+// is
+// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}",
+// for example, "projects/api-test-project/tenants/foo/companies/bar".
func (r *ProjectsTenantsCompaniesService) Get(name string) *ProjectsTenantsCompaniesGetCall {
c := &ProjectsTenantsCompaniesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5521,9 +5531,9 @@ type ProjectsTenantsCompaniesListCall struct {
// List: Lists all companies associated with the project.
//
-// - parent: Resource name of the tenant under which the company is
-// created. The format is "projects/{project_id}/tenants/{tenant_id}",
-// for example, "projects/foo/tenants/bar".
+// - parent: Resource name of the tenant under which the company is
+// created. The format is "projects/{project_id}/tenants/{tenant_id}",
+// for example, "projects/foo/tenants/bar".
func (r *ProjectsTenantsCompaniesService) List(parent string) *ProjectsTenantsCompaniesListCall {
c := &ProjectsTenantsCompaniesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5731,11 +5741,11 @@ type ProjectsTenantsCompaniesPatchCall struct {
// Patch: Updates specified company.
//
-// - name: Required during company update. The resource name for a
-// company. This is generated by the service when a company is
-// created. The format is
-// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}",
-// for example, "projects/foo/tenants/bar/companies/baz".
+// - name: Required during company update. The resource name for a
+// company. This is generated by the service when a company is
+// created. The format is
+// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}",
+// for example, "projects/foo/tenants/bar/companies/baz".
func (r *ProjectsTenantsCompaniesService) Patch(name string, company *Company) *ProjectsTenantsCompaniesPatchCall {
c := &ProjectsTenantsCompaniesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5894,9 +5904,9 @@ type ProjectsTenantsJobsBatchCreateCall struct {
// BatchCreate: Begins executing a batch create jobs operation.
//
-// - parent: The resource name of the tenant under which the job is
-// created. The format is "projects/{project_id}/tenants/{tenant_id}".
-// For example, "projects/foo/tenants/bar".
+// - parent: The resource name of the tenant under which the job is
+// created. The format is "projects/{project_id}/tenants/{tenant_id}".
+// For example, "projects/foo/tenants/bar".
func (r *ProjectsTenantsJobsService) BatchCreate(parent string, batchcreatejobsrequest *BatchCreateJobsRequest) *ProjectsTenantsJobsBatchCreateCall {
c := &ProjectsTenantsJobsBatchCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6039,10 +6049,10 @@ type ProjectsTenantsJobsBatchDeleteCall struct {
// BatchDelete: Begins executing a batch delete jobs operation.
//
-// - parent: The resource name of the tenant under which the job is
-// created. The format is "projects/{project_id}/tenants/{tenant_id}".
-// For example, "projects/foo/tenants/bar". The parent of all of the
-// jobs specified in `names` must match this field.
+// - parent: The resource name of the tenant under which the job is
+// created. The format is "projects/{project_id}/tenants/{tenant_id}".
+// For example, "projects/foo/tenants/bar". The parent of all of the
+// jobs specified in `names` must match this field.
func (r *ProjectsTenantsJobsService) BatchDelete(parent string, batchdeletejobsrequest *BatchDeleteJobsRequest) *ProjectsTenantsJobsBatchDeleteCall {
c := &ProjectsTenantsJobsBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6185,9 +6195,9 @@ type ProjectsTenantsJobsBatchUpdateCall struct {
// BatchUpdate: Begins executing a batch update jobs operation.
//
-// - parent: The resource name of the tenant under which the job is
-// created. The format is "projects/{project_id}/tenants/{tenant_id}".
-// For example, "projects/foo/tenants/bar".
+// - parent: The resource name of the tenant under which the job is
+// created. The format is "projects/{project_id}/tenants/{tenant_id}".
+// For example, "projects/foo/tenants/bar".
func (r *ProjectsTenantsJobsService) BatchUpdate(parent string, batchupdatejobsrequest *BatchUpdateJobsRequest) *ProjectsTenantsJobsBatchUpdateCall {
c := &ProjectsTenantsJobsBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6331,9 +6341,9 @@ type ProjectsTenantsJobsCreateCall struct {
// Create: Creates a new job. Typically, the job becomes searchable
// within 10 seconds, but it may take up to 5 minutes.
//
-// - parent: The resource name of the tenant under which the job is
-// created. The format is "projects/{project_id}/tenants/{tenant_id}".
-// For example, "projects/foo/tenants/bar".
+// - parent: The resource name of the tenant under which the job is
+// created. The format is "projects/{project_id}/tenants/{tenant_id}".
+// For example, "projects/foo/tenants/bar".
func (r *ProjectsTenantsJobsService) Create(parent string, job *Job) *ProjectsTenantsJobsCreateCall {
c := &ProjectsTenantsJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6476,9 +6486,9 @@ type ProjectsTenantsJobsDeleteCall struct {
// Delete: Deletes the specified job. Typically, the job becomes
// unsearchable within 10 seconds, but it may take up to 5 minutes.
//
-// - name: The resource name of the job to be deleted. The format is
-// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-// example, "projects/foo/tenants/bar/jobs/baz".
+// - name: The resource name of the job to be deleted. The format is
+// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+// example, "projects/foo/tenants/bar/jobs/baz".
func (r *ProjectsTenantsJobsService) Delete(name string) *ProjectsTenantsJobsDeleteCall {
c := &ProjectsTenantsJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6613,9 +6623,9 @@ type ProjectsTenantsJobsGetCall struct {
// Get: Retrieves the specified job, whose status is OPEN or recently
// EXPIRED within the last 90 days.
//
-// - name: The resource name of the job to retrieve. The format is
-// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-// example, "projects/foo/tenants/bar/jobs/baz".
+// - name: The resource name of the job to retrieve. The format is
+// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+// example, "projects/foo/tenants/bar/jobs/baz".
func (r *ProjectsTenantsJobsService) Get(name string) *ProjectsTenantsJobsGetCall {
c := &ProjectsTenantsJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6762,9 +6772,9 @@ type ProjectsTenantsJobsListCall struct {
// List: Lists jobs by filter.
//
-// - parent: The resource name of the tenant under which the job is
-// created. The format is "projects/{project_id}/tenants/{tenant_id}".
-// For example, "projects/foo/tenants/bar".
+// - parent: The resource name of the tenant under which the job is
+// created. The format is "projects/{project_id}/tenants/{tenant_id}".
+// For example, "projects/foo/tenants/bar".
func (r *ProjectsTenantsJobsService) List(parent string) *ProjectsTenantsJobsListCall {
c := &ProjectsTenantsJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6793,17 +6803,25 @@ func (c *ProjectsTenantsJobsListCall) Filter(filter string) *ProjectsTenantsJobs
// JobView.JOB_VIEW_FULL if no value is specified.
//
// Possible values:
-// "JOB_VIEW_UNSPECIFIED" - Default value.
-// "JOB_VIEW_ID_ONLY" - A ID only view of job, with following
+//
+// "JOB_VIEW_UNSPECIFIED" - Default value.
+// "JOB_VIEW_ID_ONLY" - A ID only view of job, with following
+//
// attributes: Job.name, Job.requisition_id, Job.language_code.
-// "JOB_VIEW_MINIMAL" - A minimal view of the job, with the following
+//
+// "JOB_VIEW_MINIMAL" - A minimal view of the job, with the following
+//
// attributes: Job.name, Job.requisition_id, Job.title, Job.company,
// Job.DerivedInfo.locations, Job.language_code.
-// "JOB_VIEW_SMALL" - A small view of the job, with the following
+//
+// "JOB_VIEW_SMALL" - A small view of the job, with the following
+//
// attributes in the search results: Job.name, Job.requisition_id,
// Job.title, Job.company, Job.DerivedInfo.locations, Job.visibility,
// Job.language_code, Job.description.
-// "JOB_VIEW_FULL" - All available attributes are included in the
+//
+// "JOB_VIEW_FULL" - All available attributes are included in the
+//
// search results.
func (c *ProjectsTenantsJobsListCall) JobView(jobView string) *ProjectsTenantsJobsListCall {
c.urlParams_.Set("jobView", jobView)
@@ -7025,12 +7043,12 @@ type ProjectsTenantsJobsPatchCall struct {
// visible in search results within 10 seconds, but it may take up to 5
// minutes.
//
-// - name: Required during job update. The resource name for the job.
-// This is generated by the service when a job is created. The format
-// is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-// example, "projects/foo/tenants/bar/jobs/baz". Use of this field in
-// job queries and API calls is preferred over the use of
-// requisition_id since this value is unique.
+// - name: Required during job update. The resource name for the job.
+// This is generated by the service when a job is created. The format
+// is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+// example, "projects/foo/tenants/bar/jobs/baz". Use of this field in
+// job queries and API calls is preferred over the use of
+// requisition_id since this value is unique.
func (r *ProjectsTenantsJobsService) Patch(name string, job *Job) *ProjectsTenantsJobsPatchCall {
c := &ProjectsTenantsJobsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7191,9 +7209,9 @@ type ProjectsTenantsJobsSearchCall struct {
// call constrains the visibility of jobs present in the database, and
// only returns jobs that the caller has permission to search against.
//
-// - parent: The resource name of the tenant to search within. The
-// format is "projects/{project_id}/tenants/{tenant_id}". For example,
-// "projects/foo/tenants/bar".
+// - parent: The resource name of the tenant to search within. The
+// format is "projects/{project_id}/tenants/{tenant_id}". For example,
+// "projects/foo/tenants/bar".
func (r *ProjectsTenantsJobsService) Search(parent string, searchjobsrequest *SearchJobsRequest) *ProjectsTenantsJobsSearchCall {
c := &ProjectsTenantsJobsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7364,9 +7382,9 @@ type ProjectsTenantsJobsSearchForAlertCall struct {
// visibility of jobs present in the database, and only returns jobs the
// caller has permission to search against.
//
-// - parent: The resource name of the tenant to search within. The
-// format is "projects/{project_id}/tenants/{tenant_id}". For example,
-// "projects/foo/tenants/bar".
+// - parent: The resource name of the tenant to search within. The
+// format is "projects/{project_id}/tenants/{tenant_id}". For example,
+// "projects/foo/tenants/bar".
func (r *ProjectsTenantsJobsService) SearchForAlert(parent string, searchjobsrequest *SearchJobsRequest) *ProjectsTenantsJobsSearchForAlertCall {
c := &ProjectsTenantsJobsSearchForAlertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/keep/v1/keep-gen.go b/keep/v1/keep-gen.go
index 1ca58909deb..dd89b1ea13b 100644
--- a/keep/v1/keep-gen.go
+++ b/keep/v1/keep-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/keep/api
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/keep/v1"
-// ...
-// ctx := context.Background()
-// keepService, err := keep.NewService(ctx)
+// import "google.golang.org/api/keep/v1"
+// ...
+// ctx := context.Background()
+// keepService, err := keep.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// keepService, err := keep.NewService(ctx, option.WithScopes(keep.KeepReadonlyScope))
+// keepService, err := keep.NewService(ctx, option.WithScopes(keep.KeepReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// keepService, err := keep.NewService(ctx, option.WithAPIKey("AIza..."))
+// keepService, err := keep.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// keepService, err := keep.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// keepService, err := keep.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package keep // import "google.golang.org/api/keep/v1"
@@ -1505,10 +1505,10 @@ type NotesPermissionsBatchCreateCall struct {
// permission fails, then the entire request fails and no changes are
// made.
//
-// - parent: The parent resource shared by all Permissions being
-// created. Format: `notes/{note}` If this is set, the parent field in
-// the CreatePermission messages must either be empty or match this
-// field.
+// - parent: The parent resource shared by all Permissions being
+// created. Format: `notes/{note}` If this is set, the parent field in
+// the CreatePermission messages must either be empty or match this
+// field.
func (r *NotesPermissionsService) BatchCreate(parent string, batchcreatepermissionsrequest *BatchCreatePermissionsRequest) *NotesPermissionsBatchCreateCall {
c := &NotesPermissionsBatchCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1655,10 +1655,10 @@ type NotesPermissionsBatchDeleteCall struct {
// bad request error if a specified permission does not exist on the
// note.
//
-// - parent: The parent resource shared by all permissions being
-// deleted. Format: `notes/{note}` If this is set, the parent of all
-// of the permissions specified in the DeletePermissionRequest
-// messages must match this field.
+// - parent: The parent resource shared by all permissions being
+// deleted. Format: `notes/{note}` If this is set, the parent of all
+// of the permissions specified in the DeletePermissionRequest
+// messages must match this field.
func (r *NotesPermissionsService) BatchDelete(parent string, batchdeletepermissionsrequest *BatchDeletePermissionsRequest) *NotesPermissionsBatchDeleteCall {
c := &NotesPermissionsBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/kgsearch/v1/kgsearch-gen.go b/kgsearch/v1/kgsearch-gen.go
index 4b7f0e9afb1..a53df47c5dc 100644
--- a/kgsearch/v1/kgsearch-gen.go
+++ b/kgsearch/v1/kgsearch-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/knowledge-graph/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/kgsearch/v1"
-// ...
-// ctx := context.Background()
-// kgsearchService, err := kgsearch.NewService(ctx)
+// import "google.golang.org/api/kgsearch/v1"
+// ...
+// ctx := context.Background()
+// kgsearchService, err := kgsearch.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// kgsearchService, err := kgsearch.NewService(ctx, option.WithAPIKey("AIza..."))
+// kgsearchService, err := kgsearch.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// kgsearchService, err := kgsearch.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// kgsearchService, err := kgsearch.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package kgsearch // import "google.golang.org/api/kgsearch/v1"
diff --git a/language/v1/language-gen.go b/language/v1/language-gen.go
index 0813ac39535..4727bca18e3 100644
--- a/language/v1/language-gen.go
+++ b/language/v1/language-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/natural-language/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/language/v1"
-// ...
-// ctx := context.Background()
-// languageService, err := language.NewService(ctx)
+// import "google.golang.org/api/language/v1"
+// ...
+// ctx := context.Background()
+// languageService, err := language.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// languageService, err := language.NewService(ctx, option.WithScopes(language.CloudPlatformScope))
+// languageService, err := language.NewService(ctx, option.WithScopes(language.CloudPlatformScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// languageService, err := language.NewService(ctx, option.WithAPIKey("AIza..."))
+// languageService, err := language.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// languageService, err := language.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// languageService, err := language.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package language // import "google.golang.org/api/language/v1"
diff --git a/language/v1beta1/language-gen.go b/language/v1beta1/language-gen.go
index a98abf46e91..4f8e517a16e 100644
--- a/language/v1beta1/language-gen.go
+++ b/language/v1beta1/language-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/natural-language/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/language/v1beta1"
-// ...
-// ctx := context.Background()
-// languageService, err := language.NewService(ctx)
+// import "google.golang.org/api/language/v1beta1"
+// ...
+// ctx := context.Background()
+// languageService, err := language.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// languageService, err := language.NewService(ctx, option.WithScopes(language.CloudPlatformScope))
+// languageService, err := language.NewService(ctx, option.WithScopes(language.CloudPlatformScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// languageService, err := language.NewService(ctx, option.WithAPIKey("AIza..."))
+// languageService, err := language.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// languageService, err := language.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// languageService, err := language.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package language // import "google.golang.org/api/language/v1beta1"
diff --git a/language/v1beta2/language-gen.go b/language/v1beta2/language-gen.go
index 4ad395554b3..18e833eec05 100644
--- a/language/v1beta2/language-gen.go
+++ b/language/v1beta2/language-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/natural-language/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/language/v1beta2"
-// ...
-// ctx := context.Background()
-// languageService, err := language.NewService(ctx)
+// import "google.golang.org/api/language/v1beta2"
+// ...
+// ctx := context.Background()
+// languageService, err := language.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// languageService, err := language.NewService(ctx, option.WithScopes(language.CloudPlatformScope))
+// languageService, err := language.NewService(ctx, option.WithScopes(language.CloudPlatformScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// languageService, err := language.NewService(ctx, option.WithAPIKey("AIza..."))
+// languageService, err := language.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// languageService, err := language.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// languageService, err := language.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package language // import "google.golang.org/api/language/v1beta2"
diff --git a/libraryagent/v1/libraryagent-gen.go b/libraryagent/v1/libraryagent-gen.go
index 433d10f0742..623381e5600 100644
--- a/libraryagent/v1/libraryagent-gen.go
+++ b/libraryagent/v1/libraryagent-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/docs/quota
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/libraryagent/v1"
-// ...
-// ctx := context.Background()
-// libraryagentService, err := libraryagent.NewService(ctx)
+// import "google.golang.org/api/libraryagent/v1"
+// ...
+// ctx := context.Background()
+// libraryagentService, err := libraryagent.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// libraryagentService, err := libraryagent.NewService(ctx, option.WithAPIKey("AIza..."))
+// libraryagentService, err := libraryagent.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// libraryagentService, err := libraryagent.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// libraryagentService, err := libraryagent.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package libraryagent // import "google.golang.org/api/libraryagent/v1"
diff --git a/licensing/v1/licensing-gen.go b/licensing/v1/licensing-gen.go
index 1b4d1bc616a..af2582169e8 100644
--- a/licensing/v1/licensing-gen.go
+++ b/licensing/v1/licensing-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/admin-sdk/licensing/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/licensing/v1"
-// ...
-// ctx := context.Background()
-// licensingService, err := licensing.NewService(ctx)
+// import "google.golang.org/api/licensing/v1"
+// ...
+// ctx := context.Background()
+// licensingService, err := licensing.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// licensingService, err := licensing.NewService(ctx, option.WithAPIKey("AIza..."))
+// licensingService, err := licensing.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// licensingService, err := licensing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// licensingService, err := licensing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package licensing // import "google.golang.org/api/licensing/v1"
@@ -303,17 +303,17 @@ type LicenseAssignmentsDeleteCall struct {
// Delete: Revoke a license.
//
-// - productId: A product's unique identifier. For more information
-// about products in this version of the API, see Products and SKUs.
-// - skuId: A product SKU's unique identifier. For more information
-// about available SKUs in this version of the API, see Products and
-// SKUs.
-// - userId: The user's current primary email address. If the user's
-// email address changes, use the new email address in your API
-// requests. Since a `userId` is subject to change, do not use a
-// `userId` value as a key for persistent data. This key could break
-// if the current user's email address changes. If the `userId` is
-// suspended, the license status changes.
+// - productId: A product's unique identifier. For more information
+// about products in this version of the API, see Products and SKUs.
+// - skuId: A product SKU's unique identifier. For more information
+// about available SKUs in this version of the API, see Products and
+// SKUs.
+// - userId: The user's current primary email address. If the user's
+// email address changes, use the new email address in your API
+// requests. Since a `userId` is subject to change, do not use a
+// `userId` value as a key for persistent data. This key could break
+// if the current user's email address changes. If the `userId` is
+// suspended, the license status changes.
func (r *LicenseAssignmentsService) Delete(productId string, skuId string, userId string) *LicenseAssignmentsDeleteCall {
c := &LicenseAssignmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.productId = productId
@@ -465,17 +465,17 @@ type LicenseAssignmentsGetCall struct {
// Get: Get a specific user's license by product SKU.
//
-// - productId: A product's unique identifier. For more information
-// about products in this version of the API, see Products and SKUs.
-// - skuId: A product SKU's unique identifier. For more information
-// about available SKUs in this version of the API, see Products and
-// SKUs.
-// - userId: The user's current primary email address. If the user's
-// email address changes, use the new email address in your API
-// requests. Since a `userId` is subject to change, do not use a
-// `userId` value as a key for persistent data. This key could break
-// if the current user's email address changes. If the `userId` is
-// suspended, the license status changes.
+// - productId: A product's unique identifier. For more information
+// about products in this version of the API, see Products and SKUs.
+// - skuId: A product SKU's unique identifier. For more information
+// about available SKUs in this version of the API, see Products and
+// SKUs.
+// - userId: The user's current primary email address. If the user's
+// email address changes, use the new email address in your API
+// requests. Since a `userId` is subject to change, do not use a
+// `userId` value as a key for persistent data. This key could break
+// if the current user's email address changes. If the `userId` is
+// suspended, the license status changes.
func (r *LicenseAssignmentsService) Get(productId string, skuId string, userId string) *LicenseAssignmentsGetCall {
c := &LicenseAssignmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.productId = productId
@@ -639,11 +639,11 @@ type LicenseAssignmentsInsertCall struct {
// Insert: Assign a license.
//
-// - productId: A product's unique identifier. For more information
-// about products in this version of the API, see Products and SKUs.
-// - skuId: A product SKU's unique identifier. For more information
-// about available SKUs in this version of the API, see Products and
-// SKUs.
+// - productId: A product's unique identifier. For more information
+// about products in this version of the API, see Products and SKUs.
+// - skuId: A product SKU's unique identifier. For more information
+// about available SKUs in this version of the API, see Products and
+// SKUs.
func (r *LicenseAssignmentsService) Insert(productId string, skuId string, licenseassignmentinsert *LicenseAssignmentInsert) *LicenseAssignmentsInsertCall {
c := &LicenseAssignmentsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.productId = productId
@@ -794,11 +794,11 @@ type LicenseAssignmentsListForProductCall struct {
// ListForProduct: List all users assigned licenses for a specific
// product SKU.
//
-// - customerId: The customer's unique ID as defined in the Admin
-// console, such as `C00000000`. If the customer is suspended, the
-// server returns an error.
-// - productId: A product's unique identifier. For more information
-// about products in this version of the API, see Products and SKUs.
+// - customerId: The customer's unique ID as defined in the Admin
+// console, such as `C00000000`. If the customer is suspended, the
+// server returns an error.
+// - productId: A product's unique identifier. For more information
+// about products in this version of the API, see Products and SKUs.
func (r *LicenseAssignmentsService) ListForProduct(productId string, customerId string) *LicenseAssignmentsListForProductCall {
c := &LicenseAssignmentsListForProductCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.productId = productId
@@ -1008,14 +1008,14 @@ type LicenseAssignmentsListForProductAndSkuCall struct {
// ListForProductAndSku: List all users assigned licenses for a specific
// product SKU.
//
-// - customerId: The customer's unique ID as defined in the Admin
-// console, such as `C00000000`. If the customer is suspended, the
-// server returns an error.
-// - productId: A product's unique identifier. For more information
-// about products in this version of the API, see Products and SKUs.
-// - skuId: A product SKU's unique identifier. For more information
-// about available SKUs in this version of the API, see Products and
-// SKUs.
+// - customerId: The customer's unique ID as defined in the Admin
+// console, such as `C00000000`. If the customer is suspended, the
+// server returns an error.
+// - productId: A product's unique identifier. For more information
+// about products in this version of the API, see Products and SKUs.
+// - skuId: A product SKU's unique identifier. For more information
+// about available SKUs in this version of the API, see Products and
+// SKUs.
func (r *LicenseAssignmentsService) ListForProductAndSku(productId string, skuId string, customerId string) *LicenseAssignmentsListForProductAndSkuCall {
c := &LicenseAssignmentsListForProductAndSkuCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.productId = productId
@@ -1235,17 +1235,17 @@ type LicenseAssignmentsPatchCall struct {
// Patch: Reassign a user's product SKU with a different SKU in the same
// product. This method supports patch semantics.
//
-// - productId: A product's unique identifier. For more information
-// about products in this version of the API, see Products and SKUs.
-// - skuId: A product SKU's unique identifier. For more information
-// about available SKUs in this version of the API, see Products and
-// SKUs.
-// - userId: The user's current primary email address. If the user's
-// email address changes, use the new email address in your API
-// requests. Since a `userId` is subject to change, do not use a
-// `userId` value as a key for persistent data. This key could break
-// if the current user's email address changes. If the `userId` is
-// suspended, the license status changes.
+// - productId: A product's unique identifier. For more information
+// about products in this version of the API, see Products and SKUs.
+// - skuId: A product SKU's unique identifier. For more information
+// about available SKUs in this version of the API, see Products and
+// SKUs.
+// - userId: The user's current primary email address. If the user's
+// email address changes, use the new email address in your API
+// requests. Since a `userId` is subject to change, do not use a
+// `userId` value as a key for persistent data. This key could break
+// if the current user's email address changes. If the `userId` is
+// suspended, the license status changes.
func (r *LicenseAssignmentsService) Patch(productId string, skuId string, userId string, licenseassignment *LicenseAssignment) *LicenseAssignmentsPatchCall {
c := &LicenseAssignmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.productId = productId
@@ -1407,17 +1407,17 @@ type LicenseAssignmentsUpdateCall struct {
// Update: Reassign a user's product SKU with a different SKU in the
// same product.
//
-// - productId: A product's unique identifier. For more information
-// about products in this version of the API, see Products and SKUs.
-// - skuId: A product SKU's unique identifier. For more information
-// about available SKUs in this version of the API, see Products and
-// SKUs.
-// - userId: The user's current primary email address. If the user's
-// email address changes, use the new email address in your API
-// requests. Since a `userId` is subject to change, do not use a
-// `userId` value as a key for persistent data. This key could break
-// if the current user's email address changes. If the `userId` is
-// suspended, the license status changes.
+// - productId: A product's unique identifier. For more information
+// about products in this version of the API, see Products and SKUs.
+// - skuId: A product SKU's unique identifier. For more information
+// about available SKUs in this version of the API, see Products and
+// SKUs.
+// - userId: The user's current primary email address. If the user's
+// email address changes, use the new email address in your API
+// requests. Since a `userId` is subject to change, do not use a
+// `userId` value as a key for persistent data. This key could break
+// if the current user's email address changes. If the `userId` is
+// suspended, the license status changes.
func (r *LicenseAssignmentsService) Update(productId string, skuId string, userId string, licenseassignment *LicenseAssignment) *LicenseAssignmentsUpdateCall {
c := &LicenseAssignmentsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.productId = productId
diff --git a/lifesciences/v2beta/lifesciences-gen.go b/lifesciences/v2beta/lifesciences-gen.go
index 1a3add2ebd4..4fdda262cf9 100644
--- a/lifesciences/v2beta/lifesciences-gen.go
+++ b/lifesciences/v2beta/lifesciences-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/life-sciences
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/lifesciences/v2beta"
-// ...
-// ctx := context.Background()
-// lifesciencesService, err := lifesciences.NewService(ctx)
+// import "google.golang.org/api/lifesciences/v2beta"
+// ...
+// ctx := context.Background()
+// lifesciencesService, err := lifesciences.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// lifesciencesService, err := lifesciences.NewService(ctx, option.WithAPIKey("AIza..."))
+// lifesciencesService, err := lifesciences.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// lifesciencesService, err := lifesciences.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// lifesciencesService, err := lifesciences.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package lifesciences // import "google.golang.org/api/lifesciences/v2beta"
@@ -1960,8 +1960,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2692,8 +2692,8 @@ type ProjectsLocationsPipelinesRunCall struct {
// (https://cloud.google.com/iam/) permission: *
// `lifesciences.workflows.run`
//
-// - parent: The project and location that this request should be
-// executed against.
+// - parent: The project and location that this request should be
+// executed against.
func (r *ProjectsLocationsPipelinesService) Run(parent string, runpipelinerequest *RunPipelineRequest) *ProjectsLocationsPipelinesRunCall {
c := &ProjectsLocationsPipelinesRunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/localservices/v1/localservices-gen.go b/localservices/v1/localservices-gen.go
index f2d111d99ba..ec2a5d90e51 100644
--- a/localservices/v1/localservices-gen.go
+++ b/localservices/v1/localservices-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://ads.google.com/local-services-ads/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/localservices/v1"
-// ...
-// ctx := context.Background()
-// localservicesService, err := localservices.NewService(ctx)
+// import "google.golang.org/api/localservices/v1"
+// ...
+// ctx := context.Background()
+// localservicesService, err := localservices.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// localservicesService, err := localservices.NewService(ctx, option.WithAPIKey("AIza..."))
+// localservicesService, err := localservices.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// localservicesService, err := localservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// localservicesService, err := localservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package localservices // import "google.golang.org/api/localservices/v1"
@@ -575,7 +575,9 @@ func (s *GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse) Marsh
}
// GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse:
-// A page of the response received from the SearchDetailedLeadReports
+//
+// A page of the response received from the SearchDetailedLeadReports
+//
// method. A paginated response where more pages are available has
// `next_page_token` set. This token can be used in a subsequent request
// to retrieve the next request page.
@@ -1096,7 +1098,9 @@ func (c *DetailedLeadReportsSearchCall) doRequest(alt string) (*http.Response, e
// Do executes the "localservices.detailedLeadReports.search" call.
// Exactly one of
// *GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse
-// or error will be non-nil. Any non-2xx status code is an error.
+//
+// or error will be non-nil. Any non-2xx status code is an error.
+//
// Response headers are in either
// *GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse
// .ServerResponse.Header or (if a response was returned at all) in
diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go
index ec7c2d7f2dd..95885d6db3f 100644
--- a/logging/v2/logging-gen.go
+++ b/logging/v2/logging-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/logging/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/logging/v2"
-// ...
-// ctx := context.Background()
-// loggingService, err := logging.NewService(ctx)
+// import "google.golang.org/api/logging/v2"
+// ...
+// ctx := context.Background()
+// loggingService, err := logging.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// loggingService, err := logging.NewService(ctx, option.WithScopes(logging.LoggingWriteScope))
+// loggingService, err := logging.NewService(ctx, option.WithScopes(logging.LoggingWriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// loggingService, err := logging.NewService(ctx, option.WithAPIKey("AIza..."))
+// loggingService, err := logging.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// loggingService, err := logging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// loggingService, err := logging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package logging // import "google.golang.org/api/logging/v2"
@@ -3856,16 +3856,16 @@ type BillingAccountsGetCmekSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve CMEK settings.
-// "projects/[PROJECT_ID]/cmekSettings"
-// "organizations/[ORGANIZATION_ID]/cmekSettings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-// "folders/[FOLDER_ID]/cmekSettings" For
-// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
-// Router can be configured for Google Cloud projects, folders,
-// organizations and billing accounts. Once configured for an
-// organization, it applies to all projects and folders in the Google
-// Cloud organization.
+// - name: The resource for which to retrieve CMEK settings.
+// "projects/[PROJECT_ID]/cmekSettings"
+// "organizations/[ORGANIZATION_ID]/cmekSettings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+// "folders/[FOLDER_ID]/cmekSettings" For
+// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
+// Router can be configured for Google Cloud projects, folders,
+// organizations and billing accounts. Once configured for an
+// organization, it applies to all projects and folders in the Google
+// Cloud organization.
func (r *BillingAccountsService) GetCmekSettings(name string) *BillingAccountsGetCmekSettingsCall {
c := &BillingAccountsGetCmekSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4022,16 +4022,16 @@ type BillingAccountsGetSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve settings.
-// "projects/[PROJECT_ID]/settings"
-// "organizations/[ORGANIZATION_ID]/settings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
-// "folders/[FOLDER_ID]/settings" For
-// example:"organizations/12345/settings"Note: Settings for the Log
-// Router can be get for Google Cloud projects, folders, organizations
-// and billing accounts. Currently it can only be configured for
-// organizations. Once configured for an organization, it applies to
-// all projects and folders in the Google Cloud organization.
+// - name: The resource for which to retrieve settings.
+// "projects/[PROJECT_ID]/settings"
+// "organizations/[ORGANIZATION_ID]/settings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+// "folders/[FOLDER_ID]/settings" For
+// example:"organizations/12345/settings"Note: Settings for the Log
+// Router can be get for Google Cloud projects, folders, organizations
+// and billing accounts. Currently it can only be configured for
+// organizations. Once configured for an organization, it applies to
+// all projects and folders in the Google Cloud organization.
func (r *BillingAccountsService) GetSettings(name string) *BillingAccountsGetSettingsCall {
c := &BillingAccountsGetSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4182,10 +4182,10 @@ type BillingAccountsExclusionsCreateCall struct {
// parent resource. Only log entries belonging to that resource can be
// excluded. You can have up to 10 exclusions in a resource.
//
-// - parent: The parent resource in which to create the exclusion:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-logging-project" "organizations/123456789".
+// - parent: The parent resource in which to create the exclusion:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-logging-project" "organizations/123456789".
func (r *BillingAccountsExclusionsService) Create(parent string, logexclusion *LogExclusion) *BillingAccountsExclusionsCreateCall {
c := &BillingAccountsExclusionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4327,12 +4327,12 @@ type BillingAccountsExclusionsDeleteCall struct {
// Delete: Deletes an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion to delete:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion to delete:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *BillingAccountsExclusionsService) Delete(name string) *BillingAccountsExclusionsDeleteCall {
c := &BillingAccountsExclusionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4466,12 +4466,12 @@ type BillingAccountsExclusionsGetCall struct {
// Get: Gets the description of an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *BillingAccountsExclusionsService) Get(name string) *BillingAccountsExclusionsGetCall {
c := &BillingAccountsExclusionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4621,9 +4621,9 @@ type BillingAccountsExclusionsListCall struct {
// List: Lists all the exclusions on the _Default sink in a parent
// resource.
//
-// - parent: The parent resource whose exclusions are to be listed.
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose exclusions are to be listed.
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *BillingAccountsExclusionsService) List(parent string) *BillingAccountsExclusionsListCall {
c := &BillingAccountsExclusionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4824,12 +4824,12 @@ type BillingAccountsExclusionsPatchCall struct {
// Patch: Changes one or more properties of an existing exclusion in the
// _Default sink.
//
-// - name: The resource name of the exclusion to update:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of the exclusion to update:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *BillingAccountsExclusionsService) Patch(name string, logexclusion *LogExclusion) *BillingAccountsExclusionsPatchCall {
c := &BillingAccountsExclusionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5140,8 +5140,8 @@ type BillingAccountsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *BillingAccountsLocationsService) List(name string) *BillingAccountsLocationsListCall {
c := &BillingAccountsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5353,9 +5353,9 @@ type BillingAccountsLocationsBucketsCreateCall struct {
// After a bucket has been created, the bucket's location cannot be
// changed.
//
-// - parent: The resource in which to create the log bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
-// example:"projects/my-project/locations/global".
+// - parent: The resource in which to create the log bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
+// example:"projects/my-project/locations/global".
func (r *BillingAccountsLocationsBucketsService) Create(parent string, logbucket *LogBucket) *BillingAccountsLocationsBucketsCreateCall {
c := &BillingAccountsLocationsBucketsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5513,15 +5513,15 @@ type BillingAccountsLocationsBucketsDeleteCall struct {
// the DELETE_REQUESTED state. After 7 days, the bucket will be purged
// and all log entries in the bucket will be permanently deleted.
//
-// - name: The full resource name of the bucket to delete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to delete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *BillingAccountsLocationsBucketsService) Delete(name string) *BillingAccountsLocationsBucketsDeleteCall {
c := &BillingAccountsLocationsBucketsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5655,15 +5655,15 @@ type BillingAccountsLocationsBucketsGetCall struct {
// Get: Gets a log bucket.
//
-// - name: The resource name of the bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The resource name of the bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *BillingAccountsLocationsBucketsService) Get(name string) *BillingAccountsLocationsBucketsGetCall {
c := &BillingAccountsLocationsBucketsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5812,13 +5812,13 @@ type BillingAccountsLocationsBucketsListCall struct {
// List: Lists log buckets.
//
-// - parent: The parent resource whose buckets are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
-// portion of the resource must be specified, but supplying the
-// character - in place of LOCATION_ID will return all buckets.
+// - parent: The parent resource whose buckets are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
+// portion of the resource must be specified, but supplying the
+// character - in place of LOCATION_ID will return all buckets.
func (r *BillingAccountsLocationsBucketsService) List(parent string) *BillingAccountsLocationsBucketsListCall {
c := &BillingAccountsLocationsBucketsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6024,15 +6024,15 @@ type BillingAccountsLocationsBucketsPatchCall struct {
// returned.After a bucket has been created, the bucket's location
// cannot be changed.
//
-// - name: The full resource name of the bucket to update.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to update.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *BillingAccountsLocationsBucketsService) Patch(name string, logbucket *LogBucket) *BillingAccountsLocationsBucketsPatchCall {
c := &BillingAccountsLocationsBucketsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6194,15 +6194,15 @@ type BillingAccountsLocationsBucketsUndeleteCall struct {
// Undelete: Undeletes a log bucket. A bucket that has been deleted can
// be undeleted within the grace period of 7 days.
//
-// - name: The full resource name of the bucket to undelete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to undelete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *BillingAccountsLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *BillingAccountsLocationsBucketsUndeleteCall {
c := &BillingAccountsLocationsBucketsUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6346,10 +6346,10 @@ type BillingAccountsLocationsBucketsViewsCreateCall struct {
// Create: Creates a view over log entries in a log bucket. A bucket may
// contain a maximum of 30 views.
//
-// - parent: The bucket in which to create the view
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// ` For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - parent: The bucket in which to create the view
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// ` For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *BillingAccountsLocationsBucketsViewsService) Create(parent string, logview *LogView) *BillingAccountsLocationsBucketsViewsCreateCall {
c := &BillingAccountsLocationsBucketsViewsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6505,11 +6505,11 @@ type BillingAccountsLocationsBucketsViewsDeleteCall struct {
// returned, this indicates that system is not in a state where it can
// delete the view. If this occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to delete:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to delete:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *BillingAccountsLocationsBucketsViewsService) Delete(name string) *BillingAccountsLocationsBucketsViewsDeleteCall {
c := &BillingAccountsLocationsBucketsViewsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6643,11 +6643,11 @@ type BillingAccountsLocationsBucketsViewsGetCall struct {
// Get: Gets a view on a log bucket..
//
-// - name: The resource name of the policy:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The resource name of the policy:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *BillingAccountsLocationsBucketsViewsService) Get(name string) *BillingAccountsLocationsBucketsViewsGetCall {
c := &BillingAccountsLocationsBucketsViewsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6796,8 +6796,8 @@ type BillingAccountsLocationsBucketsViewsListCall struct {
// List: Lists views on a log bucket.
//
-// - parent: The bucket whose views are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
+// - parent: The bucket whose views are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (r *BillingAccountsLocationsBucketsViewsService) List(parent string) *BillingAccountsLocationsBucketsViewsListCall {
c := &BillingAccountsLocationsBucketsViewsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7001,11 +7001,11 @@ type BillingAccountsLocationsBucketsViewsPatchCall struct {
// system is not in a state where it can update the view. If this
// occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to update
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to update
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *BillingAccountsLocationsBucketsViewsService) Patch(name string, logview *LogView) *BillingAccountsLocationsBucketsViewsPatchCall {
c := &BillingAccountsLocationsBucketsViewsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7167,9 +7167,9 @@ type BillingAccountsLocationsBucketsViewsLogsListCall struct {
// List: Lists the logs in projects, organizations, folders, or billing
// accounts. Only logs that have entries are listed.
//
-// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
-// organizations/[ORGANIZATION_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
+// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
+// organizations/[ORGANIZATION_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
func (r *BillingAccountsLocationsBucketsViewsLogsService) List(parent string) *BillingAccountsLocationsBucketsViewsLogsListCall {
c := &BillingAccountsLocationsBucketsViewsLogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7914,14 +7914,14 @@ type BillingAccountsLogsDeleteCall struct {
// Entries received after the delete operation with a timestamp before
// the operation will be deleted.
//
-// - logName: The resource name of the log to delete:
-// projects/[PROJECT_ID]/logs/[LOG_ID]
-// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
-// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
-// example, "projects/my-project-id/logs/syslog",
-// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
-// more information about log names, see LogEntry.
+// - logName: The resource name of the log to delete:
+// projects/[PROJECT_ID]/logs/[LOG_ID]
+// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
+// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
+// example, "projects/my-project-id/logs/syslog",
+// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
+// more information about log names, see LogEntry.
func (r *BillingAccountsLogsService) Delete(logName string) *BillingAccountsLogsDeleteCall {
c := &BillingAccountsLogsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.logName = logName
@@ -8056,9 +8056,9 @@ type BillingAccountsLogsListCall struct {
// List: Lists the logs in projects, organizations, folders, or billing
// accounts. Only logs that have entries are listed.
//
-// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
-// organizations/[ORGANIZATION_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
+// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
+// organizations/[ORGANIZATION_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
func (r *BillingAccountsLogsService) List(parent string) *BillingAccountsLogsListCall {
c := &BillingAccountsLogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8285,10 +8285,10 @@ type BillingAccountsSinksCreateCall struct {
// write to the destination. A sink can export log entries only from the
// resource owning the sink.
//
-// - parent: The resource in which to create the sink:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-project" "organizations/123456789".
+// - parent: The resource in which to create the sink:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-project" "organizations/123456789".
func (r *BillingAccountsSinksService) Create(parent string, logsink *LogSink) *BillingAccountsSinksCreateCall {
c := &BillingAccountsSinksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8453,13 +8453,13 @@ type BillingAccountsSinksDeleteCall struct {
// Delete: Deletes a sink. If the sink has a unique writer_identity,
// then that service account is also deleted.
//
-// - sinkName: The full resource name of the sink to delete, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to delete, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *BillingAccountsSinksService) Delete(sinkNameid string) *BillingAccountsSinksDeleteCall {
c := &BillingAccountsSinksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -8593,12 +8593,12 @@ type BillingAccountsSinksGetCall struct {
// Get: Gets a sink.
//
-// - sinkName: The resource name of the sink:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The resource name of the sink:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *BillingAccountsSinksService) Get(sinkName string) *BillingAccountsSinksGetCall {
c := &BillingAccountsSinksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkName = sinkName
@@ -8747,9 +8747,9 @@ type BillingAccountsSinksListCall struct {
// List: Lists sinks.
//
-// - parent: The parent resource whose sinks are to be listed:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose sinks are to be listed:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *BillingAccountsSinksService) List(parent string) *BillingAccountsSinksListCall {
c := &BillingAccountsSinksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8952,13 +8952,13 @@ type BillingAccountsSinksPatchCall struct {
// filter.The updated sink might also have a new writer_identity; see
// the unique_writer_identity field.
//
-// - sinkName: The full resource name of the sink to update, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to update, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *BillingAccountsSinksService) Patch(sinkNameid string, logsink *LogSink) *BillingAccountsSinksPatchCall {
c := &BillingAccountsSinksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -9145,13 +9145,13 @@ type BillingAccountsSinksUpdateCall struct {
// filter.The updated sink might also have a new writer_identity; see
// the unique_writer_identity field.
//
-// - sinkName: The full resource name of the sink to update, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to update, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *BillingAccountsSinksService) Update(sinkNameid string, logsink *LogSink) *BillingAccountsSinksUpdateCall {
c := &BillingAccountsSinksUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -9877,10 +9877,10 @@ type ExclusionsCreateCall struct {
// parent resource. Only log entries belonging to that resource can be
// excluded. You can have up to 10 exclusions in a resource.
//
-// - parent: The parent resource in which to create the exclusion:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-logging-project" "organizations/123456789".
+// - parent: The parent resource in which to create the exclusion:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-logging-project" "organizations/123456789".
func (r *ExclusionsService) Create(parent string, logexclusion *LogExclusion) *ExclusionsCreateCall {
c := &ExclusionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10022,12 +10022,12 @@ type ExclusionsDeleteCall struct {
// Delete: Deletes an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion to delete:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion to delete:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *ExclusionsService) Delete(name string) *ExclusionsDeleteCall {
c := &ExclusionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10161,12 +10161,12 @@ type ExclusionsGetCall struct {
// Get: Gets the description of an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *ExclusionsService) Get(name string) *ExclusionsGetCall {
c := &ExclusionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10316,9 +10316,9 @@ type ExclusionsListCall struct {
// List: Lists all the exclusions on the _Default sink in a parent
// resource.
//
-// - parent: The parent resource whose exclusions are to be listed.
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose exclusions are to be listed.
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *ExclusionsService) List(parent string) *ExclusionsListCall {
c := &ExclusionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10519,12 +10519,12 @@ type ExclusionsPatchCall struct {
// Patch: Changes one or more properties of an existing exclusion in the
// _Default sink.
//
-// - name: The resource name of the exclusion to update:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of the exclusion to update:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *ExclusionsService) Patch(name string, logexclusion *LogExclusion) *ExclusionsPatchCall {
c := &ExclusionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10692,16 +10692,16 @@ type FoldersGetCmekSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve CMEK settings.
-// "projects/[PROJECT_ID]/cmekSettings"
-// "organizations/[ORGANIZATION_ID]/cmekSettings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-// "folders/[FOLDER_ID]/cmekSettings" For
-// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
-// Router can be configured for Google Cloud projects, folders,
-// organizations and billing accounts. Once configured for an
-// organization, it applies to all projects and folders in the Google
-// Cloud organization.
+// - name: The resource for which to retrieve CMEK settings.
+// "projects/[PROJECT_ID]/cmekSettings"
+// "organizations/[ORGANIZATION_ID]/cmekSettings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+// "folders/[FOLDER_ID]/cmekSettings" For
+// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
+// Router can be configured for Google Cloud projects, folders,
+// organizations and billing accounts. Once configured for an
+// organization, it applies to all projects and folders in the Google
+// Cloud organization.
func (r *FoldersService) GetCmekSettings(name string) *FoldersGetCmekSettingsCall {
c := &FoldersGetCmekSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10858,16 +10858,16 @@ type FoldersGetSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve settings.
-// "projects/[PROJECT_ID]/settings"
-// "organizations/[ORGANIZATION_ID]/settings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
-// "folders/[FOLDER_ID]/settings" For
-// example:"organizations/12345/settings"Note: Settings for the Log
-// Router can be get for Google Cloud projects, folders, organizations
-// and billing accounts. Currently it can only be configured for
-// organizations. Once configured for an organization, it applies to
-// all projects and folders in the Google Cloud organization.
+// - name: The resource for which to retrieve settings.
+// "projects/[PROJECT_ID]/settings"
+// "organizations/[ORGANIZATION_ID]/settings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+// "folders/[FOLDER_ID]/settings" For
+// example:"organizations/12345/settings"Note: Settings for the Log
+// Router can be get for Google Cloud projects, folders, organizations
+// and billing accounts. Currently it can only be configured for
+// organizations. Once configured for an organization, it applies to
+// all projects and folders in the Google Cloud organization.
func (r *FoldersService) GetSettings(name string) *FoldersGetSettingsCall {
c := &FoldersGetSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11027,12 +11027,12 @@ type FoldersUpdateSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource name for the settings to update.
-// "organizations/[ORGANIZATION_ID]/settings" For
-// example:"organizations/12345/settings"Note: Settings for the Log
-// Router can currently only be configured for Google Cloud
-// organizations. Once configured, it applies to all projects and
-// folders in the Google Cloud organization.
+// - name: The resource name for the settings to update.
+// "organizations/[ORGANIZATION_ID]/settings" For
+// example:"organizations/12345/settings"Note: Settings for the Log
+// Router can currently only be configured for Google Cloud
+// organizations. Once configured, it applies to all projects and
+// folders in the Google Cloud organization.
func (r *FoldersService) UpdateSettings(name string, settings *Settings) *FoldersUpdateSettingsCall {
c := &FoldersUpdateSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11193,10 +11193,10 @@ type FoldersExclusionsCreateCall struct {
// parent resource. Only log entries belonging to that resource can be
// excluded. You can have up to 10 exclusions in a resource.
//
-// - parent: The parent resource in which to create the exclusion:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-logging-project" "organizations/123456789".
+// - parent: The parent resource in which to create the exclusion:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-logging-project" "organizations/123456789".
func (r *FoldersExclusionsService) Create(parent string, logexclusion *LogExclusion) *FoldersExclusionsCreateCall {
c := &FoldersExclusionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11338,12 +11338,12 @@ type FoldersExclusionsDeleteCall struct {
// Delete: Deletes an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion to delete:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion to delete:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *FoldersExclusionsService) Delete(name string) *FoldersExclusionsDeleteCall {
c := &FoldersExclusionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11477,12 +11477,12 @@ type FoldersExclusionsGetCall struct {
// Get: Gets the description of an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *FoldersExclusionsService) Get(name string) *FoldersExclusionsGetCall {
c := &FoldersExclusionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11632,9 +11632,9 @@ type FoldersExclusionsListCall struct {
// List: Lists all the exclusions on the _Default sink in a parent
// resource.
//
-// - parent: The parent resource whose exclusions are to be listed.
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose exclusions are to be listed.
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *FoldersExclusionsService) List(parent string) *FoldersExclusionsListCall {
c := &FoldersExclusionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11835,12 +11835,12 @@ type FoldersExclusionsPatchCall struct {
// Patch: Changes one or more properties of an existing exclusion in the
// _Default sink.
//
-// - name: The resource name of the exclusion to update:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of the exclusion to update:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *FoldersExclusionsService) Patch(name string, logexclusion *LogExclusion) *FoldersExclusionsPatchCall {
c := &FoldersExclusionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12151,8 +12151,8 @@ type FoldersLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *FoldersLocationsService) List(name string) *FoldersLocationsListCall {
c := &FoldersLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12364,9 +12364,9 @@ type FoldersLocationsBucketsCreateCall struct {
// After a bucket has been created, the bucket's location cannot be
// changed.
//
-// - parent: The resource in which to create the log bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
-// example:"projects/my-project/locations/global".
+// - parent: The resource in which to create the log bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
+// example:"projects/my-project/locations/global".
func (r *FoldersLocationsBucketsService) Create(parent string, logbucket *LogBucket) *FoldersLocationsBucketsCreateCall {
c := &FoldersLocationsBucketsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12524,15 +12524,15 @@ type FoldersLocationsBucketsDeleteCall struct {
// the DELETE_REQUESTED state. After 7 days, the bucket will be purged
// and all log entries in the bucket will be permanently deleted.
//
-// - name: The full resource name of the bucket to delete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to delete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *FoldersLocationsBucketsService) Delete(name string) *FoldersLocationsBucketsDeleteCall {
c := &FoldersLocationsBucketsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12666,15 +12666,15 @@ type FoldersLocationsBucketsGetCall struct {
// Get: Gets a log bucket.
//
-// - name: The resource name of the bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The resource name of the bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *FoldersLocationsBucketsService) Get(name string) *FoldersLocationsBucketsGetCall {
c := &FoldersLocationsBucketsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12823,13 +12823,13 @@ type FoldersLocationsBucketsListCall struct {
// List: Lists log buckets.
//
-// - parent: The parent resource whose buckets are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
-// portion of the resource must be specified, but supplying the
-// character - in place of LOCATION_ID will return all buckets.
+// - parent: The parent resource whose buckets are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
+// portion of the resource must be specified, but supplying the
+// character - in place of LOCATION_ID will return all buckets.
func (r *FoldersLocationsBucketsService) List(parent string) *FoldersLocationsBucketsListCall {
c := &FoldersLocationsBucketsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13035,15 +13035,15 @@ type FoldersLocationsBucketsPatchCall struct {
// returned.After a bucket has been created, the bucket's location
// cannot be changed.
//
-// - name: The full resource name of the bucket to update.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to update.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *FoldersLocationsBucketsService) Patch(name string, logbucket *LogBucket) *FoldersLocationsBucketsPatchCall {
c := &FoldersLocationsBucketsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13205,15 +13205,15 @@ type FoldersLocationsBucketsUndeleteCall struct {
// Undelete: Undeletes a log bucket. A bucket that has been deleted can
// be undeleted within the grace period of 7 days.
//
-// - name: The full resource name of the bucket to undelete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to undelete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *FoldersLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *FoldersLocationsBucketsUndeleteCall {
c := &FoldersLocationsBucketsUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13357,10 +13357,10 @@ type FoldersLocationsBucketsViewsCreateCall struct {
// Create: Creates a view over log entries in a log bucket. A bucket may
// contain a maximum of 30 views.
//
-// - parent: The bucket in which to create the view
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// ` For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - parent: The bucket in which to create the view
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// ` For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *FoldersLocationsBucketsViewsService) Create(parent string, logview *LogView) *FoldersLocationsBucketsViewsCreateCall {
c := &FoldersLocationsBucketsViewsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13516,11 +13516,11 @@ type FoldersLocationsBucketsViewsDeleteCall struct {
// returned, this indicates that system is not in a state where it can
// delete the view. If this occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to delete:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to delete:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *FoldersLocationsBucketsViewsService) Delete(name string) *FoldersLocationsBucketsViewsDeleteCall {
c := &FoldersLocationsBucketsViewsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13654,11 +13654,11 @@ type FoldersLocationsBucketsViewsGetCall struct {
// Get: Gets a view on a log bucket..
//
-// - name: The resource name of the policy:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The resource name of the policy:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *FoldersLocationsBucketsViewsService) Get(name string) *FoldersLocationsBucketsViewsGetCall {
c := &FoldersLocationsBucketsViewsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13807,8 +13807,8 @@ type FoldersLocationsBucketsViewsListCall struct {
// List: Lists views on a log bucket.
//
-// - parent: The bucket whose views are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
+// - parent: The bucket whose views are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (r *FoldersLocationsBucketsViewsService) List(parent string) *FoldersLocationsBucketsViewsListCall {
c := &FoldersLocationsBucketsViewsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14012,11 +14012,11 @@ type FoldersLocationsBucketsViewsPatchCall struct {
// system is not in a state where it can update the view. If this
// occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to update
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to update
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *FoldersLocationsBucketsViewsService) Patch(name string, logview *LogView) *FoldersLocationsBucketsViewsPatchCall {
c := &FoldersLocationsBucketsViewsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14178,9 +14178,9 @@ type FoldersLocationsBucketsViewsLogsListCall struct {
// List: Lists the logs in projects, organizations, folders, or billing
// accounts. Only logs that have entries are listed.
//
-// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
-// organizations/[ORGANIZATION_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
+// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
+// organizations/[ORGANIZATION_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
func (r *FoldersLocationsBucketsViewsLogsService) List(parent string) *FoldersLocationsBucketsViewsLogsListCall {
c := &FoldersLocationsBucketsViewsLogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14925,14 +14925,14 @@ type FoldersLogsDeleteCall struct {
// Entries received after the delete operation with a timestamp before
// the operation will be deleted.
//
-// - logName: The resource name of the log to delete:
-// projects/[PROJECT_ID]/logs/[LOG_ID]
-// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
-// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
-// example, "projects/my-project-id/logs/syslog",
-// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
-// more information about log names, see LogEntry.
+// - logName: The resource name of the log to delete:
+// projects/[PROJECT_ID]/logs/[LOG_ID]
+// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
+// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
+// example, "projects/my-project-id/logs/syslog",
+// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
+// more information about log names, see LogEntry.
func (r *FoldersLogsService) Delete(logName string) *FoldersLogsDeleteCall {
c := &FoldersLogsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.logName = logName
@@ -15067,9 +15067,9 @@ type FoldersLogsListCall struct {
// List: Lists the logs in projects, organizations, folders, or billing
// accounts. Only logs that have entries are listed.
//
-// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
-// organizations/[ORGANIZATION_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
+// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
+// organizations/[ORGANIZATION_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
func (r *FoldersLogsService) List(parent string) *FoldersLogsListCall {
c := &FoldersLogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15296,10 +15296,10 @@ type FoldersSinksCreateCall struct {
// write to the destination. A sink can export log entries only from the
// resource owning the sink.
//
-// - parent: The resource in which to create the sink:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-project" "organizations/123456789".
+// - parent: The resource in which to create the sink:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-project" "organizations/123456789".
func (r *FoldersSinksService) Create(parent string, logsink *LogSink) *FoldersSinksCreateCall {
c := &FoldersSinksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15464,13 +15464,13 @@ type FoldersSinksDeleteCall struct {
// Delete: Deletes a sink. If the sink has a unique writer_identity,
// then that service account is also deleted.
//
-// - sinkName: The full resource name of the sink to delete, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to delete, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *FoldersSinksService) Delete(sinkNameid string) *FoldersSinksDeleteCall {
c := &FoldersSinksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -15604,12 +15604,12 @@ type FoldersSinksGetCall struct {
// Get: Gets a sink.
//
-// - sinkName: The resource name of the sink:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The resource name of the sink:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *FoldersSinksService) Get(sinkName string) *FoldersSinksGetCall {
c := &FoldersSinksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkName = sinkName
@@ -15758,9 +15758,9 @@ type FoldersSinksListCall struct {
// List: Lists sinks.
//
-// - parent: The parent resource whose sinks are to be listed:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose sinks are to be listed:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *FoldersSinksService) List(parent string) *FoldersSinksListCall {
c := &FoldersSinksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15963,13 +15963,13 @@ type FoldersSinksPatchCall struct {
// filter.The updated sink might also have a new writer_identity; see
// the unique_writer_identity field.
//
-// - sinkName: The full resource name of the sink to update, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to update, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *FoldersSinksService) Patch(sinkNameid string, logsink *LogSink) *FoldersSinksPatchCall {
c := &FoldersSinksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -16156,13 +16156,13 @@ type FoldersSinksUpdateCall struct {
// filter.The updated sink might also have a new writer_identity; see
// the unique_writer_identity field.
//
-// - sinkName: The full resource name of the sink to update, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to update, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *FoldersSinksService) Update(sinkNameid string, logsink *LogSink) *FoldersSinksUpdateCall {
c := &FoldersSinksUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -16496,8 +16496,8 @@ type LocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *LocationsService) List(name string) *LocationsListCall {
c := &LocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16709,9 +16709,9 @@ type LocationsBucketsCreateCall struct {
// After a bucket has been created, the bucket's location cannot be
// changed.
//
-// - parent: The resource in which to create the log bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
-// example:"projects/my-project/locations/global".
+// - parent: The resource in which to create the log bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
+// example:"projects/my-project/locations/global".
func (r *LocationsBucketsService) Create(parent string, logbucket *LogBucket) *LocationsBucketsCreateCall {
c := &LocationsBucketsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16869,15 +16869,15 @@ type LocationsBucketsDeleteCall struct {
// the DELETE_REQUESTED state. After 7 days, the bucket will be purged
// and all log entries in the bucket will be permanently deleted.
//
-// - name: The full resource name of the bucket to delete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to delete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *LocationsBucketsService) Delete(name string) *LocationsBucketsDeleteCall {
c := &LocationsBucketsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17011,15 +17011,15 @@ type LocationsBucketsGetCall struct {
// Get: Gets a log bucket.
//
-// - name: The resource name of the bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The resource name of the bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *LocationsBucketsService) Get(name string) *LocationsBucketsGetCall {
c := &LocationsBucketsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17168,13 +17168,13 @@ type LocationsBucketsListCall struct {
// List: Lists log buckets.
//
-// - parent: The parent resource whose buckets are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
-// portion of the resource must be specified, but supplying the
-// character - in place of LOCATION_ID will return all buckets.
+// - parent: The parent resource whose buckets are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
+// portion of the resource must be specified, but supplying the
+// character - in place of LOCATION_ID will return all buckets.
func (r *LocationsBucketsService) List(parent string) *LocationsBucketsListCall {
c := &LocationsBucketsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17380,15 +17380,15 @@ type LocationsBucketsPatchCall struct {
// returned.After a bucket has been created, the bucket's location
// cannot be changed.
//
-// - name: The full resource name of the bucket to update.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to update.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *LocationsBucketsService) Patch(name string, logbucket *LogBucket) *LocationsBucketsPatchCall {
c := &LocationsBucketsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17550,15 +17550,15 @@ type LocationsBucketsUndeleteCall struct {
// Undelete: Undeletes a log bucket. A bucket that has been deleted can
// be undeleted within the grace period of 7 days.
//
-// - name: The full resource name of the bucket to undelete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to undelete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *LocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *LocationsBucketsUndeleteCall {
c := &LocationsBucketsUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17702,10 +17702,10 @@ type LocationsBucketsViewsCreateCall struct {
// Create: Creates a view over log entries in a log bucket. A bucket may
// contain a maximum of 30 views.
//
-// - parent: The bucket in which to create the view
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// ` For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - parent: The bucket in which to create the view
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// ` For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *LocationsBucketsViewsService) Create(parent string, logview *LogView) *LocationsBucketsViewsCreateCall {
c := &LocationsBucketsViewsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17861,11 +17861,11 @@ type LocationsBucketsViewsDeleteCall struct {
// returned, this indicates that system is not in a state where it can
// delete the view. If this occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to delete:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to delete:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *LocationsBucketsViewsService) Delete(name string) *LocationsBucketsViewsDeleteCall {
c := &LocationsBucketsViewsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17999,11 +17999,11 @@ type LocationsBucketsViewsGetCall struct {
// Get: Gets a view on a log bucket..
//
-// - name: The resource name of the policy:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The resource name of the policy:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *LocationsBucketsViewsService) Get(name string) *LocationsBucketsViewsGetCall {
c := &LocationsBucketsViewsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18152,8 +18152,8 @@ type LocationsBucketsViewsListCall struct {
// List: Lists views on a log bucket.
//
-// - parent: The bucket whose views are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
+// - parent: The bucket whose views are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (r *LocationsBucketsViewsService) List(parent string) *LocationsBucketsViewsListCall {
c := &LocationsBucketsViewsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -18357,11 +18357,11 @@ type LocationsBucketsViewsPatchCall struct {
// system is not in a state where it can update the view. If this
// occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to update
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to update
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *LocationsBucketsViewsService) Patch(name string, logview *LogView) *LocationsBucketsViewsPatchCall {
c := &LocationsBucketsViewsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19044,14 +19044,14 @@ type LogsDeleteCall struct {
// Entries received after the delete operation with a timestamp before
// the operation will be deleted.
//
-// - logName: The resource name of the log to delete:
-// projects/[PROJECT_ID]/logs/[LOG_ID]
-// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
-// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
-// example, "projects/my-project-id/logs/syslog",
-// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
-// more information about log names, see LogEntry.
+// - logName: The resource name of the log to delete:
+// projects/[PROJECT_ID]/logs/[LOG_ID]
+// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
+// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
+// example, "projects/my-project-id/logs/syslog",
+// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
+// more information about log names, see LogEntry.
func (r *LogsService) Delete(logName string) *LogsDeleteCall {
c := &LogsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.logName = logName
@@ -19186,9 +19186,9 @@ type LogsListCall struct {
// List: Lists the logs in projects, organizations, folders, or billing
// accounts. Only logs that have entries are listed.
//
-// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
-// organizations/[ORGANIZATION_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
+// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
+// organizations/[ORGANIZATION_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
func (r *LogsService) List(parent string) *LogsListCall {
c := &LogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19605,16 +19605,16 @@ type OrganizationsGetCmekSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve CMEK settings.
-// "projects/[PROJECT_ID]/cmekSettings"
-// "organizations/[ORGANIZATION_ID]/cmekSettings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-// "folders/[FOLDER_ID]/cmekSettings" For
-// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
-// Router can be configured for Google Cloud projects, folders,
-// organizations and billing accounts. Once configured for an
-// organization, it applies to all projects and folders in the Google
-// Cloud organization.
+// - name: The resource for which to retrieve CMEK settings.
+// "projects/[PROJECT_ID]/cmekSettings"
+// "organizations/[ORGANIZATION_ID]/cmekSettings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+// "folders/[FOLDER_ID]/cmekSettings" For
+// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
+// Router can be configured for Google Cloud projects, folders,
+// organizations and billing accounts. Once configured for an
+// organization, it applies to all projects and folders in the Google
+// Cloud organization.
func (r *OrganizationsService) GetCmekSettings(name string) *OrganizationsGetCmekSettingsCall {
c := &OrganizationsGetCmekSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19771,16 +19771,16 @@ type OrganizationsGetSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve settings.
-// "projects/[PROJECT_ID]/settings"
-// "organizations/[ORGANIZATION_ID]/settings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
-// "folders/[FOLDER_ID]/settings" For
-// example:"organizations/12345/settings"Note: Settings for the Log
-// Router can be get for Google Cloud projects, folders, organizations
-// and billing accounts. Currently it can only be configured for
-// organizations. Once configured for an organization, it applies to
-// all projects and folders in the Google Cloud organization.
+// - name: The resource for which to retrieve settings.
+// "projects/[PROJECT_ID]/settings"
+// "organizations/[ORGANIZATION_ID]/settings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+// "folders/[FOLDER_ID]/settings" For
+// example:"organizations/12345/settings"Note: Settings for the Log
+// Router can be get for Google Cloud projects, folders, organizations
+// and billing accounts. Currently it can only be configured for
+// organizations. Once configured for an organization, it applies to
+// all projects and folders in the Google Cloud organization.
func (r *OrganizationsService) GetSettings(name string) *OrganizationsGetSettingsCall {
c := &OrganizationsGetSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19939,15 +19939,15 @@ type OrganizationsUpdateCmekSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource name for the CMEK settings to update.
-// "projects/[PROJECT_ID]/cmekSettings"
-// "organizations/[ORGANIZATION_ID]/cmekSettings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-// "folders/[FOLDER_ID]/cmekSettings" For
-// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
-// Router can currently only be configured for Google Cloud
-// organizations. Once configured, it applies to all projects and
-// folders in the Google Cloud organization.
+// - name: The resource name for the CMEK settings to update.
+// "projects/[PROJECT_ID]/cmekSettings"
+// "organizations/[ORGANIZATION_ID]/cmekSettings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+// "folders/[FOLDER_ID]/cmekSettings" For
+// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
+// Router can currently only be configured for Google Cloud
+// organizations. Once configured, it applies to all projects and
+// folders in the Google Cloud organization.
func (r *OrganizationsService) UpdateCmekSettings(name string, cmeksettings *CmekSettings) *OrganizationsUpdateCmekSettingsCall {
c := &OrganizationsUpdateCmekSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20117,12 +20117,12 @@ type OrganizationsUpdateSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource name for the settings to update.
-// "organizations/[ORGANIZATION_ID]/settings" For
-// example:"organizations/12345/settings"Note: Settings for the Log
-// Router can currently only be configured for Google Cloud
-// organizations. Once configured, it applies to all projects and
-// folders in the Google Cloud organization.
+// - name: The resource name for the settings to update.
+// "organizations/[ORGANIZATION_ID]/settings" For
+// example:"organizations/12345/settings"Note: Settings for the Log
+// Router can currently only be configured for Google Cloud
+// organizations. Once configured, it applies to all projects and
+// folders in the Google Cloud organization.
func (r *OrganizationsService) UpdateSettings(name string, settings *Settings) *OrganizationsUpdateSettingsCall {
c := &OrganizationsUpdateSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20283,10 +20283,10 @@ type OrganizationsExclusionsCreateCall struct {
// parent resource. Only log entries belonging to that resource can be
// excluded. You can have up to 10 exclusions in a resource.
//
-// - parent: The parent resource in which to create the exclusion:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-logging-project" "organizations/123456789".
+// - parent: The parent resource in which to create the exclusion:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-logging-project" "organizations/123456789".
func (r *OrganizationsExclusionsService) Create(parent string, logexclusion *LogExclusion) *OrganizationsExclusionsCreateCall {
c := &OrganizationsExclusionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20428,12 +20428,12 @@ type OrganizationsExclusionsDeleteCall struct {
// Delete: Deletes an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion to delete:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion to delete:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *OrganizationsExclusionsService) Delete(name string) *OrganizationsExclusionsDeleteCall {
c := &OrganizationsExclusionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20567,12 +20567,12 @@ type OrganizationsExclusionsGetCall struct {
// Get: Gets the description of an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *OrganizationsExclusionsService) Get(name string) *OrganizationsExclusionsGetCall {
c := &OrganizationsExclusionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -20722,9 +20722,9 @@ type OrganizationsExclusionsListCall struct {
// List: Lists all the exclusions on the _Default sink in a parent
// resource.
//
-// - parent: The parent resource whose exclusions are to be listed.
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose exclusions are to be listed.
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *OrganizationsExclusionsService) List(parent string) *OrganizationsExclusionsListCall {
c := &OrganizationsExclusionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -20925,12 +20925,12 @@ type OrganizationsExclusionsPatchCall struct {
// Patch: Changes one or more properties of an existing exclusion in the
// _Default sink.
//
-// - name: The resource name of the exclusion to update:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of the exclusion to update:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *OrganizationsExclusionsService) Patch(name string, logexclusion *LogExclusion) *OrganizationsExclusionsPatchCall {
c := &OrganizationsExclusionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21241,8 +21241,8 @@ type OrganizationsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *OrganizationsLocationsService) List(name string) *OrganizationsLocationsListCall {
c := &OrganizationsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21454,9 +21454,9 @@ type OrganizationsLocationsBucketsCreateCall struct {
// After a bucket has been created, the bucket's location cannot be
// changed.
//
-// - parent: The resource in which to create the log bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
-// example:"projects/my-project/locations/global".
+// - parent: The resource in which to create the log bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
+// example:"projects/my-project/locations/global".
func (r *OrganizationsLocationsBucketsService) Create(parent string, logbucket *LogBucket) *OrganizationsLocationsBucketsCreateCall {
c := &OrganizationsLocationsBucketsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -21614,15 +21614,15 @@ type OrganizationsLocationsBucketsDeleteCall struct {
// the DELETE_REQUESTED state. After 7 days, the bucket will be purged
// and all log entries in the bucket will be permanently deleted.
//
-// - name: The full resource name of the bucket to delete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to delete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *OrganizationsLocationsBucketsService) Delete(name string) *OrganizationsLocationsBucketsDeleteCall {
c := &OrganizationsLocationsBucketsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21756,15 +21756,15 @@ type OrganizationsLocationsBucketsGetCall struct {
// Get: Gets a log bucket.
//
-// - name: The resource name of the bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The resource name of the bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *OrganizationsLocationsBucketsService) Get(name string) *OrganizationsLocationsBucketsGetCall {
c := &OrganizationsLocationsBucketsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -21913,13 +21913,13 @@ type OrganizationsLocationsBucketsListCall struct {
// List: Lists log buckets.
//
-// - parent: The parent resource whose buckets are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
-// portion of the resource must be specified, but supplying the
-// character - in place of LOCATION_ID will return all buckets.
+// - parent: The parent resource whose buckets are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
+// portion of the resource must be specified, but supplying the
+// character - in place of LOCATION_ID will return all buckets.
func (r *OrganizationsLocationsBucketsService) List(parent string) *OrganizationsLocationsBucketsListCall {
c := &OrganizationsLocationsBucketsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22125,15 +22125,15 @@ type OrganizationsLocationsBucketsPatchCall struct {
// returned.After a bucket has been created, the bucket's location
// cannot be changed.
//
-// - name: The full resource name of the bucket to update.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to update.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *OrganizationsLocationsBucketsService) Patch(name string, logbucket *LogBucket) *OrganizationsLocationsBucketsPatchCall {
c := &OrganizationsLocationsBucketsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22295,15 +22295,15 @@ type OrganizationsLocationsBucketsUndeleteCall struct {
// Undelete: Undeletes a log bucket. A bucket that has been deleted can
// be undeleted within the grace period of 7 days.
//
-// - name: The full resource name of the bucket to undelete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to undelete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *OrganizationsLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *OrganizationsLocationsBucketsUndeleteCall {
c := &OrganizationsLocationsBucketsUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22447,10 +22447,10 @@ type OrganizationsLocationsBucketsViewsCreateCall struct {
// Create: Creates a view over log entries in a log bucket. A bucket may
// contain a maximum of 30 views.
//
-// - parent: The bucket in which to create the view
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// ` For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - parent: The bucket in which to create the view
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// ` For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *OrganizationsLocationsBucketsViewsService) Create(parent string, logview *LogView) *OrganizationsLocationsBucketsViewsCreateCall {
c := &OrganizationsLocationsBucketsViewsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -22606,11 +22606,11 @@ type OrganizationsLocationsBucketsViewsDeleteCall struct {
// returned, this indicates that system is not in a state where it can
// delete the view. If this occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to delete:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to delete:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *OrganizationsLocationsBucketsViewsService) Delete(name string) *OrganizationsLocationsBucketsViewsDeleteCall {
c := &OrganizationsLocationsBucketsViewsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22744,11 +22744,11 @@ type OrganizationsLocationsBucketsViewsGetCall struct {
// Get: Gets a view on a log bucket..
//
-// - name: The resource name of the policy:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The resource name of the policy:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *OrganizationsLocationsBucketsViewsService) Get(name string) *OrganizationsLocationsBucketsViewsGetCall {
c := &OrganizationsLocationsBucketsViewsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -22897,8 +22897,8 @@ type OrganizationsLocationsBucketsViewsListCall struct {
// List: Lists views on a log bucket.
//
-// - parent: The bucket whose views are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
+// - parent: The bucket whose views are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (r *OrganizationsLocationsBucketsViewsService) List(parent string) *OrganizationsLocationsBucketsViewsListCall {
c := &OrganizationsLocationsBucketsViewsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -23102,11 +23102,11 @@ type OrganizationsLocationsBucketsViewsPatchCall struct {
// system is not in a state where it can update the view. If this
// occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to update
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to update
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *OrganizationsLocationsBucketsViewsService) Patch(name string, logview *LogView) *OrganizationsLocationsBucketsViewsPatchCall {
c := &OrganizationsLocationsBucketsViewsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -23268,9 +23268,9 @@ type OrganizationsLocationsBucketsViewsLogsListCall struct {
// List: Lists the logs in projects, organizations, folders, or billing
// accounts. Only logs that have entries are listed.
//
-// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
-// organizations/[ORGANIZATION_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
+// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
+// organizations/[ORGANIZATION_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
func (r *OrganizationsLocationsBucketsViewsLogsService) List(parent string) *OrganizationsLocationsBucketsViewsLogsListCall {
c := &OrganizationsLocationsBucketsViewsLogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24015,14 +24015,14 @@ type OrganizationsLogsDeleteCall struct {
// Entries received after the delete operation with a timestamp before
// the operation will be deleted.
//
-// - logName: The resource name of the log to delete:
-// projects/[PROJECT_ID]/logs/[LOG_ID]
-// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
-// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
-// example, "projects/my-project-id/logs/syslog",
-// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
-// more information about log names, see LogEntry.
+// - logName: The resource name of the log to delete:
+// projects/[PROJECT_ID]/logs/[LOG_ID]
+// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
+// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
+// example, "projects/my-project-id/logs/syslog",
+// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
+// more information about log names, see LogEntry.
func (r *OrganizationsLogsService) Delete(logName string) *OrganizationsLogsDeleteCall {
c := &OrganizationsLogsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.logName = logName
@@ -24157,9 +24157,9 @@ type OrganizationsLogsListCall struct {
// List: Lists the logs in projects, organizations, folders, or billing
// accounts. Only logs that have entries are listed.
//
-// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
-// organizations/[ORGANIZATION_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
+// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
+// organizations/[ORGANIZATION_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
func (r *OrganizationsLogsService) List(parent string) *OrganizationsLogsListCall {
c := &OrganizationsLogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24386,10 +24386,10 @@ type OrganizationsSinksCreateCall struct {
// write to the destination. A sink can export log entries only from the
// resource owning the sink.
//
-// - parent: The resource in which to create the sink:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-project" "organizations/123456789".
+// - parent: The resource in which to create the sink:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-project" "organizations/123456789".
func (r *OrganizationsSinksService) Create(parent string, logsink *LogSink) *OrganizationsSinksCreateCall {
c := &OrganizationsSinksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -24554,13 +24554,13 @@ type OrganizationsSinksDeleteCall struct {
// Delete: Deletes a sink. If the sink has a unique writer_identity,
// then that service account is also deleted.
//
-// - sinkName: The full resource name of the sink to delete, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to delete, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *OrganizationsSinksService) Delete(sinkNameid string) *OrganizationsSinksDeleteCall {
c := &OrganizationsSinksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -24694,12 +24694,12 @@ type OrganizationsSinksGetCall struct {
// Get: Gets a sink.
//
-// - sinkName: The resource name of the sink:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The resource name of the sink:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *OrganizationsSinksService) Get(sinkName string) *OrganizationsSinksGetCall {
c := &OrganizationsSinksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkName = sinkName
@@ -24848,9 +24848,9 @@ type OrganizationsSinksListCall struct {
// List: Lists sinks.
//
-// - parent: The parent resource whose sinks are to be listed:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose sinks are to be listed:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *OrganizationsSinksService) List(parent string) *OrganizationsSinksListCall {
c := &OrganizationsSinksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25053,13 +25053,13 @@ type OrganizationsSinksPatchCall struct {
// filter.The updated sink might also have a new writer_identity; see
// the unique_writer_identity field.
//
-// - sinkName: The full resource name of the sink to update, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to update, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *OrganizationsSinksService) Patch(sinkNameid string, logsink *LogSink) *OrganizationsSinksPatchCall {
c := &OrganizationsSinksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -25246,13 +25246,13 @@ type OrganizationsSinksUpdateCall struct {
// filter.The updated sink might also have a new writer_identity; see
// the unique_writer_identity field.
//
-// - sinkName: The full resource name of the sink to update, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to update, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *OrganizationsSinksService) Update(sinkNameid string, logsink *LogSink) *OrganizationsSinksUpdateCall {
c := &OrganizationsSinksUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -25443,16 +25443,16 @@ type ProjectsGetCmekSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve CMEK settings.
-// "projects/[PROJECT_ID]/cmekSettings"
-// "organizations/[ORGANIZATION_ID]/cmekSettings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-// "folders/[FOLDER_ID]/cmekSettings" For
-// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
-// Router can be configured for Google Cloud projects, folders,
-// organizations and billing accounts. Once configured for an
-// organization, it applies to all projects and folders in the Google
-// Cloud organization.
+// - name: The resource for which to retrieve CMEK settings.
+// "projects/[PROJECT_ID]/cmekSettings"
+// "organizations/[ORGANIZATION_ID]/cmekSettings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+// "folders/[FOLDER_ID]/cmekSettings" For
+// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
+// Router can be configured for Google Cloud projects, folders,
+// organizations and billing accounts. Once configured for an
+// organization, it applies to all projects and folders in the Google
+// Cloud organization.
func (r *ProjectsService) GetCmekSettings(name string) *ProjectsGetCmekSettingsCall {
c := &ProjectsGetCmekSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25609,16 +25609,16 @@ type ProjectsGetSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve settings.
-// "projects/[PROJECT_ID]/settings"
-// "organizations/[ORGANIZATION_ID]/settings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
-// "folders/[FOLDER_ID]/settings" For
-// example:"organizations/12345/settings"Note: Settings for the Log
-// Router can be get for Google Cloud projects, folders, organizations
-// and billing accounts. Currently it can only be configured for
-// organizations. Once configured for an organization, it applies to
-// all projects and folders in the Google Cloud organization.
+// - name: The resource for which to retrieve settings.
+// "projects/[PROJECT_ID]/settings"
+// "organizations/[ORGANIZATION_ID]/settings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+// "folders/[FOLDER_ID]/settings" For
+// example:"organizations/12345/settings"Note: Settings for the Log
+// Router can be get for Google Cloud projects, folders, organizations
+// and billing accounts. Currently it can only be configured for
+// organizations. Once configured for an organization, it applies to
+// all projects and folders in the Google Cloud organization.
func (r *ProjectsService) GetSettings(name string) *ProjectsGetSettingsCall {
c := &ProjectsGetSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -25769,10 +25769,10 @@ type ProjectsExclusionsCreateCall struct {
// parent resource. Only log entries belonging to that resource can be
// excluded. You can have up to 10 exclusions in a resource.
//
-// - parent: The parent resource in which to create the exclusion:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-logging-project" "organizations/123456789".
+// - parent: The parent resource in which to create the exclusion:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-logging-project" "organizations/123456789".
func (r *ProjectsExclusionsService) Create(parent string, logexclusion *LogExclusion) *ProjectsExclusionsCreateCall {
c := &ProjectsExclusionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -25914,12 +25914,12 @@ type ProjectsExclusionsDeleteCall struct {
// Delete: Deletes an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion to delete:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion to delete:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *ProjectsExclusionsService) Delete(name string) *ProjectsExclusionsDeleteCall {
c := &ProjectsExclusionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26053,12 +26053,12 @@ type ProjectsExclusionsGetCall struct {
// Get: Gets the description of an exclusion in the _Default sink.
//
-// - name: The resource name of an existing exclusion:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of an existing exclusion:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *ProjectsExclusionsService) Get(name string) *ProjectsExclusionsGetCall {
c := &ProjectsExclusionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26208,9 +26208,9 @@ type ProjectsExclusionsListCall struct {
// List: Lists all the exclusions on the _Default sink in a parent
// resource.
//
-// - parent: The parent resource whose exclusions are to be listed.
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose exclusions are to be listed.
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *ProjectsExclusionsService) List(parent string) *ProjectsExclusionsListCall {
c := &ProjectsExclusionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -26411,12 +26411,12 @@ type ProjectsExclusionsPatchCall struct {
// Patch: Changes one or more properties of an existing exclusion in the
// _Default sink.
//
-// - name: The resource name of the exclusion to update:
-// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
-// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
-// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
-// example:"projects/my-project/exclusions/my-exclusion".
+// - name: The resource name of the exclusion to update:
+// "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
+// "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
+// "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For
+// example:"projects/my-project/exclusions/my-exclusion".
func (r *ProjectsExclusionsService) Patch(name string, logexclusion *LogExclusion) *ProjectsExclusionsPatchCall {
c := &ProjectsExclusionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26727,8 +26727,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -26940,9 +26940,9 @@ type ProjectsLocationsBucketsCreateCall struct {
// After a bucket has been created, the bucket's location cannot be
// changed.
//
-// - parent: The resource in which to create the log bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
-// example:"projects/my-project/locations/global".
+// - parent: The resource in which to create the log bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For
+// example:"projects/my-project/locations/global".
func (r *ProjectsLocationsBucketsService) Create(parent string, logbucket *LogBucket) *ProjectsLocationsBucketsCreateCall {
c := &ProjectsLocationsBucketsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27100,15 +27100,15 @@ type ProjectsLocationsBucketsDeleteCall struct {
// the DELETE_REQUESTED state. After 7 days, the bucket will be purged
// and all log entries in the bucket will be permanently deleted.
//
-// - name: The full resource name of the bucket to delete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to delete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *ProjectsLocationsBucketsService) Delete(name string) *ProjectsLocationsBucketsDeleteCall {
c := &ProjectsLocationsBucketsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27242,15 +27242,15 @@ type ProjectsLocationsBucketsGetCall struct {
// Get: Gets a log bucket.
//
-// - name: The resource name of the bucket:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The resource name of the bucket:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *ProjectsLocationsBucketsService) Get(name string) *ProjectsLocationsBucketsGetCall {
c := &ProjectsLocationsBucketsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27399,13 +27399,13 @@ type ProjectsLocationsBucketsListCall struct {
// List: Lists log buckets.
//
-// - parent: The parent resource whose buckets are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
-// portion of the resource must be specified, but supplying the
-// character - in place of LOCATION_ID will return all buckets.
+// - parent: The parent resource whose buckets are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations
+// portion of the resource must be specified, but supplying the
+// character - in place of LOCATION_ID will return all buckets.
func (r *ProjectsLocationsBucketsService) List(parent string) *ProjectsLocationsBucketsListCall {
c := &ProjectsLocationsBucketsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -27611,15 +27611,15 @@ type ProjectsLocationsBucketsPatchCall struct {
// returned.After a bucket has been created, the bucket's location
// cannot be changed.
//
-// - name: The full resource name of the bucket to update.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to update.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *ProjectsLocationsBucketsService) Patch(name string, logbucket *LogBucket) *ProjectsLocationsBucketsPatchCall {
c := &ProjectsLocationsBucketsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27781,15 +27781,15 @@ type ProjectsLocationsBucketsUndeleteCall struct {
// Undelete: Undeletes a log bucket. A bucket that has been deleted can
// be undeleted within the grace period of 7 days.
//
-// - name: The full resource name of the bucket to undelete.
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
-// CKET_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
-// s/[BUCKET_ID]"
-// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - name: The full resource name of the bucket to undelete.
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BU
+// CKET_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/bucket
+// s/[BUCKET_ID]"
+// "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *ProjectsLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *ProjectsLocationsBucketsUndeleteCall {
c := &ProjectsLocationsBucketsUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -27933,10 +27933,10 @@ type ProjectsLocationsBucketsViewsCreateCall struct {
// Create: Creates a view over log entries in a log bucket. A bucket may
// contain a maximum of 30 views.
//
-// - parent: The bucket in which to create the view
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
-// ` For
-// example:"projects/my-project/locations/global/buckets/my-bucket".
+// - parent: The bucket in which to create the view
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+// ` For
+// example:"projects/my-project/locations/global/buckets/my-bucket".
func (r *ProjectsLocationsBucketsViewsService) Create(parent string, logview *LogView) *ProjectsLocationsBucketsViewsCreateCall {
c := &ProjectsLocationsBucketsViewsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -28092,11 +28092,11 @@ type ProjectsLocationsBucketsViewsDeleteCall struct {
// returned, this indicates that system is not in a state where it can
// delete the view. If this occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to delete:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to delete:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *ProjectsLocationsBucketsViewsService) Delete(name string) *ProjectsLocationsBucketsViewsDeleteCall {
c := &ProjectsLocationsBucketsViewsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28230,11 +28230,11 @@ type ProjectsLocationsBucketsViewsGetCall struct {
// Get: Gets a view on a log bucket..
//
-// - name: The resource name of the policy:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The resource name of the policy:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *ProjectsLocationsBucketsViewsService) Get(name string) *ProjectsLocationsBucketsViewsGetCall {
c := &ProjectsLocationsBucketsViewsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28383,8 +28383,8 @@ type ProjectsLocationsBucketsViewsListCall struct {
// List: Lists views on a log bucket.
//
-// - parent: The bucket whose views are to be listed:
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
+// - parent: The bucket whose views are to be listed:
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (r *ProjectsLocationsBucketsViewsService) List(parent string) *ProjectsLocationsBucketsViewsListCall {
c := &ProjectsLocationsBucketsViewsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -28588,11 +28588,11 @@ type ProjectsLocationsBucketsViewsPatchCall struct {
// system is not in a state where it can update the view. If this
// occurs, please try again in a few minutes.
//
-// - name: The full resource name of the view to update
-// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
-// iews/[VIEW_ID]" For
-// example:"projects/my-project/locations/global/buckets/my-bucket/view
-// s/my-view".
+// - name: The full resource name of the view to update
+// "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v
+// iews/[VIEW_ID]" For
+// example:"projects/my-project/locations/global/buckets/my-bucket/view
+// s/my-view".
func (r *ProjectsLocationsBucketsViewsService) Patch(name string, logview *LogView) *ProjectsLocationsBucketsViewsPatchCall {
c := &ProjectsLocationsBucketsViewsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -28754,9 +28754,9 @@ type ProjectsLocationsBucketsViewsLogsListCall struct {
// List: Lists the logs in projects, organizations, folders, or billing
// accounts. Only logs that have entries are listed.
//
-// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
-// organizations/[ORGANIZATION_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
+// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
+// organizations/[ORGANIZATION_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
func (r *ProjectsLocationsBucketsViewsLogsService) List(parent string) *ProjectsLocationsBucketsViewsLogsListCall {
c := &ProjectsLocationsBucketsViewsLogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29501,14 +29501,14 @@ type ProjectsLogsDeleteCall struct {
// Entries received after the delete operation with a timestamp before
// the operation will be deleted.
//
-// - logName: The resource name of the log to delete:
-// projects/[PROJECT_ID]/logs/[LOG_ID]
-// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
-// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
-// example, "projects/my-project-id/logs/syslog",
-// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
-// more information about log names, see LogEntry.
+// - logName: The resource name of the log to delete:
+// projects/[PROJECT_ID]/logs/[LOG_ID]
+// organizations/[ORGANIZATION_ID]/logs/[LOG_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]
+// folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For
+// example, "projects/my-project-id/logs/syslog",
+// "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For
+// more information about log names, see LogEntry.
func (r *ProjectsLogsService) Delete(logName string) *ProjectsLogsDeleteCall {
c := &ProjectsLogsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.logName = logName
@@ -29643,9 +29643,9 @@ type ProjectsLogsListCall struct {
// List: Lists the logs in projects, organizations, folders, or billing
// accounts. Only logs that have entries are listed.
//
-// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
-// organizations/[ORGANIZATION_ID]
-// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
+// - parent: The resource name that owns the logs: projects/[PROJECT_ID]
+// organizations/[ORGANIZATION_ID]
+// billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
func (r *ProjectsLogsService) List(parent string) *ProjectsLogsListCall {
c := &ProjectsLogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -29868,9 +29868,9 @@ type ProjectsMetricsCreateCall struct {
// Create: Creates a logs-based metric.
//
-// - parent: The resource name of the project in which to create the
-// metric: "projects/[PROJECT_ID]" The new metric must be provided in
-// the request.
+// - parent: The resource name of the project in which to create the
+// metric: "projects/[PROJECT_ID]" The new metric must be provided in
+// the request.
func (r *ProjectsMetricsService) Create(parent string, logmetric *LogMetric) *ProjectsMetricsCreateCall {
c := &ProjectsMetricsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30013,8 +30013,8 @@ type ProjectsMetricsDeleteCall struct {
// Delete: Deletes a logs-based metric.
//
-// - metricName: The resource name of the metric to delete:
-// "projects/[PROJECT_ID]/metrics/[METRIC_ID]".
+// - metricName: The resource name of the metric to delete:
+// "projects/[PROJECT_ID]/metrics/[METRIC_ID]".
func (r *ProjectsMetricsService) Delete(metricName string) *ProjectsMetricsDeleteCall {
c := &ProjectsMetricsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.metricName = metricName
@@ -30149,8 +30149,8 @@ type ProjectsMetricsGetCall struct {
// Get: Gets a logs-based metric.
//
-// - metricName: The resource name of the desired metric:
-// "projects/[PROJECT_ID]/metrics/[METRIC_ID]".
+// - metricName: The resource name of the desired metric:
+// "projects/[PROJECT_ID]/metrics/[METRIC_ID]".
func (r *ProjectsMetricsService) Get(metricName string) *ProjectsMetricsGetCall {
c := &ProjectsMetricsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.metricName = metricName
@@ -30299,8 +30299,8 @@ type ProjectsMetricsListCall struct {
// List: Lists logs-based metrics.
//
-// - parent: The name of the project containing the metrics:
-// "projects/[PROJECT_ID]".
+// - parent: The name of the project containing the metrics:
+// "projects/[PROJECT_ID]".
func (r *ProjectsMetricsService) List(parent string) *ProjectsMetricsListCall {
c := &ProjectsMetricsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30500,11 +30500,11 @@ type ProjectsMetricsUpdateCall struct {
// Update: Creates or updates a logs-based metric.
//
-// - metricName: The resource name of the metric to update:
-// "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must
-// be provided in the request and it's name field must be the same as
-// [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a
-// new metric is created.
+// - metricName: The resource name of the metric to update:
+// "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must
+// be provided in the request and it's name field must be the same as
+// [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a
+// new metric is created.
func (r *ProjectsMetricsService) Update(metricName string, logmetric *LogMetric) *ProjectsMetricsUpdateCall {
c := &ProjectsMetricsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.metricName = metricName
@@ -30652,10 +30652,10 @@ type ProjectsSinksCreateCall struct {
// write to the destination. A sink can export log entries only from the
// resource owning the sink.
//
-// - parent: The resource in which to create the sink:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-project" "organizations/123456789".
+// - parent: The resource in which to create the sink:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-project" "organizations/123456789".
func (r *ProjectsSinksService) Create(parent string, logsink *LogSink) *ProjectsSinksCreateCall {
c := &ProjectsSinksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -30820,13 +30820,13 @@ type ProjectsSinksDeleteCall struct {
// Delete: Deletes a sink. If the sink has a unique writer_identity,
// then that service account is also deleted.
//
-// - sinkName: The full resource name of the sink to delete, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to delete, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *ProjectsSinksService) Delete(sinkNameid string) *ProjectsSinksDeleteCall {
c := &ProjectsSinksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -30960,12 +30960,12 @@ type ProjectsSinksGetCall struct {
// Get: Gets a sink.
//
-// - sinkName: The resource name of the sink:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The resource name of the sink:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *ProjectsSinksService) Get(sinkName string) *ProjectsSinksGetCall {
c := &ProjectsSinksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkName = sinkName
@@ -31114,9 +31114,9 @@ type ProjectsSinksListCall struct {
// List: Lists sinks.
//
-// - parent: The parent resource whose sinks are to be listed:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose sinks are to be listed:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *ProjectsSinksService) List(parent string) *ProjectsSinksListCall {
c := &ProjectsSinksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31319,13 +31319,13 @@ type ProjectsSinksPatchCall struct {
// filter.The updated sink might also have a new writer_identity; see
// the unique_writer_identity field.
//
-// - sinkName: The full resource name of the sink to update, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to update, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *ProjectsSinksService) Patch(sinkNameid string, logsink *LogSink) *ProjectsSinksPatchCall {
c := &ProjectsSinksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -31512,13 +31512,13 @@ type ProjectsSinksUpdateCall struct {
// filter.The updated sink might also have a new writer_identity; see
// the unique_writer_identity field.
//
-// - sinkName: The full resource name of the sink to update, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to update, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *ProjectsSinksService) Update(sinkNameid string, logsink *LogSink) *ProjectsSinksUpdateCall {
c := &ProjectsSinksUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -31706,10 +31706,10 @@ type SinksCreateCall struct {
// write to the destination. A sink can export log entries only from the
// resource owning the sink.
//
-// - parent: The resource in which to create the sink:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
-// examples:"projects/my-project" "organizations/123456789".
+// - parent: The resource in which to create the sink:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For
+// examples:"projects/my-project" "organizations/123456789".
func (r *SinksService) Create(parent string, logsink *LogSink) *SinksCreateCall {
c := &SinksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -31874,13 +31874,13 @@ type SinksDeleteCall struct {
// Delete: Deletes a sink. If the sink has a unique writer_identity,
// then that service account is also deleted.
//
-// - sinkName: The full resource name of the sink to delete, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to delete, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *SinksService) Delete(sinkNameid string) *SinksDeleteCall {
c := &SinksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -32014,12 +32014,12 @@ type SinksGetCall struct {
// Get: Gets a sink.
//
-// - sinkName: The resource name of the sink:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The resource name of the sink:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *SinksService) Get(sinkName string) *SinksGetCall {
c := &SinksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkName = sinkName
@@ -32168,9 +32168,9 @@ type SinksListCall struct {
// List: Lists sinks.
//
-// - parent: The parent resource whose sinks are to be listed:
-// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
+// - parent: The parent resource whose sinks are to be listed:
+// "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (r *SinksService) List(parent string) *SinksListCall {
c := &SinksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -32373,13 +32373,13 @@ type SinksUpdateCall struct {
// filter.The updated sink might also have a new writer_identity; see
// the unique_writer_identity field.
//
-// - sinkName: The full resource name of the sink to update, including
-// the parent resource and the sink identifier:
-// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
-// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
-// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
-// example:"projects/my-project/sinks/my-sink".
+// - sinkName: The full resource name of the sink to update, including
+// the parent resource and the sink identifier:
+// "projects/[PROJECT_ID]/sinks/[SINK_ID]"
+// "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
+// "folders/[FOLDER_ID]/sinks/[SINK_ID]" For
+// example:"projects/my-project/sinks/my-sink".
func (r *SinksService) Update(sinkNameid string, logsink *LogSink) *SinksUpdateCall {
c := &SinksUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sinkNameid = sinkNameid
@@ -32570,16 +32570,16 @@ type V2GetCmekSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve CMEK settings.
-// "projects/[PROJECT_ID]/cmekSettings"
-// "organizations/[ORGANIZATION_ID]/cmekSettings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-// "folders/[FOLDER_ID]/cmekSettings" For
-// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
-// Router can be configured for Google Cloud projects, folders,
-// organizations and billing accounts. Once configured for an
-// organization, it applies to all projects and folders in the Google
-// Cloud organization.
+// - name: The resource for which to retrieve CMEK settings.
+// "projects/[PROJECT_ID]/cmekSettings"
+// "organizations/[ORGANIZATION_ID]/cmekSettings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+// "folders/[FOLDER_ID]/cmekSettings" For
+// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
+// Router can be configured for Google Cloud projects, folders,
+// organizations and billing accounts. Once configured for an
+// organization, it applies to all projects and folders in the Google
+// Cloud organization.
func (r *V2Service) GetCmekSettings(name string) *V2GetCmekSettingsCall {
c := &V2GetCmekSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32736,16 +32736,16 @@ type V2GetSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource for which to retrieve settings.
-// "projects/[PROJECT_ID]/settings"
-// "organizations/[ORGANIZATION_ID]/settings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
-// "folders/[FOLDER_ID]/settings" For
-// example:"organizations/12345/settings"Note: Settings for the Log
-// Router can be get for Google Cloud projects, folders, organizations
-// and billing accounts. Currently it can only be configured for
-// organizations. Once configured for an organization, it applies to
-// all projects and folders in the Google Cloud organization.
+// - name: The resource for which to retrieve settings.
+// "projects/[PROJECT_ID]/settings"
+// "organizations/[ORGANIZATION_ID]/settings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+// "folders/[FOLDER_ID]/settings" For
+// example:"organizations/12345/settings"Note: Settings for the Log
+// Router can be get for Google Cloud projects, folders, organizations
+// and billing accounts. Currently it can only be configured for
+// organizations. Once configured for an organization, it applies to
+// all projects and folders in the Google Cloud organization.
func (r *V2Service) GetSettings(name string) *V2GetSettingsCall {
c := &V2GetSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -32904,15 +32904,15 @@ type V2UpdateCmekSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource name for the CMEK settings to update.
-// "projects/[PROJECT_ID]/cmekSettings"
-// "organizations/[ORGANIZATION_ID]/cmekSettings"
-// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-// "folders/[FOLDER_ID]/cmekSettings" For
-// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
-// Router can currently only be configured for Google Cloud
-// organizations. Once configured, it applies to all projects and
-// folders in the Google Cloud organization.
+// - name: The resource name for the CMEK settings to update.
+// "projects/[PROJECT_ID]/cmekSettings"
+// "organizations/[ORGANIZATION_ID]/cmekSettings"
+// "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+// "folders/[FOLDER_ID]/cmekSettings" For
+// example:"organizations/12345/cmekSettings"Note: CMEK for the Log
+// Router can currently only be configured for Google Cloud
+// organizations. Once configured, it applies to all projects and
+// folders in the Google Cloud organization.
func (r *V2Service) UpdateCmekSettings(name string, cmeksettings *CmekSettings) *V2UpdateCmekSettingsCall {
c := &V2UpdateCmekSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -33082,12 +33082,12 @@ type V2UpdateSettingsCall struct {
// (https://cloud.google.com/logging/docs/routing/managed-encryption)
// for more information.
//
-// - name: The resource name for the settings to update.
-// "organizations/[ORGANIZATION_ID]/settings" For
-// example:"organizations/12345/settings"Note: Settings for the Log
-// Router can currently only be configured for Google Cloud
-// organizations. Once configured, it applies to all projects and
-// folders in the Google Cloud organization.
+// - name: The resource name for the settings to update.
+// "organizations/[ORGANIZATION_ID]/settings" For
+// example:"organizations/12345/settings"Note: Settings for the Log
+// Router can currently only be configured for Google Cloud
+// organizations. Once configured, it applies to all projects and
+// folders in the Google Cloud organization.
func (r *V2Service) UpdateSettings(name string, settings *Settings) *V2UpdateSettingsCall {
c := &V2UpdateSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/logging/v2beta1/logging-gen.go b/logging/v2beta1/logging-gen.go
index 9d4ddf8f1c3..8480da8f942 100644
--- a/logging/v2beta1/logging-gen.go
+++ b/logging/v2beta1/logging-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/logging/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/logging/v2beta1"
-// ...
-// ctx := context.Background()
-// loggingService, err := logging.NewService(ctx)
+// import "google.golang.org/api/logging/v2beta1"
+// ...
+// ctx := context.Background()
+// loggingService, err := logging.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// loggingService, err := logging.NewService(ctx, option.WithScopes(logging.LoggingWriteScope))
+// loggingService, err := logging.NewService(ctx, option.WithScopes(logging.LoggingWriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// loggingService, err := logging.NewService(ctx, option.WithAPIKey("AIza..."))
+// loggingService, err := logging.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// loggingService, err := logging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// loggingService, err := logging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package logging // import "google.golang.org/api/logging/v2beta1"
@@ -262,8 +262,10 @@ func (s *BucketOptions) MarshalJSON() ([]byte, error) {
// duplicated empty messages in your APIs. A typical example is to use
// it as the request or the response type of an API method. For
// instance:
-// service Foo {
-// rpc Bar(google.protobuf.Empty) returns
+//
+// service Foo {
+// rpc Bar(google.protobuf.Empty) returns
+//
// (google.protobuf.Empty);
// }
// The JSON representation for Empty is empty JSON object {}.
@@ -1546,9 +1548,9 @@ func (s *MetricDescriptorMetadata) MarshalJSON() ([]byte, error) {
// MonitoredResourceDescriptor for "gce_instance" has labels
// "instance_id" and "zone":
// { "type": "gce_instance",
-// "labels": { "instance_id": "12345678901234",
-// "zone": "us-central1-a" }}
//
+// "labels": { "instance_id": "12345678901234",
+// "zone": "us-central1-a" }}
type MonitoredResource struct {
// Labels: Required. Values for all of the labels listed in the
// associated monitored resource descriptor. For example, Compute Engine
diff --git a/managedidentities/v1/managedidentities-gen.go b/managedidentities/v1/managedidentities-gen.go
index d6d51d8f7df..aa34eb00a6e 100644
--- a/managedidentities/v1/managedidentities-gen.go
+++ b/managedidentities/v1/managedidentities-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/managed-microsoft-ad/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/managedidentities/v1"
-// ...
-// ctx := context.Background()
-// managedidentitiesService, err := managedidentities.NewService(ctx)
+// import "google.golang.org/api/managedidentities/v1"
+// ...
+// ctx := context.Background()
+// managedidentitiesService, err := managedidentities.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithAPIKey("AIza..."))
+// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package managedidentities // import "google.golang.org/api/managedidentities/v1"
@@ -2851,8 +2851,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3059,9 +3059,9 @@ type ProjectsLocationsGlobalDomainsAttachTrustCall struct {
// AttachTrust: Adds an AD trust to a domain.
//
-// - name: The resource domain name, project name and location using the
-// form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name and location using the
+// form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) AttachTrust(name string, attachtrustrequest *AttachTrustRequest) *ProjectsLocationsGlobalDomainsAttachTrustCall {
c := &ProjectsLocationsGlobalDomainsAttachTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3203,8 +3203,8 @@ type ProjectsLocationsGlobalDomainsCreateCall struct {
// Create: Creates a Microsoft AD domain.
//
-// - parent: The resource project name and location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: The resource project name and location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalDomainsService) Create(parent string, domain *Domain) *ProjectsLocationsGlobalDomainsCreateCall {
c := &ProjectsLocationsGlobalDomainsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3364,8 +3364,8 @@ type ProjectsLocationsGlobalDomainsDeleteCall struct {
// Delete: Deletes a domain.
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) Delete(name string) *ProjectsLocationsGlobalDomainsDeleteCall {
c := &ProjectsLocationsGlobalDomainsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3498,9 +3498,9 @@ type ProjectsLocationsGlobalDomainsDetachTrustCall struct {
// DetachTrust: Removes an AD trust.
//
-// - name: The resource domain name, project name, and location using
-// the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name, and location using
+// the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) DetachTrust(name string, detachtrustrequest *DetachTrustRequest) *ProjectsLocationsGlobalDomainsDetachTrustCall {
c := &ProjectsLocationsGlobalDomainsDetachTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3642,8 +3642,8 @@ type ProjectsLocationsGlobalDomainsGetCall struct {
// Get: Gets information about a domain.
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) Get(name string) *ProjectsLocationsGlobalDomainsGetCall {
c := &ProjectsLocationsGlobalDomainsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3791,10 +3791,10 @@ type ProjectsLocationsGlobalDomainsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalDomainsGetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3964,8 +3964,8 @@ type ProjectsLocationsGlobalDomainsGetLdapssettingsCall struct {
// GetLdapssettings: Gets the domain ldaps settings.
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) GetLdapssettings(name string) *ProjectsLocationsGlobalDomainsGetLdapssettingsCall {
c := &ProjectsLocationsGlobalDomainsGetLdapssettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4111,8 +4111,8 @@ type ProjectsLocationsGlobalDomainsListCall struct {
// List: Lists domains in a project.
//
-// - parent: The resource name of the domain location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: The resource name of the domain location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalDomainsService) List(parent string) *ProjectsLocationsGlobalDomainsListCall {
c := &ProjectsLocationsGlobalDomainsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4335,8 +4335,8 @@ type ProjectsLocationsGlobalDomainsPatchCall struct {
// Patch: Updates the metadata and configuration of a domain.
//
-// - name: The unique name of the domain using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The unique name of the domain using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) Patch(name string, domain *Domain) *ProjectsLocationsGlobalDomainsPatchCall {
c := &ProjectsLocationsGlobalDomainsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4494,9 +4494,9 @@ type ProjectsLocationsGlobalDomainsReconfigureTrustCall struct {
// ReconfigureTrust: Updates the DNS conditional forwarder.
//
-// - name: The resource domain name, project name and location using the
-// form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name and location using the
+// form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ReconfigureTrust(name string, reconfiguretrustrequest *ReconfigureTrustRequest) *ProjectsLocationsGlobalDomainsReconfigureTrustCall {
c := &ProjectsLocationsGlobalDomainsReconfigureTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4638,8 +4638,8 @@ type ProjectsLocationsGlobalDomainsResetAdminPasswordCall struct {
// ResetAdminPassword: Resets a domain's administrator password.
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ResetAdminPassword(name string, resetadminpasswordrequest *ResetAdminPasswordRequest) *ProjectsLocationsGlobalDomainsResetAdminPasswordCall {
c := &ProjectsLocationsGlobalDomainsResetAdminPasswordCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4926,10 +4926,10 @@ type ProjectsLocationsGlobalDomainsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalDomainsSetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5076,10 +5076,10 @@ type ProjectsLocationsGlobalDomainsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalDomainsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalDomainsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5221,8 +5221,8 @@ type ProjectsLocationsGlobalDomainsUpdateLdapssettingsCall struct {
// UpdateLdapssettings: Patches a single ldaps settings.
//
-// - name: The resource name of the LDAPS settings. Uses the form:
-// `projects/{project}/locations/{location}/domains/{domain}`.
+// - name: The resource name of the LDAPS settings. Uses the form:
+// `projects/{project}/locations/{location}/domains/{domain}`.
func (r *ProjectsLocationsGlobalDomainsService) UpdateLdapssettings(name string, ldapssettings *LDAPSSettings) *ProjectsLocationsGlobalDomainsUpdateLdapssettingsCall {
c := &ProjectsLocationsGlobalDomainsUpdateLdapssettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5381,9 +5381,9 @@ type ProjectsLocationsGlobalDomainsValidateTrustCall struct {
// reachable, and that the target domain is able to accept incoming
// trust requests.
//
-// - name: The resource domain name, project name, and location using
-// the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name, and location using
+// the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ValidateTrust(name string, validatetrustrequest *ValidateTrustRequest) *ProjectsLocationsGlobalDomainsValidateTrustCall {
c := &ProjectsLocationsGlobalDomainsValidateTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5525,8 +5525,8 @@ type ProjectsLocationsGlobalDomainsBackupsCreateCall struct {
// Create: Creates a Backup for a domain.
//
-// - parent: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - parent: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsGlobalDomainsBackupsCreateCall {
c := &ProjectsLocationsGlobalDomainsBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5682,9 +5682,9 @@ type ProjectsLocationsGlobalDomainsBackupsDeleteCall struct {
// Delete: Deletes identified Backup.
//
-// - name: The backup resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}/backup
-// s/{backup_id}`.
+// - name: The backup resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}/backup
+// s/{backup_id}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Delete(name string) *ProjectsLocationsGlobalDomainsBackupsDeleteCall {
c := &ProjectsLocationsGlobalDomainsBackupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5817,9 +5817,9 @@ type ProjectsLocationsGlobalDomainsBackupsGetCall struct {
// Get: Gets details of a single Backup.
//
-// - name: The backup resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}/backup
-// s/{backup_id}`.
+// - name: The backup resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}/backup
+// s/{backup_id}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Get(name string) *ProjectsLocationsGlobalDomainsBackupsGetCall {
c := &ProjectsLocationsGlobalDomainsBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5967,10 +5967,10 @@ type ProjectsLocationsGlobalDomainsBackupsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsBackupsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalDomainsBackupsGetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsBackupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6140,8 +6140,8 @@ type ProjectsLocationsGlobalDomainsBackupsListCall struct {
// List: Lists Backup in a given project.
//
-// - parent: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - parent: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) List(parent string) *ProjectsLocationsGlobalDomainsBackupsListCall {
c := &ProjectsLocationsGlobalDomainsBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6363,9 +6363,9 @@ type ProjectsLocationsGlobalDomainsBackupsPatchCall struct {
// Patch: Updates the labels for specified Backup.
//
-// - name: Output only. The unique name of the Backup in the form of
-// `projects/{project_id}/locations/global/domains/{domain_name}/backup
-// s/{name}`.
+// - name: Output only. The unique name of the Backup in the form of
+// `projects/{project_id}/locations/global/domains/{domain_name}/backup
+// s/{name}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Patch(name string, backup *Backup) *ProjectsLocationsGlobalDomainsBackupsPatchCall {
c := &ProjectsLocationsGlobalDomainsBackupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6524,10 +6524,10 @@ type ProjectsLocationsGlobalDomainsBackupsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalDomainsBackupsSetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsBackupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6674,10 +6674,10 @@ type ProjectsLocationsGlobalDomainsBackupsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalDomainsBackupsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalDomainsBackupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6819,9 +6819,9 @@ type ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall struct {
// Get: Gets details of a single sqlIntegration.
//
-// - name: SQLIntegration resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain}/sqlIntegrat
-// ions/{name}`.
+// - name: SQLIntegration resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain}/sqlIntegrat
+// ions/{name}`.
func (r *ProjectsLocationsGlobalDomainsSqlIntegrationsService) Get(name string) *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall {
c := &ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6967,8 +6967,8 @@ type ProjectsLocationsGlobalDomainsSqlIntegrationsListCall struct {
// List: Lists SqlIntegrations in a given domain.
//
-// - parent: The resource name of the SqlIntegrations using the form:
-// `projects/{project_id}/locations/global/domains/*`.
+// - parent: The resource name of the SqlIntegrations using the form:
+// `projects/{project_id}/locations/global/domains/*`.
func (r *ProjectsLocationsGlobalDomainsSqlIntegrationsService) List(parent string) *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall {
c := &ProjectsLocationsGlobalDomainsSqlIntegrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7837,8 +7837,8 @@ type ProjectsLocationsGlobalPeeringsCreateCall struct {
// Create: Creates a Peering for Managed AD instance.
//
-// - parent: Resource project name and location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: Resource project name and location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalPeeringsService) Create(parent string, peering *Peering) *ProjectsLocationsGlobalPeeringsCreateCall {
c := &ProjectsLocationsGlobalPeeringsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7992,8 +7992,8 @@ type ProjectsLocationsGlobalPeeringsDeleteCall struct {
// Delete: Deletes identified Peering.
//
-// - name: Peering resource name using the form:
-// `projects/{project_id}/locations/global/peerings/{peering_id}`.
+// - name: Peering resource name using the form:
+// `projects/{project_id}/locations/global/peerings/{peering_id}`.
func (r *ProjectsLocationsGlobalPeeringsService) Delete(name string) *ProjectsLocationsGlobalPeeringsDeleteCall {
c := &ProjectsLocationsGlobalPeeringsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8126,8 +8126,8 @@ type ProjectsLocationsGlobalPeeringsGetCall struct {
// Get: Gets details of a single Peering.
//
-// - name: Peering resource name using the form:
-// `projects/{project_id}/locations/global/peerings/{peering_id}`.
+// - name: Peering resource name using the form:
+// `projects/{project_id}/locations/global/peerings/{peering_id}`.
func (r *ProjectsLocationsGlobalPeeringsService) Get(name string) *ProjectsLocationsGlobalPeeringsGetCall {
c := &ProjectsLocationsGlobalPeeringsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8275,10 +8275,10 @@ type ProjectsLocationsGlobalPeeringsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPeeringsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalPeeringsGetIamPolicyCall {
c := &ProjectsLocationsGlobalPeeringsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8448,8 +8448,8 @@ type ProjectsLocationsGlobalPeeringsListCall struct {
// List: Lists Peerings in a given project.
//
-// - parent: The resource name of the peering location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: The resource name of the peering location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalPeeringsService) List(parent string) *ProjectsLocationsGlobalPeeringsListCall {
c := &ProjectsLocationsGlobalPeeringsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8672,9 +8672,9 @@ type ProjectsLocationsGlobalPeeringsPatchCall struct {
// Patch: Updates the labels for specified Peering.
//
-// - name: Output only. Unique name of the peering in this scope
-// including projects and location using the form:
-// `projects/{project_id}/locations/global/peerings/{peering_id}`.
+// - name: Output only. Unique name of the peering in this scope
+// including projects and location using the form:
+// `projects/{project_id}/locations/global/peerings/{peering_id}`.
func (r *ProjectsLocationsGlobalPeeringsService) Patch(name string, peering *Peering) *ProjectsLocationsGlobalPeeringsPatchCall {
c := &ProjectsLocationsGlobalPeeringsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8833,10 +8833,10 @@ type ProjectsLocationsGlobalPeeringsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPeeringsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalPeeringsSetIamPolicyCall {
c := &ProjectsLocationsGlobalPeeringsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8983,10 +8983,10 @@ type ProjectsLocationsGlobalPeeringsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPeeringsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalPeeringsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalPeeringsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/managedidentities/v1alpha1/managedidentities-gen.go b/managedidentities/v1alpha1/managedidentities-gen.go
index 3091d861a15..030015a3887 100644
--- a/managedidentities/v1alpha1/managedidentities-gen.go
+++ b/managedidentities/v1alpha1/managedidentities-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/managed-microsoft-ad/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/managedidentities/v1alpha1"
-// ...
-// ctx := context.Background()
-// managedidentitiesService, err := managedidentities.NewService(ctx)
+// import "google.golang.org/api/managedidentities/v1alpha1"
+// ...
+// ctx := context.Background()
+// managedidentitiesService, err := managedidentities.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithAPIKey("AIza..."))
+// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package managedidentities // import "google.golang.org/api/managedidentities/v1alpha1"
@@ -2885,8 +2885,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3093,9 +3093,9 @@ type ProjectsLocationsGlobalDomainsAttachTrustCall struct {
// AttachTrust: Adds AD trust in a given domain. Operation
//
-// - name: The resource domain name, project name and location using the
-// form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name and location using the
+// form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) AttachTrust(name string, attachtrustrequest *AttachTrustRequest) *ProjectsLocationsGlobalDomainsAttachTrustCall {
c := &ProjectsLocationsGlobalDomainsAttachTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3237,8 +3237,8 @@ type ProjectsLocationsGlobalDomainsCreateCall struct {
// Create: Creates a Microsoft AD Domain in a given project. Operation
//
-// - parent: Resource project name and location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: Resource project name and location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalDomainsService) Create(parent string, domain *Domain) *ProjectsLocationsGlobalDomainsCreateCall {
c := &ProjectsLocationsGlobalDomainsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3398,8 +3398,8 @@ type ProjectsLocationsGlobalDomainsDeleteCall struct {
// Delete: Deletes identified domain. Operation
//
-// - name: Domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: Domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) Delete(name string) *ProjectsLocationsGlobalDomainsDeleteCall {
c := &ProjectsLocationsGlobalDomainsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3532,9 +3532,9 @@ type ProjectsLocationsGlobalDomainsDetachTrustCall struct {
// DetachTrust: Removes identified trust. Operation
//
-// - name: The resource domain name, project name, and location using
-// the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name, and location using
+// the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) DetachTrust(name string, detachtrustrequest *DetachTrustRequest) *ProjectsLocationsGlobalDomainsDetachTrustCall {
c := &ProjectsLocationsGlobalDomainsDetachTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3676,8 +3676,8 @@ type ProjectsLocationsGlobalDomainsExtendSchemaCall struct {
// ExtendSchema: Extend Schema for Domain
//
-// - domain: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - domain: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ExtendSchema(domain string, extendschemarequest *ExtendSchemaRequest) *ProjectsLocationsGlobalDomainsExtendSchemaCall {
c := &ProjectsLocationsGlobalDomainsExtendSchemaCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.domain = domain
@@ -3819,8 +3819,8 @@ type ProjectsLocationsGlobalDomainsGetCall struct {
// Get: Gets details of a single Domain.
//
-// - name: Domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: Domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) Get(name string) *ProjectsLocationsGlobalDomainsGetCall {
c := &ProjectsLocationsGlobalDomainsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3968,10 +3968,10 @@ type ProjectsLocationsGlobalDomainsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalDomainsGetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4141,8 +4141,8 @@ type ProjectsLocationsGlobalDomainsGetLdapssettingsCall struct {
// GetLdapssettings: Gets the domain ldaps settings.
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) GetLdapssettings(name string) *ProjectsLocationsGlobalDomainsGetLdapssettingsCall {
c := &ProjectsLocationsGlobalDomainsGetLdapssettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4288,8 +4288,8 @@ type ProjectsLocationsGlobalDomainsListCall struct {
// List: Lists Domains in a given project.
//
-// - parent: The resource name of the domain location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: The resource name of the domain location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalDomainsService) List(parent string) *ProjectsLocationsGlobalDomainsListCall {
c := &ProjectsLocationsGlobalDomainsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4511,9 +4511,9 @@ type ProjectsLocationsGlobalDomainsPatchCall struct {
// Patch: Updates the metadata and configuration of a specified domain.
// Operation
//
-// - name: Output only. Unique name of the domain in this scope
-// including projects and location using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: Output only. Unique name of the domain in this scope
+// including projects and location using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) Patch(name string, domain *Domain) *ProjectsLocationsGlobalDomainsPatchCall {
c := &ProjectsLocationsGlobalDomainsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4671,9 +4671,9 @@ type ProjectsLocationsGlobalDomainsReconfigureTrustCall struct {
// ReconfigureTrust: Updates the dns conditional forwarder. Operation
//
-// - name: The resource domain name, project name and location using the
-// form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name and location using the
+// form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ReconfigureTrust(name string, reconfiguretrustrequest *ReconfigureTrustRequest) *ProjectsLocationsGlobalDomainsReconfigureTrustCall {
c := &ProjectsLocationsGlobalDomainsReconfigureTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4816,8 +4816,8 @@ type ProjectsLocationsGlobalDomainsResetAdminPasswordCall struct {
// ResetAdminPassword: Resets managed identities admin password
// identified by managed_identities_admin_name
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ResetAdminPassword(name string, resetadminpasswordrequest *ResetAdminPasswordRequest) *ProjectsLocationsGlobalDomainsResetAdminPasswordCall {
c := &ProjectsLocationsGlobalDomainsResetAdminPasswordCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5104,10 +5104,10 @@ type ProjectsLocationsGlobalDomainsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalDomainsSetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5254,10 +5254,10 @@ type ProjectsLocationsGlobalDomainsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalDomainsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalDomainsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5399,8 +5399,8 @@ type ProjectsLocationsGlobalDomainsUpdateLdapssettingsCall struct {
// UpdateLdapssettings: Patches a single ldaps settings.
//
-// - name: The resource name of the LDAPS settings. Uses the form:
-// `projects/{project}/locations/{location}/domains/{domain}`.
+// - name: The resource name of the LDAPS settings. Uses the form:
+// `projects/{project}/locations/{location}/domains/{domain}`.
func (r *ProjectsLocationsGlobalDomainsService) UpdateLdapssettings(name string, ldapssettings *LDAPSSettings) *ProjectsLocationsGlobalDomainsUpdateLdapssettingsCall {
c := &ProjectsLocationsGlobalDomainsUpdateLdapssettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5557,9 +5557,9 @@ type ProjectsLocationsGlobalDomainsValidateTrustCall struct {
// ValidateTrust: Validate the trust state Operation
//
-// - name: The resource domain name, project name, and location using
-// the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name, and location using
+// the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ValidateTrust(name string, validatetrustrequest *ValidateTrustRequest) *ProjectsLocationsGlobalDomainsValidateTrustCall {
c := &ProjectsLocationsGlobalDomainsValidateTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5701,8 +5701,8 @@ type ProjectsLocationsGlobalDomainsBackupsCreateCall struct {
// Create: Creates a Backup for a domain.
//
-// - parent: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - parent: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsGlobalDomainsBackupsCreateCall {
c := &ProjectsLocationsGlobalDomainsBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5858,9 +5858,9 @@ type ProjectsLocationsGlobalDomainsBackupsDeleteCall struct {
// Delete: Deletes identified Backup.
//
-// - name: The backup resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}/backup
-// s/{backup_id}`.
+// - name: The backup resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}/backup
+// s/{backup_id}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Delete(name string) *ProjectsLocationsGlobalDomainsBackupsDeleteCall {
c := &ProjectsLocationsGlobalDomainsBackupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5993,9 +5993,9 @@ type ProjectsLocationsGlobalDomainsBackupsGetCall struct {
// Get: Gets details of a single Backup.
//
-// - name: The backup resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}/backup
-// s/{backup_id}`.
+// - name: The backup resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}/backup
+// s/{backup_id}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Get(name string) *ProjectsLocationsGlobalDomainsBackupsGetCall {
c := &ProjectsLocationsGlobalDomainsBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6143,10 +6143,10 @@ type ProjectsLocationsGlobalDomainsBackupsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsBackupsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalDomainsBackupsGetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsBackupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6316,8 +6316,8 @@ type ProjectsLocationsGlobalDomainsBackupsListCall struct {
// List: Lists Backup in a given project.
//
-// - parent: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - parent: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) List(parent string) *ProjectsLocationsGlobalDomainsBackupsListCall {
c := &ProjectsLocationsGlobalDomainsBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6538,9 +6538,9 @@ type ProjectsLocationsGlobalDomainsBackupsPatchCall struct {
// Patch: Updates the labels for specified Backup.
//
-// - name: Output only. The unique name of the Backup in the form of
-// projects/{project_id}/locations/global/domains/{domain_name}/backups
-// /{name}.
+// - name: Output only. The unique name of the Backup in the form of
+// projects/{project_id}/locations/global/domains/{domain_name}/backups
+// /{name}.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Patch(name string, backup *Backup) *ProjectsLocationsGlobalDomainsBackupsPatchCall {
c := &ProjectsLocationsGlobalDomainsBackupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6699,10 +6699,10 @@ type ProjectsLocationsGlobalDomainsBackupsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalDomainsBackupsSetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsBackupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6849,10 +6849,10 @@ type ProjectsLocationsGlobalDomainsBackupsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalDomainsBackupsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalDomainsBackupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6994,9 +6994,9 @@ type ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall struct {
// Get: Gets details of a single sqlIntegration.
//
-// - name: MangedOU resource name using the form:
-// `projects/{project_id}/locations/global/domains/*/sqlIntegrations/{n
-// ame}`.
+// - name: MangedOU resource name using the form:
+// `projects/{project_id}/locations/global/domains/*/sqlIntegrations/{n
+// ame}`.
func (r *ProjectsLocationsGlobalDomainsSqlIntegrationsService) Get(name string) *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall {
c := &ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7142,8 +7142,8 @@ type ProjectsLocationsGlobalDomainsSqlIntegrationsListCall struct {
// List: Lists SQLIntegrations in a given domain.
//
-// - parent: The resource name of the SqlIntegrations using the form:
-// `projects/{project_id}/locations/global/domains/*`.
+// - parent: The resource name of the SqlIntegrations using the form:
+// `projects/{project_id}/locations/global/domains/*`.
func (r *ProjectsLocationsGlobalDomainsSqlIntegrationsService) List(parent string) *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall {
c := &ProjectsLocationsGlobalDomainsSqlIntegrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8012,8 +8012,8 @@ type ProjectsLocationsGlobalPeeringsCreateCall struct {
// Create: Creates a Peering for Managed AD instance.
//
-// - parent: Resource project name and location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: Resource project name and location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalPeeringsService) Create(parent string, peering *Peering) *ProjectsLocationsGlobalPeeringsCreateCall {
c := &ProjectsLocationsGlobalPeeringsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8166,8 +8166,8 @@ type ProjectsLocationsGlobalPeeringsDeleteCall struct {
// Delete: Deletes identified Peering.
//
-// - name: Peering resource name using the form:
-// `projects/{project_id}/locations/global/peerings/{peering_id}`.
+// - name: Peering resource name using the form:
+// `projects/{project_id}/locations/global/peerings/{peering_id}`.
func (r *ProjectsLocationsGlobalPeeringsService) Delete(name string) *ProjectsLocationsGlobalPeeringsDeleteCall {
c := &ProjectsLocationsGlobalPeeringsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8300,8 +8300,8 @@ type ProjectsLocationsGlobalPeeringsGetCall struct {
// Get: Gets details of a single Peering.
//
-// - name: Peering resource name using the form:
-// `projects/{project_id}/locations/global/peerings/{peering_id}`.
+// - name: Peering resource name using the form:
+// `projects/{project_id}/locations/global/peerings/{peering_id}`.
func (r *ProjectsLocationsGlobalPeeringsService) Get(name string) *ProjectsLocationsGlobalPeeringsGetCall {
c := &ProjectsLocationsGlobalPeeringsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8449,10 +8449,10 @@ type ProjectsLocationsGlobalPeeringsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPeeringsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalPeeringsGetIamPolicyCall {
c := &ProjectsLocationsGlobalPeeringsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8622,8 +8622,8 @@ type ProjectsLocationsGlobalPeeringsListCall struct {
// List: Lists Peerings in a given project.
//
-// - parent: The resource name of the domain location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: The resource name of the domain location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalPeeringsService) List(parent string) *ProjectsLocationsGlobalPeeringsListCall {
c := &ProjectsLocationsGlobalPeeringsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8845,9 +8845,9 @@ type ProjectsLocationsGlobalPeeringsPatchCall struct {
// Patch: Updates the labels for specified Peering.
//
-// - name: Output only. Unique name of the peering in this scope
-// including projects and location using the form:
-// `projects/{project_id}/locations/global/peerings/{peering_id}`.
+// - name: Output only. Unique name of the peering in this scope
+// including projects and location using the form:
+// `projects/{project_id}/locations/global/peerings/{peering_id}`.
func (r *ProjectsLocationsGlobalPeeringsService) Patch(name string, peering *Peering) *ProjectsLocationsGlobalPeeringsPatchCall {
c := &ProjectsLocationsGlobalPeeringsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9006,10 +9006,10 @@ type ProjectsLocationsGlobalPeeringsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPeeringsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalPeeringsSetIamPolicyCall {
c := &ProjectsLocationsGlobalPeeringsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9156,10 +9156,10 @@ type ProjectsLocationsGlobalPeeringsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPeeringsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalPeeringsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalPeeringsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/managedidentities/v1beta1/managedidentities-gen.go b/managedidentities/v1beta1/managedidentities-gen.go
index 1dab9f1311b..e373b4193a7 100644
--- a/managedidentities/v1beta1/managedidentities-gen.go
+++ b/managedidentities/v1beta1/managedidentities-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/managed-microsoft-ad/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/managedidentities/v1beta1"
-// ...
-// ctx := context.Background()
-// managedidentitiesService, err := managedidentities.NewService(ctx)
+// import "google.golang.org/api/managedidentities/v1beta1"
+// ...
+// ctx := context.Background()
+// managedidentitiesService, err := managedidentities.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithAPIKey("AIza..."))
+// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// managedidentitiesService, err := managedidentities.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package managedidentities // import "google.golang.org/api/managedidentities/v1beta1"
@@ -2888,8 +2888,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3096,9 +3096,9 @@ type ProjectsLocationsGlobalDomainsAttachTrustCall struct {
// AttachTrust: Adds an AD trust to a domain.
//
-// - name: The resource domain name, project name and location using the
-// form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name and location using the
+// form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) AttachTrust(name string, attachtrustrequest *AttachTrustRequest) *ProjectsLocationsGlobalDomainsAttachTrustCall {
c := &ProjectsLocationsGlobalDomainsAttachTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3240,8 +3240,8 @@ type ProjectsLocationsGlobalDomainsCreateCall struct {
// Create: Creates a Microsoft AD domain.
//
-// - parent: The resource project name and location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: The resource project name and location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalDomainsService) Create(parent string, domain *Domain) *ProjectsLocationsGlobalDomainsCreateCall {
c := &ProjectsLocationsGlobalDomainsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3400,8 +3400,8 @@ type ProjectsLocationsGlobalDomainsDeleteCall struct {
// Delete: Deletes a domain.
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) Delete(name string) *ProjectsLocationsGlobalDomainsDeleteCall {
c := &ProjectsLocationsGlobalDomainsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3534,9 +3534,9 @@ type ProjectsLocationsGlobalDomainsDetachTrustCall struct {
// DetachTrust: Removes an AD trust.
//
-// - name: The resource domain name, project name, and location using
-// the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name, and location using
+// the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) DetachTrust(name string, detachtrustrequest *DetachTrustRequest) *ProjectsLocationsGlobalDomainsDetachTrustCall {
c := &ProjectsLocationsGlobalDomainsDetachTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3678,8 +3678,8 @@ type ProjectsLocationsGlobalDomainsExtendSchemaCall struct {
// ExtendSchema: Extend Schema for Domain
//
-// - domain: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - domain: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ExtendSchema(domain string, extendschemarequest *ExtendSchemaRequest) *ProjectsLocationsGlobalDomainsExtendSchemaCall {
c := &ProjectsLocationsGlobalDomainsExtendSchemaCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.domain = domain
@@ -3821,8 +3821,8 @@ type ProjectsLocationsGlobalDomainsGetCall struct {
// Get: Gets information about a domain.
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) Get(name string) *ProjectsLocationsGlobalDomainsGetCall {
c := &ProjectsLocationsGlobalDomainsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3970,10 +3970,10 @@ type ProjectsLocationsGlobalDomainsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalDomainsGetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4143,8 +4143,8 @@ type ProjectsLocationsGlobalDomainsGetLdapssettingsCall struct {
// GetLdapssettings: Gets the domain ldaps settings.
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) GetLdapssettings(name string) *ProjectsLocationsGlobalDomainsGetLdapssettingsCall {
c := &ProjectsLocationsGlobalDomainsGetLdapssettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4290,8 +4290,8 @@ type ProjectsLocationsGlobalDomainsListCall struct {
// List: Lists domains in a project.
//
-// - parent: The resource name of the domain location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: The resource name of the domain location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalDomainsService) List(parent string) *ProjectsLocationsGlobalDomainsListCall {
c := &ProjectsLocationsGlobalDomainsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4514,8 +4514,8 @@ type ProjectsLocationsGlobalDomainsPatchCall struct {
// Patch: Updates the metadata and configuration of a domain.
//
-// - name: Output only. The unique name of the domain using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: Output only. The unique name of the domain using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) Patch(name string, domain *Domain) *ProjectsLocationsGlobalDomainsPatchCall {
c := &ProjectsLocationsGlobalDomainsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4673,9 +4673,9 @@ type ProjectsLocationsGlobalDomainsReconfigureTrustCall struct {
// ReconfigureTrust: Updates the DNS conditional forwarder.
//
-// - name: The resource domain name, project name and location using the
-// form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name and location using the
+// form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ReconfigureTrust(name string, reconfiguretrustrequest *ReconfigureTrustRequest) *ProjectsLocationsGlobalDomainsReconfigureTrustCall {
c := &ProjectsLocationsGlobalDomainsReconfigureTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4817,8 +4817,8 @@ type ProjectsLocationsGlobalDomainsResetAdminPasswordCall struct {
// ResetAdminPassword: Resets a domain's administrator password.
//
-// - name: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ResetAdminPassword(name string, resetadminpasswordrequest *ResetAdminPasswordRequest) *ProjectsLocationsGlobalDomainsResetAdminPasswordCall {
c := &ProjectsLocationsGlobalDomainsResetAdminPasswordCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5105,10 +5105,10 @@ type ProjectsLocationsGlobalDomainsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalDomainsSetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5255,10 +5255,10 @@ type ProjectsLocationsGlobalDomainsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalDomainsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalDomainsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5400,8 +5400,8 @@ type ProjectsLocationsGlobalDomainsUpdateLdapssettingsCall struct {
// UpdateLdapssettings: Patches a single ldaps settings.
//
-// - name: The resource name of the LDAPS settings. Uses the form:
-// `projects/{project}/locations/{location}/domains/{domain}`.
+// - name: The resource name of the LDAPS settings. Uses the form:
+// `projects/{project}/locations/{location}/domains/{domain}`.
func (r *ProjectsLocationsGlobalDomainsService) UpdateLdapssettings(name string, ldapssettings *LDAPSSettings) *ProjectsLocationsGlobalDomainsUpdateLdapssettingsCall {
c := &ProjectsLocationsGlobalDomainsUpdateLdapssettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5560,9 +5560,9 @@ type ProjectsLocationsGlobalDomainsValidateTrustCall struct {
// reachable, and that the target domain is able to accept incoming
// trust requests.
//
-// - name: The resource domain name, project name, and location using
-// the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - name: The resource domain name, project name, and location using
+// the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsService) ValidateTrust(name string, validatetrustrequest *ValidateTrustRequest) *ProjectsLocationsGlobalDomainsValidateTrustCall {
c := &ProjectsLocationsGlobalDomainsValidateTrustCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5704,8 +5704,8 @@ type ProjectsLocationsGlobalDomainsBackupsCreateCall struct {
// Create: Creates a Backup for a domain.
//
-// - parent: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - parent: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsGlobalDomainsBackupsCreateCall {
c := &ProjectsLocationsGlobalDomainsBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5861,9 +5861,9 @@ type ProjectsLocationsGlobalDomainsBackupsDeleteCall struct {
// Delete: Deletes identified Backup.
//
-// - name: The backup resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}/backup
-// s/{backup_id}`.
+// - name: The backup resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}/backup
+// s/{backup_id}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Delete(name string) *ProjectsLocationsGlobalDomainsBackupsDeleteCall {
c := &ProjectsLocationsGlobalDomainsBackupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5996,9 +5996,9 @@ type ProjectsLocationsGlobalDomainsBackupsGetCall struct {
// Get: Gets details of a single Backup.
//
-// - name: The backup resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}/backup
-// s/{backup_id}`.
+// - name: The backup resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}/backup
+// s/{backup_id}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Get(name string) *ProjectsLocationsGlobalDomainsBackupsGetCall {
c := &ProjectsLocationsGlobalDomainsBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6146,10 +6146,10 @@ type ProjectsLocationsGlobalDomainsBackupsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsBackupsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalDomainsBackupsGetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsBackupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6319,8 +6319,8 @@ type ProjectsLocationsGlobalDomainsBackupsListCall struct {
// List: Lists Backup in a given project.
//
-// - parent: The domain resource name using the form:
-// `projects/{project_id}/locations/global/domains/{domain_name}`.
+// - parent: The domain resource name using the form:
+// `projects/{project_id}/locations/global/domains/{domain_name}`.
func (r *ProjectsLocationsGlobalDomainsBackupsService) List(parent string) *ProjectsLocationsGlobalDomainsBackupsListCall {
c := &ProjectsLocationsGlobalDomainsBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6541,9 +6541,9 @@ type ProjectsLocationsGlobalDomainsBackupsPatchCall struct {
// Patch: Updates the labels for specified Backup.
//
-// - name: Output only. The unique name of the Backup in the form of
-// projects/{project_id}/locations/global/domains/{domain_name}/backups
-// /{name}.
+// - name: Output only. The unique name of the Backup in the form of
+// projects/{project_id}/locations/global/domains/{domain_name}/backups
+// /{name}.
func (r *ProjectsLocationsGlobalDomainsBackupsService) Patch(name string, backup *Backup) *ProjectsLocationsGlobalDomainsBackupsPatchCall {
c := &ProjectsLocationsGlobalDomainsBackupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6702,10 +6702,10 @@ type ProjectsLocationsGlobalDomainsBackupsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalDomainsBackupsSetIamPolicyCall {
c := &ProjectsLocationsGlobalDomainsBackupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6852,10 +6852,10 @@ type ProjectsLocationsGlobalDomainsBackupsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalDomainsBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalDomainsBackupsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalDomainsBackupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6997,9 +6997,9 @@ type ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall struct {
// Get: Gets details of a single sqlIntegration.
//
-// - name: SqlIntegration resource name using the form:
-// `projects/{project_id}/locations/global/domains/*/sqlIntegrations/{n
-// ame}`.
+// - name: SqlIntegration resource name using the form:
+// `projects/{project_id}/locations/global/domains/*/sqlIntegrations/{n
+// ame}`.
func (r *ProjectsLocationsGlobalDomainsSqlIntegrationsService) Get(name string) *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall {
c := &ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7145,8 +7145,8 @@ type ProjectsLocationsGlobalDomainsSqlIntegrationsListCall struct {
// List: Lists SqlIntegrations in a given domain.
//
-// - parent: The resource name of the SqlIntegrations using the form:
-// `projects/{project_id}/locations/global/domains/*`.
+// - parent: The resource name of the SqlIntegrations using the form:
+// `projects/{project_id}/locations/global/domains/*`.
func (r *ProjectsLocationsGlobalDomainsSqlIntegrationsService) List(parent string) *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall {
c := &ProjectsLocationsGlobalDomainsSqlIntegrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8015,8 +8015,8 @@ type ProjectsLocationsGlobalPeeringsCreateCall struct {
// Create: Creates a Peering for Managed AD instance.
//
-// - parent: Resource project name and location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: Resource project name and location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalPeeringsService) Create(parent string, peering *Peering) *ProjectsLocationsGlobalPeeringsCreateCall {
c := &ProjectsLocationsGlobalPeeringsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8169,8 +8169,8 @@ type ProjectsLocationsGlobalPeeringsDeleteCall struct {
// Delete: Deletes identified Peering.
//
-// - name: Peering resource name using the form:
-// `projects/{project_id}/locations/global/peerings/{peering_id}`.
+// - name: Peering resource name using the form:
+// `projects/{project_id}/locations/global/peerings/{peering_id}`.
func (r *ProjectsLocationsGlobalPeeringsService) Delete(name string) *ProjectsLocationsGlobalPeeringsDeleteCall {
c := &ProjectsLocationsGlobalPeeringsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8303,8 +8303,8 @@ type ProjectsLocationsGlobalPeeringsGetCall struct {
// Get: Gets details of a single Peering.
//
-// - name: Peering resource name using the form:
-// `projects/{project_id}/locations/global/peerings/{peering_id}`.
+// - name: Peering resource name using the form:
+// `projects/{project_id}/locations/global/peerings/{peering_id}`.
func (r *ProjectsLocationsGlobalPeeringsService) Get(name string) *ProjectsLocationsGlobalPeeringsGetCall {
c := &ProjectsLocationsGlobalPeeringsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8452,10 +8452,10 @@ type ProjectsLocationsGlobalPeeringsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPeeringsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalPeeringsGetIamPolicyCall {
c := &ProjectsLocationsGlobalPeeringsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8625,8 +8625,8 @@ type ProjectsLocationsGlobalPeeringsListCall struct {
// List: Lists Peerings in a given project.
//
-// - parent: The resource name of the domain location using the form:
-// `projects/{project_id}/locations/global`.
+// - parent: The resource name of the domain location using the form:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalPeeringsService) List(parent string) *ProjectsLocationsGlobalPeeringsListCall {
c := &ProjectsLocationsGlobalPeeringsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8848,9 +8848,9 @@ type ProjectsLocationsGlobalPeeringsPatchCall struct {
// Patch: Updates the labels for specified Peering.
//
-// - name: Output only. Unique name of the peering in this scope
-// including projects and location using the form:
-// `projects/{project_id}/locations/global/peerings/{peering_id}`.
+// - name: Output only. Unique name of the peering in this scope
+// including projects and location using the form:
+// `projects/{project_id}/locations/global/peerings/{peering_id}`.
func (r *ProjectsLocationsGlobalPeeringsService) Patch(name string, peering *Peering) *ProjectsLocationsGlobalPeeringsPatchCall {
c := &ProjectsLocationsGlobalPeeringsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9009,10 +9009,10 @@ type ProjectsLocationsGlobalPeeringsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPeeringsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalPeeringsSetIamPolicyCall {
c := &ProjectsLocationsGlobalPeeringsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9159,10 +9159,10 @@ type ProjectsLocationsGlobalPeeringsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPeeringsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalPeeringsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalPeeringsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/manufacturers/v1/manufacturers-gen.go b/manufacturers/v1/manufacturers-gen.go
index c159e659f78..db7568f6818 100644
--- a/manufacturers/v1/manufacturers-gen.go
+++ b/manufacturers/v1/manufacturers-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/manufacturers/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/manufacturers/v1"
-// ...
-// ctx := context.Background()
-// manufacturersService, err := manufacturers.NewService(ctx)
+// import "google.golang.org/api/manufacturers/v1"
+// ...
+// ctx := context.Background()
+// manufacturersService, err := manufacturers.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// manufacturersService, err := manufacturers.NewService(ctx, option.WithAPIKey("AIza..."))
+// manufacturersService, err := manufacturers.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// manufacturersService, err := manufacturers.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// manufacturersService, err := manufacturers.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package manufacturers // import "google.golang.org/api/manufacturers/v1"
@@ -815,16 +815,16 @@ type AccountsProductsDeleteCall struct {
// Delete: Deletes the product from a Manufacturer Center account.
//
-// - name: Name in the format
-// `{target_country}:{content_language}:{product_id}`.
-// `target_country` - The target country of the product as a CLDR
-// territory code (for example, US). `content_language` - The content
-// language of the product as a two-letter ISO 639-1 language code
-// (for example, en). `product_id` - The ID of the product. For more
-// information, see
-// https://support.google.com/manufacturers/answer/6124116#id.
-// - parent: Parent ID in the format `accounts/{account_id}`.
-// `account_id` - The ID of the Manufacturer Center account.
+// - name: Name in the format
+// `{target_country}:{content_language}:{product_id}`.
+// `target_country` - The target country of the product as a CLDR
+// territory code (for example, US). `content_language` - The content
+// language of the product as a two-letter ISO 639-1 language code
+// (for example, en). `product_id` - The ID of the product. For more
+// information, see
+// https://support.google.com/manufacturers/answer/6124116#id.
+// - parent: Parent ID in the format `accounts/{account_id}`.
+// `account_id` - The ID of the Manufacturer Center account.
func (r *AccountsProductsService) Delete(parent string, name string) *AccountsProductsDeleteCall {
c := &AccountsProductsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -972,16 +972,16 @@ type AccountsProductsGetCall struct {
// some issues may be available once the product has been processed,
// other issues may take days to appear.
//
-// - name: Name in the format
-// `{target_country}:{content_language}:{product_id}`.
-// `target_country` - The target country of the product as a CLDR
-// territory code (for example, US). `content_language` - The content
-// language of the product as a two-letter ISO 639-1 language code
-// (for example, en). `product_id` - The ID of the product. For more
-// information, see
-// https://support.google.com/manufacturers/answer/6124116#id.
-// - parent: Parent ID in the format `accounts/{account_id}`.
-// `account_id` - The ID of the Manufacturer Center account.
+// - name: Name in the format
+// `{target_country}:{content_language}:{product_id}`.
+// `target_country` - The target country of the product as a CLDR
+// territory code (for example, US). `content_language` - The content
+// language of the product as a two-letter ISO 639-1 language code
+// (for example, en). `product_id` - The ID of the product. For more
+// information, see
+// https://support.google.com/manufacturers/answer/6124116#id.
+// - parent: Parent ID in the format `accounts/{account_id}`.
+// `account_id` - The ID of the Manufacturer Center account.
func (r *AccountsProductsService) Get(parent string, name string) *AccountsProductsGetCall {
c := &AccountsProductsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -993,10 +993,12 @@ func (r *AccountsProductsService) Get(parent string, name string) *AccountsProdu
// included in the response. Only sections listed here will be returned.
//
// Possible values:
-// "UNKNOWN" - Unknown, never used.
-// "ATTRIBUTES" - Include the attributes of the product.
-// "ISSUES" - Include the issues of the product.
-// "DESTINATION_STATUSES" - Include the destination statuses of the
+//
+// "UNKNOWN" - Unknown, never used.
+// "ATTRIBUTES" - Include the attributes of the product.
+// "ISSUES" - Include the issues of the product.
+// "DESTINATION_STATUSES" - Include the destination statuses of the
+//
// product.
func (c *AccountsProductsGetCall) Include(include ...string) *AccountsProductsGetCall {
c.urlParams_.SetMulti("include", append([]string{}, include...))
@@ -1169,8 +1171,8 @@ type AccountsProductsListCall struct {
// List: Lists all the products in a Manufacturer Center account.
//
-// - parent: Parent ID in the format `accounts/{account_id}`.
-// `account_id` - The ID of the Manufacturer Center account.
+// - parent: Parent ID in the format `accounts/{account_id}`.
+// `account_id` - The ID of the Manufacturer Center account.
func (r *AccountsProductsService) List(parent string) *AccountsProductsListCall {
c := &AccountsProductsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1181,10 +1183,12 @@ func (r *AccountsProductsService) List(parent string) *AccountsProductsListCall
// included in the response. Only sections listed here will be returned.
//
// Possible values:
-// "UNKNOWN" - Unknown, never used.
-// "ATTRIBUTES" - Include the attributes of the product.
-// "ISSUES" - Include the issues of the product.
-// "DESTINATION_STATUSES" - Include the destination statuses of the
+//
+// "UNKNOWN" - Unknown, never used.
+// "ATTRIBUTES" - Include the attributes of the product.
+// "ISSUES" - Include the issues of the product.
+// "DESTINATION_STATUSES" - Include the destination statuses of the
+//
// product.
func (c *AccountsProductsListCall) Include(include ...string) *AccountsProductsListCall {
c.urlParams_.SetMulti("include", append([]string{}, include...))
@@ -1407,16 +1411,16 @@ type AccountsProductsUpdateCall struct {
// retrieval of previously uploaded products will return the original
// state of the product.
//
-// - name: Name in the format
-// `{target_country}:{content_language}:{product_id}`.
-// `target_country` - The target country of the product as a CLDR
-// territory code (for example, US). `content_language` - The content
-// language of the product as a two-letter ISO 639-1 language code
-// (for example, en). `product_id` - The ID of the product. For more
-// information, see
-// https://support.google.com/manufacturers/answer/6124116#id.
-// - parent: Parent ID in the format `accounts/{account_id}`.
-// `account_id` - The ID of the Manufacturer Center account.
+// - name: Name in the format
+// `{target_country}:{content_language}:{product_id}`.
+// `target_country` - The target country of the product as a CLDR
+// territory code (for example, US). `content_language` - The content
+// language of the product as a two-letter ISO 639-1 language code
+// (for example, en). `product_id` - The ID of the product. For more
+// information, see
+// https://support.google.com/manufacturers/answer/6124116#id.
+// - parent: Parent ID in the format `accounts/{account_id}`.
+// `account_id` - The ID of the Manufacturer Center account.
func (r *AccountsProductsService) Update(parent string, name string, attributes *Attributes) *AccountsProductsUpdateCall {
c := &AccountsProductsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/memcache/v1/memcache-gen.go b/memcache/v1/memcache-gen.go
index b4d4a7ba355..eec4a595d21 100644
--- a/memcache/v1/memcache-gen.go
+++ b/memcache/v1/memcache-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/memorystore/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/memcache/v1"
-// ...
-// ctx := context.Background()
-// memcacheService, err := memcache.NewService(ctx)
+// import "google.golang.org/api/memcache/v1"
+// ...
+// ctx := context.Background()
+// memcacheService, err := memcache.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// memcacheService, err := memcache.NewService(ctx, option.WithAPIKey("AIza..."))
+// memcacheService, err := memcache.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// memcacheService, err := memcache.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// memcacheService, err := memcache.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package memcache // import "google.golang.org/api/memcache/v1"
@@ -2165,8 +2165,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2375,8 +2375,8 @@ type ProjectsLocationsInstancesApplyParametersCall struct {
// nodes in order to update them to the current set of parameters for
// the Memcached Instance.
//
-// - name: Resource name of the Memcached instance for which parameter
-// group updates should be applied.
+// - name: Resource name of the Memcached instance for which parameter
+// group updates should be applied.
func (r *ProjectsLocationsInstancesService) ApplyParameters(name string, applyparametersrequest *ApplyParametersRequest) *ProjectsLocationsInstancesApplyParametersCall {
c := &ProjectsLocationsInstancesApplyParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2518,9 +2518,9 @@ type ProjectsLocationsInstancesCreateCall struct {
// Create: Creates a new Instance in a given location.
//
-// - parent: The resource name of the instance location using the form:
-// `projects/{project_id}/locations/{location_id}` where `location_id`
-// refers to a GCP region.
+// - parent: The resource name of the instance location using the form:
+// `projects/{project_id}/locations/{location_id}` where `location_id`
+// refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall {
c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2678,9 +2678,9 @@ type ProjectsLocationsInstancesDeleteCall struct {
// Delete: Deletes a single Instance.
//
-// - name: Memcached instance resource name in the format:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Memcached instance resource name in the format:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2813,9 +2813,9 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets details of a single Instance.
//
-// - name: Memcached instance resource name in the format:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Memcached instance resource name in the format:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2961,9 +2961,9 @@ type ProjectsLocationsInstancesListCall struct {
// List: Lists Instances in a given location.
//
-// - parent: The resource name of the instance location using the form:
-// `projects/{project_id}/locations/{location_id}` where `location_id`
-// refers to a GCP region.
+// - parent: The resource name of the instance location using the form:
+// `projects/{project_id}/locations/{location_id}` where `location_id`
+// refers to a GCP region.
func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {
c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3185,14 +3185,14 @@ type ProjectsLocationsInstancesPatchCall struct {
// Patch: Updates an existing Instance in a given project and location.
//
-// - name: Unique name of the resource in this scope including project
-// and location using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` Note: Memcached instances are managed and addressed at the
-// regional level so `location_id` here refers to a Google Cloud
-// region; however, users may choose which zones Memcached nodes
-// should be provisioned in within an instance. Refer to zones field
-// for more details.
+// - name: Unique name of the resource in this scope including project
+// and location using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` Note: Memcached instances are managed and addressed at the
+// regional level so `location_id` here refers to a Google Cloud
+// region; however, users may choose which zones Memcached nodes
+// should be provisioned in within an instance. Refer to zones field
+// for more details.
func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall {
c := &ProjectsLocationsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3347,9 +3347,9 @@ type ProjectsLocationsInstancesRescheduleMaintenanceCall struct {
// RescheduleMaintenance: Reschedules upcoming maintenance event.
//
-// - instance: Memcache instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - instance: Memcache instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) RescheduleMaintenance(instance string, reschedulemaintenancerequest *RescheduleMaintenanceRequest) *ProjectsLocationsInstancesRescheduleMaintenanceCall {
c := &ProjectsLocationsInstancesRescheduleMaintenanceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instance = instance
@@ -3494,8 +3494,8 @@ type ProjectsLocationsInstancesUpdateParametersCall struct {
// followed by `ApplyParameters` to apply the parameters to nodes of the
// Memcached instance.
//
-// - name: Resource name of the Memcached instance for which the
-// parameters should be updated.
+// - name: Resource name of the Memcached instance for which the
+// parameters should be updated.
func (r *ProjectsLocationsInstancesService) UpdateParameters(name string, updateparametersrequest *UpdateParametersRequest) *ProjectsLocationsInstancesUpdateParametersCall {
c := &ProjectsLocationsInstancesUpdateParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/memcache/v1beta2/memcache-gen.go b/memcache/v1beta2/memcache-gen.go
index f59c64e3170..762bd2966a7 100644
--- a/memcache/v1beta2/memcache-gen.go
+++ b/memcache/v1beta2/memcache-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/memorystore/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/memcache/v1beta2"
-// ...
-// ctx := context.Background()
-// memcacheService, err := memcache.NewService(ctx)
+// import "google.golang.org/api/memcache/v1beta2"
+// ...
+// ctx := context.Background()
+// memcacheService, err := memcache.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// memcacheService, err := memcache.NewService(ctx, option.WithAPIKey("AIza..."))
+// memcacheService, err := memcache.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// memcacheService, err := memcache.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// memcacheService, err := memcache.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package memcache // import "google.golang.org/api/memcache/v1beta2"
@@ -2206,8 +2206,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2416,8 +2416,8 @@ type ProjectsLocationsInstancesApplyParametersCall struct {
// nodes in order to update them to the current set of parameters for
// the Memcached Instance.
//
-// - name: Resource name of the Memcached instance for which parameter
-// group updates should be applied.
+// - name: Resource name of the Memcached instance for which parameter
+// group updates should be applied.
func (r *ProjectsLocationsInstancesService) ApplyParameters(name string, applyparametersrequest *ApplyParametersRequest) *ProjectsLocationsInstancesApplyParametersCall {
c := &ProjectsLocationsInstancesApplyParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2560,8 +2560,8 @@ type ProjectsLocationsInstancesApplySoftwareUpdateCall struct {
// ApplySoftwareUpdate: Updates software on the selected nodes of the
// Instance.
//
-// - instance: Resource name of the Memcached instance for which
-// software update should be applied.
+// - instance: Resource name of the Memcached instance for which
+// software update should be applied.
func (r *ProjectsLocationsInstancesService) ApplySoftwareUpdate(instance string, applysoftwareupdaterequest *ApplySoftwareUpdateRequest) *ProjectsLocationsInstancesApplySoftwareUpdateCall {
c := &ProjectsLocationsInstancesApplySoftwareUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instance = instance
@@ -2703,9 +2703,9 @@ type ProjectsLocationsInstancesCreateCall struct {
// Create: Creates a new Instance in a given location.
//
-// - parent: The resource name of the instance location using the form:
-// `projects/{project_id}/locations/{location_id}` where `location_id`
-// refers to a GCP region.
+// - parent: The resource name of the instance location using the form:
+// `projects/{project_id}/locations/{location_id}` where `location_id`
+// refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall {
c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2863,9 +2863,9 @@ type ProjectsLocationsInstancesDeleteCall struct {
// Delete: Deletes a single Instance.
//
-// - name: Memcached instance resource name in the format:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Memcached instance resource name in the format:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2998,9 +2998,9 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets details of a single Instance.
//
-// - name: Memcached instance resource name in the format:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Memcached instance resource name in the format:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3146,9 +3146,9 @@ type ProjectsLocationsInstancesListCall struct {
// List: Lists Instances in a given location.
//
-// - parent: The resource name of the instance location using the form:
-// `projects/{project_id}/locations/{location_id}` where `location_id`
-// refers to a GCP region.
+// - parent: The resource name of the instance location using the form:
+// `projects/{project_id}/locations/{location_id}` where `location_id`
+// refers to a GCP region.
func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {
c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3370,14 +3370,14 @@ type ProjectsLocationsInstancesPatchCall struct {
// Patch: Updates an existing Instance in a given project and location.
//
-// - name: Unique name of the resource in this scope including project
-// and location using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` Note: Memcached instances are managed and addressed at the
-// regional level so `location_id` here refers to a Google Cloud
-// region; however, users may choose which zones Memcached nodes
-// should be provisioned in within an instance. Refer to zones field
-// for more details.
+// - name: Unique name of the resource in this scope including project
+// and location using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` Note: Memcached instances are managed and addressed at the
+// regional level so `location_id` here refers to a Google Cloud
+// region; however, users may choose which zones Memcached nodes
+// should be provisioned in within an instance. Refer to zones field
+// for more details.
func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall {
c := &ProjectsLocationsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3533,9 +3533,9 @@ type ProjectsLocationsInstancesRescheduleMaintenanceCall struct {
// RescheduleMaintenance: Performs the apply phase of the
// RescheduleMaintenance verb.
//
-// - instance: Memcache instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - instance: Memcache instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) RescheduleMaintenance(instance string, reschedulemaintenancerequest *RescheduleMaintenanceRequest) *ProjectsLocationsInstancesRescheduleMaintenanceCall {
c := &ProjectsLocationsInstancesRescheduleMaintenanceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instance = instance
@@ -3680,8 +3680,8 @@ type ProjectsLocationsInstancesUpdateParametersCall struct {
// followed by `ApplyParameters` to apply the parameters to nodes of the
// Memcached instance.
//
-// - name: Resource name of the Memcached instance for which the
-// parameters should be updated.
+// - name: Resource name of the Memcached instance for which the
+// parameters should be updated.
func (r *ProjectsLocationsInstancesService) UpdateParameters(name string, updateparametersrequest *UpdateParametersRequest) *ProjectsLocationsInstancesUpdateParametersCall {
c := &ProjectsLocationsInstancesUpdateParametersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/metastore/v1alpha/metastore-gen.go b/metastore/v1alpha/metastore-gen.go
index aba225a74a1..58c12d6712a 100644
--- a/metastore/v1alpha/metastore-gen.go
+++ b/metastore/v1alpha/metastore-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/dataproc-metastore/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/metastore/v1alpha"
-// ...
-// ctx := context.Background()
-// metastoreService, err := metastore.NewService(ctx)
+// import "google.golang.org/api/metastore/v1alpha"
+// ...
+// ctx := context.Background()
+// metastoreService, err := metastore.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// metastoreService, err := metastore.NewService(ctx, option.WithAPIKey("AIza..."))
+// metastoreService, err := metastore.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// metastoreService, err := metastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// metastoreService, err := metastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package metastore // import "google.golang.org/api/metastore/v1alpha"
@@ -2564,8 +2564,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2772,9 +2772,9 @@ type ProjectsLocationsFederationsCreateCall struct {
// Create: Creates a metastore federation in a project and location.
//
-// - parent: The relative resource name of the location in which to
-// create a federation service, in the following
-// form:projects/{project_number}/locations/{location_id}.
+// - parent: The relative resource name of the location in which to
+// create a federation service, in the following
+// form:projects/{project_number}/locations/{location_id}.
func (r *ProjectsLocationsFederationsService) Create(parent string, federation *Federation) *ProjectsLocationsFederationsCreateCall {
c := &ProjectsLocationsFederationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2951,10 +2951,10 @@ type ProjectsLocationsFederationsDeleteCall struct {
// Delete: Deletes a single federation.
//
-// - name: The relative resource name of the metastore federation to
-// delete, in the following
-// form:projects/{project_number}/locations/{location_id}/federations/{
-// federation_id}.
+// - name: The relative resource name of the metastore federation to
+// delete, in the following
+// form:projects/{project_number}/locations/{location_id}/federations/{
+// federation_id}.
func (r *ProjectsLocationsFederationsService) Delete(name string) *ProjectsLocationsFederationsDeleteCall {
c := &ProjectsLocationsFederationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3107,10 +3107,10 @@ type ProjectsLocationsFederationsGetCall struct {
// Get: Gets the details of a single federation.
//
-// - name: The relative resource name of the metastore federation to
-// retrieve, in the following
-// form:projects/{project_number}/locations/{location_id}/federations/{
-// federation_id}.
+// - name: The relative resource name of the metastore federation to
+// retrieve, in the following
+// form:projects/{project_number}/locations/{location_id}/federations/{
+// federation_id}.
func (r *ProjectsLocationsFederationsService) Get(name string) *ProjectsLocationsFederationsGetCall {
c := &ProjectsLocationsFederationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3258,10 +3258,10 @@ type ProjectsLocationsFederationsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFederationsService) GetIamPolicy(resource string) *ProjectsLocationsFederationsGetIamPolicyCall {
c := &ProjectsLocationsFederationsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3431,9 +3431,9 @@ type ProjectsLocationsFederationsListCall struct {
// List: Lists federations in a project and location.
//
-// - parent: The relative resource name of the location of metastore
-// federations to list, in the following form:
-// projects/{project_number}/locations/{location_id}.
+// - parent: The relative resource name of the location of metastore
+// federations to list, in the following form:
+// projects/{project_number}/locations/{location_id}.
func (r *ProjectsLocationsFederationsService) List(parent string) *ProjectsLocationsFederationsListCall {
c := &ProjectsLocationsFederationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3658,10 +3658,10 @@ type ProjectsLocationsFederationsPatchCall struct {
// Patch: Updates the fields of a federation.
//
-// - name: Immutable. The relative resource name of the federation, of
-// the form:
-// projects/{project_number}/locations/{location_id}/federations/{feder
-// ation_id}`.
+// - name: Immutable. The relative resource name of the federation, of
+// the form:
+// projects/{project_number}/locations/{location_id}/federations/{feder
+// ation_id}`.
func (r *ProjectsLocationsFederationsService) Patch(name string, federation *Federation) *ProjectsLocationsFederationsPatchCall {
c := &ProjectsLocationsFederationsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3841,10 +3841,10 @@ type ProjectsLocationsFederationsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFederationsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsFederationsSetIamPolicyCall {
c := &ProjectsLocationsFederationsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3991,10 +3991,10 @@ type ProjectsLocationsFederationsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFederationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsFederationsTestIamPermissionsCall {
c := &ProjectsLocationsFederationsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4632,9 +4632,9 @@ type ProjectsLocationsServicesCreateCall struct {
// Create: Creates a metastore service in a project and location.
//
-// - parent: The relative resource name of the location in which to
-// create a metastore service, in the following
-// form:projects/{project_number}/locations/{location_id}.
+// - parent: The relative resource name of the location in which to
+// create a metastore service, in the following
+// form:projects/{project_number}/locations/{location_id}.
func (r *ProjectsLocationsServicesService) Create(parent string, service *Service) *ProjectsLocationsServicesCreateCall {
c := &ProjectsLocationsServicesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4810,10 +4810,10 @@ type ProjectsLocationsServicesDeleteCall struct {
// Delete: Deletes a single service.
//
-// - name: The relative resource name of the metastore service to
-// delete, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - name: The relative resource name of the metastore service to
+// delete, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesService) Delete(name string) *ProjectsLocationsServicesDeleteCall {
c := &ProjectsLocationsServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4966,10 +4966,10 @@ type ProjectsLocationsServicesExportMetadataCall struct {
// ExportMetadata: Exports metadata from a service.
//
-// - service: The relative resource name of the metastore service to run
-// export, in the following
-// form:projects/{project_id}/locations/{location_id}/services/{service
-// _id}.
+// - service: The relative resource name of the metastore service to run
+// export, in the following
+// form:projects/{project_id}/locations/{location_id}/services/{service
+// _id}.
func (r *ProjectsLocationsServicesService) ExportMetadata(service string, exportmetadatarequest *ExportMetadataRequest) *ProjectsLocationsServicesExportMetadataCall {
c := &ProjectsLocationsServicesExportMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.service = service
@@ -5111,10 +5111,10 @@ type ProjectsLocationsServicesGetCall struct {
// Get: Gets the details of a single service.
//
-// - name: The relative resource name of the metastore service to
-// retrieve, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - name: The relative resource name of the metastore service to
+// retrieve, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesService) Get(name string) *ProjectsLocationsServicesGetCall {
c := &ProjectsLocationsServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5262,10 +5262,10 @@ type ProjectsLocationsServicesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) GetIamPolicy(resource string) *ProjectsLocationsServicesGetIamPolicyCall {
c := &ProjectsLocationsServicesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5435,9 +5435,9 @@ type ProjectsLocationsServicesListCall struct {
// List: Lists services in a project and location.
//
-// - parent: The relative resource name of the location of metastore
-// services to list, in the following
-// form:projects/{project_number}/locations/{location_id}.
+// - parent: The relative resource name of the location of metastore
+// services to list, in the following
+// form:projects/{project_number}/locations/{location_id}.
func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall {
c := &ProjectsLocationsServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5661,10 +5661,10 @@ type ProjectsLocationsServicesPatchCall struct {
// Patch: Updates the parameters of a single service.
//
-// - name: Immutable. The relative resource name of the metastore
-// service, of the
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - name: Immutable. The relative resource name of the metastore
+// service, of the
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesService) Patch(name string, service *Service) *ProjectsLocationsServicesPatchCall {
c := &ProjectsLocationsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5842,12 +5842,12 @@ type ProjectsLocationsServicesRemoveIamPolicyCall struct {
// RemoveIamPolicy: Removes the attached IAM policies for a resource
//
-// - resource: The relative resource name of the dataplane resource to
-// remove IAM policy, in the following
-// form:projects/{project_id}/locations/{location_id}/services/{service
-// _id}/databases/{database_id} or
-// projects/{project_id}/locations/{location_id}/services/{service_id}/
-// databases/{database_id}/tables/{table_id}.
+// - resource: The relative resource name of the dataplane resource to
+// remove IAM policy, in the following
+// form:projects/{project_id}/locations/{location_id}/services/{service
+// _id}/databases/{database_id} or
+// projects/{project_id}/locations/{location_id}/services/{service_id}/
+// databases/{database_id}/tables/{table_id}.
func (r *ProjectsLocationsServicesService) RemoveIamPolicy(resource string, removeiampolicyrequest *RemoveIamPolicyRequest) *ProjectsLocationsServicesRemoveIamPolicyCall {
c := &ProjectsLocationsServicesRemoveIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5989,10 +5989,10 @@ type ProjectsLocationsServicesRestoreCall struct {
// Restore: Restores a service from a backup.
//
-// - service: The relative resource name of the metastore service to run
-// restore, in the following
-// form:projects/{project_id}/locations/{location_id}/services/{service
-// _id}.
+// - service: The relative resource name of the metastore service to run
+// restore, in the following
+// form:projects/{project_id}/locations/{location_id}/services/{service
+// _id}.
func (r *ProjectsLocationsServicesService) Restore(service string, restoreservicerequest *RestoreServiceRequest) *ProjectsLocationsServicesRestoreCall {
c := &ProjectsLocationsServicesRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.service = service
@@ -6136,10 +6136,10 @@ type ProjectsLocationsServicesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesSetIamPolicyCall {
c := &ProjectsLocationsServicesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6286,10 +6286,10 @@ type ProjectsLocationsServicesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesTestIamPermissionsCall {
c := &ProjectsLocationsServicesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6431,10 +6431,10 @@ type ProjectsLocationsServicesBackupsCreateCall struct {
// Create: Creates a new backup in a given project and location.
//
-// - parent: The relative resource name of the service in which to
-// create a backup of the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - parent: The relative resource name of the service in which to
+// create a backup of the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsServicesBackupsCreateCall {
c := &ProjectsLocationsServicesBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6610,10 +6610,10 @@ type ProjectsLocationsServicesBackupsDeleteCall struct {
// Delete: Deletes a single backup.
//
-// - name: The relative resource name of the backup to delete, in the
-// following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/backups/{backup_id}.
+// - name: The relative resource name of the backup to delete, in the
+// following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/backups/{backup_id}.
func (r *ProjectsLocationsServicesBackupsService) Delete(name string) *ProjectsLocationsServicesBackupsDeleteCall {
c := &ProjectsLocationsServicesBackupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6766,10 +6766,10 @@ type ProjectsLocationsServicesBackupsGetCall struct {
// Get: Gets details of a single backup.
//
-// - name: The relative resource name of the backup to retrieve, in the
-// following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/backups/{backup_id}.
+// - name: The relative resource name of the backup to retrieve, in the
+// following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/backups/{backup_id}.
func (r *ProjectsLocationsServicesBackupsService) Get(name string) *ProjectsLocationsServicesBackupsGetCall {
c := &ProjectsLocationsServicesBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6917,10 +6917,10 @@ type ProjectsLocationsServicesBackupsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesBackupsService) GetIamPolicy(resource string) *ProjectsLocationsServicesBackupsGetIamPolicyCall {
c := &ProjectsLocationsServicesBackupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7090,10 +7090,10 @@ type ProjectsLocationsServicesBackupsListCall struct {
// List: Lists backups in a service.
//
-// - parent: The relative resource name of the service whose backups to
-// list, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/backups.
+// - parent: The relative resource name of the service whose backups to
+// list, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/backups.
func (r *ProjectsLocationsServicesBackupsService) List(parent string) *ProjectsLocationsServicesBackupsListCall {
c := &ProjectsLocationsServicesBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7319,10 +7319,10 @@ type ProjectsLocationsServicesBackupsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesBackupsSetIamPolicyCall {
c := &ProjectsLocationsServicesBackupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7469,10 +7469,10 @@ type ProjectsLocationsServicesBackupsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesBackupsTestIamPermissionsCall {
c := &ProjectsLocationsServicesBackupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7616,10 +7616,10 @@ type ProjectsLocationsServicesDatabasesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesService) GetIamPolicy(resource string) *ProjectsLocationsServicesDatabasesGetIamPolicyCall {
c := &ProjectsLocationsServicesDatabasesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7791,10 +7791,10 @@ type ProjectsLocationsServicesDatabasesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesDatabasesSetIamPolicyCall {
c := &ProjectsLocationsServicesDatabasesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7941,10 +7941,10 @@ type ProjectsLocationsServicesDatabasesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesDatabasesTestIamPermissionsCall {
c := &ProjectsLocationsServicesDatabasesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8088,10 +8088,10 @@ type ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesTablesService) GetIamPolicy(resource string) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall {
c := &ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8263,10 +8263,10 @@ type ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesTablesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall {
c := &ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8413,10 +8413,10 @@ type ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesTablesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall {
c := &ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8558,10 +8558,10 @@ type ProjectsLocationsServicesMetadataImportsCreateCall struct {
// Create: Creates a new MetadataImport in a given project and location.
//
-// - parent: The relative resource name of the service in which to
-// create a metastore import, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - parent: The relative resource name of the service in which to
+// create a metastore import, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesMetadataImportsService) Create(parent string, metadataimport *MetadataImport) *ProjectsLocationsServicesMetadataImportsCreateCall {
c := &ProjectsLocationsServicesMetadataImportsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8738,10 +8738,10 @@ type ProjectsLocationsServicesMetadataImportsGetCall struct {
// Get: Gets details of a single import.
//
-// - name: The relative resource name of the metadata import to
-// retrieve, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/metadataImports/{import_id}.
+// - name: The relative resource name of the metadata import to
+// retrieve, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/metadataImports/{import_id}.
func (r *ProjectsLocationsServicesMetadataImportsService) Get(name string) *ProjectsLocationsServicesMetadataImportsGetCall {
c := &ProjectsLocationsServicesMetadataImportsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8887,10 +8887,10 @@ type ProjectsLocationsServicesMetadataImportsListCall struct {
// List: Lists imports in a service.
//
-// - parent: The relative resource name of the service whose metadata
-// imports to list, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/metadataImports.
+// - parent: The relative resource name of the service whose metadata
+// imports to list, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/metadataImports.
func (r *ProjectsLocationsServicesMetadataImportsService) List(parent string) *ProjectsLocationsServicesMetadataImportsListCall {
c := &ProjectsLocationsServicesMetadataImportsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9115,10 +9115,10 @@ type ProjectsLocationsServicesMetadataImportsPatchCall struct {
// Patch: Updates a single import. Only the description field of
// MetadataImport is supported to be updated.
//
-// - name: Immutable. The relative resource name of the metadata import,
-// of the
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/metadataImports/{metadata_import_id}.
+// - name: Immutable. The relative resource name of the metadata import,
+// of the
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/metadataImports/{metadata_import_id}.
func (r *ProjectsLocationsServicesMetadataImportsService) Patch(name string, metadataimport *MetadataImport) *ProjectsLocationsServicesMetadataImportsPatchCall {
c := &ProjectsLocationsServicesMetadataImportsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/metastore/v1beta/metastore-gen.go b/metastore/v1beta/metastore-gen.go
index 1d2555ee2bb..08c60581720 100644
--- a/metastore/v1beta/metastore-gen.go
+++ b/metastore/v1beta/metastore-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/dataproc-metastore/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/metastore/v1beta"
-// ...
-// ctx := context.Background()
-// metastoreService, err := metastore.NewService(ctx)
+// import "google.golang.org/api/metastore/v1beta"
+// ...
+// ctx := context.Background()
+// metastoreService, err := metastore.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// metastoreService, err := metastore.NewService(ctx, option.WithAPIKey("AIza..."))
+// metastoreService, err := metastore.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// metastoreService, err := metastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// metastoreService, err := metastore.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package metastore // import "google.golang.org/api/metastore/v1beta"
@@ -2564,8 +2564,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2772,9 +2772,9 @@ type ProjectsLocationsFederationsCreateCall struct {
// Create: Creates a metastore federation in a project and location.
//
-// - parent: The relative resource name of the location in which to
-// create a federation service, in the following
-// form:projects/{project_number}/locations/{location_id}.
+// - parent: The relative resource name of the location in which to
+// create a federation service, in the following
+// form:projects/{project_number}/locations/{location_id}.
func (r *ProjectsLocationsFederationsService) Create(parent string, federation *Federation) *ProjectsLocationsFederationsCreateCall {
c := &ProjectsLocationsFederationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2951,10 +2951,10 @@ type ProjectsLocationsFederationsDeleteCall struct {
// Delete: Deletes a single federation.
//
-// - name: The relative resource name of the metastore federation to
-// delete, in the following
-// form:projects/{project_number}/locations/{location_id}/federations/{
-// federation_id}.
+// - name: The relative resource name of the metastore federation to
+// delete, in the following
+// form:projects/{project_number}/locations/{location_id}/federations/{
+// federation_id}.
func (r *ProjectsLocationsFederationsService) Delete(name string) *ProjectsLocationsFederationsDeleteCall {
c := &ProjectsLocationsFederationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3107,10 +3107,10 @@ type ProjectsLocationsFederationsGetCall struct {
// Get: Gets the details of a single federation.
//
-// - name: The relative resource name of the metastore federation to
-// retrieve, in the following
-// form:projects/{project_number}/locations/{location_id}/federations/{
-// federation_id}.
+// - name: The relative resource name of the metastore federation to
+// retrieve, in the following
+// form:projects/{project_number}/locations/{location_id}/federations/{
+// federation_id}.
func (r *ProjectsLocationsFederationsService) Get(name string) *ProjectsLocationsFederationsGetCall {
c := &ProjectsLocationsFederationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3258,10 +3258,10 @@ type ProjectsLocationsFederationsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFederationsService) GetIamPolicy(resource string) *ProjectsLocationsFederationsGetIamPolicyCall {
c := &ProjectsLocationsFederationsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3431,9 +3431,9 @@ type ProjectsLocationsFederationsListCall struct {
// List: Lists federations in a project and location.
//
-// - parent: The relative resource name of the location of metastore
-// federations to list, in the following form:
-// projects/{project_number}/locations/{location_id}.
+// - parent: The relative resource name of the location of metastore
+// federations to list, in the following form:
+// projects/{project_number}/locations/{location_id}.
func (r *ProjectsLocationsFederationsService) List(parent string) *ProjectsLocationsFederationsListCall {
c := &ProjectsLocationsFederationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3658,10 +3658,10 @@ type ProjectsLocationsFederationsPatchCall struct {
// Patch: Updates the fields of a federation.
//
-// - name: Immutable. The relative resource name of the federation, of
-// the form:
-// projects/{project_number}/locations/{location_id}/federations/{feder
-// ation_id}`.
+// - name: Immutable. The relative resource name of the federation, of
+// the form:
+// projects/{project_number}/locations/{location_id}/federations/{feder
+// ation_id}`.
func (r *ProjectsLocationsFederationsService) Patch(name string, federation *Federation) *ProjectsLocationsFederationsPatchCall {
c := &ProjectsLocationsFederationsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3841,10 +3841,10 @@ type ProjectsLocationsFederationsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFederationsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsFederationsSetIamPolicyCall {
c := &ProjectsLocationsFederationsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3991,10 +3991,10 @@ type ProjectsLocationsFederationsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsFederationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsFederationsTestIamPermissionsCall {
c := &ProjectsLocationsFederationsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4632,9 +4632,9 @@ type ProjectsLocationsServicesCreateCall struct {
// Create: Creates a metastore service in a project and location.
//
-// - parent: The relative resource name of the location in which to
-// create a metastore service, in the following
-// form:projects/{project_number}/locations/{location_id}.
+// - parent: The relative resource name of the location in which to
+// create a metastore service, in the following
+// form:projects/{project_number}/locations/{location_id}.
func (r *ProjectsLocationsServicesService) Create(parent string, service *Service) *ProjectsLocationsServicesCreateCall {
c := &ProjectsLocationsServicesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4810,10 +4810,10 @@ type ProjectsLocationsServicesDeleteCall struct {
// Delete: Deletes a single service.
//
-// - name: The relative resource name of the metastore service to
-// delete, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - name: The relative resource name of the metastore service to
+// delete, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesService) Delete(name string) *ProjectsLocationsServicesDeleteCall {
c := &ProjectsLocationsServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4966,10 +4966,10 @@ type ProjectsLocationsServicesExportMetadataCall struct {
// ExportMetadata: Exports metadata from a service.
//
-// - service: The relative resource name of the metastore service to run
-// export, in the following
-// form:projects/{project_id}/locations/{location_id}/services/{service
-// _id}.
+// - service: The relative resource name of the metastore service to run
+// export, in the following
+// form:projects/{project_id}/locations/{location_id}/services/{service
+// _id}.
func (r *ProjectsLocationsServicesService) ExportMetadata(service string, exportmetadatarequest *ExportMetadataRequest) *ProjectsLocationsServicesExportMetadataCall {
c := &ProjectsLocationsServicesExportMetadataCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.service = service
@@ -5111,10 +5111,10 @@ type ProjectsLocationsServicesGetCall struct {
// Get: Gets the details of a single service.
//
-// - name: The relative resource name of the metastore service to
-// retrieve, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - name: The relative resource name of the metastore service to
+// retrieve, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesService) Get(name string) *ProjectsLocationsServicesGetCall {
c := &ProjectsLocationsServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5262,10 +5262,10 @@ type ProjectsLocationsServicesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) GetIamPolicy(resource string) *ProjectsLocationsServicesGetIamPolicyCall {
c := &ProjectsLocationsServicesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5435,9 +5435,9 @@ type ProjectsLocationsServicesListCall struct {
// List: Lists services in a project and location.
//
-// - parent: The relative resource name of the location of metastore
-// services to list, in the following
-// form:projects/{project_number}/locations/{location_id}.
+// - parent: The relative resource name of the location of metastore
+// services to list, in the following
+// form:projects/{project_number}/locations/{location_id}.
func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall {
c := &ProjectsLocationsServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5661,10 +5661,10 @@ type ProjectsLocationsServicesPatchCall struct {
// Patch: Updates the parameters of a single service.
//
-// - name: Immutable. The relative resource name of the metastore
-// service, of the
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - name: Immutable. The relative resource name of the metastore
+// service, of the
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesService) Patch(name string, service *Service) *ProjectsLocationsServicesPatchCall {
c := &ProjectsLocationsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5842,12 +5842,12 @@ type ProjectsLocationsServicesRemoveIamPolicyCall struct {
// RemoveIamPolicy: Removes the attached IAM policies for a resource
//
-// - resource: The relative resource name of the dataplane resource to
-// remove IAM policy, in the following
-// form:projects/{project_id}/locations/{location_id}/services/{service
-// _id}/databases/{database_id} or
-// projects/{project_id}/locations/{location_id}/services/{service_id}/
-// databases/{database_id}/tables/{table_id}.
+// - resource: The relative resource name of the dataplane resource to
+// remove IAM policy, in the following
+// form:projects/{project_id}/locations/{location_id}/services/{service
+// _id}/databases/{database_id} or
+// projects/{project_id}/locations/{location_id}/services/{service_id}/
+// databases/{database_id}/tables/{table_id}.
func (r *ProjectsLocationsServicesService) RemoveIamPolicy(resource string, removeiampolicyrequest *RemoveIamPolicyRequest) *ProjectsLocationsServicesRemoveIamPolicyCall {
c := &ProjectsLocationsServicesRemoveIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5989,10 +5989,10 @@ type ProjectsLocationsServicesRestoreCall struct {
// Restore: Restores a service from a backup.
//
-// - service: The relative resource name of the metastore service to run
-// restore, in the following
-// form:projects/{project_id}/locations/{location_id}/services/{service
-// _id}.
+// - service: The relative resource name of the metastore service to run
+// restore, in the following
+// form:projects/{project_id}/locations/{location_id}/services/{service
+// _id}.
func (r *ProjectsLocationsServicesService) Restore(service string, restoreservicerequest *RestoreServiceRequest) *ProjectsLocationsServicesRestoreCall {
c := &ProjectsLocationsServicesRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.service = service
@@ -6136,10 +6136,10 @@ type ProjectsLocationsServicesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesSetIamPolicyCall {
c := &ProjectsLocationsServicesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6286,10 +6286,10 @@ type ProjectsLocationsServicesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesTestIamPermissionsCall {
c := &ProjectsLocationsServicesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6431,10 +6431,10 @@ type ProjectsLocationsServicesBackupsCreateCall struct {
// Create: Creates a new backup in a given project and location.
//
-// - parent: The relative resource name of the service in which to
-// create a backup of the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - parent: The relative resource name of the service in which to
+// create a backup of the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsServicesBackupsCreateCall {
c := &ProjectsLocationsServicesBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6610,10 +6610,10 @@ type ProjectsLocationsServicesBackupsDeleteCall struct {
// Delete: Deletes a single backup.
//
-// - name: The relative resource name of the backup to delete, in the
-// following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/backups/{backup_id}.
+// - name: The relative resource name of the backup to delete, in the
+// following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/backups/{backup_id}.
func (r *ProjectsLocationsServicesBackupsService) Delete(name string) *ProjectsLocationsServicesBackupsDeleteCall {
c := &ProjectsLocationsServicesBackupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6766,10 +6766,10 @@ type ProjectsLocationsServicesBackupsGetCall struct {
// Get: Gets details of a single backup.
//
-// - name: The relative resource name of the backup to retrieve, in the
-// following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/backups/{backup_id}.
+// - name: The relative resource name of the backup to retrieve, in the
+// following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/backups/{backup_id}.
func (r *ProjectsLocationsServicesBackupsService) Get(name string) *ProjectsLocationsServicesBackupsGetCall {
c := &ProjectsLocationsServicesBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6917,10 +6917,10 @@ type ProjectsLocationsServicesBackupsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesBackupsService) GetIamPolicy(resource string) *ProjectsLocationsServicesBackupsGetIamPolicyCall {
c := &ProjectsLocationsServicesBackupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7090,10 +7090,10 @@ type ProjectsLocationsServicesBackupsListCall struct {
// List: Lists backups in a service.
//
-// - parent: The relative resource name of the service whose backups to
-// list, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/backups.
+// - parent: The relative resource name of the service whose backups to
+// list, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/backups.
func (r *ProjectsLocationsServicesBackupsService) List(parent string) *ProjectsLocationsServicesBackupsListCall {
c := &ProjectsLocationsServicesBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7319,10 +7319,10 @@ type ProjectsLocationsServicesBackupsSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesBackupsSetIamPolicyCall {
c := &ProjectsLocationsServicesBackupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7469,10 +7469,10 @@ type ProjectsLocationsServicesBackupsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesBackupsTestIamPermissionsCall {
c := &ProjectsLocationsServicesBackupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7616,10 +7616,10 @@ type ProjectsLocationsServicesDatabasesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesService) GetIamPolicy(resource string) *ProjectsLocationsServicesDatabasesGetIamPolicyCall {
c := &ProjectsLocationsServicesDatabasesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7791,10 +7791,10 @@ type ProjectsLocationsServicesDatabasesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesDatabasesSetIamPolicyCall {
c := &ProjectsLocationsServicesDatabasesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7941,10 +7941,10 @@ type ProjectsLocationsServicesDatabasesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesDatabasesTestIamPermissionsCall {
c := &ProjectsLocationsServicesDatabasesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8088,10 +8088,10 @@ type ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesTablesService) GetIamPolicy(resource string) *ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall {
c := &ProjectsLocationsServicesDatabasesTablesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8263,10 +8263,10 @@ type ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall struct {
// resource. Replaces any existing policy.Can return NOT_FOUND,
// INVALID_ARGUMENT, and PERMISSION_DENIED errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesTablesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall {
c := &ProjectsLocationsServicesDatabasesTablesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8413,10 +8413,10 @@ type ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesDatabasesTablesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall {
c := &ProjectsLocationsServicesDatabasesTablesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8558,10 +8558,10 @@ type ProjectsLocationsServicesMetadataImportsCreateCall struct {
// Create: Creates a new MetadataImport in a given project and location.
//
-// - parent: The relative resource name of the service in which to
-// create a metastore import, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}.
+// - parent: The relative resource name of the service in which to
+// create a metastore import, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}.
func (r *ProjectsLocationsServicesMetadataImportsService) Create(parent string, metadataimport *MetadataImport) *ProjectsLocationsServicesMetadataImportsCreateCall {
c := &ProjectsLocationsServicesMetadataImportsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8738,10 +8738,10 @@ type ProjectsLocationsServicesMetadataImportsGetCall struct {
// Get: Gets details of a single import.
//
-// - name: The relative resource name of the metadata import to
-// retrieve, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/metadataImports/{import_id}.
+// - name: The relative resource name of the metadata import to
+// retrieve, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/metadataImports/{import_id}.
func (r *ProjectsLocationsServicesMetadataImportsService) Get(name string) *ProjectsLocationsServicesMetadataImportsGetCall {
c := &ProjectsLocationsServicesMetadataImportsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8887,10 +8887,10 @@ type ProjectsLocationsServicesMetadataImportsListCall struct {
// List: Lists imports in a service.
//
-// - parent: The relative resource name of the service whose metadata
-// imports to list, in the following
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/metadataImports.
+// - parent: The relative resource name of the service whose metadata
+// imports to list, in the following
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/metadataImports.
func (r *ProjectsLocationsServicesMetadataImportsService) List(parent string) *ProjectsLocationsServicesMetadataImportsListCall {
c := &ProjectsLocationsServicesMetadataImportsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9115,10 +9115,10 @@ type ProjectsLocationsServicesMetadataImportsPatchCall struct {
// Patch: Updates a single import. Only the description field of
// MetadataImport is supported to be updated.
//
-// - name: Immutable. The relative resource name of the metadata import,
-// of the
-// form:projects/{project_number}/locations/{location_id}/services/{ser
-// vice_id}/metadataImports/{metadata_import_id}.
+// - name: Immutable. The relative resource name of the metadata import,
+// of the
+// form:projects/{project_number}/locations/{location_id}/services/{ser
+// vice_id}/metadataImports/{metadata_import_id}.
func (r *ProjectsLocationsServicesMetadataImportsService) Patch(name string, metadataimport *MetadataImport) *ProjectsLocationsServicesMetadataImportsPatchCall {
c := &ProjectsLocationsServicesMetadataImportsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/mirror/v1/mirror-gen.go b/mirror/v1/mirror-gen.go
index 6ac2cd3d567..4169794b1d8 100644
--- a/mirror/v1/mirror-gen.go
+++ b/mirror/v1/mirror-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/glass
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mirror/v1"
-// ...
-// ctx := context.Background()
-// mirrorService, err := mirror.NewService(ctx)
+// import "google.golang.org/api/mirror/v1"
+// ...
+// ctx := context.Background()
+// mirrorService, err := mirror.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// mirrorService, err := mirror.NewService(ctx, option.WithScopes(mirror.GlassTimelineScope))
+// mirrorService, err := mirror.NewService(ctx, option.WithScopes(mirror.GlassTimelineScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mirrorService, err := mirror.NewService(ctx, option.WithAPIKey("AIza..."))
+// mirrorService, err := mirror.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mirrorService, err := mirror.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mirrorService, err := mirror.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mirror // import "google.golang.org/api/mirror/v1"
@@ -3630,9 +3630,13 @@ func (c *TimelineListCall) MaxResults(maxResults int64) *TimelineListCall {
// which timeline items are returned.
//
// Possible values:
-// "displayTime" - Results will be ordered by displayTime (default).
+//
+// "displayTime" - Results will be ordered by displayTime (default).
+//
// This is the same ordering as is used in the timeline on the device.
-// "writeTime" - Results will be ordered by the time at which they
+//
+// "writeTime" - Results will be ordered by the time at which they
+//
// were last written to the data store.
func (c *TimelineListCall) OrderBy(orderBy string) *TimelineListCall {
c.urlParams_.Set("orderBy", orderBy)
diff --git a/ml/v1/ml-gen.go b/ml/v1/ml-gen.go
index bea2988842b..150dc1ad88a 100644
--- a/ml/v1/ml-gen.go
+++ b/ml/v1/ml-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/ml/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/ml/v1"
-// ...
-// ctx := context.Background()
-// mlService, err := ml.NewService(ctx)
+// import "google.golang.org/api/ml/v1"
+// ...
+// ctx := context.Background()
+// mlService, err := ml.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// mlService, err := ml.NewService(ctx, option.WithScopes(ml.CloudPlatformReadOnlyScope))
+// mlService, err := ml.NewService(ctx, option.WithScopes(ml.CloudPlatformReadOnlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mlService, err := ml.NewService(ctx, option.WithAPIKey("AIza..."))
+// mlService, err := ml.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mlService, err := ml.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mlService, err := ml.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package ml // import "google.golang.org/api/ml/v1"
@@ -4763,8 +4763,8 @@ type ProjectsExplainCall struct {
// Explain: Performs explanation on the data in the request. {% dynamic
// include "/ai-platform/includes/___explain-request" %}
//
-// - name: The resource name of a model or a version. Authorization:
-// requires the `predict` permission on the specified resource.
+// - name: The resource name of a model or a version. Authorization:
+// requires the `predict` permission on the specified resource.
func (r *ProjectsService) Explain(name string, googlecloudmlv1__explainrequest *GoogleCloudMlV1__ExplainRequest) *ProjectsExplainCall {
c := &ProjectsExplainCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5058,8 +5058,8 @@ type ProjectsPredictCall struct {
// Predict: Performs online prediction on the data in the request. {%
// dynamic include "/ai-platform/includes/___predict-request" %}
//
-// - name: The resource name of a model or a version. Authorization:
-// requires the `predict` permission on the specified resource.
+// - name: The resource name of a model or a version. Authorization:
+// requires the `predict` permission on the specified resource.
func (r *ProjectsService) Predict(name string, googlecloudmlv1__predictrequest *GoogleCloudMlV1__PredictRequest) *ProjectsPredictCall {
c := &ProjectsPredictCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5639,10 +5639,10 @@ type ProjectsJobsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsJobsService) GetIamPolicy(resource string) *ProjectsJobsGetIamPolicyCall {
c := &ProjectsJobsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6196,10 +6196,10 @@ type ProjectsJobsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsJobsService) SetIamPolicy(resource string, googleiamv1__setiampolicyrequest *GoogleIamV1__SetIamPolicyRequest) *ProjectsJobsSetIamPolicyCall {
c := &ProjectsJobsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6346,10 +6346,10 @@ type ProjectsJobsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsJobsService) TestIamPermissions(resource string, googleiamv1__testiampermissionsrequest *GoogleIamV1__TestIamPermissionsRequest) *ProjectsJobsTestIamPermissionsCall {
c := &ProjectsJobsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6641,9 +6641,9 @@ type ProjectsLocationsListCall struct {
// List: List all locations that provides at least one type of CMLE
// capability.
//
-// - parent: The name of the project for which available locations are
-// to be listed (since some locations might be whitelisted for
-// specific projects).
+// - parent: The name of the project for which available locations are
+// to be listed (since some locations might be whitelisted for
+// specific projects).
func (r *ProjectsLocationsService) List(parent string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7130,8 +7130,8 @@ type ProjectsLocationsStudiesCreateCall struct {
// Create: Creates a study.
//
-// - parent: The project and location that the study belongs to. Format:
-// projects/{project}/locations/{location}.
+// - parent: The project and location that the study belongs to. Format:
+// projects/{project}/locations/{location}.
func (r *ProjectsLocationsStudiesService) Create(parent string, googlecloudmlv1__study *GoogleCloudMlV1__Study) *ProjectsLocationsStudiesCreateCall {
c := &ProjectsLocationsStudiesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7564,8 +7564,8 @@ type ProjectsLocationsStudiesListCall struct {
// List: Lists all the studies in a region for an associated project.
//
-// - parent: The project and location that the study belongs to. Format:
-// projects/{project}/locations/{location}.
+// - parent: The project and location that the study belongs to. Format:
+// projects/{project}/locations/{location}.
func (r *ProjectsLocationsStudiesService) List(parent string) *ProjectsLocationsStudiesListCall {
c := &ProjectsLocationsStudiesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8712,8 +8712,8 @@ type ProjectsLocationsStudiesTrialsListOptimalTrialsCall struct {
// study. The definition of pareto-optimal can be checked in wiki page.
// https://en.wikipedia.org/wiki/Pareto_efficiency
//
-// - parent: The name of the study that the pareto-optimal trial belongs
-// to.
+// - parent: The name of the study that the pareto-optimal trial belongs
+// to.
func (r *ProjectsLocationsStudiesTrialsService) ListOptimalTrials(parent string, googlecloudmlv1__listoptimaltrialsrequest *GoogleCloudMlV1__ListOptimalTrialsRequest) *ProjectsLocationsStudiesTrialsListOptimalTrialsCall {
c := &ProjectsLocationsStudiesTrialsListOptimalTrialsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9575,10 +9575,10 @@ type ProjectsModelsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsModelsService) GetIamPolicy(resource string) *ProjectsModelsGetIamPolicyCall {
c := &ProjectsModelsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10127,10 +10127,10 @@ type ProjectsModelsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsModelsService) SetIamPolicy(resource string, googleiamv1__setiampolicyrequest *GoogleIamV1__SetIamPolicyRequest) *ProjectsModelsSetIamPolicyCall {
c := &ProjectsModelsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10277,10 +10277,10 @@ type ProjectsModelsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsModelsService) TestIamPermissions(resource string, googleiamv1__testiampermissionsrequest *GoogleIamV1__TestIamPermissionsRequest) *ProjectsModelsTestIamPermissionsCall {
c := &ProjectsModelsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10574,8 +10574,8 @@ type ProjectsModelsVersionsDeleteCall struct {
// set as the default version of the model unless it is the only
// remaining version.
//
-// - name: The name of the version. You can get the names of all the
-// versions of a model by calling projects.models.versions.list.
+// - name: The name of the version. You can get the names of all the
+// versions of a model by calling projects.models.versions.list.
func (r *ProjectsModelsVersionsService) Delete(name string) *ProjectsModelsVersionsDeleteCall {
c := &ProjectsModelsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11243,9 +11243,9 @@ type ProjectsModelsVersionsSetDefaultCall struct {
// subsequent changes to the default version setting manually using this
// method.
//
-// - name: The name of the version to make the default for the model.
-// You can get the names of all the versions of a model by calling
-// projects.models.versions.list.
+// - name: The name of the version to make the default for the model.
+// You can get the names of all the versions of a model by calling
+// projects.models.versions.list.
func (r *ProjectsModelsVersionsService) SetDefault(name string, googlecloudmlv1__setdefaultversionrequest *GoogleCloudMlV1__SetDefaultVersionRequest) *ProjectsModelsVersionsSetDefaultCall {
c := &ProjectsModelsVersionsSetDefaultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go
index 657ad7931b3..e189f5f36cf 100644
--- a/monitoring/v1/monitoring-gen.go
+++ b/monitoring/v1/monitoring-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/monitoring/api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/monitoring/v1"
-// ...
-// ctx := context.Background()
-// monitoringService, err := monitoring.NewService(ctx)
+// import "google.golang.org/api/monitoring/v1"
+// ...
+// ctx := context.Background()
+// monitoringService, err := monitoring.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// monitoringService, err := monitoring.NewService(ctx, option.WithScopes(monitoring.MonitoringWriteScope))
+// monitoringService, err := monitoring.NewService(ctx, option.WithScopes(monitoring.MonitoringWriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// monitoringService, err := monitoring.NewService(ctx, option.WithAPIKey("AIza..."))
+// monitoringService, err := monitoring.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// monitoringService, err := monitoring.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// monitoringService, err := monitoring.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package monitoring // import "google.golang.org/api/monitoring/v1"
@@ -2808,8 +2808,8 @@ type LocationsGlobalMetricsScopesGetCall struct {
// Get: Returns a specific Metrics Scope, including the list of projects
// monitored by the specified Metrics Scope.
//
-// - name: The resource name of the Metrics Scope. Example:
-// locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}.
+// - name: The resource name of the Metrics Scope. Example:
+// locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}.
func (r *LocationsGlobalMetricsScopesService) Get(name string) *LocationsGlobalMetricsScopesGetCall {
c := &LocationsGlobalMetricsScopesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3109,9 +3109,9 @@ type LocationsGlobalMetricsScopesProjectsCreateCall struct {
// Create: Adds a MonitoredProject with the given project ID to the
// specified Metrics Scope.
//
-// - parent: The resource name of the existing Metrics Scope that will
-// monitor this project. Example:
-// locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}.
+// - parent: The resource name of the existing Metrics Scope that will
+// monitor this project. Example:
+// locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}.
func (r *LocationsGlobalMetricsScopesProjectsService) Create(parent string, monitoredproject *MonitoredProject) *LocationsGlobalMetricsScopesProjectsCreateCall {
c := &LocationsGlobalMetricsScopesProjectsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3254,12 +3254,12 @@ type LocationsGlobalMetricsScopesProjectsDeleteCall struct {
// Delete: Deletes a MonitoredProject from the specified Metrics Scope.
//
-// - name: The resource name of the MonitoredProject. Example:
-// locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projec
-// ts/{MONITORED_PROJECT_ID_OR_NUMBER}Authorization requires the
-// following Google IAM (https://cloud.google.com/iam) permissions on
-// both the Metrics Scope and on the MonitoredProject:
-// monitoring.metricsScopes.link.
+// - name: The resource name of the MonitoredProject. Example:
+// locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projec
+// ts/{MONITORED_PROJECT_ID_OR_NUMBER}Authorization requires the
+// following Google IAM (https://cloud.google.com/iam) permissions on
+// both the Metrics Scope and on the MonitoredProject:
+// monitoring.metricsScopes.link.
func (r *LocationsGlobalMetricsScopesProjectsService) Delete(name string) *LocationsGlobalMetricsScopesProjectsDeleteCall {
c := &LocationsGlobalMetricsScopesProjectsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3549,9 +3549,9 @@ type ProjectsDashboardsCreateCall struct {
// specified project. For more information about permissions, see Cloud
// Identity and Access Management (https://cloud.google.com/iam).
//
-// - parent: The project on which to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must
-// match the dashboard resource name.
+// - parent: The project on which to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must
+// match the dashboard resource name.
func (r *ProjectsDashboardsService) Create(parent string, dashboard *Dashboard) *ProjectsDashboardsCreateCall {
c := &ProjectsDashboardsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3710,8 +3710,8 @@ type ProjectsDashboardsDeleteCall struct {
// For more information, see Cloud Identity and Access Management
// (https://cloud.google.com/iam).
//
-// - name: The resource name of the Dashboard. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID].
+// - name: The resource name of the Dashboard. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID].
func (r *ProjectsDashboardsService) Delete(name string) *ProjectsDashboardsDeleteCall {
c := &ProjectsDashboardsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3849,10 +3849,10 @@ type ProjectsDashboardsGetCall struct {
// more information, see Cloud Identity and Access Management
// (https://cloud.google.com/iam).
//
-// - name: The resource name of the Dashboard. The format is one of:
-// dashboards/[DASHBOARD_ID] (for system dashboards)
-// projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for
-// custom dashboards).
+// - name: The resource name of the Dashboard. The format is one of:
+// dashboards/[DASHBOARD_ID] (for system dashboards)
+// projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for
+// custom dashboards).
func (r *ProjectsDashboardsService) Get(name string) *ProjectsDashboardsGetCall {
c := &ProjectsDashboardsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4003,8 +4003,8 @@ type ProjectsDashboardsListCall struct {
// more information, see Cloud Identity and Access Management
// (https://cloud.google.com/iam).
//
-// - parent: The scope of the dashboards to list. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - parent: The scope of the dashboards to list. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsDashboardsService) List(parent string) *ProjectsDashboardsListCall {
c := &ProjectsDashboardsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4362,12 +4362,12 @@ type ProjectsLocationPrometheusApiV1LabelsCall struct {
// Labels: Lists labels for metrics.
//
-// - location: Location of the resource information. Has to be "global"
-// now.
-// - name: The workspace on which to execute the request. It is not part
-// of the open source API but used as a request path prefix to
-// distinguish different virtual Prometheus instances of Google
-// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
+// - location: Location of the resource information. Has to be "global"
+// now.
+// - name: The workspace on which to execute the request. It is not part
+// of the open source API but used as a request path prefix to
+// distinguish different virtual Prometheus instances of Google
+// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
func (r *ProjectsLocationPrometheusApiV1Service) Labels(name string, location string, listlabelsrequest *ListLabelsRequest) *ProjectsLocationPrometheusApiV1LabelsCall {
c := &ProjectsLocationPrometheusApiV1LabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4521,13 +4521,13 @@ type ProjectsLocationPrometheusApiV1QueryCall struct {
// Query: Evaluate a PromQL query at a single point in time.
//
-// - location: Location of the resource information. Has to be "global"
-// now.
-// - name: The project on which to execute the request. Data associcated
-// with the project's workspace stored under the The format is:
-// projects/PROJECT_ID_OR_NUMBER. Open source API but used as a
-// request path prefix to distinguish different virtual Prometheus
-// instances of Google Prometheus Engine.
+// - location: Location of the resource information. Has to be "global"
+// now.
+// - name: The project on which to execute the request. Data associcated
+// with the project's workspace stored under the The format is:
+// projects/PROJECT_ID_OR_NUMBER. Open source API but used as a
+// request path prefix to distinguish different virtual Prometheus
+// instances of Google Prometheus Engine.
func (r *ProjectsLocationPrometheusApiV1Service) Query(name string, location string, queryinstantrequest *QueryInstantRequest) *ProjectsLocationPrometheusApiV1QueryCall {
c := &ProjectsLocationPrometheusApiV1QueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4681,13 +4681,13 @@ type ProjectsLocationPrometheusApiV1QueryRangeCall struct {
// QueryRange: Evaluate a PromQL query with start, end time range.
//
-// - location: Location of the resource information. Has to be "global"
-// now.
-// - name: The project on which to execute the request. Data associcated
-// with the project's workspace stored under the The format is:
-// projects/PROJECT_ID_OR_NUMBER. Open source API but used as a
-// request path prefix to distinguish different virtual Prometheus
-// instances of Google Prometheus Engine.
+// - location: Location of the resource information. Has to be "global"
+// now.
+// - name: The project on which to execute the request. Data associcated
+// with the project's workspace stored under the The format is:
+// projects/PROJECT_ID_OR_NUMBER. Open source API but used as a
+// request path prefix to distinguish different virtual Prometheus
+// instances of Google Prometheus Engine.
func (r *ProjectsLocationPrometheusApiV1Service) QueryRange(name string, location string, queryrangerequest *QueryRangeRequest) *ProjectsLocationPrometheusApiV1QueryRangeCall {
c := &ProjectsLocationPrometheusApiV1QueryRangeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4841,12 +4841,12 @@ type ProjectsLocationPrometheusApiV1SeriesCall struct {
// Series: Lists metadata for metrics.
//
-// - location: Location of the resource information. Has to be "global"
-// for now.
-// - name: The workspace on which to execute the request. It is not part
-// of the open source API but used as a request path prefix to
-// distinguish different virtual Prometheus instances of Google
-// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
+// - location: Location of the resource information. Has to be "global"
+// for now.
+// - name: The workspace on which to execute the request. It is not part
+// of the open source API but used as a request path prefix to
+// distinguish different virtual Prometheus instances of Google
+// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
func (r *ProjectsLocationPrometheusApiV1Service) Series(name string, location string, queryseriesrequest *QuerySeriesRequest) *ProjectsLocationPrometheusApiV1SeriesCall {
c := &ProjectsLocationPrometheusApiV1SeriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5001,13 +5001,13 @@ type ProjectsLocationPrometheusApiV1LabelValuesCall struct {
// Values: Lists possible values for a given label name.
//
-// - label: The label name for which values are queried.
-// - location: Location of the resource information. Has to be "global"
-// now.
-// - name: The workspace on which to execute the request. It is not part
-// of the open source API but used as a request path prefix to
-// distinguish different virtual Prometheus instances of Google
-// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
+// - label: The label name for which values are queried.
+// - location: Location of the resource information. Has to be "global"
+// now.
+// - name: The workspace on which to execute the request. It is not part
+// of the open source API but used as a request path prefix to
+// distinguish different virtual Prometheus instances of Google
+// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
func (r *ProjectsLocationPrometheusApiV1LabelService) Values(name string, location string, label string) *ProjectsLocationPrometheusApiV1LabelValuesCall {
c := &ProjectsLocationPrometheusApiV1LabelValuesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5213,12 +5213,12 @@ type ProjectsLocationPrometheusApiV1LabelsListCall struct {
// List: Lists labels for metrics.
//
-// - location: Location of the resource information. Has to be "global"
-// now.
-// - name: The workspace on which to execute the request. It is not part
-// of the open source API but used as a request path prefix to
-// distinguish different virtual Prometheus instances of Google
-// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
+// - location: Location of the resource information. Has to be "global"
+// now.
+// - name: The workspace on which to execute the request. It is not part
+// of the open source API but used as a request path prefix to
+// distinguish different virtual Prometheus instances of Google
+// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
func (r *ProjectsLocationPrometheusApiV1LabelsService) List(name string, location string) *ProjectsLocationPrometheusApiV1LabelsListCall {
c := &ProjectsLocationPrometheusApiV1LabelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5415,12 +5415,12 @@ type ProjectsLocationPrometheusApiV1MetadataListCall struct {
// List: Lists metadata for metrics.
//
-// - location: Location of the resource information. Has to be "global"
-// for now.
-// - name: The workspace on which to execute the request. It is not part
-// of the open source API but used as a request path prefix to
-// distinguish different virtual Prometheus instances of Google
-// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
+// - location: Location of the resource information. Has to be "global"
+// for now.
+// - name: The workspace on which to execute the request. It is not part
+// of the open source API but used as a request path prefix to
+// distinguish different virtual Prometheus instances of Google
+// Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.
func (r *ProjectsLocationPrometheusApiV1MetadataService) List(name string, location string) *ProjectsLocationPrometheusApiV1MetadataListCall {
c := &ProjectsLocationPrometheusApiV1MetadataListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go
index 60dca777ed0..30c8de3ac38 100644
--- a/monitoring/v3/monitoring-gen.go
+++ b/monitoring/v3/monitoring-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/monitoring/api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/monitoring/v3"
-// ...
-// ctx := context.Background()
-// monitoringService, err := monitoring.NewService(ctx)
+// import "google.golang.org/api/monitoring/v3"
+// ...
+// ctx := context.Background()
+// monitoringService, err := monitoring.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// monitoringService, err := monitoring.NewService(ctx, option.WithScopes(monitoring.MonitoringWriteScope))
+// monitoringService, err := monitoring.NewService(ctx, option.WithScopes(monitoring.MonitoringWriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// monitoringService, err := monitoring.NewService(ctx, option.WithAPIKey("AIza..."))
+// monitoringService, err := monitoring.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// monitoringService, err := monitoring.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// monitoringService, err := monitoring.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package monitoring // import "google.golang.org/api/monitoring/v3"
@@ -6189,11 +6189,11 @@ type FoldersTimeSeriesListCall struct {
// List: Lists time series that match a filter.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name),
-// organization or folder on which to execute the request. The format
-// is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID]
-// folders/[FOLDER_ID].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name),
+// organization or folder on which to execute the request. The format
+// is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID]
+// folders/[FOLDER_ID].
func (r *FoldersTimeSeriesService) List(name string) *FoldersTimeSeriesListCall {
c := &FoldersTimeSeriesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6232,61 +6232,89 @@ func (c *FoldersTimeSeriesListCall) AggregationAlignmentPeriod(aggregationAlignm
// error is returned.
//
// Possible values:
-// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
+// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
// Aligner is returned.
-// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
+// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric or distribution values. The value_type of
// the output is DOUBLE.
-// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
+// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
+// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
+// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
// each alignment period. This reducer is valid for DELTA and GAUGE
// metrics with numeric and distribution values. The value_type of the
// output is the same as the value_type of the input.
-// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
+// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
// time series for each alignment period. This reducer is valid for
// DELTA and GAUGE metrics with numeric or distribution values. The
// value_type of the output is DOUBLE.
-// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
+// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
// across time series for each alignment period. This reducer is valid
// for DELTA and GAUGE metrics of numeric, Boolean, distribution, and
// string value_type. The value_type of the output is INT64.
-// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
+// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
// data points across time series for each alignment period. This
// reducer is valid for DELTA and GAUGE metrics of Boolean value_type.
// The value_type of the output is INT64.
-// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
+// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
// False-valued data points across time series for each alignment
// period. This reducer is valid for DELTA and GAUGE metrics of Boolean
// value_type. The value_type of the output is INT64.
-// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
+// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
// number of True-valued data points to the total number of data points
// for each alignment period. This reducer is valid for DELTA and GAUGE
// metrics of Boolean value_type. The output value is in the range 0.0,
// 1.0 and has value_type DOUBLE.
-// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
+// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
+// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
+// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
+// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
@@ -6331,16 +6359,22 @@ func (c *FoldersTimeSeriesListCall) AggregationGroupByFields(aggregationGroupByF
// specified; otherwise, an error is returned.
//
// Possible values:
-// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
+// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
// cross-series reduction is requested. The value_type of the result is
// the same as the value_type of the input.
-// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
+// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
// y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If
// the selected alignment period results in periods with no data, then
// the aligned value for such a period is created by interpolation. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
+// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
// as rate = (y1 - y0)/(t1 - t0), or "delta over time". Think of this
// aligner as providing the slope of the line that passes through the
// value at the start and at the end of the alignment_period.This
@@ -6350,77 +6384,109 @@ func (c *FoldersTimeSeriesListCall) AggregationGroupByFields(aggregationGroupByF
// interpolation. The output is a GAUGE metric with value_type
// DOUBLE.If, by "rate", you mean "percentage change", see the
// ALIGN_PERCENT_CHANGE aligner instead.
-// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
+// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
// points around the alignment period boundary. This aligner is valid
// for GAUGE metrics with numeric values. The value_type of the aligned
// result is the same as the value_type of the input.
-// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
+// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
// before the end of the alignment period to the boundary at the end of
// the alignment period. This aligner is valid for GAUGE metrics. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
+// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
+// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
+// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
// each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// DOUBLE.
-// "ALIGN_COUNT" - Align the time series by returning the number of
+//
+// "ALIGN_COUNT" - Align the time series by returning the number of
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric or Boolean values. The value_type of the
// aligned result is INT64.
-// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
+// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric and distribution values. The value_type of
// the aligned result is the same as the value_type of the input.
-// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
+// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
// deviation of the values in each alignment period. This aligner is
// valid for GAUGE and DELTA metrics with numeric values. The value_type
// of the output is DOUBLE.
-// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
// of True values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
// of False values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
+// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
// ratio of the number of True values to the total number of values in
// each alignment period. This aligner is valid for GAUGE metrics with
// Boolean values. The output value is in the range 0.0, 1.0 and has
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 99th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 95th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 50th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 5th percentile of all data
// points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
+// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
// This aligner is valid for GAUGE and DELTA metrics with numeric
// values. This alignment returns ((current - previous)/previous) * 100,
// where the value of previous is determined based on the
@@ -6527,61 +6593,89 @@ func (c *FoldersTimeSeriesListCall) SecondaryAggregationAlignmentPeriod(secondar
// error is returned.
//
// Possible values:
-// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
+// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
// Aligner is returned.
-// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
+// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric or distribution values. The value_type of
// the output is DOUBLE.
-// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
+// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
+// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
+// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
// each alignment period. This reducer is valid for DELTA and GAUGE
// metrics with numeric and distribution values. The value_type of the
// output is the same as the value_type of the input.
-// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
+// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
// time series for each alignment period. This reducer is valid for
// DELTA and GAUGE metrics with numeric or distribution values. The
// value_type of the output is DOUBLE.
-// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
+// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
// across time series for each alignment period. This reducer is valid
// for DELTA and GAUGE metrics of numeric, Boolean, distribution, and
// string value_type. The value_type of the output is INT64.
-// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
+// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
// data points across time series for each alignment period. This
// reducer is valid for DELTA and GAUGE metrics of Boolean value_type.
// The value_type of the output is INT64.
-// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
+// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
// False-valued data points across time series for each alignment
// period. This reducer is valid for DELTA and GAUGE metrics of Boolean
// value_type. The value_type of the output is INT64.
-// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
+// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
// number of True-valued data points to the total number of data points
// for each alignment period. This reducer is valid for DELTA and GAUGE
// metrics of Boolean value_type. The output value is in the range 0.0,
// 1.0 and has value_type DOUBLE.
-// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
+// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
+// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
+// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
+// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
@@ -6626,16 +6720,22 @@ func (c *FoldersTimeSeriesListCall) SecondaryAggregationGroupByFields(secondaryA
// alignment_period must be specified; otherwise, an error is returned.
//
// Possible values:
-// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
+// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
// cross-series reduction is requested. The value_type of the result is
// the same as the value_type of the input.
-// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
+// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
// y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If
// the selected alignment period results in periods with no data, then
// the aligned value for such a period is created by interpolation. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
+// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
// as rate = (y1 - y0)/(t1 - t0), or "delta over time". Think of this
// aligner as providing the slope of the line that passes through the
// value at the start and at the end of the alignment_period.This
@@ -6645,77 +6745,109 @@ func (c *FoldersTimeSeriesListCall) SecondaryAggregationGroupByFields(secondaryA
// interpolation. The output is a GAUGE metric with value_type
// DOUBLE.If, by "rate", you mean "percentage change", see the
// ALIGN_PERCENT_CHANGE aligner instead.
-// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
+// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
// points around the alignment period boundary. This aligner is valid
// for GAUGE metrics with numeric values. The value_type of the aligned
// result is the same as the value_type of the input.
-// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
+// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
// before the end of the alignment period to the boundary at the end of
// the alignment period. This aligner is valid for GAUGE metrics. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
+// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
+// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
+// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
// each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// DOUBLE.
-// "ALIGN_COUNT" - Align the time series by returning the number of
+//
+// "ALIGN_COUNT" - Align the time series by returning the number of
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric or Boolean values. The value_type of the
// aligned result is INT64.
-// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
+// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric and distribution values. The value_type of
// the aligned result is the same as the value_type of the input.
-// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
+// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
// deviation of the values in each alignment period. This aligner is
// valid for GAUGE and DELTA metrics with numeric values. The value_type
// of the output is DOUBLE.
-// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
// of True values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
// of False values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
+// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
// ratio of the number of True values to the total number of values in
// each alignment period. This aligner is valid for GAUGE metrics with
// Boolean values. The output value is in the range 0.0, 1.0 and has
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 99th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 95th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 50th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 5th percentile of all data
// points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
+// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
// This aligner is valid for GAUGE and DELTA metrics with numeric
// values. This alignment returns ((current - previous)/previous) * 100,
// where the value of previous is determined based on the
@@ -6738,9 +6870,13 @@ func (c *FoldersTimeSeriesListCall) SecondaryAggregationPerSeriesAligner(seconda
// information is returned about the time series.
//
// Possible values:
-// "FULL" - Returns the identity of the metric(s), the time series,
+//
+// "FULL" - Returns the identity of the metric(s), the time series,
+//
// and the time series data.
-// "HEADERS" - Returns the identity of the metric and the time series
+//
+// "HEADERS" - Returns the identity of the metric and the time series
+//
// resource, but not the time series data.
func (c *FoldersTimeSeriesListCall) View(view string) *FoldersTimeSeriesListCall {
c.urlParams_.Set("view", view)
@@ -7147,11 +7283,11 @@ type OrganizationsTimeSeriesListCall struct {
// List: Lists time series that match a filter.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name),
-// organization or folder on which to execute the request. The format
-// is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID]
-// folders/[FOLDER_ID].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name),
+// organization or folder on which to execute the request. The format
+// is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID]
+// folders/[FOLDER_ID].
func (r *OrganizationsTimeSeriesService) List(name string) *OrganizationsTimeSeriesListCall {
c := &OrganizationsTimeSeriesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7190,61 +7326,89 @@ func (c *OrganizationsTimeSeriesListCall) AggregationAlignmentPeriod(aggregation
// error is returned.
//
// Possible values:
-// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
+// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
// Aligner is returned.
-// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
+// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric or distribution values. The value_type of
// the output is DOUBLE.
-// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
+// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
+// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
+// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
// each alignment period. This reducer is valid for DELTA and GAUGE
// metrics with numeric and distribution values. The value_type of the
// output is the same as the value_type of the input.
-// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
+// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
// time series for each alignment period. This reducer is valid for
// DELTA and GAUGE metrics with numeric or distribution values. The
// value_type of the output is DOUBLE.
-// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
+// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
// across time series for each alignment period. This reducer is valid
// for DELTA and GAUGE metrics of numeric, Boolean, distribution, and
// string value_type. The value_type of the output is INT64.
-// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
+// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
// data points across time series for each alignment period. This
// reducer is valid for DELTA and GAUGE metrics of Boolean value_type.
// The value_type of the output is INT64.
-// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
+// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
// False-valued data points across time series for each alignment
// period. This reducer is valid for DELTA and GAUGE metrics of Boolean
// value_type. The value_type of the output is INT64.
-// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
+// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
// number of True-valued data points to the total number of data points
// for each alignment period. This reducer is valid for DELTA and GAUGE
// metrics of Boolean value_type. The output value is in the range 0.0,
// 1.0 and has value_type DOUBLE.
-// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
+// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
+// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
+// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
+// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
@@ -7289,16 +7453,22 @@ func (c *OrganizationsTimeSeriesListCall) AggregationGroupByFields(aggregationGr
// specified; otherwise, an error is returned.
//
// Possible values:
-// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
+// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
// cross-series reduction is requested. The value_type of the result is
// the same as the value_type of the input.
-// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
+// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
// y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If
// the selected alignment period results in periods with no data, then
// the aligned value for such a period is created by interpolation. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
+// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
// as rate = (y1 - y0)/(t1 - t0), or "delta over time". Think of this
// aligner as providing the slope of the line that passes through the
// value at the start and at the end of the alignment_period.This
@@ -7308,77 +7478,109 @@ func (c *OrganizationsTimeSeriesListCall) AggregationGroupByFields(aggregationGr
// interpolation. The output is a GAUGE metric with value_type
// DOUBLE.If, by "rate", you mean "percentage change", see the
// ALIGN_PERCENT_CHANGE aligner instead.
-// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
+// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
// points around the alignment period boundary. This aligner is valid
// for GAUGE metrics with numeric values. The value_type of the aligned
// result is the same as the value_type of the input.
-// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
+// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
// before the end of the alignment period to the boundary at the end of
// the alignment period. This aligner is valid for GAUGE metrics. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
+// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
+// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
+// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
// each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// DOUBLE.
-// "ALIGN_COUNT" - Align the time series by returning the number of
+//
+// "ALIGN_COUNT" - Align the time series by returning the number of
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric or Boolean values. The value_type of the
// aligned result is INT64.
-// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
+// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric and distribution values. The value_type of
// the aligned result is the same as the value_type of the input.
-// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
+// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
// deviation of the values in each alignment period. This aligner is
// valid for GAUGE and DELTA metrics with numeric values. The value_type
// of the output is DOUBLE.
-// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
// of True values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
// of False values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
+// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
// ratio of the number of True values to the total number of values in
// each alignment period. This aligner is valid for GAUGE metrics with
// Boolean values. The output value is in the range 0.0, 1.0 and has
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 99th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 95th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 50th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 5th percentile of all data
// points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
+// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
// This aligner is valid for GAUGE and DELTA metrics with numeric
// values. This alignment returns ((current - previous)/previous) * 100,
// where the value of previous is determined based on the
@@ -7485,61 +7687,89 @@ func (c *OrganizationsTimeSeriesListCall) SecondaryAggregationAlignmentPeriod(se
// error is returned.
//
// Possible values:
-// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
+// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
// Aligner is returned.
-// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
+// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric or distribution values. The value_type of
// the output is DOUBLE.
-// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
+// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
+// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
+// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
// each alignment period. This reducer is valid for DELTA and GAUGE
// metrics with numeric and distribution values. The value_type of the
// output is the same as the value_type of the input.
-// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
+// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
// time series for each alignment period. This reducer is valid for
// DELTA and GAUGE metrics with numeric or distribution values. The
// value_type of the output is DOUBLE.
-// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
+// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
// across time series for each alignment period. This reducer is valid
// for DELTA and GAUGE metrics of numeric, Boolean, distribution, and
// string value_type. The value_type of the output is INT64.
-// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
+// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
// data points across time series for each alignment period. This
// reducer is valid for DELTA and GAUGE metrics of Boolean value_type.
// The value_type of the output is INT64.
-// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
+// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
// False-valued data points across time series for each alignment
// period. This reducer is valid for DELTA and GAUGE metrics of Boolean
// value_type. The value_type of the output is INT64.
-// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
+// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
// number of True-valued data points to the total number of data points
// for each alignment period. This reducer is valid for DELTA and GAUGE
// metrics of Boolean value_type. The output value is in the range 0.0,
// 1.0 and has value_type DOUBLE.
-// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
+// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
+// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
+// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
+// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
@@ -7584,16 +7814,22 @@ func (c *OrganizationsTimeSeriesListCall) SecondaryAggregationGroupByFields(seco
// alignment_period must be specified; otherwise, an error is returned.
//
// Possible values:
-// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
+// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
// cross-series reduction is requested. The value_type of the result is
// the same as the value_type of the input.
-// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
+// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
// y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If
// the selected alignment period results in periods with no data, then
// the aligned value for such a period is created by interpolation. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
+// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
// as rate = (y1 - y0)/(t1 - t0), or "delta over time". Think of this
// aligner as providing the slope of the line that passes through the
// value at the start and at the end of the alignment_period.This
@@ -7603,77 +7839,109 @@ func (c *OrganizationsTimeSeriesListCall) SecondaryAggregationGroupByFields(seco
// interpolation. The output is a GAUGE metric with value_type
// DOUBLE.If, by "rate", you mean "percentage change", see the
// ALIGN_PERCENT_CHANGE aligner instead.
-// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
+// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
// points around the alignment period boundary. This aligner is valid
// for GAUGE metrics with numeric values. The value_type of the aligned
// result is the same as the value_type of the input.
-// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
+// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
// before the end of the alignment period to the boundary at the end of
// the alignment period. This aligner is valid for GAUGE metrics. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
+// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
+// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
+// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
// each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// DOUBLE.
-// "ALIGN_COUNT" - Align the time series by returning the number of
+//
+// "ALIGN_COUNT" - Align the time series by returning the number of
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric or Boolean values. The value_type of the
// aligned result is INT64.
-// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
+// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric and distribution values. The value_type of
// the aligned result is the same as the value_type of the input.
-// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
+// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
// deviation of the values in each alignment period. This aligner is
// valid for GAUGE and DELTA metrics with numeric values. The value_type
// of the output is DOUBLE.
-// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
// of True values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
// of False values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
+// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
// ratio of the number of True values to the total number of values in
// each alignment period. This aligner is valid for GAUGE metrics with
// Boolean values. The output value is in the range 0.0, 1.0 and has
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 99th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 95th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 50th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 5th percentile of all data
// points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
+// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
// This aligner is valid for GAUGE and DELTA metrics with numeric
// values. This alignment returns ((current - previous)/previous) * 100,
// where the value of previous is determined based on the
@@ -7696,9 +7964,13 @@ func (c *OrganizationsTimeSeriesListCall) SecondaryAggregationPerSeriesAligner(s
// information is returned about the time series.
//
// Possible values:
-// "FULL" - Returns the identity of the metric(s), the time series,
+//
+// "FULL" - Returns the identity of the metric(s), the time series,
+//
// and the time series data.
-// "HEADERS" - Returns the identity of the metric and the time series
+//
+// "HEADERS" - Returns the identity of the metric and the time series
+//
// resource, but not the time series data.
func (c *OrganizationsTimeSeriesListCall) View(view string) *OrganizationsTimeSeriesListCall {
c.urlParams_.Set("view", view)
@@ -8105,17 +8377,17 @@ type ProjectsAlertPoliciesCreateCall struct {
// Create: Creates a new alerting policy.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) in which
-// to create the alerting policy. The format is:
-// projects/[PROJECT_ID_OR_NUMBER] Note that this field names the
-// parent container in which the alerting policy will be written, not
-// the name of the created policy. |name| must be a host project of a
-// Metrics Scope, otherwise INVALID_ARGUMENT error will return. The
-// alerting policy that is returned will have a name that contains a
-// normalized representation of this name as a prefix but adds a
-// suffix of the form /alertPolicies/[ALERT_POLICY_ID], identifying
-// the policy in the container.
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) in which
+// to create the alerting policy. The format is:
+// projects/[PROJECT_ID_OR_NUMBER] Note that this field names the
+// parent container in which the alerting policy will be written, not
+// the name of the created policy. |name| must be a host project of a
+// Metrics Scope, otherwise INVALID_ARGUMENT error will return. The
+// alerting policy that is returned will have a name that contains a
+// normalized representation of this name as a prefix but adds a
+// suffix of the form /alertPolicies/[ALERT_POLICY_ID], identifying
+// the policy in the container.
func (r *ProjectsAlertPoliciesService) Create(name string, alertpolicy *AlertPolicy) *ProjectsAlertPoliciesCreateCall {
c := &ProjectsAlertPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8257,9 +8529,9 @@ type ProjectsAlertPoliciesDeleteCall struct {
// Delete: Deletes an alerting policy.
//
-// - name: The alerting policy to delete. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] For
-// more information, see AlertPolicy.
+// - name: The alerting policy to delete. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] For
+// more information, see AlertPolicy.
func (r *ProjectsAlertPoliciesService) Delete(name string) *ProjectsAlertPoliciesDeleteCall {
c := &ProjectsAlertPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8393,8 +8665,8 @@ type ProjectsAlertPoliciesGetCall struct {
// Get: Gets a single alerting policy.
//
-// - name: The alerting policy to retrieve. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID].
+// - name: The alerting policy to retrieve. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID].
func (r *ProjectsAlertPoliciesService) Get(name string) *ProjectsAlertPoliciesGetCall {
c := &ProjectsAlertPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8542,13 +8814,13 @@ type ProjectsAlertPoliciesListCall struct {
// List: Lists the existing alerting policies for the workspace.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) whose
-// alert policies are to be listed. The format is:
-// projects/[PROJECT_ID_OR_NUMBER] Note that this field names the
-// parent container in which the alerting policies to be listed are
-// stored. To retrieve a single alerting policy by name, use the
-// GetAlertPolicy operation, instead.
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) whose
+// alert policies are to be listed. The format is:
+// projects/[PROJECT_ID_OR_NUMBER] Note that this field names the
+// parent container in which the alerting policies to be listed are
+// stored. To retrieve a single alerting policy by name, use the
+// GetAlertPolicy operation, instead.
func (r *ProjectsAlertPoliciesService) List(name string) *ProjectsAlertPoliciesListCall {
c := &ProjectsAlertPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8777,13 +9049,13 @@ type ProjectsAlertPoliciesPatchCall struct {
// alerting policy by specifying the fields to be updated via
// updateMask. Returns the updated alerting policy.
//
-// - name: Required if the policy exists. The resource name for this
-// policy. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
-// [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy
-// is created. When calling the alertPolicies.create method, do not
-// include the name field in the alerting policy passed as part of the
-// request.
+// - name: Required if the policy exists. The resource name for this
+// policy. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
+// [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy
+// is created. When calling the alertPolicies.create method, do not
+// include the name field in the alerting policy passed as part of the
+// request.
func (r *ProjectsAlertPoliciesService) Patch(name string, alertpolicy *AlertPolicy) *ProjectsAlertPoliciesPatchCall {
c := &ProjectsAlertPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8957,10 +9229,10 @@ type ProjectsCollectdTimeSeriesCreateCall struct {
// method is only for use by the Cloud Monitoring Agent. Use
// projects.timeSeries.create instead.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) in which
-// to create the time series. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) in which
+// to create the time series. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsCollectdTimeSeriesService) Create(name string, createcollectdtimeseriesrequest *CreateCollectdTimeSeriesRequest) *ProjectsCollectdTimeSeriesCreateCall {
c := &ProjectsCollectdTimeSeriesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9104,9 +9376,9 @@ type ProjectsGroupsCreateCall struct {
// Create: Creates a new group.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) in which
-// to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) in which
+// to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsGroupsService) Create(name string, group *Group) *ProjectsGroupsCreateCall {
c := &ProjectsGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9260,8 +9532,8 @@ type ProjectsGroupsDeleteCall struct {
// Delete: Deletes an existing group.
//
-// - name: The group to delete. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
+// - name: The group to delete. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
func (r *ProjectsGroupsService) Delete(name string) *ProjectsGroupsDeleteCall {
c := &ProjectsGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9409,8 +9681,8 @@ type ProjectsGroupsGetCall struct {
// Get: Gets a single group.
//
-// - name: The group to retrieve. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
+// - name: The group to retrieve. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
func (r *ProjectsGroupsService) Get(name string) *ProjectsGroupsGetCall {
c := &ProjectsGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9558,10 +9830,10 @@ type ProjectsGroupsListCall struct {
// List: Lists the existing groups.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) whose
-// groups are to be listed. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) whose
+// groups are to be listed. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsGroupsService) List(name string) *ProjectsGroupsListCall {
c := &ProjectsGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9806,11 +10078,11 @@ type ProjectsGroupsUpdateCall struct {
// Update: Updates an existing group. You can change any group
// attributes except name.
//
-// - name: Output only. The name of this group. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a
-// group, this field is ignored and a new name is created consisting
-// of the project specified in the call to CreateGroup and a unique
-// [GROUP_ID] that is generated automatically.
+// - name: Output only. The name of this group. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a
+// group, this field is ignored and a new name is created consisting
+// of the project specified in the call to CreateGroup and a unique
+// [GROUP_ID] that is generated automatically.
func (r *ProjectsGroupsService) Update(name string, group *Group) *ProjectsGroupsUpdateCall {
c := &ProjectsGroupsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9965,8 +10237,8 @@ type ProjectsGroupsMembersListCall struct {
// List: Lists the monitored resources that are members of a group.
//
-// - name: The group whose members are listed. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
+// - name: The group whose members are listed. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
func (r *ProjectsGroupsMembersService) List(name string) *ProjectsGroupsMembersListCall {
c := &ProjectsGroupsMembersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10211,10 +10483,10 @@ type ProjectsMetricDescriptorsCreateCall struct {
// descriptor is updated if it already exists, except that metric labels
// are never removed.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) on which
-// to execute the request. The format is: 4
-// projects/PROJECT_ID_OR_NUMBER.
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) on which
+// to execute the request. The format is: 4
+// projects/PROJECT_ID_OR_NUMBER.
func (r *ProjectsMetricDescriptorsService) Create(name string, metricdescriptor *MetricDescriptor) *ProjectsMetricDescriptorsCreateCall {
c := &ProjectsMetricDescriptorsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10358,10 +10630,10 @@ type ProjectsMetricDescriptorsDeleteCall struct {
// Delete: Deletes a metric descriptor. Only user-created custom metrics
// (https://cloud.google.com/monitoring/custom-metrics) can be deleted.
//
-// - name: The metric descriptor on which to execute the request. The
-// format is:
-// projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID] An
-// example of [METRIC_ID] is: "custom.googleapis.com/my_test_metric".
+// - name: The metric descriptor on which to execute the request. The
+// format is:
+// projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID] An
+// example of [METRIC_ID] is: "custom.googleapis.com/my_test_metric".
func (r *ProjectsMetricDescriptorsService) Delete(name string) *ProjectsMetricDescriptorsDeleteCall {
c := &ProjectsMetricDescriptorsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10495,11 +10767,11 @@ type ProjectsMetricDescriptorsGetCall struct {
// Get: Gets a single metric descriptor.
//
-// - name: The metric descriptor on which to execute the request. The
-// format is:
-// projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID] An
-// example value of [METRIC_ID] is
-// "compute.googleapis.com/instance/disk/read_bytes_count".
+// - name: The metric descriptor on which to execute the request. The
+// format is:
+// projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID] An
+// example value of [METRIC_ID] is
+// "compute.googleapis.com/instance/disk/read_bytes_count".
func (r *ProjectsMetricDescriptorsService) Get(name string) *ProjectsMetricDescriptorsGetCall {
c := &ProjectsMetricDescriptorsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10648,10 +10920,10 @@ type ProjectsMetricDescriptorsListCall struct {
// List: Lists metric descriptors that match a filter.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) on which
-// to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) on which
+// to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsMetricDescriptorsService) List(name string) *ProjectsMetricDescriptorsListCall {
c := &ProjectsMetricDescriptorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10866,10 +11138,10 @@ type ProjectsMonitoredResourceDescriptorsGetCall struct {
// Get: Gets a single monitored resource descriptor.
//
-// - name: The monitored resource descriptor to get. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOUR
-// CE_TYPE] The [RESOURCE_TYPE] is a predefined type, such as
-// cloudsql_database.
+// - name: The monitored resource descriptor to get. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOUR
+// CE_TYPE] The [RESOURCE_TYPE] is a predefined type, such as
+// cloudsql_database.
func (r *ProjectsMonitoredResourceDescriptorsService) Get(name string) *ProjectsMonitoredResourceDescriptorsGetCall {
c := &ProjectsMonitoredResourceDescriptorsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11018,10 +11290,10 @@ type ProjectsMonitoredResourceDescriptorsListCall struct {
// List: Lists monitored resource descriptors that match a filter.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) on which
-// to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) on which
+// to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsMonitoredResourceDescriptorsService) List(name string) *ProjectsMonitoredResourceDescriptorsListCall {
c := &ProjectsMonitoredResourceDescriptorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11238,10 +11510,10 @@ type ProjectsNotificationChannelDescriptorsGetCall struct {
// fields are expected / permitted for a notification channel of the
// given type.
//
-// - name: The channel type for which to execute the request. The format
-// is:
-// projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHAN
-// NEL_TYPE].
+// - name: The channel type for which to execute the request. The format
+// is:
+// projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHAN
+// NEL_TYPE].
func (r *ProjectsNotificationChannelDescriptorsService) Get(name string) *ProjectsNotificationChannelDescriptorsGetCall {
c := &ProjectsNotificationChannelDescriptorsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11391,13 +11663,13 @@ type ProjectsNotificationChannelDescriptorsListCall struct {
// descriptors makes it possible for new channel types to be dynamically
// added.
//
-// - name: The REST resource name of the parent from which to retrieve
-// the notification channel descriptors. The expected syntax is:
-// projects/[PROJECT_ID_OR_NUMBER] Note that this names
-// (https://cloud.google.com/monitoring/api/v3#project_name) the
-// parent container in which to look for the descriptors; to retrieve
-// a single descriptor by name, use the
-// GetNotificationChannelDescriptor operation, instead.
+// - name: The REST resource name of the parent from which to retrieve
+// the notification channel descriptors. The expected syntax is:
+// projects/[PROJECT_ID_OR_NUMBER] Note that this names
+// (https://cloud.google.com/monitoring/api/v3#project_name) the
+// parent container in which to look for the descriptors; to retrieve
+// a single descriptor by name, use the
+// GetNotificationChannelDescriptor operation, instead.
func (r *ProjectsNotificationChannelDescriptorsService) List(name string) *ProjectsNotificationChannelDescriptorsListCall {
c := &ProjectsNotificationChannelDescriptorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11597,14 +11869,14 @@ type ProjectsNotificationChannelsCreateCall struct {
// notification endpoint such as an email address, SMS number, or
// PagerDuty service.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) on which
-// to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER] This names the container into which
-// the channel will be written, this does not name the newly created
-// channel. The resulting channel's name will have a normalized
-// version of this field as a prefix, but will add
-// /notificationChannels/[CHANNEL_ID] to identify the channel.
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) on which
+// to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER] This names the container into which
+// the channel will be written, this does not name the newly created
+// channel. The resulting channel's name will have a normalized
+// version of this field as a prefix, but will add
+// /notificationChannels/[CHANNEL_ID] to identify the channel.
func (r *ProjectsNotificationChannelsService) Create(name string, notificationchannel *NotificationChannel) *ProjectsNotificationChannelsCreateCall {
c := &ProjectsNotificationChannelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11746,8 +12018,8 @@ type ProjectsNotificationChannelsDeleteCall struct {
// Delete: Deletes a notification channel.
//
-// - name: The channel for which to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID].
+// - name: The channel for which to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID].
func (r *ProjectsNotificationChannelsService) Delete(name string) *ProjectsNotificationChannelsDeleteCall {
c := &ProjectsNotificationChannelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11901,8 +12173,8 @@ type ProjectsNotificationChannelsGetCall struct {
// identical to the information that was supplied in the call to the
// create method.
//
-// - name: The channel for which to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID].
+// - name: The channel for which to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID].
func (r *ProjectsNotificationChannelsService) Get(name string) *ProjectsNotificationChannelsGetCall {
c := &ProjectsNotificationChannelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12070,10 +12342,10 @@ type ProjectsNotificationChannelsGetVerificationCodeCall struct {
// GetVerificationCode() will typically return a much longer, websafe
// base 64 encoded string that has a longer expiration time.
//
-// - name: The notification channel for which a verification code is to
-// be generated and retrieved. This must name a channel that is
-// already verified; if the specified channel is not verified, the
-// request will fail.
+// - name: The notification channel for which a verification code is to
+// be generated and retrieved. This must name a channel that is
+// already verified; if the specified channel is not verified, the
+// request will fail.
func (r *ProjectsNotificationChannelsService) GetVerificationCode(name string, getnotificationchannelverificationcoderequest *GetNotificationChannelVerificationCodeRequest) *ProjectsNotificationChannelsGetVerificationCodeCall {
c := &ProjectsNotificationChannelsGetVerificationCodeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12219,13 +12491,13 @@ type ProjectsNotificationChannelsListCall struct {
// List: Lists the notification channels that have been created for the
// project.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) on which
-// to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER] This names the container in which
-// to look for the notification channels; it does not name a specific
-// channel. To query a specific channel by REST resource name, use the
-// GetNotificationChannel operation.
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) on which
+// to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER] This names the container in which
+// to look for the notification channels; it does not name a specific
+// channel. To query a specific channel by REST resource name, use the
+// GetNotificationChannel operation.
func (r *ProjectsNotificationChannelsService) List(name string) *ProjectsNotificationChannelsListCall {
c := &ProjectsNotificationChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12453,10 +12725,10 @@ type ProjectsNotificationChannelsPatchCall struct {
// Patch: Updates a notification channel. Fields not specified in the
// field mask remain unchanged.
//
-// - name: The full REST resource name for this channel. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
-// The [CHANNEL_ID] is automatically assigned by the server on
-// creation.
+// - name: The full REST resource name for this channel. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
+// The [CHANNEL_ID] is automatically assigned by the server on
+// creation.
func (r *ProjectsNotificationChannelsService) Patch(name string, notificationchannel *NotificationChannel) *ProjectsNotificationChannelsPatchCall {
c := &ProjectsNotificationChannelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12614,8 +12886,8 @@ type ProjectsNotificationChannelsSendVerificationCodeCall struct {
// the channel. The code can then be supplied in
// VerifyNotificationChannel to verify the channel.
//
-// - name: The notification channel to which to send a verification
-// code.
+// - name: The notification channel to which to send a verification
+// code.
func (r *ProjectsNotificationChannelsService) SendVerificationCode(name string, sendnotificationchannelverificationcoderequest *SendNotificationChannelVerificationCodeRequest) *ProjectsNotificationChannelsSendVerificationCodeCall {
c := &ProjectsNotificationChannelsSendVerificationCodeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12906,10 +13178,10 @@ type ProjectsTimeSeriesCreateCall struct {
// series could not be written, a corresponding failure message is
// included in the error response.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) on which
-// to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) on which
+// to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsTimeSeriesService) Create(name string, createtimeseriesrequest *CreateTimeSeriesRequest) *ProjectsTimeSeriesCreateCall {
c := &ProjectsTimeSeriesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13060,10 +13332,10 @@ type ProjectsTimeSeriesCreateServiceCall struct {
// for use by Google Cloud services. Use projects.timeSeries.create
// instead.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) on which
-// to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) on which
+// to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsTimeSeriesService) CreateService(name string, createtimeseriesrequest *CreateTimeSeriesRequest) *ProjectsTimeSeriesCreateServiceCall {
c := &ProjectsTimeSeriesCreateServiceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13207,11 +13479,11 @@ type ProjectsTimeSeriesListCall struct {
// List: Lists time series that match a filter.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name),
-// organization or folder on which to execute the request. The format
-// is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID]
-// folders/[FOLDER_ID].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name),
+// organization or folder on which to execute the request. The format
+// is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID]
+// folders/[FOLDER_ID].
func (r *ProjectsTimeSeriesService) List(name string) *ProjectsTimeSeriesListCall {
c := &ProjectsTimeSeriesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13250,61 +13522,89 @@ func (c *ProjectsTimeSeriesListCall) AggregationAlignmentPeriod(aggregationAlign
// error is returned.
//
// Possible values:
-// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
+// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
// Aligner is returned.
-// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
+// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric or distribution values. The value_type of
// the output is DOUBLE.
-// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
+// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
+// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
+// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
// each alignment period. This reducer is valid for DELTA and GAUGE
// metrics with numeric and distribution values. The value_type of the
// output is the same as the value_type of the input.
-// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
+// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
// time series for each alignment period. This reducer is valid for
// DELTA and GAUGE metrics with numeric or distribution values. The
// value_type of the output is DOUBLE.
-// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
+// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
// across time series for each alignment period. This reducer is valid
// for DELTA and GAUGE metrics of numeric, Boolean, distribution, and
// string value_type. The value_type of the output is INT64.
-// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
+// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
// data points across time series for each alignment period. This
// reducer is valid for DELTA and GAUGE metrics of Boolean value_type.
// The value_type of the output is INT64.
-// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
+// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
// False-valued data points across time series for each alignment
// period. This reducer is valid for DELTA and GAUGE metrics of Boolean
// value_type. The value_type of the output is INT64.
-// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
+// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
// number of True-valued data points to the total number of data points
// for each alignment period. This reducer is valid for DELTA and GAUGE
// metrics of Boolean value_type. The output value is in the range 0.0,
// 1.0 and has value_type DOUBLE.
-// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
+// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
+// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
+// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
+// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
@@ -13349,16 +13649,22 @@ func (c *ProjectsTimeSeriesListCall) AggregationGroupByFields(aggregationGroupBy
// specified; otherwise, an error is returned.
//
// Possible values:
-// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
+// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
// cross-series reduction is requested. The value_type of the result is
// the same as the value_type of the input.
-// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
+// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
// y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If
// the selected alignment period results in periods with no data, then
// the aligned value for such a period is created by interpolation. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
+// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
// as rate = (y1 - y0)/(t1 - t0), or "delta over time". Think of this
// aligner as providing the slope of the line that passes through the
// value at the start and at the end of the alignment_period.This
@@ -13368,77 +13674,109 @@ func (c *ProjectsTimeSeriesListCall) AggregationGroupByFields(aggregationGroupBy
// interpolation. The output is a GAUGE metric with value_type
// DOUBLE.If, by "rate", you mean "percentage change", see the
// ALIGN_PERCENT_CHANGE aligner instead.
-// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
+// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
// points around the alignment period boundary. This aligner is valid
// for GAUGE metrics with numeric values. The value_type of the aligned
// result is the same as the value_type of the input.
-// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
+// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
// before the end of the alignment period to the boundary at the end of
// the alignment period. This aligner is valid for GAUGE metrics. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
+// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
+// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
+// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
// each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// DOUBLE.
-// "ALIGN_COUNT" - Align the time series by returning the number of
+//
+// "ALIGN_COUNT" - Align the time series by returning the number of
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric or Boolean values. The value_type of the
// aligned result is INT64.
-// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
+// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric and distribution values. The value_type of
// the aligned result is the same as the value_type of the input.
-// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
+// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
// deviation of the values in each alignment period. This aligner is
// valid for GAUGE and DELTA metrics with numeric values. The value_type
// of the output is DOUBLE.
-// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
// of True values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
// of False values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
+// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
// ratio of the number of True values to the total number of values in
// each alignment period. This aligner is valid for GAUGE metrics with
// Boolean values. The output value is in the range 0.0, 1.0 and has
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 99th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 95th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 50th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 5th percentile of all data
// points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
+// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
// This aligner is valid for GAUGE and DELTA metrics with numeric
// values. This alignment returns ((current - previous)/previous) * 100,
// where the value of previous is determined based on the
@@ -13545,61 +13883,89 @@ func (c *ProjectsTimeSeriesListCall) SecondaryAggregationAlignmentPeriod(seconda
// error is returned.
//
// Possible values:
-// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
+// "REDUCE_NONE" - No cross-time series reduction. The output of the
+//
// Aligner is returned.
-// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
+// "REDUCE_MEAN" - Reduce by computing the mean value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric or distribution values. The value_type of
// the output is DOUBLE.
-// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
+// "REDUCE_MIN" - Reduce by computing the minimum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
+// "REDUCE_MAX" - Reduce by computing the maximum value across time
+//
// series for each alignment period. This reducer is valid for DELTA and
// GAUGE metrics with numeric values. The value_type of the output is
// the same as the value_type of the input.
-// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
+// "REDUCE_SUM" - Reduce by computing the sum across time series for
+//
// each alignment period. This reducer is valid for DELTA and GAUGE
// metrics with numeric and distribution values. The value_type of the
// output is the same as the value_type of the input.
-// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
+// "REDUCE_STDDEV" - Reduce by computing the standard deviation across
+//
// time series for each alignment period. This reducer is valid for
// DELTA and GAUGE metrics with numeric or distribution values. The
// value_type of the output is DOUBLE.
-// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
+// "REDUCE_COUNT" - Reduce by computing the number of data points
+//
// across time series for each alignment period. This reducer is valid
// for DELTA and GAUGE metrics of numeric, Boolean, distribution, and
// string value_type. The value_type of the output is INT64.
-// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
+// "REDUCE_COUNT_TRUE" - Reduce by computing the number of True-valued
+//
// data points across time series for each alignment period. This
// reducer is valid for DELTA and GAUGE metrics of Boolean value_type.
// The value_type of the output is INT64.
-// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
+// "REDUCE_COUNT_FALSE" - Reduce by computing the number of
+//
// False-valued data points across time series for each alignment
// period. This reducer is valid for DELTA and GAUGE metrics of Boolean
// value_type. The value_type of the output is INT64.
-// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
+// "REDUCE_FRACTION_TRUE" - Reduce by computing the ratio of the
+//
// number of True-valued data points to the total number of data points
// for each alignment period. This reducer is valid for DELTA and GAUGE
// metrics of Boolean value_type. The output value is in the range 0.0,
// 1.0 and has value_type DOUBLE.
-// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
+// "REDUCE_PERCENTILE_99" - Reduce by computing the 99th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
+// "REDUCE_PERCENTILE_95" - Reduce by computing the 95th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
+// "REDUCE_PERCENTILE_50" - Reduce by computing the 50th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
// output is DOUBLE.
-// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
+// "REDUCE_PERCENTILE_05" - Reduce by computing the 5th percentile
+//
// (https://en.wikipedia.org/wiki/Percentile) of data points across time
// series for each alignment period. This reducer is valid for GAUGE and
// DELTA metrics of numeric and distribution type. The value of the
@@ -13644,16 +14010,22 @@ func (c *ProjectsTimeSeriesListCall) SecondaryAggregationGroupByFields(secondary
// alignment_period must be specified; otherwise, an error is returned.
//
// Possible values:
-// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
+// "ALIGN_NONE" - No alignment. Raw data is returned. Not valid if
+//
// cross-series reduction is requested. The value_type of the result is
// the same as the value_type of the input.
-// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
+// "ALIGN_DELTA" - Align and convert to DELTA. The output is delta =
+//
// y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If
// the selected alignment period results in periods with no data, then
// the aligned value for such a period is created by interpolation. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
+// "ALIGN_RATE" - Align and convert to a rate. The result is computed
+//
// as rate = (y1 - y0)/(t1 - t0), or "delta over time". Think of this
// aligner as providing the slope of the line that passes through the
// value at the start and at the end of the alignment_period.This
@@ -13663,77 +14035,109 @@ func (c *ProjectsTimeSeriesListCall) SecondaryAggregationGroupByFields(secondary
// interpolation. The output is a GAUGE metric with value_type
// DOUBLE.If, by "rate", you mean "percentage change", see the
// ALIGN_PERCENT_CHANGE aligner instead.
-// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
+// "ALIGN_INTERPOLATE" - Align by interpolating between adjacent
+//
// points around the alignment period boundary. This aligner is valid
// for GAUGE metrics with numeric values. The value_type of the aligned
// result is the same as the value_type of the input.
-// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
+// "ALIGN_NEXT_OLDER" - Align by moving the most recent data point
+//
// before the end of the alignment period to the boundary at the end of
// the alignment period. This aligner is valid for GAUGE metrics. The
// value_type of the aligned result is the same as the value_type of the
// input.
-// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
+// "ALIGN_MIN" - Align the time series by returning the minimum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
+// "ALIGN_MAX" - Align the time series by returning the maximum value
+//
// in each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// the same as the value_type of the input.
-// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
+// "ALIGN_MEAN" - Align the time series by returning the mean value in
+//
// each alignment period. This aligner is valid for GAUGE and DELTA
// metrics with numeric values. The value_type of the aligned result is
// DOUBLE.
-// "ALIGN_COUNT" - Align the time series by returning the number of
+//
+// "ALIGN_COUNT" - Align the time series by returning the number of
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric or Boolean values. The value_type of the
// aligned result is INT64.
-// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
+// "ALIGN_SUM" - Align the time series by returning the sum of the
+//
// values in each alignment period. This aligner is valid for GAUGE and
// DELTA metrics with numeric and distribution values. The value_type of
// the aligned result is the same as the value_type of the input.
-// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
+// "ALIGN_STDDEV" - Align the time series by returning the standard
+//
// deviation of the values in each alignment period. This aligner is
// valid for GAUGE and DELTA metrics with numeric values. The value_type
// of the output is DOUBLE.
-// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_TRUE" - Align the time series by returning the number
+//
// of True values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
+// "ALIGN_COUNT_FALSE" - Align the time series by returning the number
+//
// of False values in each alignment period. This aligner is valid for
// GAUGE metrics with Boolean values. The value_type of the output is
// INT64.
-// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
+// "ALIGN_FRACTION_TRUE" - Align the time series by returning the
+//
// ratio of the number of True values to the total number of values in
// each alignment period. This aligner is valid for GAUGE metrics with
// Boolean values. The output value is in the range 0.0, 1.0 and has
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_99" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 99th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_95" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 95th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_50" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 50th percentile of all
// data points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
+// "ALIGN_PERCENTILE_05" - Align the time series by using percentile
+//
// aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting
// data point in each alignment period is the 5th percentile of all data
// points in the period. This aligner is valid for GAUGE and DELTA
// metrics with distribution values. The output is a GAUGE metric with
// value_type DOUBLE.
-// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
+// "ALIGN_PERCENT_CHANGE" - Align and convert to a percentage change.
+//
// This aligner is valid for GAUGE and DELTA metrics with numeric
// values. This alignment returns ((current - previous)/previous) * 100,
// where the value of previous is determined based on the
@@ -13756,9 +14160,13 @@ func (c *ProjectsTimeSeriesListCall) SecondaryAggregationPerSeriesAligner(second
// information is returned about the time series.
//
// Possible values:
-// "FULL" - Returns the identity of the metric(s), the time series,
+//
+// "FULL" - Returns the identity of the metric(s), the time series,
+//
// and the time series data.
-// "HEADERS" - Returns the identity of the metric and the time series
+//
+// "HEADERS" - Returns the identity of the metric and the time series
+//
// resource, but not the time series data.
func (c *ProjectsTimeSeriesListCall) View(view string) *ProjectsTimeSeriesListCall {
c.urlParams_.Set("view", view)
@@ -14165,10 +14573,10 @@ type ProjectsTimeSeriesQueryCall struct {
// Query: Queries time series using Monitoring Query Language.
//
-// - name: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) on which
-// to execute the request. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - name: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) on which
+// to execute the request. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsTimeSeriesService) Query(name string, querytimeseriesrequest *QueryTimeSeriesRequest) *ProjectsTimeSeriesQueryCall {
c := &ProjectsTimeSeriesQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14333,10 +14741,10 @@ type ProjectsUptimeCheckConfigsCreateCall struct {
// Create: Creates a new Uptime check configuration.
//
-// - parent: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) in which
-// to create the Uptime check. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - parent: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) in which
+// to create the Uptime check. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsUptimeCheckConfigsService) Create(parent string, uptimecheckconfig *UptimeCheckConfig) *ProjectsUptimeCheckConfigsCreateCall {
c := &ProjectsUptimeCheckConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14481,8 +14889,8 @@ type ProjectsUptimeCheckConfigsDeleteCall struct {
// policy or other dependent configs that would be rendered invalid by
// the deletion.
//
-// - name: The Uptime check configuration to delete. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
+// - name: The Uptime check configuration to delete. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
func (r *ProjectsUptimeCheckConfigsService) Delete(name string) *ProjectsUptimeCheckConfigsDeleteCall {
c := &ProjectsUptimeCheckConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14616,8 +15024,8 @@ type ProjectsUptimeCheckConfigsGetCall struct {
// Get: Gets a single Uptime check configuration.
//
-// - name: The Uptime check configuration to retrieve. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
+// - name: The Uptime check configuration to retrieve. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
func (r *ProjectsUptimeCheckConfigsService) Get(name string) *ProjectsUptimeCheckConfigsGetCall {
c := &ProjectsUptimeCheckConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14766,10 +15174,10 @@ type ProjectsUptimeCheckConfigsListCall struct {
// List: Lists the existing valid Uptime check configurations for the
// project (leaving out any invalid configurations).
//
-// - parent: The project
-// (https://cloud.google.com/monitoring/api/v3#project_name) whose
-// Uptime check configurations are listed. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - parent: The project
+// (https://cloud.google.com/monitoring/api/v3#project_name) whose
+// Uptime check configurations are listed. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ProjectsUptimeCheckConfigsService) List(parent string) *ProjectsUptimeCheckConfigsListCall {
c := &ProjectsUptimeCheckConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14971,13 +15379,13 @@ type ProjectsUptimeCheckConfigsPatchCall struct {
// fields in the current configuration by specifying the fields to be
// updated via updateMask. Returns the updated configuration.
//
-// - name: A unique resource name for this Uptime check configuration.
-// The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
-// [PROJECT_ID_OR_NUMBER] is the Workspace host project associated
-// with the Uptime check.This field should be omitted when creating
-// the Uptime check configuration; on create, the resource name is
-// assigned by the server and included in the response.
+// - name: A unique resource name for this Uptime check configuration.
+// The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
+// [PROJECT_ID_OR_NUMBER] is the Workspace host project associated
+// with the Uptime check.This field should be omitted when creating
+// the Uptime check configuration; on create, the resource name is
+// assigned by the server and included in the response.
func (r *ProjectsUptimeCheckConfigsService) Patch(name string, uptimecheckconfig *UptimeCheckConfig) *ProjectsUptimeCheckConfigsPatchCall {
c := &ProjectsUptimeCheckConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15136,10 +15544,10 @@ type ServicesCreateCall struct {
// Create: Create a Service.
//
-// - parent: Resource name
-// (https://cloud.google.com/monitoring/api/v3#project_name) of the
-// parent Metrics Scope. The format is:
-// projects/[PROJECT_ID_OR_NUMBER].
+// - parent: Resource name
+// (https://cloud.google.com/monitoring/api/v3#project_name) of the
+// parent Metrics Scope. The format is:
+// projects/[PROJECT_ID_OR_NUMBER].
func (r *ServicesService) Create(parent string, service *MService) *ServicesCreateCall {
c := &ServicesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15294,8 +15702,8 @@ type ServicesDeleteCall struct {
// Delete: Soft delete this Service.
//
-// - name: Resource name of the Service to delete. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID].
+// - name: Resource name of the Service to delete. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID].
func (r *ServicesService) Delete(name string) *ServicesDeleteCall {
c := &ServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15429,8 +15837,8 @@ type ServicesGetCall struct {
// Get: Get the named Service.
//
-// - name: Resource name of the Service. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID].
+// - name: Resource name of the Service. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID].
func (r *ServicesService) Get(name string) *ServicesGetCall {
c := &ServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15578,12 +15986,12 @@ type ServicesListCall struct {
// List: List Services for this Metrics Scope.
//
-// - parent: Resource name of the parent containing the listed services,
-// either a project
-// (https://cloud.google.com/monitoring/api/v3#project_name) or a
-// Monitoring Metrics Scope. The formats are:
-// projects/[PROJECT_ID_OR_NUMBER]
-// workspaces/[HOST_PROJECT_ID_OR_NUMBER].
+// - parent: Resource name of the parent containing the listed services,
+// either a project
+// (https://cloud.google.com/monitoring/api/v3#project_name) or a
+// Monitoring Metrics Scope. The formats are:
+// projects/[PROJECT_ID_OR_NUMBER]
+// workspaces/[HOST_PROJECT_ID_OR_NUMBER].
func (r *ServicesService) List(parent string) *ServicesListCall {
c := &ServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15807,8 +16215,8 @@ type ServicesPatchCall struct {
// Patch: Update this Service.
//
-// - name: Resource name for this Service. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID].
+// - name: Resource name for this Service. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID].
func (r *ServicesService) Patch(name string, service *MService) *ServicesPatchCall {
c := &ServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15964,8 +16372,8 @@ type ServicesServiceLevelObjectivesCreateCall struct {
// Create: Create a ServiceLevelObjective for the given Service.
//
-// - parent: Resource name of the parent Service. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID].
+// - parent: Resource name of the parent Service. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID].
func (r *ServicesServiceLevelObjectivesService) Create(parent string, servicelevelobjective *ServiceLevelObjective) *ServicesServiceLevelObjectivesCreateCall {
c := &ServicesServiceLevelObjectivesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16121,10 +16529,10 @@ type ServicesServiceLevelObjectivesDeleteCall struct {
// Delete: Delete the given ServiceLevelObjective.
//
-// - name: Resource name of the ServiceLevelObjective to delete. The
-// format is:
-// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelOb
-// jectives/[SLO_NAME].
+// - name: Resource name of the ServiceLevelObjective to delete. The
+// format is:
+// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelOb
+// jectives/[SLO_NAME].
func (r *ServicesServiceLevelObjectivesService) Delete(name string) *ServicesServiceLevelObjectivesDeleteCall {
c := &ServicesServiceLevelObjectivesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16258,10 +16666,10 @@ type ServicesServiceLevelObjectivesGetCall struct {
// Get: Get a ServiceLevelObjective by name.
//
-// - name: Resource name of the ServiceLevelObjective to get. The format
-// is:
-// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelOb
-// jectives/[SLO_NAME].
+// - name: Resource name of the ServiceLevelObjective to get. The format
+// is:
+// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelOb
+// jectives/[SLO_NAME].
func (r *ServicesServiceLevelObjectivesService) Get(name string) *ServicesServiceLevelObjectivesGetCall {
c := &ServicesServiceLevelObjectivesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16275,11 +16683,15 @@ func (r *ServicesServiceLevelObjectivesService) Get(name string) *ServicesServic
// BasicSli with a RequestBasedSli spelling out how the SLI is computed.
//
// Possible values:
-// "VIEW_UNSPECIFIED" - Same as FULL.
-// "FULL" - Return the embedded ServiceLevelIndicator in the form in
+//
+// "VIEW_UNSPECIFIED" - Same as FULL.
+// "FULL" - Return the embedded ServiceLevelIndicator in the form in
+//
// which it was defined. If it was defined using a BasicSli, return that
// BasicSli.
-// "EXPLICIT" - For ServiceLevelIndicators using BasicSli
+//
+// "EXPLICIT" - For ServiceLevelIndicators using BasicSli
+//
// articulation, instead return the ServiceLevelIndicator with its mode
// of computation fully spelled out as a RequestBasedSli. For
// ServiceLevelIndicators using RequestBasedSli or WindowsBasedSli,
@@ -16445,10 +16857,10 @@ type ServicesServiceLevelObjectivesListCall struct {
// List: List the ServiceLevelObjectives for the given Service.
//
-// - parent: Resource name of the parent containing the listed SLOs,
-// either a project or a Monitoring Metrics Scope. The formats are:
-// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-// workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-.
+// - parent: Resource name of the parent containing the listed SLOs,
+// either a project or a Monitoring Metrics Scope. The formats are:
+// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
+// workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-.
func (r *ServicesServiceLevelObjectivesService) List(parent string) *ServicesServiceLevelObjectivesListCall {
c := &ServicesServiceLevelObjectivesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16486,11 +16898,15 @@ func (c *ServicesServiceLevelObjectivesListCall) PageToken(pageToken string) *Se
// BasicSli with a RequestBasedSli spelling out how the SLI is computed.
//
// Possible values:
-// "VIEW_UNSPECIFIED" - Same as FULL.
-// "FULL" - Return the embedded ServiceLevelIndicator in the form in
+//
+// "VIEW_UNSPECIFIED" - Same as FULL.
+// "FULL" - Return the embedded ServiceLevelIndicator in the form in
+//
// which it was defined. If it was defined using a BasicSli, return that
// BasicSli.
-// "EXPLICIT" - For ServiceLevelIndicators using BasicSli
+//
+// "EXPLICIT" - For ServiceLevelIndicators using BasicSli
+//
// articulation, instead return the ServiceLevelIndicator with its mode
// of computation fully spelled out as a RequestBasedSli. For
// ServiceLevelIndicators using RequestBasedSli or WindowsBasedSli,
@@ -16694,9 +17110,9 @@ type ServicesServiceLevelObjectivesPatchCall struct {
// Patch: Update the given ServiceLevelObjective.
//
-// - name: Resource name for this ServiceLevelObjective. The format is:
-// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelOb
-// jectives/[SLO_NAME].
+// - name: Resource name for this ServiceLevelObjective. The format is:
+// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelOb
+// jectives/[SLO_NAME].
func (r *ServicesServiceLevelObjectivesService) Patch(name string, servicelevelobjective *ServiceLevelObjective) *ServicesServiceLevelObjectivesPatchCall {
c := &ServicesServiceLevelObjectivesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go
index 5154a3c0f72..efbab4e8a66 100644
--- a/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go
+++ b/mybusinessaccountmanagement/v1/mybusinessaccountmanagement-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/my-business/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mybusinessaccountmanagement/v1"
-// ...
-// ctx := context.Background()
-// mybusinessaccountmanagementService, err := mybusinessaccountmanagement.NewService(ctx)
+// import "google.golang.org/api/mybusinessaccountmanagement/v1"
+// ...
+// ctx := context.Background()
+// mybusinessaccountmanagementService, err := mybusinessaccountmanagement.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mybusinessaccountmanagementService, err := mybusinessaccountmanagement.NewService(ctx, option.WithAPIKey("AIza..."))
+// mybusinessaccountmanagementService, err := mybusinessaccountmanagement.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mybusinessaccountmanagementService, err := mybusinessaccountmanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mybusinessaccountmanagementService, err := mybusinessaccountmanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mybusinessaccountmanagement // import "google.golang.org/api/mybusinessaccountmanagement/v1"
@@ -1300,8 +1300,8 @@ type AccountsPatchCall struct {
// Patch: Updates the specified business account. Personal accounts
// cannot be updated using this method.
//
-// - name: Immutable. The resource name, in the format
-// `accounts/{account_id}`.
+// - name: Immutable. The resource name, in the format
+// `accounts/{account_id}`.
func (r *AccountsService) Patch(name string, account *Account) *AccountsPatchCall {
c := &AccountsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1469,8 +1469,8 @@ type AccountsAdminsCreateCall struct {
// be granted access to the account. See AcceptInvitation to
// programmatically accept an invitation.
//
-// - parent: The resource name of the account this admin is created for.
-// `accounts/{account_id}`.
+// - parent: The resource name of the account this admin is created for.
+// `accounts/{account_id}`.
func (r *AccountsAdminsService) Create(parent string, admin *Admin) *AccountsAdminsCreateCall {
c := &AccountsAdminsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1608,8 +1608,8 @@ type AccountsAdminsDeleteCall struct {
// Delete: Removes the specified admin from the specified account.
//
-// - name: The resource name of the admin to remove from the account.
-// `accounts/{account_id}/admins/{admin_id}`.
+// - name: The resource name of the admin to remove from the account.
+// `accounts/{account_id}/admins/{admin_id}`.
func (r *AccountsAdminsService) Delete(name string) *AccountsAdminsDeleteCall {
c := &AccountsAdminsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1739,8 +1739,8 @@ type AccountsAdminsListCall struct {
// List: Lists the admins for the specified account.
//
-// - parent: The name of the account from which to retrieve a list of
-// admins. `accounts/{account_id}/admins`.
+// - parent: The name of the account from which to retrieve a list of
+// admins. `accounts/{account_id}/admins`.
func (r *AccountsAdminsService) List(parent string) *AccountsAdminsListCall {
c := &AccountsAdminsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1883,11 +1883,11 @@ type AccountsAdminsPatchCall struct {
// Patch: Updates the Admin for the specified Account Admin.
//
-// - name: Immutable. The resource name. For account admins, this is in
-// the form: `accounts/{account_id}/admins/{admin_id}` For location
-// admins, this is in the form:
-// `locations/{location_id}/admins/{admin_id}` This field will be
-// ignored if set during admin creation.
+// - name: Immutable. The resource name. For account admins, this is in
+// the form: `accounts/{account_id}/admins/{admin_id}` For location
+// admins, this is in the form:
+// `locations/{location_id}/admins/{admin_id}` This field will be
+// ignored if set during admin creation.
func (r *AccountsAdminsService) Patch(name string, admin *Admin) *AccountsAdminsPatchCall {
c := &AccountsAdminsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2040,8 +2040,8 @@ type AccountsInvitationsAcceptCall struct {
// Accept: Accepts the specified invitation.
//
-// - name: The name of the invitation that is being accepted.
-// `accounts/{account_id}/invitations/{invitation_id}`.
+// - name: The name of the invitation that is being accepted.
+// `accounts/{account_id}/invitations/{invitation_id}`.
func (r *AccountsInvitationsService) Accept(name string, acceptinvitationrequest *AcceptInvitationRequest) *AccountsInvitationsAcceptCall {
c := &AccountsInvitationsAcceptCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2180,8 +2180,8 @@ type AccountsInvitationsDeclineCall struct {
// Decline: Declines the specified invitation.
//
-// - name: The name of the account invitation that is being declined.
-// `accounts/{account_id}/invitations/{invitation_id}`.
+// - name: The name of the account invitation that is being declined.
+// `accounts/{account_id}/invitations/{invitation_id}`.
func (r *AccountsInvitationsService) Decline(name string, declineinvitationrequest *DeclineInvitationRequest) *AccountsInvitationsDeclineCall {
c := &AccountsInvitationsDeclineCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2320,8 +2320,8 @@ type AccountsInvitationsListCall struct {
// List: Lists pending invitations for the specified account.
//
-// - parent: The name of the account from which the list of invitations
-// is being retrieved. `accounts/{account_id}/invitations`.
+// - parent: The name of the account from which the list of invitations
+// is being retrieved. `accounts/{account_id}/invitations`.
func (r *AccountsInvitationsService) List(parent string) *AccountsInvitationsListCall {
c := &AccountsInvitationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2479,8 +2479,8 @@ type LocationsTransferCall struct {
// owner of the account the location is currently associated with and
// must also be at least a manager of the destination account.
//
-// - name: The name of the location to transfer.
-// `locations/{location_id}`.
+// - name: The name of the location to transfer.
+// `locations/{location_id}`.
func (r *LocationsService) Transfer(name string, transferlocationrequest *TransferLocationRequest) *LocationsTransferCall {
c := &LocationsTransferCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2622,8 +2622,8 @@ type LocationsAdminsCreateCall struct {
// to be granted access to the location. See AcceptInvitation to
// programmatically accept an invitation.
//
-// - parent: The resource name of the location this admin is created
-// for. `locations/{location_id}/admins`.
+// - parent: The resource name of the location this admin is created
+// for. `locations/{location_id}/admins`.
func (r *LocationsAdminsService) Create(parent string, admin *Admin) *LocationsAdminsCreateCall {
c := &LocationsAdminsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2892,8 +2892,8 @@ type LocationsAdminsListCall struct {
// List: Lists all of the admins for the specified location.
//
-// - parent: The name of the location to list admins of.
-// `locations/{location_id}/admins`.
+// - parent: The name of the location to list admins of.
+// `locations/{location_id}/admins`.
func (r *LocationsAdminsService) List(parent string) *LocationsAdminsListCall {
c := &LocationsAdminsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3037,11 +3037,11 @@ type LocationsAdminsPatchCall struct {
// Patch: Updates the Admin for the specified location. Only the
// AdminRole of the Admin can be updated.
//
-// - name: Immutable. The resource name. For account admins, this is in
-// the form: `accounts/{account_id}/admins/{admin_id}` For location
-// admins, this is in the form:
-// `locations/{location_id}/admins/{admin_id}` This field will be
-// ignored if set during admin creation.
+// - name: Immutable. The resource name. For account admins, this is in
+// the form: `accounts/{account_id}/admins/{admin_id}` For location
+// admins, this is in the form:
+// `locations/{location_id}/admins/{admin_id}` This field will be
+// ignored if set during admin creation.
func (r *LocationsAdminsService) Patch(name string, admin *Admin) *LocationsAdminsPatchCall {
c := &LocationsAdminsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/mybusinessbusinesscalls/v1/mybusinessbusinesscalls-gen.go b/mybusinessbusinesscalls/v1/mybusinessbusinesscalls-gen.go
index d1f9d1df20c..97c5dfecf56 100644
--- a/mybusinessbusinesscalls/v1/mybusinessbusinesscalls-gen.go
+++ b/mybusinessbusinesscalls/v1/mybusinessbusinesscalls-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/my-business/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mybusinessbusinesscalls/v1"
-// ...
-// ctx := context.Background()
-// mybusinessbusinesscallsService, err := mybusinessbusinesscalls.NewService(ctx)
+// import "google.golang.org/api/mybusinessbusinesscalls/v1"
+// ...
+// ctx := context.Background()
+// mybusinessbusinesscallsService, err := mybusinessbusinesscalls.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mybusinessbusinesscallsService, err := mybusinessbusinesscalls.NewService(ctx, option.WithAPIKey("AIza..."))
+// mybusinessbusinesscallsService, err := mybusinessbusinesscalls.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mybusinessbusinesscallsService, err := mybusinessbusinesscalls.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mybusinessbusinesscallsService, err := mybusinessbusinesscalls.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mybusinessbusinesscalls // import "google.golang.org/api/mybusinessbusinesscalls/v1"
@@ -454,9 +454,9 @@ type LocationsGetBusinesscallssettingsCall struct {
// GetBusinesscallssettings: Returns the Business calls settings
// resource for the given location.
//
-// - name: The BusinessCallsSettings to get. The `name` field is used to
-// identify the business call settings to get. Format:
-// locations/{location_id}/businesscallssettings.
+// - name: The BusinessCallsSettings to get. The `name` field is used to
+// identify the business call settings to get. Format:
+// locations/{location_id}/businesscallssettings.
func (r *LocationsService) GetBusinesscallssettings(name string) *LocationsGetBusinesscallssettingsCall {
c := &LocationsGetBusinesscallssettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -600,8 +600,8 @@ type LocationsUpdateBusinesscallssettingsCall struct {
// UpdateBusinesscallssettings: Updates the Business call settings for
// the specified location.
//
-// - name: The resource name of the calls settings. Format:
-// locations/{location}/businesscallssettings.
+// - name: The resource name of the calls settings. Format:
+// locations/{location}/businesscallssettings.
func (r *LocationsService) UpdateBusinesscallssettings(name string, businesscallssettings *BusinessCallsSettings) *LocationsUpdateBusinesscallssettingsCall {
c := &LocationsUpdateBusinesscallssettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -753,8 +753,8 @@ type LocationsBusinesscallsinsightsListCall struct {
// List: Returns insights for Business calls for a location.
//
-// - parent: The parent location to fetch calls insights for. Format:
-// locations/{location_id}.
+// - parent: The parent location to fetch calls insights for. Format:
+// locations/{location_id}.
func (r *LocationsBusinesscallsinsightsService) List(parent string) *LocationsBusinesscallsinsightsListCall {
c := &LocationsBusinesscallsinsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go
index 8adac50f96b..b84491380f7 100644
--- a/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go
+++ b/mybusinessbusinessinformation/v1/mybusinessbusinessinformation-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/my-business/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mybusinessbusinessinformation/v1"
-// ...
-// ctx := context.Background()
-// mybusinessbusinessinformationService, err := mybusinessbusinessinformation.NewService(ctx)
+// import "google.golang.org/api/mybusinessbusinessinformation/v1"
+// ...
+// ctx := context.Background()
+// mybusinessbusinessinformationService, err := mybusinessbusinessinformation.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mybusinessbusinessinformationService, err := mybusinessbusinessinformation.NewService(ctx, option.WithAPIKey("AIza..."))
+// mybusinessbusinessinformationService, err := mybusinessbusinessinformation.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mybusinessbusinessinformationService, err := mybusinessbusinessinformation.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mybusinessbusinessinformationService, err := mybusinessbusinessinformation.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mybusinessbusinessinformation // import "google.golang.org/api/mybusinessbusinessinformation/v1"
@@ -2587,11 +2587,11 @@ type AccountsLocationsListCall struct {
// List: Lists the locations for the specified account.
//
-// - parent: The name of the account to fetch locations from. If the
-// parent Account is of AccountType PERSONAL, only Locations that are
-// directly owned by the Account are returned, otherwise it will
-// return all accessible locations from the Account, either directly
-// or indirectly.
+// - parent: The name of the account to fetch locations from. If the
+// parent Account is of AccountType PERSONAL, only Locations that are
+// directly owned by the Account are returned, otherwise it will
+// return all accessible locations from the Account, either directly
+// or indirectly.
func (r *AccountsLocationsService) List(parent string) *AccountsLocationsListCall {
c := &AccountsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3101,12 +3101,17 @@ func (c *CategoriesBatchGetCall) RegionCode(regionCode string) *CategoriesBatchG
// parts to the Category resource should be returned in the response.
//
// Possible values:
-// "CATEGORY_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
+// "CATEGORY_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
// CATEGORY_METADATA_ONLY.
-// "BASIC" - The server response will only include Category fields
+//
+// "BASIC" - The server response will only include Category fields
+//
// display_name, category_id and language_code. It omits any service
// type metadata related fields.
-// "FULL" - Returns all the fields in the response.
+//
+// "FULL" - Returns all the fields in the response.
func (c *CategoriesBatchGetCall) View(view string) *CategoriesBatchGetCall {
c.urlParams_.Set("view", view)
return c
@@ -3314,12 +3319,17 @@ func (c *CategoriesListCall) RegionCode(regionCode string) *CategoriesListCall {
// parts to the Category resource should be returned in the response.
//
// Possible values:
-// "CATEGORY_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
+// "CATEGORY_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
// CATEGORY_METADATA_ONLY.
-// "BASIC" - The server response will only include Category fields
+//
+// "BASIC" - The server response will only include Category fields
+//
// display_name, category_id and language_code. It omits any service
// type metadata related fields.
-// "FULL" - Returns all the fields in the response.
+//
+// "FULL" - Returns all the fields in the response.
func (c *CategoriesListCall) View(view string) *CategoriesListCall {
c.urlParams_.Set("view", view)
return c
@@ -3512,8 +3522,8 @@ type ChainsGetCall struct {
// Get: Gets the specified chain. Returns `NOT_FOUND` if the chain does
// not exist.
//
-// - name: The chain's resource name, in the format
-// `chains/{chain_place_id}`.
+// - name: The chain's resource name, in the format
+// `chains/{chain_place_id}`.
func (r *ChainsService) Get(name string) *ChainsGetCall {
c := &ChainsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4505,8 +4515,8 @@ type LocationsGetAttributesCall struct {
// GetAttributes: Looks up all the attributes set for a given location.
//
-// - name: Google identifier for this location in the form of
-// `locations/{location_id}/attributes`.
+// - name: Google identifier for this location in the form of
+// `locations/{location_id}/attributes`.
func (r *LocationsService) GetAttributes(nameid string) *LocationsGetAttributesCall {
c := &LocationsGetAttributesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -4806,8 +4816,8 @@ type LocationsPatchCall struct {
// Patch: Updates the specified location.
//
-// - name: Google identifier for this location in the form:
-// `locations/{location_id}`.
+// - name: Google identifier for this location in the form:
+// `locations/{location_id}`.
func (r *LocationsService) Patch(nameid string, location *Location) *LocationsPatchCall {
c := &LocationsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -4973,8 +4983,8 @@ type LocationsUpdateAttributesCall struct {
// UpdateAttributes: Update attributes for a given location.
//
-// - name: Google identifier for this location in the form of
-// `locations/{location_id}/attributes`.
+// - name: Google identifier for this location in the form of
+// `locations/{location_id}/attributes`.
func (r *LocationsService) UpdateAttributes(nameid string, attributes *Attributes) *LocationsUpdateAttributesCall {
c := &LocationsUpdateAttributesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -5136,8 +5146,8 @@ type LocationsAttributesGetGoogleUpdatedCall struct {
// GetGoogleUpdated: Gets the Google-updated version of the specified
// location.
//
-// - name: Google identifier for this location in the form of
-// `locations/{location_id}/attributes`.
+// - name: Google identifier for this location in the form of
+// `locations/{location_id}/attributes`.
func (r *LocationsAttributesService) GetGoogleUpdated(nameid string) *LocationsAttributesGetGoogleUpdatedCall {
c := &LocationsAttributesGetGoogleUpdatedCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
diff --git a/mybusinesslodging/v1/mybusinesslodging-gen.go b/mybusinesslodging/v1/mybusinesslodging-gen.go
index 352c854a530..aec01cb5fce 100644
--- a/mybusinesslodging/v1/mybusinesslodging-gen.go
+++ b/mybusinesslodging/v1/mybusinesslodging-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/my-business/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mybusinesslodging/v1"
-// ...
-// ctx := context.Background()
-// mybusinesslodgingService, err := mybusinesslodging.NewService(ctx)
+// import "google.golang.org/api/mybusinesslodging/v1"
+// ...
+// ctx := context.Background()
+// mybusinesslodgingService, err := mybusinesslodging.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mybusinesslodgingService, err := mybusinesslodging.NewService(ctx, option.WithAPIKey("AIza..."))
+// mybusinesslodgingService, err := mybusinesslodging.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mybusinesslodgingService, err := mybusinesslodging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mybusinesslodgingService, err := mybusinesslodging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mybusinesslodging // import "google.golang.org/api/mybusinesslodging/v1"
@@ -6545,8 +6545,8 @@ type LocationsGetLodgingCall struct {
// GetLodging: Returns the Lodging of a specific location.
//
-// - name: Google identifier for this location in the form:
-// `locations/{location_id}/lodging`.
+// - name: Google identifier for this location in the form:
+// `locations/{location_id}/lodging`.
func (r *LocationsService) GetLodging(nameid string) *LocationsGetLodgingCall {
c := &LocationsGetLodgingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -6703,8 +6703,8 @@ type LocationsUpdateLodgingCall struct {
// UpdateLodging: Updates the Lodging of a specific location.
//
-// - name: Google identifier for this location in the form:
-// `locations/{location_id}/lodging`.
+// - name: Google identifier for this location in the form:
+// `locations/{location_id}/lodging`.
func (r *LocationsService) UpdateLodging(nameid string, lodging *Lodging) *LocationsUpdateLodgingCall {
c := &LocationsUpdateLodgingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -6859,8 +6859,8 @@ type LocationsLodgingGetGoogleUpdatedCall struct {
// GetGoogleUpdated: Returns the Google updated Lodging of a specific
// location.
//
-// - name: Google identifier for this location in the form:
-// `accounts/{account_id}/locations/{location_id}/lodging`.
+// - name: Google identifier for this location in the form:
+// `accounts/{account_id}/locations/{location_id}/lodging`.
func (r *LocationsLodgingService) GetGoogleUpdated(nameid string) *LocationsLodgingGetGoogleUpdatedCall {
c := &LocationsLodgingGetGoogleUpdatedCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
diff --git a/mybusinessnotifications/v1/mybusinessnotifications-gen.go b/mybusinessnotifications/v1/mybusinessnotifications-gen.go
index 454d20a09da..9541b6d0c7b 100644
--- a/mybusinessnotifications/v1/mybusinessnotifications-gen.go
+++ b/mybusinessnotifications/v1/mybusinessnotifications-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/my-business/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mybusinessnotifications/v1"
-// ...
-// ctx := context.Background()
-// mybusinessnotificationsService, err := mybusinessnotifications.NewService(ctx)
+// import "google.golang.org/api/mybusinessnotifications/v1"
+// ...
+// ctx := context.Background()
+// mybusinessnotificationsService, err := mybusinessnotifications.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mybusinessnotificationsService, err := mybusinessnotifications.NewService(ctx, option.WithAPIKey("AIza..."))
+// mybusinessnotificationsService, err := mybusinessnotifications.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mybusinessnotificationsService, err := mybusinessnotifications.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mybusinessnotificationsService, err := mybusinessnotifications.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mybusinessnotifications // import "google.golang.org/api/mybusinessnotifications/v1"
@@ -233,8 +233,8 @@ type AccountsGetNotificationSettingCall struct {
// GetNotificationSetting: Returns the pubsub notification settings for
// the account.
//
-// - name: The resource name of the notification setting we are trying
-// to fetch.
+// - name: The resource name of the notification setting we are trying
+// to fetch.
func (r *AccountsService) GetNotificationSetting(name string) *AccountsGetNotificationSettingCall {
c := &AccountsGetNotificationSettingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -383,8 +383,8 @@ type AccountsUpdateNotificationSettingCall struct {
// topic can be set. To delete the setting, update with an empty
// notification_types
//
-// - name: The resource name this setting is for. This is of the form
-// `accounts/{account_id}/notificationSetting`.
+// - name: The resource name this setting is for. This is of the form
+// `accounts/{account_id}/notificationSetting`.
func (r *AccountsService) UpdateNotificationSetting(name string, notificationsetting *NotificationSetting) *AccountsUpdateNotificationSettingCall {
c := &AccountsUpdateNotificationSettingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go b/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go
index 91c56f1c827..b88752ceb0b 100644
--- a/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go
+++ b/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/my-business/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mybusinessplaceactions/v1"
-// ...
-// ctx := context.Background()
-// mybusinessplaceactionsService, err := mybusinessplaceactions.NewService(ctx)
+// import "google.golang.org/api/mybusinessplaceactions/v1"
+// ...
+// ctx := context.Background()
+// mybusinessplaceactionsService, err := mybusinessplaceactions.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mybusinessplaceactionsService, err := mybusinessplaceactions.NewService(ctx, option.WithAPIKey("AIza..."))
+// mybusinessplaceactionsService, err := mybusinessplaceactions.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mybusinessplaceactionsService, err := mybusinessplaceactions.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mybusinessplaceactionsService, err := mybusinessplaceactions.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mybusinessplaceactions // import "google.golang.org/api/mybusinessplaceactions/v1"
@@ -399,8 +399,8 @@ type LocationsPlaceActionLinksCreateCall struct {
// `place_action_link.place_action_type` are the same as a previous
// request.
//
-// - parent: The resource name of the location where to create this
-// place action link. `locations/{location_id}`.
+// - parent: The resource name of the location where to create this
+// place action link. `locations/{location_id}`.
func (r *LocationsPlaceActionLinksService) Create(parent string, placeactionlink *PlaceActionLink) *LocationsPlaceActionLinksCreateCall {
c := &LocationsPlaceActionLinksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -538,8 +538,8 @@ type LocationsPlaceActionLinksDeleteCall struct {
// Delete: Deletes a place action link from the specified location.
//
-// - name: The resource name of the place action link to remove from the
-// location.
+// - name: The resource name of the place action link to remove from the
+// location.
func (r *LocationsPlaceActionLinksService) Delete(name string) *LocationsPlaceActionLinksDeleteCall {
c := &LocationsPlaceActionLinksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -812,8 +812,8 @@ type LocationsPlaceActionLinksListCall struct {
// List: Lists the place action links for the specified location.
//
-// - parent: The name of the location whose place action links will be
-// listed. `locations/{location_id}`.
+// - parent: The name of the location whose place action links will be
+// listed. `locations/{location_id}`.
func (r *LocationsPlaceActionLinksService) List(parent string) *LocationsPlaceActionLinksListCall {
c := &LocationsPlaceActionLinksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1016,14 +1016,14 @@ type LocationsPlaceActionLinksPatchCall struct {
// Patch: Updates the specified place action link and returns it.
//
-// - name: Optional. The resource name, in the format
-// `locations/{location_id}/placeActionLinks/{place_action_link_id}`.
-// The name field will only be considered in UpdatePlaceActionLink and
-// DeletePlaceActionLink requests for updating and deleting links
-// respectively. However, it will be ignored in CreatePlaceActionLink
-// request, where `place_action_link_id` will be assigned by the
-// server on successful creation of a new link and returned as part of
-// the response.
+// - name: Optional. The resource name, in the format
+// `locations/{location_id}/placeActionLinks/{place_action_link_id}`.
+// The name field will only be considered in UpdatePlaceActionLink and
+// DeletePlaceActionLink requests for updating and deleting links
+// respectively. However, it will be ignored in CreatePlaceActionLink
+// request, where `place_action_link_id` will be assigned by the
+// server on successful creation of a new link and returned as part of
+// the response.
func (r *LocationsPlaceActionLinksService) Patch(name string, placeactionlink *PlaceActionLink) *LocationsPlaceActionLinksPatchCall {
c := &LocationsPlaceActionLinksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/mybusinessqanda/v1/mybusinessqanda-gen.go b/mybusinessqanda/v1/mybusinessqanda-gen.go
index 204c950cedd..2ef7de717af 100644
--- a/mybusinessqanda/v1/mybusinessqanda-gen.go
+++ b/mybusinessqanda/v1/mybusinessqanda-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/my-business/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mybusinessqanda/v1"
-// ...
-// ctx := context.Background()
-// mybusinessqandaService, err := mybusinessqanda.NewService(ctx)
+// import "google.golang.org/api/mybusinessqanda/v1"
+// ...
+// ctx := context.Background()
+// mybusinessqandaService, err := mybusinessqanda.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mybusinessqandaService, err := mybusinessqanda.NewService(ctx, option.WithAPIKey("AIza..."))
+// mybusinessqandaService, err := mybusinessqanda.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mybusinessqandaService, err := mybusinessqanda.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mybusinessqandaService, err := mybusinessqanda.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mybusinessqanda // import "google.golang.org/api/mybusinessqanda/v1"
@@ -952,9 +952,9 @@ type LocationsQuestionsPatchCall struct {
// Patch: Updates a specific question written by the current user.
//
-// - name: Immutable. The unique name for the question.
-// locations/*/questions/* This field will be ignored if set during
-// question creation.
+// - name: Immutable. The unique name for the question.
+// locations/*/questions/* This field will be ignored if set during
+// question creation.
func (r *LocationsQuestionsService) Patch(name string, question *Question) *LocationsQuestionsPatchCall {
c := &LocationsQuestionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/mybusinessverifications/v1/mybusinessverifications-gen.go b/mybusinessverifications/v1/mybusinessverifications-gen.go
index 37f68fcd8cc..6bf02a088ae 100644
--- a/mybusinessverifications/v1/mybusinessverifications-gen.go
+++ b/mybusinessverifications/v1/mybusinessverifications-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/my-business/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/mybusinessverifications/v1"
-// ...
-// ctx := context.Background()
-// mybusinessverificationsService, err := mybusinessverifications.NewService(ctx)
+// import "google.golang.org/api/mybusinessverifications/v1"
+// ...
+// ctx := context.Background()
+// mybusinessverificationsService, err := mybusinessverifications.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// mybusinessverificationsService, err := mybusinessverifications.NewService(ctx, option.WithAPIKey("AIza..."))
+// mybusinessverificationsService, err := mybusinessverifications.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// mybusinessverificationsService, err := mybusinessverifications.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// mybusinessverificationsService, err := mybusinessverifications.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mybusinessverifications // import "google.golang.org/api/mybusinessverifications/v1"
@@ -1673,8 +1673,8 @@ type LocationsVerificationsListCall struct {
// List: List verifications of a location, ordered by create time.
//
-// - parent: Resource name of the location that verification requests
-// belong to.
+// - parent: Resource name of the location that verification requests
+// belong to.
func (r *LocationsVerificationsService) List(parent string) *LocationsVerificationsListCall {
c := &LocationsVerificationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/networkconnectivity/v1/networkconnectivity-gen.go b/networkconnectivity/v1/networkconnectivity-gen.go
index 36b28570434..1f33785642f 100644
--- a/networkconnectivity/v1/networkconnectivity-gen.go
+++ b/networkconnectivity/v1/networkconnectivity-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/networkconnectivity/v1"
-// ...
-// ctx := context.Background()
-// networkconnectivityService, err := networkconnectivity.NewService(ctx)
+// import "google.golang.org/api/networkconnectivity/v1"
+// ...
+// ctx := context.Background()
+// networkconnectivityService, err := networkconnectivity.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// networkconnectivityService, err := networkconnectivity.NewService(ctx, option.WithAPIKey("AIza..."))
+// networkconnectivityService, err := networkconnectivity.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// networkconnectivityService, err := networkconnectivity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// networkconnectivityService, err := networkconnectivity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package networkconnectivity // import "google.golang.org/api/networkconnectivity/v1"
@@ -1583,8 +1583,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2272,10 +2272,10 @@ type ProjectsLocationsGlobalHubsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalHubsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalHubsGetIamPolicyCall {
c := &ProjectsLocationsGlobalHubsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2662,9 +2662,9 @@ type ProjectsLocationsGlobalHubsPatchCall struct {
// Patch: Updates the description and/or labels of a Network
// Connectivity Center hub.
//
-// - name: Immutable. The name of the hub. Hub names must be unique.
-// They use the following form:
-// `projects/{project_number}/locations/global/hubs/{hub_id}`.
+// - name: Immutable. The name of the hub. Hub names must be unique.
+// They use the following form:
+// `projects/{project_number}/locations/global/hubs/{hub_id}`.
func (r *ProjectsLocationsGlobalHubsService) Patch(name string, hub *Hub) *ProjectsLocationsGlobalHubsPatchCall {
c := &ProjectsLocationsGlobalHubsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2848,10 +2848,10 @@ type ProjectsLocationsGlobalHubsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalHubsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalHubsSetIamPolicyCall {
c := &ProjectsLocationsGlobalHubsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2998,10 +2998,10 @@ type ProjectsLocationsGlobalHubsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalHubsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalHubsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalHubsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3145,10 +3145,10 @@ type ProjectsLocationsGlobalPolicyBasedRoutesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPolicyBasedRoutesService) GetIamPolicy(resource string) *ProjectsLocationsGlobalPolicyBasedRoutesGetIamPolicyCall {
c := &ProjectsLocationsGlobalPolicyBasedRoutesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3320,10 +3320,10 @@ type ProjectsLocationsGlobalPolicyBasedRoutesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPolicyBasedRoutesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalPolicyBasedRoutesSetIamPolicyCall {
c := &ProjectsLocationsGlobalPolicyBasedRoutesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3470,10 +3470,10 @@ type ProjectsLocationsGlobalPolicyBasedRoutesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalPolicyBasedRoutesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalPolicyBasedRoutesTestIamPermissionsCall {
c := &ProjectsLocationsGlobalPolicyBasedRoutesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4743,10 +4743,10 @@ type ProjectsLocationsSpokesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsSpokesService) GetIamPolicy(resource string) *ProjectsLocationsSpokesGetIamPolicyCall {
c := &ProjectsLocationsSpokesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5132,9 +5132,9 @@ type ProjectsLocationsSpokesPatchCall struct {
// Patch: Updates the parameters of a Network Connectivity Center spoke.
//
-// - name: Immutable. The name of the spoke. Spoke names must be unique.
-// They use the following form:
-// `projects/{project_number}/locations/{region}/spokes/{spoke_id}`.
+// - name: Immutable. The name of the spoke. Spoke names must be unique.
+// They use the following form:
+// `projects/{project_number}/locations/{region}/spokes/{spoke_id}`.
func (r *ProjectsLocationsSpokesService) Patch(name string, spoke *Spoke) *ProjectsLocationsSpokesPatchCall {
c := &ProjectsLocationsSpokesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5318,10 +5318,10 @@ type ProjectsLocationsSpokesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsSpokesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsSpokesSetIamPolicyCall {
c := &ProjectsLocationsSpokesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5468,10 +5468,10 @@ type ProjectsLocationsSpokesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsSpokesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsSpokesTestIamPermissionsCall {
c := &ProjectsLocationsSpokesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/networkconnectivity/v1alpha1/networkconnectivity-gen.go b/networkconnectivity/v1alpha1/networkconnectivity-gen.go
index 2bdd27341ce..43ffaf82dc7 100644
--- a/networkconnectivity/v1alpha1/networkconnectivity-gen.go
+++ b/networkconnectivity/v1alpha1/networkconnectivity-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/networkconnectivity/v1alpha1"
-// ...
-// ctx := context.Background()
-// networkconnectivityService, err := networkconnectivity.NewService(ctx)
+// import "google.golang.org/api/networkconnectivity/v1alpha1"
+// ...
+// ctx := context.Background()
+// networkconnectivityService, err := networkconnectivity.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// networkconnectivityService, err := networkconnectivity.NewService(ctx, option.WithAPIKey("AIza..."))
+// networkconnectivityService, err := networkconnectivity.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// networkconnectivityService, err := networkconnectivity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// networkconnectivityService, err := networkconnectivity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package networkconnectivity // import "google.golang.org/api/networkconnectivity/v1alpha1"
@@ -1414,8 +1414,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1624,10 +1624,10 @@ type ProjectsLocationsConnectionPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsConnectionPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsConnectionPoliciesGetIamPolicyCall {
c := &ProjectsLocationsConnectionPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1799,10 +1799,10 @@ type ProjectsLocationsConnectionPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsConnectionPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsConnectionPoliciesSetIamPolicyCall {
c := &ProjectsLocationsConnectionPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1949,10 +1949,10 @@ type ProjectsLocationsConnectionPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsConnectionPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsConnectionPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsConnectionPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2575,10 +2575,10 @@ type ProjectsLocationsGlobalHubsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalHubsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalHubsGetIamPolicyCall {
c := &ProjectsLocationsGlobalHubsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3149,10 +3149,10 @@ type ProjectsLocationsGlobalHubsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalHubsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalHubsSetIamPolicyCall {
c := &ProjectsLocationsGlobalHubsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3299,10 +3299,10 @@ type ProjectsLocationsGlobalHubsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalHubsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalHubsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalHubsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3446,10 +3446,10 @@ type ProjectsLocationsInternalRangesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInternalRangesService) GetIamPolicy(resource string) *ProjectsLocationsInternalRangesGetIamPolicyCall {
c := &ProjectsLocationsInternalRangesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3621,10 +3621,10 @@ type ProjectsLocationsInternalRangesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInternalRangesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsInternalRangesSetIamPolicyCall {
c := &ProjectsLocationsInternalRangesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3771,10 +3771,10 @@ type ProjectsLocationsInternalRangesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInternalRangesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsInternalRangesTestIamPermissionsCall {
c := &ProjectsLocationsInternalRangesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4566,10 +4566,10 @@ type ProjectsLocationsServiceIdentifiersGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceIdentifiersService) GetIamPolicy(resource string) *ProjectsLocationsServiceIdentifiersGetIamPolicyCall {
c := &ProjectsLocationsServiceIdentifiersGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4741,10 +4741,10 @@ type ProjectsLocationsServiceIdentifiersSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceIdentifiersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServiceIdentifiersSetIamPolicyCall {
c := &ProjectsLocationsServiceIdentifiersSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4891,10 +4891,10 @@ type ProjectsLocationsServiceIdentifiersTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceIdentifiersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServiceIdentifiersTestIamPermissionsCall {
c := &ProjectsLocationsServiceIdentifiersTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5038,10 +5038,10 @@ type ProjectsLocationsServiceInstancesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceInstancesService) GetIamPolicy(resource string) *ProjectsLocationsServiceInstancesGetIamPolicyCall {
c := &ProjectsLocationsServiceInstancesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5213,10 +5213,10 @@ type ProjectsLocationsServiceInstancesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceInstancesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServiceInstancesSetIamPolicyCall {
c := &ProjectsLocationsServiceInstancesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5363,10 +5363,10 @@ type ProjectsLocationsServiceInstancesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceInstancesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServiceInstancesTestIamPermissionsCall {
c := &ProjectsLocationsServiceInstancesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5988,10 +5988,10 @@ type ProjectsLocationsSpokesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsSpokesService) GetIamPolicy(resource string) *ProjectsLocationsSpokesGetIamPolicyCall {
c := &ProjectsLocationsSpokesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6561,10 +6561,10 @@ type ProjectsLocationsSpokesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsSpokesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsSpokesSetIamPolicyCall {
c := &ProjectsLocationsSpokesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6711,10 +6711,10 @@ type ProjectsLocationsSpokesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsSpokesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsSpokesTestIamPermissionsCall {
c := &ProjectsLocationsSpokesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go
index 3d6f63ae441..1d66ffa26ac 100644
--- a/networkmanagement/v1/networkmanagement-gen.go
+++ b/networkmanagement/v1/networkmanagement-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/networkmanagement/v1"
-// ...
-// ctx := context.Background()
-// networkmanagementService, err := networkmanagement.NewService(ctx)
+// import "google.golang.org/api/networkmanagement/v1"
+// ...
+// ctx := context.Background()
+// networkmanagementService, err := networkmanagement.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// networkmanagementService, err := networkmanagement.NewService(ctx, option.WithAPIKey("AIza..."))
+// networkmanagementService, err := networkmanagement.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// networkmanagementService, err := networkmanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// networkmanagementService, err := networkmanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package networkmanagement // import "google.golang.org/api/networkmanagement/v1"
@@ -2456,8 +2456,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2673,8 +2673,8 @@ type ProjectsLocationsGlobalConnectivityTestsCreateCall struct {
// the reachability result returns a value of AMBIGUOUS. For more
// information, see the Connectivity Test documentation.
//
-// - parent: The parent resource of the Connectivity Test to create:
-// `projects/{project_id}/locations/global`.
+// - parent: The parent resource of the Connectivity Test to create:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Create(parent string, connectivitytest *ConnectivityTest) *ProjectsLocationsGlobalConnectivityTestsCreateCall {
c := &ProjectsLocationsGlobalConnectivityTestsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2831,8 +2831,8 @@ type ProjectsLocationsGlobalConnectivityTestsDeleteCall struct {
// Delete: Deletes a specific `ConnectivityTest`.
//
-// - name: Connectivity Test resource name using the form:
-// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
+// - name: Connectivity Test resource name using the form:
+// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Delete(name string) *ProjectsLocationsGlobalConnectivityTestsDeleteCall {
c := &ProjectsLocationsGlobalConnectivityTestsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2965,8 +2965,8 @@ type ProjectsLocationsGlobalConnectivityTestsGetCall struct {
// Get: Gets the details of a specific Connectivity Test.
//
-// - name: `ConnectivityTest` resource name using the form:
-// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
+// - name: `ConnectivityTest` resource name using the form:
+// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Get(name string) *ProjectsLocationsGlobalConnectivityTestsGetCall {
c := &ProjectsLocationsGlobalConnectivityTestsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3114,10 +3114,10 @@ type ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalConnectivityTestsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall {
c := &ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3287,8 +3287,8 @@ type ProjectsLocationsGlobalConnectivityTestsListCall struct {
// List: Lists all Connectivity Tests owned by a project.
//
-// - parent: The parent resource of the Connectivity Tests:
-// `projects/{project_id}/locations/global`.
+// - parent: The parent resource of the Connectivity Tests:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) List(parent string) *ProjectsLocationsGlobalConnectivityTestsListCall {
c := &ProjectsLocationsGlobalConnectivityTestsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3525,8 +3525,8 @@ type ProjectsLocationsGlobalConnectivityTestsPatchCall struct {
// result returns a value of `AMBIGUOUS`. See the documentation in
// `ConnectivityTest` for for more details.
//
-// - name: Unique name of the resource using the form:
-// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
+// - name: Unique name of the resource using the form:
+// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Patch(name string, connectivitytest *ConnectivityTest) *ProjectsLocationsGlobalConnectivityTestsPatchCall {
c := &ProjectsLocationsGlobalConnectivityTestsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3690,8 +3690,8 @@ type ProjectsLocationsGlobalConnectivityTestsRerunCall struct {
// read permissions to the network configurations of listed projects),
// then the reachability result returns a value of `UNKNOWN`.
//
-// - name: Connectivity Test resource name using the form:
-// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
+// - name: Connectivity Test resource name using the form:
+// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Rerun(name string, rerunconnectivitytestrequest *RerunConnectivityTestRequest) *ProjectsLocationsGlobalConnectivityTestsRerunCall {
c := &ProjectsLocationsGlobalConnectivityTestsRerunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3835,10 +3835,10 @@ type ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalConnectivityTestsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall {
c := &ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3985,10 +3985,10 @@ type ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalConnectivityTestsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go
index 65f45ccc85a..7aadd086e76 100644
--- a/networkmanagement/v1beta1/networkmanagement-gen.go
+++ b/networkmanagement/v1beta1/networkmanagement-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/networkmanagement/v1beta1"
-// ...
-// ctx := context.Background()
-// networkmanagementService, err := networkmanagement.NewService(ctx)
+// import "google.golang.org/api/networkmanagement/v1beta1"
+// ...
+// ctx := context.Background()
+// networkmanagementService, err := networkmanagement.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// networkmanagementService, err := networkmanagement.NewService(ctx, option.WithAPIKey("AIza..."))
+// networkmanagementService, err := networkmanagement.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// networkmanagementService, err := networkmanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// networkmanagementService, err := networkmanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package networkmanagement // import "google.golang.org/api/networkmanagement/v1beta1"
@@ -2826,8 +2826,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3043,8 +3043,8 @@ type ProjectsLocationsGlobalConnectivityTestsCreateCall struct {
// the reachability result returns a value of AMBIGUOUS. For more
// information, see the Connectivity Test documentation.
//
-// - parent: The parent resource of the Connectivity Test to create:
-// `projects/{project_id}/locations/global`.
+// - parent: The parent resource of the Connectivity Test to create:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Create(parent string, connectivitytest *ConnectivityTest) *ProjectsLocationsGlobalConnectivityTestsCreateCall {
c := &ProjectsLocationsGlobalConnectivityTestsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3201,8 +3201,8 @@ type ProjectsLocationsGlobalConnectivityTestsDeleteCall struct {
// Delete: Deletes a specific `ConnectivityTest`.
//
-// - name: Connectivity Test resource name using the form:
-// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
+// - name: Connectivity Test resource name using the form:
+// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Delete(name string) *ProjectsLocationsGlobalConnectivityTestsDeleteCall {
c := &ProjectsLocationsGlobalConnectivityTestsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3335,8 +3335,8 @@ type ProjectsLocationsGlobalConnectivityTestsGetCall struct {
// Get: Gets the details of a specific Connectivity Test.
//
-// - name: `ConnectivityTest` resource name using the form:
-// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
+// - name: `ConnectivityTest` resource name using the form:
+// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Get(name string) *ProjectsLocationsGlobalConnectivityTestsGetCall {
c := &ProjectsLocationsGlobalConnectivityTestsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3484,10 +3484,10 @@ type ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalConnectivityTestsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall {
c := &ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3657,8 +3657,8 @@ type ProjectsLocationsGlobalConnectivityTestsListCall struct {
// List: Lists all Connectivity Tests owned by a project.
//
-// - parent: The parent resource of the Connectivity Tests:
-// `projects/{project_id}/locations/global`.
+// - parent: The parent resource of the Connectivity Tests:
+// `projects/{project_id}/locations/global`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) List(parent string) *ProjectsLocationsGlobalConnectivityTestsListCall {
c := &ProjectsLocationsGlobalConnectivityTestsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3895,8 +3895,8 @@ type ProjectsLocationsGlobalConnectivityTestsPatchCall struct {
// result returns a value of `AMBIGUOUS`. See the documentation in
// `ConnectivityTest` for for more details.
//
-// - name: Unique name of the resource using the form:
-// `projects/{project_id}/locations/global/connectivityTests/{test}`.
+// - name: Unique name of the resource using the form:
+// `projects/{project_id}/locations/global/connectivityTests/{test}`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Patch(name string, connectivitytest *ConnectivityTest) *ProjectsLocationsGlobalConnectivityTestsPatchCall {
c := &ProjectsLocationsGlobalConnectivityTestsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4060,8 +4060,8 @@ type ProjectsLocationsGlobalConnectivityTestsRerunCall struct {
// read permissions to the network configurations of listed projects),
// then the reachability result returns a value of `UNKNOWN`.
//
-// - name: Connectivity Test resource name using the form:
-// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
+// - name: Connectivity Test resource name using the form:
+// `projects/{project_id}/locations/global/connectivityTests/{test_id}`.
func (r *ProjectsLocationsGlobalConnectivityTestsService) Rerun(name string, rerunconnectivitytestrequest *RerunConnectivityTestRequest) *ProjectsLocationsGlobalConnectivityTestsRerunCall {
c := &ProjectsLocationsGlobalConnectivityTestsRerunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4205,10 +4205,10 @@ type ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalConnectivityTestsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall {
c := &ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4355,10 +4355,10 @@ type ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGlobalConnectivityTestsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall {
c := &ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/networksecurity/v1/networksecurity-gen.go b/networksecurity/v1/networksecurity-gen.go
index d8a43bdd8c2..6621e9d3705 100644
--- a/networksecurity/v1/networksecurity-gen.go
+++ b/networksecurity/v1/networksecurity-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/networking
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/networksecurity/v1"
-// ...
-// ctx := context.Background()
-// networksecurityService, err := networksecurity.NewService(ctx)
+// import "google.golang.org/api/networksecurity/v1"
+// ...
+// ctx := context.Background()
+// networksecurityService, err := networksecurity.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// networksecurityService, err := networksecurity.NewService(ctx, option.WithAPIKey("AIza..."))
+// networksecurityService, err := networksecurity.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// networksecurityService, err := networksecurity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// networksecurityService, err := networksecurity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package networksecurity // import "google.golang.org/api/networksecurity/v1"
@@ -1772,8 +1772,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1981,8 +1981,8 @@ type ProjectsLocationsAuthorizationPoliciesCreateCall struct {
// Create: Creates a new AuthorizationPolicy in a given project and
// location.
//
-// - parent: The parent resource of the AuthorizationPolicy. Must be in
-// the format `projects/{project}/locations/{location}`.
+// - parent: The parent resource of the AuthorizationPolicy. Must be in
+// the format `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsAuthorizationPoliciesService) Create(parent string, authorizationpolicy *AuthorizationPolicy) *ProjectsLocationsAuthorizationPoliciesCreateCall {
c := &ProjectsLocationsAuthorizationPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2138,9 +2138,9 @@ type ProjectsLocationsAuthorizationPoliciesDeleteCall struct {
// Delete: Deletes a single AuthorizationPolicy.
//
-// - name: A name of the AuthorizationPolicy to delete. Must be in the
-// format
-// `projects/{project}/locations/{location}/authorizationPolicies/*`.
+// - name: A name of the AuthorizationPolicy to delete. Must be in the
+// format
+// `projects/{project}/locations/{location}/authorizationPolicies/*`.
func (r *ProjectsLocationsAuthorizationPoliciesService) Delete(name string) *ProjectsLocationsAuthorizationPoliciesDeleteCall {
c := &ProjectsLocationsAuthorizationPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2273,9 +2273,9 @@ type ProjectsLocationsAuthorizationPoliciesGetCall struct {
// Get: Gets details of a single AuthorizationPolicy.
//
-// - name: A name of the AuthorizationPolicy to get. Must be in the
-// format
-// `projects/{project}/locations/{location}/authorizationPolicies/*`.
+// - name: A name of the AuthorizationPolicy to get. Must be in the
+// format
+// `projects/{project}/locations/{location}/authorizationPolicies/*`.
func (r *ProjectsLocationsAuthorizationPoliciesService) Get(name string) *ProjectsLocationsAuthorizationPoliciesGetCall {
c := &ProjectsLocationsAuthorizationPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2423,10 +2423,10 @@ type ProjectsLocationsAuthorizationPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsAuthorizationPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsAuthorizationPoliciesGetIamPolicyCall {
c := &ProjectsLocationsAuthorizationPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2596,9 +2596,9 @@ type ProjectsLocationsAuthorizationPoliciesListCall struct {
// List: Lists AuthorizationPolicies in a given project and location.
//
-// - parent: The project and location from which the
-// AuthorizationPolicies should be listed, specified in the format
-// `projects/{project}/locations/{location}`.
+// - parent: The project and location from which the
+// AuthorizationPolicies should be listed, specified in the format
+// `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsAuthorizationPoliciesService) List(parent string) *ProjectsLocationsAuthorizationPoliciesListCall {
c := &ProjectsLocationsAuthorizationPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2793,8 +2793,8 @@ type ProjectsLocationsAuthorizationPoliciesPatchCall struct {
// Patch: Updates the parameters of a single AuthorizationPolicy.
//
-// - name: Name of the AuthorizationPolicy resource. It matches pattern
-// `projects/{project}/locations/{location}/authorizationPolicies/`.
+// - name: Name of the AuthorizationPolicy resource. It matches pattern
+// `projects/{project}/locations/{location}/authorizationPolicies/`.
func (r *ProjectsLocationsAuthorizationPoliciesService) Patch(name string, authorizationpolicy *AuthorizationPolicy) *ProjectsLocationsAuthorizationPoliciesPatchCall {
c := &ProjectsLocationsAuthorizationPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2955,10 +2955,10 @@ type ProjectsLocationsAuthorizationPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsAuthorizationPoliciesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsAuthorizationPoliciesSetIamPolicyCall {
c := &ProjectsLocationsAuthorizationPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3105,10 +3105,10 @@ type ProjectsLocationsAuthorizationPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsAuthorizationPoliciesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsAuthorizationPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsAuthorizationPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3252,8 +3252,8 @@ type ProjectsLocationsClientTlsPoliciesCreateCall struct {
// Create: Creates a new ClientTlsPolicy in a given project and
// location.
//
-// - parent: The parent resource of the ClientTlsPolicy. Must be in the
-// format `projects/*/locations/{location}`.
+// - parent: The parent resource of the ClientTlsPolicy. Must be in the
+// format `projects/*/locations/{location}`.
func (r *ProjectsLocationsClientTlsPoliciesService) Create(parent string, clienttlspolicy *ClientTlsPolicy) *ProjectsLocationsClientTlsPoliciesCreateCall {
c := &ProjectsLocationsClientTlsPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3409,8 +3409,8 @@ type ProjectsLocationsClientTlsPoliciesDeleteCall struct {
// Delete: Deletes a single ClientTlsPolicy.
//
-// - name: A name of the ClientTlsPolicy to delete. Must be in the
-// format `projects/*/locations/{location}/clientTlsPolicies/*`.
+// - name: A name of the ClientTlsPolicy to delete. Must be in the
+// format `projects/*/locations/{location}/clientTlsPolicies/*`.
func (r *ProjectsLocationsClientTlsPoliciesService) Delete(name string) *ProjectsLocationsClientTlsPoliciesDeleteCall {
c := &ProjectsLocationsClientTlsPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3543,8 +3543,8 @@ type ProjectsLocationsClientTlsPoliciesGetCall struct {
// Get: Gets details of a single ClientTlsPolicy.
//
-// - name: A name of the ClientTlsPolicy to get. Must be in the format
-// `projects/*/locations/{location}/clientTlsPolicies/*`.
+// - name: A name of the ClientTlsPolicy to get. Must be in the format
+// `projects/*/locations/{location}/clientTlsPolicies/*`.
func (r *ProjectsLocationsClientTlsPoliciesService) Get(name string) *ProjectsLocationsClientTlsPoliciesGetCall {
c := &ProjectsLocationsClientTlsPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3692,10 +3692,10 @@ type ProjectsLocationsClientTlsPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsClientTlsPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsClientTlsPoliciesGetIamPolicyCall {
c := &ProjectsLocationsClientTlsPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3865,9 +3865,9 @@ type ProjectsLocationsClientTlsPoliciesListCall struct {
// List: Lists ClientTlsPolicies in a given project and location.
//
-// - parent: The project and location from which the ClientTlsPolicies
-// should be listed, specified in the format
-// `projects/*/locations/{location}`.
+// - parent: The project and location from which the ClientTlsPolicies
+// should be listed, specified in the format
+// `projects/*/locations/{location}`.
func (r *ProjectsLocationsClientTlsPoliciesService) List(parent string) *ProjectsLocationsClientTlsPoliciesListCall {
c := &ProjectsLocationsClientTlsPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4061,9 +4061,9 @@ type ProjectsLocationsClientTlsPoliciesPatchCall struct {
// Patch: Updates the parameters of a single ClientTlsPolicy.
//
-// - name: Name of the ClientTlsPolicy resource. It matches the pattern
-// `projects/*/locations/{location}/clientTlsPolicies/{client_tls_polic
-// y}`.
+// - name: Name of the ClientTlsPolicy resource. It matches the pattern
+// `projects/*/locations/{location}/clientTlsPolicies/{client_tls_polic
+// y}`.
func (r *ProjectsLocationsClientTlsPoliciesService) Patch(name string, clienttlspolicy *ClientTlsPolicy) *ProjectsLocationsClientTlsPoliciesPatchCall {
c := &ProjectsLocationsClientTlsPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4224,10 +4224,10 @@ type ProjectsLocationsClientTlsPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsClientTlsPoliciesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsClientTlsPoliciesSetIamPolicyCall {
c := &ProjectsLocationsClientTlsPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4374,10 +4374,10 @@ type ProjectsLocationsClientTlsPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsClientTlsPoliciesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsClientTlsPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsClientTlsPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5168,8 +5168,8 @@ type ProjectsLocationsServerTlsPoliciesCreateCall struct {
// Create: Creates a new ServerTlsPolicy in a given project and
// location.
//
-// - parent: The parent resource of the ServerTlsPolicy. Must be in the
-// format `projects/*/locations/{location}`.
+// - parent: The parent resource of the ServerTlsPolicy. Must be in the
+// format `projects/*/locations/{location}`.
func (r *ProjectsLocationsServerTlsPoliciesService) Create(parent string, servertlspolicy *ServerTlsPolicy) *ProjectsLocationsServerTlsPoliciesCreateCall {
c := &ProjectsLocationsServerTlsPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5325,8 +5325,8 @@ type ProjectsLocationsServerTlsPoliciesDeleteCall struct {
// Delete: Deletes a single ServerTlsPolicy.
//
-// - name: A name of the ServerTlsPolicy to delete. Must be in the
-// format `projects/*/locations/{location}/serverTlsPolicies/*`.
+// - name: A name of the ServerTlsPolicy to delete. Must be in the
+// format `projects/*/locations/{location}/serverTlsPolicies/*`.
func (r *ProjectsLocationsServerTlsPoliciesService) Delete(name string) *ProjectsLocationsServerTlsPoliciesDeleteCall {
c := &ProjectsLocationsServerTlsPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5459,8 +5459,8 @@ type ProjectsLocationsServerTlsPoliciesGetCall struct {
// Get: Gets details of a single ServerTlsPolicy.
//
-// - name: A name of the ServerTlsPolicy to get. Must be in the format
-// `projects/*/locations/{location}/serverTlsPolicies/*`.
+// - name: A name of the ServerTlsPolicy to get. Must be in the format
+// `projects/*/locations/{location}/serverTlsPolicies/*`.
func (r *ProjectsLocationsServerTlsPoliciesService) Get(name string) *ProjectsLocationsServerTlsPoliciesGetCall {
c := &ProjectsLocationsServerTlsPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5608,10 +5608,10 @@ type ProjectsLocationsServerTlsPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServerTlsPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsServerTlsPoliciesGetIamPolicyCall {
c := &ProjectsLocationsServerTlsPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5781,9 +5781,9 @@ type ProjectsLocationsServerTlsPoliciesListCall struct {
// List: Lists ServerTlsPolicies in a given project and location.
//
-// - parent: The project and location from which the ServerTlsPolicies
-// should be listed, specified in the format
-// `projects/*/locations/{location}`.
+// - parent: The project and location from which the ServerTlsPolicies
+// should be listed, specified in the format
+// `projects/*/locations/{location}`.
func (r *ProjectsLocationsServerTlsPoliciesService) List(parent string) *ProjectsLocationsServerTlsPoliciesListCall {
c := &ProjectsLocationsServerTlsPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5977,9 +5977,9 @@ type ProjectsLocationsServerTlsPoliciesPatchCall struct {
// Patch: Updates the parameters of a single ServerTlsPolicy.
//
-// - name: Name of the ServerTlsPolicy resource. It matches the pattern
-// `projects/*/locations/{location}/serverTlsPolicies/{server_tls_polic
-// y}`.
+// - name: Name of the ServerTlsPolicy resource. It matches the pattern
+// `projects/*/locations/{location}/serverTlsPolicies/{server_tls_polic
+// y}`.
func (r *ProjectsLocationsServerTlsPoliciesService) Patch(name string, servertlspolicy *ServerTlsPolicy) *ProjectsLocationsServerTlsPoliciesPatchCall {
c := &ProjectsLocationsServerTlsPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6140,10 +6140,10 @@ type ProjectsLocationsServerTlsPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServerTlsPoliciesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsServerTlsPoliciesSetIamPolicyCall {
c := &ProjectsLocationsServerTlsPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6290,10 +6290,10 @@ type ProjectsLocationsServerTlsPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServerTlsPoliciesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsServerTlsPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsServerTlsPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/networksecurity/v1beta1/networksecurity-gen.go b/networksecurity/v1beta1/networksecurity-gen.go
index eef391c11c4..18b0bf04ed2 100644
--- a/networksecurity/v1beta1/networksecurity-gen.go
+++ b/networksecurity/v1beta1/networksecurity-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/networking
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/networksecurity/v1beta1"
-// ...
-// ctx := context.Background()
-// networksecurityService, err := networksecurity.NewService(ctx)
+// import "google.golang.org/api/networksecurity/v1beta1"
+// ...
+// ctx := context.Background()
+// networksecurityService, err := networksecurity.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// networksecurityService, err := networksecurity.NewService(ctx, option.WithAPIKey("AIza..."))
+// networksecurityService, err := networksecurity.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// networksecurityService, err := networksecurity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// networksecurityService, err := networksecurity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package networksecurity // import "google.golang.org/api/networksecurity/v1beta1"
@@ -1772,8 +1772,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1981,8 +1981,8 @@ type ProjectsLocationsAuthorizationPoliciesCreateCall struct {
// Create: Creates a new AuthorizationPolicy in a given project and
// location.
//
-// - parent: The parent resource of the AuthorizationPolicy. Must be in
-// the format `projects/{project}/locations/{location}`.
+// - parent: The parent resource of the AuthorizationPolicy. Must be in
+// the format `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsAuthorizationPoliciesService) Create(parent string, authorizationpolicy *AuthorizationPolicy) *ProjectsLocationsAuthorizationPoliciesCreateCall {
c := &ProjectsLocationsAuthorizationPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2138,9 +2138,9 @@ type ProjectsLocationsAuthorizationPoliciesDeleteCall struct {
// Delete: Deletes a single AuthorizationPolicy.
//
-// - name: A name of the AuthorizationPolicy to delete. Must be in the
-// format
-// `projects/{project}/locations/{location}/authorizationPolicies/*`.
+// - name: A name of the AuthorizationPolicy to delete. Must be in the
+// format
+// `projects/{project}/locations/{location}/authorizationPolicies/*`.
func (r *ProjectsLocationsAuthorizationPoliciesService) Delete(name string) *ProjectsLocationsAuthorizationPoliciesDeleteCall {
c := &ProjectsLocationsAuthorizationPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2273,9 +2273,9 @@ type ProjectsLocationsAuthorizationPoliciesGetCall struct {
// Get: Gets details of a single AuthorizationPolicy.
//
-// - name: A name of the AuthorizationPolicy to get. Must be in the
-// format
-// `projects/{project}/locations/{location}/authorizationPolicies/*`.
+// - name: A name of the AuthorizationPolicy to get. Must be in the
+// format
+// `projects/{project}/locations/{location}/authorizationPolicies/*`.
func (r *ProjectsLocationsAuthorizationPoliciesService) Get(name string) *ProjectsLocationsAuthorizationPoliciesGetCall {
c := &ProjectsLocationsAuthorizationPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2423,10 +2423,10 @@ type ProjectsLocationsAuthorizationPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsAuthorizationPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsAuthorizationPoliciesGetIamPolicyCall {
c := &ProjectsLocationsAuthorizationPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2596,9 +2596,9 @@ type ProjectsLocationsAuthorizationPoliciesListCall struct {
// List: Lists AuthorizationPolicies in a given project and location.
//
-// - parent: The project and location from which the
-// AuthorizationPolicies should be listed, specified in the format
-// `projects/{project}/locations/{location}`.
+// - parent: The project and location from which the
+// AuthorizationPolicies should be listed, specified in the format
+// `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsAuthorizationPoliciesService) List(parent string) *ProjectsLocationsAuthorizationPoliciesListCall {
c := &ProjectsLocationsAuthorizationPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2793,8 +2793,8 @@ type ProjectsLocationsAuthorizationPoliciesPatchCall struct {
// Patch: Updates the parameters of a single AuthorizationPolicy.
//
-// - name: Name of the AuthorizationPolicy resource. It matches pattern
-// `projects/{project}/locations/{location}/authorizationPolicies/`.
+// - name: Name of the AuthorizationPolicy resource. It matches pattern
+// `projects/{project}/locations/{location}/authorizationPolicies/`.
func (r *ProjectsLocationsAuthorizationPoliciesService) Patch(name string, authorizationpolicy *AuthorizationPolicy) *ProjectsLocationsAuthorizationPoliciesPatchCall {
c := &ProjectsLocationsAuthorizationPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2955,10 +2955,10 @@ type ProjectsLocationsAuthorizationPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsAuthorizationPoliciesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsAuthorizationPoliciesSetIamPolicyCall {
c := &ProjectsLocationsAuthorizationPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3105,10 +3105,10 @@ type ProjectsLocationsAuthorizationPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsAuthorizationPoliciesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsAuthorizationPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsAuthorizationPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3252,8 +3252,8 @@ type ProjectsLocationsClientTlsPoliciesCreateCall struct {
// Create: Creates a new ClientTlsPolicy in a given project and
// location.
//
-// - parent: The parent resource of the ClientTlsPolicy. Must be in the
-// format `projects/*/locations/{location}`.
+// - parent: The parent resource of the ClientTlsPolicy. Must be in the
+// format `projects/*/locations/{location}`.
func (r *ProjectsLocationsClientTlsPoliciesService) Create(parent string, clienttlspolicy *ClientTlsPolicy) *ProjectsLocationsClientTlsPoliciesCreateCall {
c := &ProjectsLocationsClientTlsPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3409,8 +3409,8 @@ type ProjectsLocationsClientTlsPoliciesDeleteCall struct {
// Delete: Deletes a single ClientTlsPolicy.
//
-// - name: A name of the ClientTlsPolicy to delete. Must be in the
-// format `projects/*/locations/{location}/clientTlsPolicies/*`.
+// - name: A name of the ClientTlsPolicy to delete. Must be in the
+// format `projects/*/locations/{location}/clientTlsPolicies/*`.
func (r *ProjectsLocationsClientTlsPoliciesService) Delete(name string) *ProjectsLocationsClientTlsPoliciesDeleteCall {
c := &ProjectsLocationsClientTlsPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3543,8 +3543,8 @@ type ProjectsLocationsClientTlsPoliciesGetCall struct {
// Get: Gets details of a single ClientTlsPolicy.
//
-// - name: A name of the ClientTlsPolicy to get. Must be in the format
-// `projects/*/locations/{location}/clientTlsPolicies/*`.
+// - name: A name of the ClientTlsPolicy to get. Must be in the format
+// `projects/*/locations/{location}/clientTlsPolicies/*`.
func (r *ProjectsLocationsClientTlsPoliciesService) Get(name string) *ProjectsLocationsClientTlsPoliciesGetCall {
c := &ProjectsLocationsClientTlsPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3692,10 +3692,10 @@ type ProjectsLocationsClientTlsPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsClientTlsPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsClientTlsPoliciesGetIamPolicyCall {
c := &ProjectsLocationsClientTlsPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3865,9 +3865,9 @@ type ProjectsLocationsClientTlsPoliciesListCall struct {
// List: Lists ClientTlsPolicies in a given project and location.
//
-// - parent: The project and location from which the ClientTlsPolicies
-// should be listed, specified in the format
-// `projects/*/locations/{location}`.
+// - parent: The project and location from which the ClientTlsPolicies
+// should be listed, specified in the format
+// `projects/*/locations/{location}`.
func (r *ProjectsLocationsClientTlsPoliciesService) List(parent string) *ProjectsLocationsClientTlsPoliciesListCall {
c := &ProjectsLocationsClientTlsPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4061,9 +4061,9 @@ type ProjectsLocationsClientTlsPoliciesPatchCall struct {
// Patch: Updates the parameters of a single ClientTlsPolicy.
//
-// - name: Name of the ClientTlsPolicy resource. It matches the pattern
-// `projects/*/locations/{location}/clientTlsPolicies/{client_tls_polic
-// y}`.
+// - name: Name of the ClientTlsPolicy resource. It matches the pattern
+// `projects/*/locations/{location}/clientTlsPolicies/{client_tls_polic
+// y}`.
func (r *ProjectsLocationsClientTlsPoliciesService) Patch(name string, clienttlspolicy *ClientTlsPolicy) *ProjectsLocationsClientTlsPoliciesPatchCall {
c := &ProjectsLocationsClientTlsPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4224,10 +4224,10 @@ type ProjectsLocationsClientTlsPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsClientTlsPoliciesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsClientTlsPoliciesSetIamPolicyCall {
c := &ProjectsLocationsClientTlsPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4374,10 +4374,10 @@ type ProjectsLocationsClientTlsPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsClientTlsPoliciesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsClientTlsPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsClientTlsPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5168,8 +5168,8 @@ type ProjectsLocationsServerTlsPoliciesCreateCall struct {
// Create: Creates a new ServerTlsPolicy in a given project and
// location.
//
-// - parent: The parent resource of the ServerTlsPolicy. Must be in the
-// format `projects/*/locations/{location}`.
+// - parent: The parent resource of the ServerTlsPolicy. Must be in the
+// format `projects/*/locations/{location}`.
func (r *ProjectsLocationsServerTlsPoliciesService) Create(parent string, servertlspolicy *ServerTlsPolicy) *ProjectsLocationsServerTlsPoliciesCreateCall {
c := &ProjectsLocationsServerTlsPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5325,8 +5325,8 @@ type ProjectsLocationsServerTlsPoliciesDeleteCall struct {
// Delete: Deletes a single ServerTlsPolicy.
//
-// - name: A name of the ServerTlsPolicy to delete. Must be in the
-// format `projects/*/locations/{location}/serverTlsPolicies/*`.
+// - name: A name of the ServerTlsPolicy to delete. Must be in the
+// format `projects/*/locations/{location}/serverTlsPolicies/*`.
func (r *ProjectsLocationsServerTlsPoliciesService) Delete(name string) *ProjectsLocationsServerTlsPoliciesDeleteCall {
c := &ProjectsLocationsServerTlsPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5459,8 +5459,8 @@ type ProjectsLocationsServerTlsPoliciesGetCall struct {
// Get: Gets details of a single ServerTlsPolicy.
//
-// - name: A name of the ServerTlsPolicy to get. Must be in the format
-// `projects/*/locations/{location}/serverTlsPolicies/*`.
+// - name: A name of the ServerTlsPolicy to get. Must be in the format
+// `projects/*/locations/{location}/serverTlsPolicies/*`.
func (r *ProjectsLocationsServerTlsPoliciesService) Get(name string) *ProjectsLocationsServerTlsPoliciesGetCall {
c := &ProjectsLocationsServerTlsPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5608,10 +5608,10 @@ type ProjectsLocationsServerTlsPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServerTlsPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsServerTlsPoliciesGetIamPolicyCall {
c := &ProjectsLocationsServerTlsPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5781,9 +5781,9 @@ type ProjectsLocationsServerTlsPoliciesListCall struct {
// List: Lists ServerTlsPolicies in a given project and location.
//
-// - parent: The project and location from which the ServerTlsPolicies
-// should be listed, specified in the format
-// `projects/*/locations/{location}`.
+// - parent: The project and location from which the ServerTlsPolicies
+// should be listed, specified in the format
+// `projects/*/locations/{location}`.
func (r *ProjectsLocationsServerTlsPoliciesService) List(parent string) *ProjectsLocationsServerTlsPoliciesListCall {
c := &ProjectsLocationsServerTlsPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5977,9 +5977,9 @@ type ProjectsLocationsServerTlsPoliciesPatchCall struct {
// Patch: Updates the parameters of a single ServerTlsPolicy.
//
-// - name: Name of the ServerTlsPolicy resource. It matches the pattern
-// `projects/*/locations/{location}/serverTlsPolicies/{server_tls_polic
-// y}`.
+// - name: Name of the ServerTlsPolicy resource. It matches the pattern
+// `projects/*/locations/{location}/serverTlsPolicies/{server_tls_polic
+// y}`.
func (r *ProjectsLocationsServerTlsPoliciesService) Patch(name string, servertlspolicy *ServerTlsPolicy) *ProjectsLocationsServerTlsPoliciesPatchCall {
c := &ProjectsLocationsServerTlsPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6140,10 +6140,10 @@ type ProjectsLocationsServerTlsPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServerTlsPoliciesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsServerTlsPoliciesSetIamPolicyCall {
c := &ProjectsLocationsServerTlsPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6290,10 +6290,10 @@ type ProjectsLocationsServerTlsPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServerTlsPoliciesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsServerTlsPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsServerTlsPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/networkservices/v1/networkservices-gen.go b/networkservices/v1/networkservices-gen.go
index 41be94e50ac..f1d3c9f37fa 100644
--- a/networkservices/v1/networkservices-gen.go
+++ b/networkservices/v1/networkservices-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/networking
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/networkservices/v1"
-// ...
-// ctx := context.Background()
-// networkservicesService, err := networkservices.NewService(ctx)
+// import "google.golang.org/api/networkservices/v1"
+// ...
+// ctx := context.Background()
+// networkservicesService, err := networkservices.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// networkservicesService, err := networkservices.NewService(ctx, option.WithAPIKey("AIza..."))
+// networkservicesService, err := networkservices.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// networkservicesService, err := networkservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// networkservicesService, err := networkservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package networkservices // import "google.golang.org/api/networkservices/v1"
@@ -3717,8 +3717,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3927,10 +3927,10 @@ type ProjectsLocationsEdgeCacheKeysetsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEdgeCacheKeysetsService) GetIamPolicy(resource string) *ProjectsLocationsEdgeCacheKeysetsGetIamPolicyCall {
c := &ProjectsLocationsEdgeCacheKeysetsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4102,10 +4102,10 @@ type ProjectsLocationsEdgeCacheKeysetsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEdgeCacheKeysetsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEdgeCacheKeysetsSetIamPolicyCall {
c := &ProjectsLocationsEdgeCacheKeysetsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4252,10 +4252,10 @@ type ProjectsLocationsEdgeCacheKeysetsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEdgeCacheKeysetsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEdgeCacheKeysetsTestIamPermissionsCall {
c := &ProjectsLocationsEdgeCacheKeysetsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4399,10 +4399,10 @@ type ProjectsLocationsEdgeCacheOriginsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEdgeCacheOriginsService) GetIamPolicy(resource string) *ProjectsLocationsEdgeCacheOriginsGetIamPolicyCall {
c := &ProjectsLocationsEdgeCacheOriginsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4574,10 +4574,10 @@ type ProjectsLocationsEdgeCacheOriginsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEdgeCacheOriginsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEdgeCacheOriginsSetIamPolicyCall {
c := &ProjectsLocationsEdgeCacheOriginsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4724,10 +4724,10 @@ type ProjectsLocationsEdgeCacheOriginsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEdgeCacheOriginsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEdgeCacheOriginsTestIamPermissionsCall {
c := &ProjectsLocationsEdgeCacheOriginsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4871,10 +4871,10 @@ type ProjectsLocationsEdgeCacheServicesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEdgeCacheServicesService) GetIamPolicy(resource string) *ProjectsLocationsEdgeCacheServicesGetIamPolicyCall {
c := &ProjectsLocationsEdgeCacheServicesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5046,10 +5046,10 @@ type ProjectsLocationsEdgeCacheServicesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEdgeCacheServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEdgeCacheServicesSetIamPolicyCall {
c := &ProjectsLocationsEdgeCacheServicesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5196,10 +5196,10 @@ type ProjectsLocationsEdgeCacheServicesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEdgeCacheServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEdgeCacheServicesTestIamPermissionsCall {
c := &ProjectsLocationsEdgeCacheServicesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5341,8 +5341,8 @@ type ProjectsLocationsEndpointPoliciesCreateCall struct {
// Create: Creates a new EndpointPolicy in a given project and location.
//
-// - parent: The parent resource of the EndpointPolicy. Must be in the
-// format `projects/*/locations/global`.
+// - parent: The parent resource of the EndpointPolicy. Must be in the
+// format `projects/*/locations/global`.
func (r *ProjectsLocationsEndpointPoliciesService) Create(parent string, endpointpolicy *EndpointPolicy) *ProjectsLocationsEndpointPoliciesCreateCall {
c := &ProjectsLocationsEndpointPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5496,8 +5496,8 @@ type ProjectsLocationsEndpointPoliciesDeleteCall struct {
// Delete: Deletes a single EndpointPolicy.
//
-// - name: A name of the EndpointPolicy to delete. Must be in the format
-// `projects/*/locations/global/endpointPolicies/*`.
+// - name: A name of the EndpointPolicy to delete. Must be in the format
+// `projects/*/locations/global/endpointPolicies/*`.
func (r *ProjectsLocationsEndpointPoliciesService) Delete(name string) *ProjectsLocationsEndpointPoliciesDeleteCall {
c := &ProjectsLocationsEndpointPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5630,8 +5630,8 @@ type ProjectsLocationsEndpointPoliciesGetCall struct {
// Get: Gets details of a single EndpointPolicy.
//
-// - name: A name of the EndpointPolicy to get. Must be in the format
-// `projects/*/locations/global/endpointPolicies/*`.
+// - name: A name of the EndpointPolicy to get. Must be in the format
+// `projects/*/locations/global/endpointPolicies/*`.
func (r *ProjectsLocationsEndpointPoliciesService) Get(name string) *ProjectsLocationsEndpointPoliciesGetCall {
c := &ProjectsLocationsEndpointPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5779,10 +5779,10 @@ type ProjectsLocationsEndpointPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEndpointPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall {
c := &ProjectsLocationsEndpointPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5952,9 +5952,9 @@ type ProjectsLocationsEndpointPoliciesListCall struct {
// List: Lists EndpointPolicies in a given project and location.
//
-// - parent: The project and location from which the EndpointPolicies
-// should be listed, specified in the format
-// `projects/*/locations/global`.
+// - parent: The project and location from which the EndpointPolicies
+// should be listed, specified in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsEndpointPoliciesService) List(parent string) *ProjectsLocationsEndpointPoliciesListCall {
c := &ProjectsLocationsEndpointPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6148,9 +6148,9 @@ type ProjectsLocationsEndpointPoliciesPatchCall struct {
// Patch: Updates the parameters of a single EndpointPolicy.
//
-// - name: Name of the EndpointPolicy resource. It matches pattern
-// `projects/{project}/locations/global/endpointPolicies/{endpoint_poli
-// cy}`.
+// - name: Name of the EndpointPolicy resource. It matches pattern
+// `projects/{project}/locations/global/endpointPolicies/{endpoint_poli
+// cy}`.
func (r *ProjectsLocationsEndpointPoliciesService) Patch(name string, endpointpolicy *EndpointPolicy) *ProjectsLocationsEndpointPoliciesPatchCall {
c := &ProjectsLocationsEndpointPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6311,10 +6311,10 @@ type ProjectsLocationsEndpointPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEndpointPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEndpointPoliciesSetIamPolicyCall {
c := &ProjectsLocationsEndpointPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6461,10 +6461,10 @@ type ProjectsLocationsEndpointPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEndpointPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsEndpointPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6606,8 +6606,8 @@ type ProjectsLocationsGatewaysCreateCall struct {
// Create: Creates a new Gateway in a given project and location.
//
-// - parent: The parent resource of the Gateway. Must be in the format
-// `projects/*/locations/*`.
+// - parent: The parent resource of the Gateway. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsGatewaysService) Create(parent string, gateway *Gateway) *ProjectsLocationsGatewaysCreateCall {
c := &ProjectsLocationsGatewaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6760,8 +6760,8 @@ type ProjectsLocationsGatewaysDeleteCall struct {
// Delete: Deletes a single Gateway.
//
-// - name: A name of the Gateway to delete. Must be in the format
-// `projects/*/locations/*/gateways/*`.
+// - name: A name of the Gateway to delete. Must be in the format
+// `projects/*/locations/*/gateways/*`.
func (r *ProjectsLocationsGatewaysService) Delete(name string) *ProjectsLocationsGatewaysDeleteCall {
c := &ProjectsLocationsGatewaysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6894,8 +6894,8 @@ type ProjectsLocationsGatewaysGetCall struct {
// Get: Gets details of a single Gateway.
//
-// - name: A name of the Gateway to get. Must be in the format
-// `projects/*/locations/*/gateways/*`.
+// - name: A name of the Gateway to get. Must be in the format
+// `projects/*/locations/*/gateways/*`.
func (r *ProjectsLocationsGatewaysService) Get(name string) *ProjectsLocationsGatewaysGetCall {
c := &ProjectsLocationsGatewaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7043,10 +7043,10 @@ type ProjectsLocationsGatewaysGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGatewaysService) GetIamPolicy(resource string) *ProjectsLocationsGatewaysGetIamPolicyCall {
c := &ProjectsLocationsGatewaysGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7216,8 +7216,8 @@ type ProjectsLocationsGatewaysListCall struct {
// List: Lists Gateways in a given project and location.
//
-// - parent: The project and location from which the Gateways should be
-// listed, specified in the format `projects/*/locations/*`.
+// - parent: The project and location from which the Gateways should be
+// listed, specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsGatewaysService) List(parent string) *ProjectsLocationsGatewaysListCall {
c := &ProjectsLocationsGatewaysListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7411,8 +7411,8 @@ type ProjectsLocationsGatewaysPatchCall struct {
// Patch: Updates the parameters of a single Gateway.
//
-// - name: Name of the Gateway resource. It matches pattern
-// `projects/*/locations/*/gateways/`.
+// - name: Name of the Gateway resource. It matches pattern
+// `projects/*/locations/*/gateways/`.
func (r *ProjectsLocationsGatewaysService) Patch(name string, gateway *Gateway) *ProjectsLocationsGatewaysPatchCall {
c := &ProjectsLocationsGatewaysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7573,10 +7573,10 @@ type ProjectsLocationsGatewaysSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGatewaysService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGatewaysSetIamPolicyCall {
c := &ProjectsLocationsGatewaysSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7723,10 +7723,10 @@ type ProjectsLocationsGatewaysTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGatewaysService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGatewaysTestIamPermissionsCall {
c := &ProjectsLocationsGatewaysTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7868,8 +7868,8 @@ type ProjectsLocationsGrpcRoutesCreateCall struct {
// Create: Creates a new GrpcRoute in a given project and location.
//
-// - parent: The parent resource of the GrpcRoute. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the GrpcRoute. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsGrpcRoutesService) Create(parent string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesCreateCall {
c := &ProjectsLocationsGrpcRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8022,8 +8022,8 @@ type ProjectsLocationsGrpcRoutesDeleteCall struct {
// Delete: Deletes a single GrpcRoute.
//
-// - name: A name of the GrpcRoute to delete. Must be in the format
-// `projects/*/locations/global/grpcRoutes/*`.
+// - name: A name of the GrpcRoute to delete. Must be in the format
+// `projects/*/locations/global/grpcRoutes/*`.
func (r *ProjectsLocationsGrpcRoutesService) Delete(name string) *ProjectsLocationsGrpcRoutesDeleteCall {
c := &ProjectsLocationsGrpcRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8156,8 +8156,8 @@ type ProjectsLocationsGrpcRoutesGetCall struct {
// Get: Gets details of a single GrpcRoute.
//
-// - name: A name of the GrpcRoute to get. Must be in the format
-// `projects/*/locations/global/grpcRoutes/*`.
+// - name: A name of the GrpcRoute to get. Must be in the format
+// `projects/*/locations/global/grpcRoutes/*`.
func (r *ProjectsLocationsGrpcRoutesService) Get(name string) *ProjectsLocationsGrpcRoutesGetCall {
c := &ProjectsLocationsGrpcRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8303,8 +8303,8 @@ type ProjectsLocationsGrpcRoutesListCall struct {
// List: Lists GrpcRoutes in a given project and location.
//
-// - parent: The project and location from which the GrpcRoutes should
-// be listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the GrpcRoutes should
+// be listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsGrpcRoutesService) List(parent string) *ProjectsLocationsGrpcRoutesListCall {
c := &ProjectsLocationsGrpcRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8498,8 +8498,8 @@ type ProjectsLocationsGrpcRoutesPatchCall struct {
// Patch: Updates the parameters of a single GrpcRoute.
//
-// - name: Name of the GrpcRoute resource. It matches pattern
-// `projects/*/locations/global/grpcRoutes/`.
+// - name: Name of the GrpcRoute resource. It matches pattern
+// `projects/*/locations/global/grpcRoutes/`.
func (r *ProjectsLocationsGrpcRoutesService) Patch(name string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesPatchCall {
c := &ProjectsLocationsGrpcRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8658,8 +8658,8 @@ type ProjectsLocationsHttpRoutesCreateCall struct {
// Create: Creates a new HttpRoute in a given project and location.
//
-// - parent: The parent resource of the HttpRoute. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the HttpRoute. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsHttpRoutesService) Create(parent string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesCreateCall {
c := &ProjectsLocationsHttpRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8812,8 +8812,8 @@ type ProjectsLocationsHttpRoutesDeleteCall struct {
// Delete: Deletes a single HttpRoute.
//
-// - name: A name of the HttpRoute to delete. Must be in the format
-// `projects/*/locations/global/httpRoutes/*`.
+// - name: A name of the HttpRoute to delete. Must be in the format
+// `projects/*/locations/global/httpRoutes/*`.
func (r *ProjectsLocationsHttpRoutesService) Delete(name string) *ProjectsLocationsHttpRoutesDeleteCall {
c := &ProjectsLocationsHttpRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8946,8 +8946,8 @@ type ProjectsLocationsHttpRoutesGetCall struct {
// Get: Gets details of a single HttpRoute.
//
-// - name: A name of the HttpRoute to get. Must be in the format
-// `projects/*/locations/global/httpRoutes/*`.
+// - name: A name of the HttpRoute to get. Must be in the format
+// `projects/*/locations/global/httpRoutes/*`.
func (r *ProjectsLocationsHttpRoutesService) Get(name string) *ProjectsLocationsHttpRoutesGetCall {
c := &ProjectsLocationsHttpRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9093,8 +9093,8 @@ type ProjectsLocationsHttpRoutesListCall struct {
// List: Lists HttpRoute in a given project and location.
//
-// - parent: The project and location from which the HttpRoutes should
-// be listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the HttpRoutes should
+// be listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsHttpRoutesService) List(parent string) *ProjectsLocationsHttpRoutesListCall {
c := &ProjectsLocationsHttpRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9288,8 +9288,8 @@ type ProjectsLocationsHttpRoutesPatchCall struct {
// Patch: Updates the parameters of a single HttpRoute.
//
-// - name: Name of the HttpRoute resource. It matches pattern
-// `projects/*/locations/global/httpRoutes/http_route_name>`.
+// - name: Name of the HttpRoute resource. It matches pattern
+// `projects/*/locations/global/httpRoutes/http_route_name>`.
func (r *ProjectsLocationsHttpRoutesService) Patch(name string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesPatchCall {
c := &ProjectsLocationsHttpRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9448,8 +9448,8 @@ type ProjectsLocationsMeshesCreateCall struct {
// Create: Creates a new Mesh in a given project and location.
//
-// - parent: The parent resource of the Mesh. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the Mesh. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsMeshesService) Create(parent string, mesh *Mesh) *ProjectsLocationsMeshesCreateCall {
c := &ProjectsLocationsMeshesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9602,8 +9602,8 @@ type ProjectsLocationsMeshesDeleteCall struct {
// Delete: Deletes a single Mesh.
//
-// - name: A name of the Mesh to delete. Must be in the format
-// `projects/*/locations/global/meshes/*`.
+// - name: A name of the Mesh to delete. Must be in the format
+// `projects/*/locations/global/meshes/*`.
func (r *ProjectsLocationsMeshesService) Delete(name string) *ProjectsLocationsMeshesDeleteCall {
c := &ProjectsLocationsMeshesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9736,8 +9736,8 @@ type ProjectsLocationsMeshesGetCall struct {
// Get: Gets details of a single Mesh.
//
-// - name: A name of the Mesh to get. Must be in the format
-// `projects/*/locations/global/meshes/*`.
+// - name: A name of the Mesh to get. Must be in the format
+// `projects/*/locations/global/meshes/*`.
func (r *ProjectsLocationsMeshesService) Get(name string) *ProjectsLocationsMeshesGetCall {
c := &ProjectsLocationsMeshesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9885,10 +9885,10 @@ type ProjectsLocationsMeshesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMeshesService) GetIamPolicy(resource string) *ProjectsLocationsMeshesGetIamPolicyCall {
c := &ProjectsLocationsMeshesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10058,8 +10058,8 @@ type ProjectsLocationsMeshesListCall struct {
// List: Lists Meshes in a given project and location.
//
-// - parent: The project and location from which the Meshes should be
-// listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the Meshes should be
+// listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsMeshesService) List(parent string) *ProjectsLocationsMeshesListCall {
c := &ProjectsLocationsMeshesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10253,8 +10253,8 @@ type ProjectsLocationsMeshesPatchCall struct {
// Patch: Updates the parameters of a single Mesh.
//
-// - name: Name of the Mesh resource. It matches pattern
-// `projects/*/locations/global/meshes/`.
+// - name: Name of the Mesh resource. It matches pattern
+// `projects/*/locations/global/meshes/`.
func (r *ProjectsLocationsMeshesService) Patch(name string, mesh *Mesh) *ProjectsLocationsMeshesPatchCall {
c := &ProjectsLocationsMeshesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10415,10 +10415,10 @@ type ProjectsLocationsMeshesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMeshesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMeshesSetIamPolicyCall {
c := &ProjectsLocationsMeshesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10565,10 +10565,10 @@ type ProjectsLocationsMeshesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMeshesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMeshesTestIamPermissionsCall {
c := &ProjectsLocationsMeshesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11357,8 +11357,8 @@ type ProjectsLocationsServiceBindingsCreateCall struct {
// Create: Creates a new ServiceBinding in a given project and location.
//
-// - parent: The parent resource of the ServiceBinding. Must be in the
-// format `projects/*/locations/global`.
+// - parent: The parent resource of the ServiceBinding. Must be in the
+// format `projects/*/locations/global`.
func (r *ProjectsLocationsServiceBindingsService) Create(parent string, servicebinding *ServiceBinding) *ProjectsLocationsServiceBindingsCreateCall {
c := &ProjectsLocationsServiceBindingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11511,8 +11511,8 @@ type ProjectsLocationsServiceBindingsDeleteCall struct {
// Delete: Deletes a single ServiceBinding.
//
-// - name: A name of the ServiceBinding to delete. Must be in the format
-// `projects/*/locations/global/serviceBindings/*`.
+// - name: A name of the ServiceBinding to delete. Must be in the format
+// `projects/*/locations/global/serviceBindings/*`.
func (r *ProjectsLocationsServiceBindingsService) Delete(name string) *ProjectsLocationsServiceBindingsDeleteCall {
c := &ProjectsLocationsServiceBindingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11645,8 +11645,8 @@ type ProjectsLocationsServiceBindingsGetCall struct {
// Get: Gets details of a single ServiceBinding.
//
-// - name: A name of the ServiceBinding to get. Must be in the format
-// `projects/*/locations/global/serviceBindings/*`.
+// - name: A name of the ServiceBinding to get. Must be in the format
+// `projects/*/locations/global/serviceBindings/*`.
func (r *ProjectsLocationsServiceBindingsService) Get(name string) *ProjectsLocationsServiceBindingsGetCall {
c := &ProjectsLocationsServiceBindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11794,10 +11794,10 @@ type ProjectsLocationsServiceBindingsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceBindingsService) GetIamPolicy(resource string) *ProjectsLocationsServiceBindingsGetIamPolicyCall {
c := &ProjectsLocationsServiceBindingsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11967,9 +11967,9 @@ type ProjectsLocationsServiceBindingsListCall struct {
// List: Lists ServiceBinding in a given project and location.
//
-// - parent: The project and location from which the ServiceBindings
-// should be listed, specified in the format
-// `projects/*/locations/global`.
+// - parent: The project and location from which the ServiceBindings
+// should be listed, specified in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsServiceBindingsService) List(parent string) *ProjectsLocationsServiceBindingsListCall {
c := &ProjectsLocationsServiceBindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12165,10 +12165,10 @@ type ProjectsLocationsServiceBindingsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceBindingsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServiceBindingsSetIamPolicyCall {
c := &ProjectsLocationsServiceBindingsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -12315,10 +12315,10 @@ type ProjectsLocationsServiceBindingsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceBindingsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServiceBindingsTestIamPermissionsCall {
c := &ProjectsLocationsServiceBindingsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -12460,8 +12460,8 @@ type ProjectsLocationsTcpRoutesCreateCall struct {
// Create: Creates a new TcpRoute in a given project and location.
//
-// - parent: The parent resource of the TcpRoute. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the TcpRoute. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsTcpRoutesService) Create(parent string, tcproute *TcpRoute) *ProjectsLocationsTcpRoutesCreateCall {
c := &ProjectsLocationsTcpRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12615,8 +12615,8 @@ type ProjectsLocationsTcpRoutesDeleteCall struct {
// Delete: Deletes a single TcpRoute.
//
-// - name: A name of the TcpRoute to delete. Must be in the format
-// `projects/*/locations/global/tcpRoutes/*`.
+// - name: A name of the TcpRoute to delete. Must be in the format
+// `projects/*/locations/global/tcpRoutes/*`.
func (r *ProjectsLocationsTcpRoutesService) Delete(name string) *ProjectsLocationsTcpRoutesDeleteCall {
c := &ProjectsLocationsTcpRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12749,8 +12749,8 @@ type ProjectsLocationsTcpRoutesGetCall struct {
// Get: Gets details of a single TcpRoute.
//
-// - name: A name of the TcpRoute to get. Must be in the format
-// `projects/*/locations/global/tcpRoutes/*`.
+// - name: A name of the TcpRoute to get. Must be in the format
+// `projects/*/locations/global/tcpRoutes/*`.
func (r *ProjectsLocationsTcpRoutesService) Get(name string) *ProjectsLocationsTcpRoutesGetCall {
c := &ProjectsLocationsTcpRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12896,8 +12896,8 @@ type ProjectsLocationsTcpRoutesListCall struct {
// List: Lists TcpRoute in a given project and location.
//
-// - parent: The project and location from which the TcpRoutes should be
-// listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the TcpRoutes should be
+// listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsTcpRoutesService) List(parent string) *ProjectsLocationsTcpRoutesListCall {
c := &ProjectsLocationsTcpRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13091,8 +13091,8 @@ type ProjectsLocationsTcpRoutesPatchCall struct {
// Patch: Updates the parameters of a single TcpRoute.
//
-// - name: Name of the TcpRoute resource. It matches pattern
-// `projects/*/locations/global/tcpRoutes/tcp_route_name>`.
+// - name: Name of the TcpRoute resource. It matches pattern
+// `projects/*/locations/global/tcpRoutes/tcp_route_name>`.
func (r *ProjectsLocationsTcpRoutesService) Patch(name string, tcproute *TcpRoute) *ProjectsLocationsTcpRoutesPatchCall {
c := &ProjectsLocationsTcpRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13251,8 +13251,8 @@ type ProjectsLocationsTlsRoutesCreateCall struct {
// Create: Creates a new TlsRoute in a given project and location.
//
-// - parent: The parent resource of the TlsRoute. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the TlsRoute. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsTlsRoutesService) Create(parent string, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesCreateCall {
c := &ProjectsLocationsTlsRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13406,8 +13406,8 @@ type ProjectsLocationsTlsRoutesDeleteCall struct {
// Delete: Deletes a single TlsRoute.
//
-// - name: A name of the TlsRoute to delete. Must be in the format
-// `projects/*/locations/global/tlsRoutes/*`.
+// - name: A name of the TlsRoute to delete. Must be in the format
+// `projects/*/locations/global/tlsRoutes/*`.
func (r *ProjectsLocationsTlsRoutesService) Delete(name string) *ProjectsLocationsTlsRoutesDeleteCall {
c := &ProjectsLocationsTlsRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13540,8 +13540,8 @@ type ProjectsLocationsTlsRoutesGetCall struct {
// Get: Gets details of a single TlsRoute.
//
-// - name: A name of the TlsRoute to get. Must be in the format
-// `projects/*/locations/global/tlsRoutes/*`.
+// - name: A name of the TlsRoute to get. Must be in the format
+// `projects/*/locations/global/tlsRoutes/*`.
func (r *ProjectsLocationsTlsRoutesService) Get(name string) *ProjectsLocationsTlsRoutesGetCall {
c := &ProjectsLocationsTlsRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13687,8 +13687,8 @@ type ProjectsLocationsTlsRoutesListCall struct {
// List: Lists TlsRoute in a given project and location.
//
-// - parent: The project and location from which the TlsRoutes should be
-// listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the TlsRoutes should be
+// listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsTlsRoutesService) List(parent string) *ProjectsLocationsTlsRoutesListCall {
c := &ProjectsLocationsTlsRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13882,8 +13882,8 @@ type ProjectsLocationsTlsRoutesPatchCall struct {
// Patch: Updates the parameters of a single TlsRoute.
//
-// - name: Name of the TlsRoute resource. It matches pattern
-// `projects/*/locations/global/tlsRoutes/tls_route_name>`.
+// - name: Name of the TlsRoute resource. It matches pattern
+// `projects/*/locations/global/tlsRoutes/tls_route_name>`.
func (r *ProjectsLocationsTlsRoutesService) Patch(name string, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesPatchCall {
c := &ProjectsLocationsTlsRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/networkservices/v1beta1/networkservices-gen.go b/networkservices/v1beta1/networkservices-gen.go
index ff58d329ae3..da23d459709 100644
--- a/networkservices/v1beta1/networkservices-gen.go
+++ b/networkservices/v1beta1/networkservices-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/networking
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/networkservices/v1beta1"
-// ...
-// ctx := context.Background()
-// networkservicesService, err := networkservices.NewService(ctx)
+// import "google.golang.org/api/networkservices/v1beta1"
+// ...
+// ctx := context.Background()
+// networkservicesService, err := networkservices.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// networkservicesService, err := networkservices.NewService(ctx, option.WithAPIKey("AIza..."))
+// networkservicesService, err := networkservices.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// networkservicesService, err := networkservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// networkservicesService, err := networkservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package networkservices // import "google.golang.org/api/networkservices/v1beta1"
@@ -3680,8 +3680,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3888,8 +3888,8 @@ type ProjectsLocationsEndpointPoliciesCreateCall struct {
// Create: Creates a new EndpointPolicy in a given project and location.
//
-// - parent: The parent resource of the EndpointPolicy. Must be in the
-// format `projects/*/locations/global`.
+// - parent: The parent resource of the EndpointPolicy. Must be in the
+// format `projects/*/locations/global`.
func (r *ProjectsLocationsEndpointPoliciesService) Create(parent string, endpointpolicy *EndpointPolicy) *ProjectsLocationsEndpointPoliciesCreateCall {
c := &ProjectsLocationsEndpointPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4043,8 +4043,8 @@ type ProjectsLocationsEndpointPoliciesDeleteCall struct {
// Delete: Deletes a single EndpointPolicy.
//
-// - name: A name of the EndpointPolicy to delete. Must be in the format
-// `projects/*/locations/global/endpointPolicies/*`.
+// - name: A name of the EndpointPolicy to delete. Must be in the format
+// `projects/*/locations/global/endpointPolicies/*`.
func (r *ProjectsLocationsEndpointPoliciesService) Delete(name string) *ProjectsLocationsEndpointPoliciesDeleteCall {
c := &ProjectsLocationsEndpointPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4177,8 +4177,8 @@ type ProjectsLocationsEndpointPoliciesGetCall struct {
// Get: Gets details of a single EndpointPolicy.
//
-// - name: A name of the EndpointPolicy to get. Must be in the format
-// `projects/*/locations/global/endpointPolicies/*`.
+// - name: A name of the EndpointPolicy to get. Must be in the format
+// `projects/*/locations/global/endpointPolicies/*`.
func (r *ProjectsLocationsEndpointPoliciesService) Get(name string) *ProjectsLocationsEndpointPoliciesGetCall {
c := &ProjectsLocationsEndpointPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4326,10 +4326,10 @@ type ProjectsLocationsEndpointPoliciesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEndpointPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsEndpointPoliciesGetIamPolicyCall {
c := &ProjectsLocationsEndpointPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4499,9 +4499,9 @@ type ProjectsLocationsEndpointPoliciesListCall struct {
// List: Lists EndpointPolicies in a given project and location.
//
-// - parent: The project and location from which the EndpointPolicies
-// should be listed, specified in the format
-// `projects/*/locations/global`.
+// - parent: The project and location from which the EndpointPolicies
+// should be listed, specified in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsEndpointPoliciesService) List(parent string) *ProjectsLocationsEndpointPoliciesListCall {
c := &ProjectsLocationsEndpointPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4695,9 +4695,9 @@ type ProjectsLocationsEndpointPoliciesPatchCall struct {
// Patch: Updates the parameters of a single EndpointPolicy.
//
-// - name: Name of the EndpointPolicy resource. It matches pattern
-// `projects/{project}/locations/global/endpointPolicies/{endpoint_poli
-// cy}`.
+// - name: Name of the EndpointPolicy resource. It matches pattern
+// `projects/{project}/locations/global/endpointPolicies/{endpoint_poli
+// cy}`.
func (r *ProjectsLocationsEndpointPoliciesService) Patch(name string, endpointpolicy *EndpointPolicy) *ProjectsLocationsEndpointPoliciesPatchCall {
c := &ProjectsLocationsEndpointPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4858,10 +4858,10 @@ type ProjectsLocationsEndpointPoliciesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEndpointPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEndpointPoliciesSetIamPolicyCall {
c := &ProjectsLocationsEndpointPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5008,10 +5008,10 @@ type ProjectsLocationsEndpointPoliciesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsEndpointPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEndpointPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsEndpointPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5153,8 +5153,8 @@ type ProjectsLocationsGatewaysCreateCall struct {
// Create: Creates a new Gateway in a given project and location.
//
-// - parent: The parent resource of the Gateway. Must be in the format
-// `projects/*/locations/*`.
+// - parent: The parent resource of the Gateway. Must be in the format
+// `projects/*/locations/*`.
func (r *ProjectsLocationsGatewaysService) Create(parent string, gateway *Gateway) *ProjectsLocationsGatewaysCreateCall {
c := &ProjectsLocationsGatewaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5307,8 +5307,8 @@ type ProjectsLocationsGatewaysDeleteCall struct {
// Delete: Deletes a single Gateway.
//
-// - name: A name of the Gateway to delete. Must be in the format
-// `projects/*/locations/*/gateways/*`.
+// - name: A name of the Gateway to delete. Must be in the format
+// `projects/*/locations/*/gateways/*`.
func (r *ProjectsLocationsGatewaysService) Delete(name string) *ProjectsLocationsGatewaysDeleteCall {
c := &ProjectsLocationsGatewaysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5441,8 +5441,8 @@ type ProjectsLocationsGatewaysGetCall struct {
// Get: Gets details of a single Gateway.
//
-// - name: A name of the Gateway to get. Must be in the format
-// `projects/*/locations/*/gateways/*`.
+// - name: A name of the Gateway to get. Must be in the format
+// `projects/*/locations/*/gateways/*`.
func (r *ProjectsLocationsGatewaysService) Get(name string) *ProjectsLocationsGatewaysGetCall {
c := &ProjectsLocationsGatewaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5590,10 +5590,10 @@ type ProjectsLocationsGatewaysGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGatewaysService) GetIamPolicy(resource string) *ProjectsLocationsGatewaysGetIamPolicyCall {
c := &ProjectsLocationsGatewaysGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5763,8 +5763,8 @@ type ProjectsLocationsGatewaysListCall struct {
// List: Lists Gateways in a given project and location.
//
-// - parent: The project and location from which the Gateways should be
-// listed, specified in the format `projects/*/locations/*`.
+// - parent: The project and location from which the Gateways should be
+// listed, specified in the format `projects/*/locations/*`.
func (r *ProjectsLocationsGatewaysService) List(parent string) *ProjectsLocationsGatewaysListCall {
c := &ProjectsLocationsGatewaysListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5958,8 +5958,8 @@ type ProjectsLocationsGatewaysPatchCall struct {
// Patch: Updates the parameters of a single Gateway.
//
-// - name: Name of the Gateway resource. It matches pattern
-// `projects/*/locations/*/gateways/`.
+// - name: Name of the Gateway resource. It matches pattern
+// `projects/*/locations/*/gateways/`.
func (r *ProjectsLocationsGatewaysService) Patch(name string, gateway *Gateway) *ProjectsLocationsGatewaysPatchCall {
c := &ProjectsLocationsGatewaysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6120,10 +6120,10 @@ type ProjectsLocationsGatewaysSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGatewaysService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGatewaysSetIamPolicyCall {
c := &ProjectsLocationsGatewaysSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6270,10 +6270,10 @@ type ProjectsLocationsGatewaysTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsGatewaysService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGatewaysTestIamPermissionsCall {
c := &ProjectsLocationsGatewaysTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6415,8 +6415,8 @@ type ProjectsLocationsGrpcRoutesCreateCall struct {
// Create: Creates a new GrpcRoute in a given project and location.
//
-// - parent: The parent resource of the GrpcRoute. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the GrpcRoute. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsGrpcRoutesService) Create(parent string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesCreateCall {
c := &ProjectsLocationsGrpcRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6569,8 +6569,8 @@ type ProjectsLocationsGrpcRoutesDeleteCall struct {
// Delete: Deletes a single GrpcRoute.
//
-// - name: A name of the GrpcRoute to delete. Must be in the format
-// `projects/*/locations/global/grpcRoutes/*`.
+// - name: A name of the GrpcRoute to delete. Must be in the format
+// `projects/*/locations/global/grpcRoutes/*`.
func (r *ProjectsLocationsGrpcRoutesService) Delete(name string) *ProjectsLocationsGrpcRoutesDeleteCall {
c := &ProjectsLocationsGrpcRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6703,8 +6703,8 @@ type ProjectsLocationsGrpcRoutesGetCall struct {
// Get: Gets details of a single GrpcRoute.
//
-// - name: A name of the GrpcRoute to get. Must be in the format
-// `projects/*/locations/global/grpcRoutes/*`.
+// - name: A name of the GrpcRoute to get. Must be in the format
+// `projects/*/locations/global/grpcRoutes/*`.
func (r *ProjectsLocationsGrpcRoutesService) Get(name string) *ProjectsLocationsGrpcRoutesGetCall {
c := &ProjectsLocationsGrpcRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6850,8 +6850,8 @@ type ProjectsLocationsGrpcRoutesListCall struct {
// List: Lists GrpcRoutes in a given project and location.
//
-// - parent: The project and location from which the GrpcRoutes should
-// be listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the GrpcRoutes should
+// be listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsGrpcRoutesService) List(parent string) *ProjectsLocationsGrpcRoutesListCall {
c := &ProjectsLocationsGrpcRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7045,8 +7045,8 @@ type ProjectsLocationsGrpcRoutesPatchCall struct {
// Patch: Updates the parameters of a single GrpcRoute.
//
-// - name: Name of the GrpcRoute resource. It matches pattern
-// `projects/*/locations/global/grpcRoutes/`.
+// - name: Name of the GrpcRoute resource. It matches pattern
+// `projects/*/locations/global/grpcRoutes/`.
func (r *ProjectsLocationsGrpcRoutesService) Patch(name string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesPatchCall {
c := &ProjectsLocationsGrpcRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7205,8 +7205,8 @@ type ProjectsLocationsHttpRoutesCreateCall struct {
// Create: Creates a new HttpRoute in a given project and location.
//
-// - parent: The parent resource of the HttpRoute. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the HttpRoute. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsHttpRoutesService) Create(parent string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesCreateCall {
c := &ProjectsLocationsHttpRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7359,8 +7359,8 @@ type ProjectsLocationsHttpRoutesDeleteCall struct {
// Delete: Deletes a single HttpRoute.
//
-// - name: A name of the HttpRoute to delete. Must be in the format
-// `projects/*/locations/global/httpRoutes/*`.
+// - name: A name of the HttpRoute to delete. Must be in the format
+// `projects/*/locations/global/httpRoutes/*`.
func (r *ProjectsLocationsHttpRoutesService) Delete(name string) *ProjectsLocationsHttpRoutesDeleteCall {
c := &ProjectsLocationsHttpRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7493,8 +7493,8 @@ type ProjectsLocationsHttpRoutesGetCall struct {
// Get: Gets details of a single HttpRoute.
//
-// - name: A name of the HttpRoute to get. Must be in the format
-// `projects/*/locations/global/httpRoutes/*`.
+// - name: A name of the HttpRoute to get. Must be in the format
+// `projects/*/locations/global/httpRoutes/*`.
func (r *ProjectsLocationsHttpRoutesService) Get(name string) *ProjectsLocationsHttpRoutesGetCall {
c := &ProjectsLocationsHttpRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7640,8 +7640,8 @@ type ProjectsLocationsHttpRoutesListCall struct {
// List: Lists HttpRoute in a given project and location.
//
-// - parent: The project and location from which the HttpRoutes should
-// be listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the HttpRoutes should
+// be listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsHttpRoutesService) List(parent string) *ProjectsLocationsHttpRoutesListCall {
c := &ProjectsLocationsHttpRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7835,8 +7835,8 @@ type ProjectsLocationsHttpRoutesPatchCall struct {
// Patch: Updates the parameters of a single HttpRoute.
//
-// - name: Name of the HttpRoute resource. It matches pattern
-// `projects/*/locations/global/httpRoutes/http_route_name>`.
+// - name: Name of the HttpRoute resource. It matches pattern
+// `projects/*/locations/global/httpRoutes/http_route_name>`.
func (r *ProjectsLocationsHttpRoutesService) Patch(name string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesPatchCall {
c := &ProjectsLocationsHttpRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7995,8 +7995,8 @@ type ProjectsLocationsMeshesCreateCall struct {
// Create: Creates a new Mesh in a given project and location.
//
-// - parent: The parent resource of the Mesh. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the Mesh. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsMeshesService) Create(parent string, mesh *Mesh) *ProjectsLocationsMeshesCreateCall {
c := &ProjectsLocationsMeshesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8149,8 +8149,8 @@ type ProjectsLocationsMeshesDeleteCall struct {
// Delete: Deletes a single Mesh.
//
-// - name: A name of the Mesh to delete. Must be in the format
-// `projects/*/locations/global/meshes/*`.
+// - name: A name of the Mesh to delete. Must be in the format
+// `projects/*/locations/global/meshes/*`.
func (r *ProjectsLocationsMeshesService) Delete(name string) *ProjectsLocationsMeshesDeleteCall {
c := &ProjectsLocationsMeshesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8283,8 +8283,8 @@ type ProjectsLocationsMeshesGetCall struct {
// Get: Gets details of a single Mesh.
//
-// - name: A name of the Mesh to get. Must be in the format
-// `projects/*/locations/global/meshes/*`.
+// - name: A name of the Mesh to get. Must be in the format
+// `projects/*/locations/global/meshes/*`.
func (r *ProjectsLocationsMeshesService) Get(name string) *ProjectsLocationsMeshesGetCall {
c := &ProjectsLocationsMeshesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8432,10 +8432,10 @@ type ProjectsLocationsMeshesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMeshesService) GetIamPolicy(resource string) *ProjectsLocationsMeshesGetIamPolicyCall {
c := &ProjectsLocationsMeshesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8605,8 +8605,8 @@ type ProjectsLocationsMeshesListCall struct {
// List: Lists Meshes in a given project and location.
//
-// - parent: The project and location from which the Meshes should be
-// listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the Meshes should be
+// listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsMeshesService) List(parent string) *ProjectsLocationsMeshesListCall {
c := &ProjectsLocationsMeshesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8800,8 +8800,8 @@ type ProjectsLocationsMeshesPatchCall struct {
// Patch: Updates the parameters of a single Mesh.
//
-// - name: Name of the Mesh resource. It matches pattern
-// `projects/*/locations/global/meshes/`.
+// - name: Name of the Mesh resource. It matches pattern
+// `projects/*/locations/global/meshes/`.
func (r *ProjectsLocationsMeshesService) Patch(name string, mesh *Mesh) *ProjectsLocationsMeshesPatchCall {
c := &ProjectsLocationsMeshesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8962,10 +8962,10 @@ type ProjectsLocationsMeshesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMeshesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsMeshesSetIamPolicyCall {
c := &ProjectsLocationsMeshesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9112,10 +9112,10 @@ type ProjectsLocationsMeshesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsMeshesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsMeshesTestIamPermissionsCall {
c := &ProjectsLocationsMeshesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9904,8 +9904,8 @@ type ProjectsLocationsServiceBindingsCreateCall struct {
// Create: Creates a new ServiceBinding in a given project and location.
//
-// - parent: The parent resource of the ServiceBinding. Must be in the
-// format `projects/*/locations/global`.
+// - parent: The parent resource of the ServiceBinding. Must be in the
+// format `projects/*/locations/global`.
func (r *ProjectsLocationsServiceBindingsService) Create(parent string, servicebinding *ServiceBinding) *ProjectsLocationsServiceBindingsCreateCall {
c := &ProjectsLocationsServiceBindingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10058,8 +10058,8 @@ type ProjectsLocationsServiceBindingsDeleteCall struct {
// Delete: Deletes a single ServiceBinding.
//
-// - name: A name of the ServiceBinding to delete. Must be in the format
-// `projects/*/locations/global/serviceBindings/*`.
+// - name: A name of the ServiceBinding to delete. Must be in the format
+// `projects/*/locations/global/serviceBindings/*`.
func (r *ProjectsLocationsServiceBindingsService) Delete(name string) *ProjectsLocationsServiceBindingsDeleteCall {
c := &ProjectsLocationsServiceBindingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10192,8 +10192,8 @@ type ProjectsLocationsServiceBindingsGetCall struct {
// Get: Gets details of a single ServiceBinding.
//
-// - name: A name of the ServiceBinding to get. Must be in the format
-// `projects/*/locations/global/serviceBindings/*`.
+// - name: A name of the ServiceBinding to get. Must be in the format
+// `projects/*/locations/global/serviceBindings/*`.
func (r *ProjectsLocationsServiceBindingsService) Get(name string) *ProjectsLocationsServiceBindingsGetCall {
c := &ProjectsLocationsServiceBindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10341,10 +10341,10 @@ type ProjectsLocationsServiceBindingsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceBindingsService) GetIamPolicy(resource string) *ProjectsLocationsServiceBindingsGetIamPolicyCall {
c := &ProjectsLocationsServiceBindingsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10514,9 +10514,9 @@ type ProjectsLocationsServiceBindingsListCall struct {
// List: Lists ServiceBinding in a given project and location.
//
-// - parent: The project and location from which the ServiceBindings
-// should be listed, specified in the format
-// `projects/*/locations/global`.
+// - parent: The project and location from which the ServiceBindings
+// should be listed, specified in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsServiceBindingsService) List(parent string) *ProjectsLocationsServiceBindingsListCall {
c := &ProjectsLocationsServiceBindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10712,10 +10712,10 @@ type ProjectsLocationsServiceBindingsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceBindingsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServiceBindingsSetIamPolicyCall {
c := &ProjectsLocationsServiceBindingsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10862,10 +10862,10 @@ type ProjectsLocationsServiceBindingsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServiceBindingsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServiceBindingsTestIamPermissionsCall {
c := &ProjectsLocationsServiceBindingsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11007,8 +11007,8 @@ type ProjectsLocationsTcpRoutesCreateCall struct {
// Create: Creates a new TcpRoute in a given project and location.
//
-// - parent: The parent resource of the TcpRoute. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the TcpRoute. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsTcpRoutesService) Create(parent string, tcproute *TcpRoute) *ProjectsLocationsTcpRoutesCreateCall {
c := &ProjectsLocationsTcpRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11162,8 +11162,8 @@ type ProjectsLocationsTcpRoutesDeleteCall struct {
// Delete: Deletes a single TcpRoute.
//
-// - name: A name of the TcpRoute to delete. Must be in the format
-// `projects/*/locations/global/tcpRoutes/*`.
+// - name: A name of the TcpRoute to delete. Must be in the format
+// `projects/*/locations/global/tcpRoutes/*`.
func (r *ProjectsLocationsTcpRoutesService) Delete(name string) *ProjectsLocationsTcpRoutesDeleteCall {
c := &ProjectsLocationsTcpRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11296,8 +11296,8 @@ type ProjectsLocationsTcpRoutesGetCall struct {
// Get: Gets details of a single TcpRoute.
//
-// - name: A name of the TcpRoute to get. Must be in the format
-// `projects/*/locations/global/tcpRoutes/*`.
+// - name: A name of the TcpRoute to get. Must be in the format
+// `projects/*/locations/global/tcpRoutes/*`.
func (r *ProjectsLocationsTcpRoutesService) Get(name string) *ProjectsLocationsTcpRoutesGetCall {
c := &ProjectsLocationsTcpRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11443,8 +11443,8 @@ type ProjectsLocationsTcpRoutesListCall struct {
// List: Lists TcpRoute in a given project and location.
//
-// - parent: The project and location from which the TcpRoutes should be
-// listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the TcpRoutes should be
+// listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsTcpRoutesService) List(parent string) *ProjectsLocationsTcpRoutesListCall {
c := &ProjectsLocationsTcpRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11638,8 +11638,8 @@ type ProjectsLocationsTcpRoutesPatchCall struct {
// Patch: Updates the parameters of a single TcpRoute.
//
-// - name: Name of the TcpRoute resource. It matches pattern
-// `projects/*/locations/global/tcpRoutes/tcp_route_name>`.
+// - name: Name of the TcpRoute resource. It matches pattern
+// `projects/*/locations/global/tcpRoutes/tcp_route_name>`.
func (r *ProjectsLocationsTcpRoutesService) Patch(name string, tcproute *TcpRoute) *ProjectsLocationsTcpRoutesPatchCall {
c := &ProjectsLocationsTcpRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11798,8 +11798,8 @@ type ProjectsLocationsTlsRoutesCreateCall struct {
// Create: Creates a new TlsRoute in a given project and location.
//
-// - parent: The parent resource of the TlsRoute. Must be in the format
-// `projects/*/locations/global`.
+// - parent: The parent resource of the TlsRoute. Must be in the format
+// `projects/*/locations/global`.
func (r *ProjectsLocationsTlsRoutesService) Create(parent string, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesCreateCall {
c := &ProjectsLocationsTlsRoutesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11953,8 +11953,8 @@ type ProjectsLocationsTlsRoutesDeleteCall struct {
// Delete: Deletes a single TlsRoute.
//
-// - name: A name of the TlsRoute to delete. Must be in the format
-// `projects/*/locations/global/tlsRoutes/*`.
+// - name: A name of the TlsRoute to delete. Must be in the format
+// `projects/*/locations/global/tlsRoutes/*`.
func (r *ProjectsLocationsTlsRoutesService) Delete(name string) *ProjectsLocationsTlsRoutesDeleteCall {
c := &ProjectsLocationsTlsRoutesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12087,8 +12087,8 @@ type ProjectsLocationsTlsRoutesGetCall struct {
// Get: Gets details of a single TlsRoute.
//
-// - name: A name of the TlsRoute to get. Must be in the format
-// `projects/*/locations/global/tlsRoutes/*`.
+// - name: A name of the TlsRoute to get. Must be in the format
+// `projects/*/locations/global/tlsRoutes/*`.
func (r *ProjectsLocationsTlsRoutesService) Get(name string) *ProjectsLocationsTlsRoutesGetCall {
c := &ProjectsLocationsTlsRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12234,8 +12234,8 @@ type ProjectsLocationsTlsRoutesListCall struct {
// List: Lists TlsRoute in a given project and location.
//
-// - parent: The project and location from which the TlsRoutes should be
-// listed, specified in the format `projects/*/locations/global`.
+// - parent: The project and location from which the TlsRoutes should be
+// listed, specified in the format `projects/*/locations/global`.
func (r *ProjectsLocationsTlsRoutesService) List(parent string) *ProjectsLocationsTlsRoutesListCall {
c := &ProjectsLocationsTlsRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12429,8 +12429,8 @@ type ProjectsLocationsTlsRoutesPatchCall struct {
// Patch: Updates the parameters of a single TlsRoute.
//
-// - name: Name of the TlsRoute resource. It matches pattern
-// `projects/*/locations/global/tlsRoutes/tls_route_name>`.
+// - name: Name of the TlsRoute resource. It matches pattern
+// `projects/*/locations/global/tlsRoutes/tls_route_name>`.
func (r *ProjectsLocationsTlsRoutesService) Patch(name string, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesPatchCall {
c := &ProjectsLocationsTlsRoutesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/notebooks/v1/notebooks-gen.go b/notebooks/v1/notebooks-gen.go
index 153af114d88..c6a83e34e09 100644
--- a/notebooks/v1/notebooks-gen.go
+++ b/notebooks/v1/notebooks-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/notebooks/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/notebooks/v1"
-// ...
-// ctx := context.Background()
-// notebooksService, err := notebooks.NewService(ctx)
+// import "google.golang.org/api/notebooks/v1"
+// ...
+// ctx := context.Background()
+// notebooksService, err := notebooks.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// notebooksService, err := notebooks.NewService(ctx, option.WithAPIKey("AIza..."))
+// notebooksService, err := notebooks.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// notebooksService, err := notebooks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// notebooksService, err := notebooks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package notebooks // import "google.golang.org/api/notebooks/v1"
@@ -3911,8 +3911,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4275,9 +4275,9 @@ type ProjectsLocationsEnvironmentsDeleteCall struct {
// Delete: Deletes a single Environment.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/environments/{environmen
-// t_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/environments/{environmen
+// t_id}`.
func (r *ProjectsLocationsEnvironmentsService) Delete(name string) *ProjectsLocationsEnvironmentsDeleteCall {
c := &ProjectsLocationsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4410,9 +4410,9 @@ type ProjectsLocationsEnvironmentsGetCall struct {
// Get: Gets details of a single Environment.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/environments/{environmen
-// t_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/environments/{environmen
+// t_id}`.
func (r *ProjectsLocationsEnvironmentsService) Get(name string) *ProjectsLocationsEnvironmentsGetCall {
c := &ProjectsLocationsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4904,9 +4904,9 @@ type ProjectsLocationsExecutionsDeleteCall struct {
// Delete: Deletes execution
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/executions/{execution_id
-// }`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/executions/{execution_id
+// }`.
func (r *ProjectsLocationsExecutionsService) Delete(name string) *ProjectsLocationsExecutionsDeleteCall {
c := &ProjectsLocationsExecutionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5039,9 +5039,9 @@ type ProjectsLocationsExecutionsGetCall struct {
// Get: Gets details of executions
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/executions/{execution_id
-// }`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/executions/{execution_id
+// }`.
func (r *ProjectsLocationsExecutionsService) Get(name string) *ProjectsLocationsExecutionsGetCall {
c := &ProjectsLocationsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5557,8 +5557,8 @@ type ProjectsLocationsInstancesDeleteCall struct {
// Delete: Deletes a single Instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5691,8 +5691,8 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets details of a single Instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5840,10 +5840,10 @@ type ProjectsLocationsInstancesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesService) GetIamPolicy(resource string) *ProjectsLocationsInstancesGetIamPolicyCall {
c := &ProjectsLocationsInstancesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6013,8 +6013,8 @@ type ProjectsLocationsInstancesGetInstanceHealthCall struct {
// GetInstanceHealth: Check if a notebook instance is healthy.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) GetInstanceHealth(name string) *ProjectsLocationsInstancesGetInstanceHealthCall {
c := &ProjectsLocationsInstancesGetInstanceHealthCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6160,8 +6160,8 @@ type ProjectsLocationsInstancesIsUpgradeableCall struct {
// IsUpgradeable: Check if a notebook instance is upgradable.
//
-// - notebookInstance: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - notebookInstance: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) IsUpgradeable(notebookInstance string) *ProjectsLocationsInstancesIsUpgradeableCall {
c := &ProjectsLocationsInstancesIsUpgradeableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.notebookInstance = notebookInstance
@@ -6173,11 +6173,12 @@ func (r *ProjectsLocationsInstancesService) IsUpgradeable(notebookInstance strin
// upgrade this instance.
//
// Possible values:
-// "UPGRADE_TYPE_UNSPECIFIED" - Upgrade type is not specified.
-// "UPGRADE_FRAMEWORK" - Upgrade ML framework.
-// "UPGRADE_OS" - Upgrade Operating System.
-// "UPGRADE_CUDA" - Upgrade CUDA.
-// "UPGRADE_ALL" - Upgrade All (OS, Framework and CUDA).
+//
+// "UPGRADE_TYPE_UNSPECIFIED" - Upgrade type is not specified.
+// "UPGRADE_FRAMEWORK" - Upgrade ML framework.
+// "UPGRADE_OS" - Upgrade Operating System.
+// "UPGRADE_CUDA" - Upgrade CUDA.
+// "UPGRADE_ALL" - Upgrade All (OS, Framework and CUDA).
func (c *ProjectsLocationsInstancesIsUpgradeableCall) Type(type_ string) *ProjectsLocationsInstancesIsUpgradeableCall {
c.urlParams_.Set("type", type_)
return c
@@ -6683,8 +6684,8 @@ type ProjectsLocationsInstancesReportCall struct {
// reported information to the instance metadata store. Do not use this
// method directly.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Report(name string, reportinstanceinforequest *ReportInstanceInfoRequest) *ProjectsLocationsInstancesReportCall {
c := &ProjectsLocationsInstancesReportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6826,8 +6827,8 @@ type ProjectsLocationsInstancesResetCall struct {
// Reset: Resets a notebook instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Reset(name string, resetinstancerequest *ResetInstanceRequest) *ProjectsLocationsInstancesResetCall {
c := &ProjectsLocationsInstancesResetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6969,8 +6970,8 @@ type ProjectsLocationsInstancesRollbackCall struct {
// Rollback: Rollbacks a notebook instance to the previous version.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Rollback(name string, rollbackinstancerequest *RollbackInstanceRequest) *ProjectsLocationsInstancesRollbackCall {
c := &ProjectsLocationsInstancesRollbackCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7112,8 +7113,8 @@ type ProjectsLocationsInstancesSetAcceleratorCall struct {
// SetAccelerator: Updates the guest accelerators of a single Instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) SetAccelerator(name string, setinstanceacceleratorrequest *SetInstanceAcceleratorRequest) *ProjectsLocationsInstancesSetAcceleratorCall {
c := &ProjectsLocationsInstancesSetAcceleratorCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7257,10 +7258,10 @@ type ProjectsLocationsInstancesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsInstancesSetIamPolicyCall {
c := &ProjectsLocationsInstancesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7402,8 +7403,8 @@ type ProjectsLocationsInstancesSetLabelsCall struct {
// SetLabels: Replaces all the labels of an Instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) SetLabels(name string, setinstancelabelsrequest *SetInstanceLabelsRequest) *ProjectsLocationsInstancesSetLabelsCall {
c := &ProjectsLocationsInstancesSetLabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7545,8 +7546,8 @@ type ProjectsLocationsInstancesSetMachineTypeCall struct {
// SetMachineType: Updates the machine type of a single Instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) SetMachineType(name string, setinstancemachinetyperequest *SetInstanceMachineTypeRequest) *ProjectsLocationsInstancesSetMachineTypeCall {
c := &ProjectsLocationsInstancesSetMachineTypeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7688,8 +7689,8 @@ type ProjectsLocationsInstancesStartCall struct {
// Start: Starts a notebook instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Start(name string, startinstancerequest *StartInstanceRequest) *ProjectsLocationsInstancesStartCall {
c := &ProjectsLocationsInstancesStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7831,8 +7832,8 @@ type ProjectsLocationsInstancesStopCall struct {
// Stop: Stops a notebook instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Stop(name string, stopinstancerequest *StopInstanceRequest) *ProjectsLocationsInstancesStopCall {
c := &ProjectsLocationsInstancesStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7979,10 +7980,10 @@ type ProjectsLocationsInstancesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsInstancesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsInstancesTestIamPermissionsCall {
c := &ProjectsLocationsInstancesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8124,8 +8125,8 @@ type ProjectsLocationsInstancesUpdateConfigCall struct {
// UpdateConfig: Update Notebook Instance configurations.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) UpdateConfig(name string, updateinstanceconfigrequest *UpdateInstanceConfigRequest) *ProjectsLocationsInstancesUpdateConfigCall {
c := &ProjectsLocationsInstancesUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8267,8 +8268,8 @@ type ProjectsLocationsInstancesUpdateMetadataItemsCall struct {
// UpdateMetadataItems: Add/update metadata items for an instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) UpdateMetadataItems(name string, updateinstancemetadataitemsrequest *UpdateInstanceMetadataItemsRequest) *ProjectsLocationsInstancesUpdateMetadataItemsCall {
c := &ProjectsLocationsInstancesUpdateMetadataItemsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8412,8 +8413,8 @@ type ProjectsLocationsInstancesUpdateShieldedInstanceConfigCall struct {
// UpdateShieldedInstanceConfig: Updates the Shielded instance
// configuration of a single Instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) UpdateShieldedInstanceConfig(name string, updateshieldedinstanceconfigrequest *UpdateShieldedInstanceConfigRequest) *ProjectsLocationsInstancesUpdateShieldedInstanceConfigCall {
c := &ProjectsLocationsInstancesUpdateShieldedInstanceConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8555,8 +8556,8 @@ type ProjectsLocationsInstancesUpgradeCall struct {
// Upgrade: Upgrades a notebook instance to the latest version.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) Upgrade(name string, upgradeinstancerequest *UpgradeInstanceRequest) *ProjectsLocationsInstancesUpgradeCall {
c := &ProjectsLocationsInstancesUpgradeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8699,8 +8700,8 @@ type ProjectsLocationsInstancesUpgradeInternalCall struct {
// UpgradeInternal: Allows notebook instances to call this endpoint to
// upgrade themselves. Do not use this method directly.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/instances/{instance_id}`.
func (r *ProjectsLocationsInstancesService) UpgradeInternal(name string, upgradeinstanceinternalrequest *UpgradeInstanceInternalRequest) *ProjectsLocationsInstancesUpgradeInternalCall {
c := &ProjectsLocationsInstancesUpgradeInternalCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9654,8 +9655,8 @@ type ProjectsLocationsRuntimesDeleteCall struct {
// Delete: Deletes a single Runtime.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
func (r *ProjectsLocationsRuntimesService) Delete(name string) *ProjectsLocationsRuntimesDeleteCall {
c := &ProjectsLocationsRuntimesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9801,8 +9802,8 @@ type ProjectsLocationsRuntimesGetCall struct {
// Get: Gets details of a single Runtime. The location must be a
// regional endpoint rather than zonal.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
func (r *ProjectsLocationsRuntimesService) Get(name string) *ProjectsLocationsRuntimesGetCall {
c := &ProjectsLocationsRuntimesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9950,10 +9951,10 @@ type ProjectsLocationsRuntimesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRuntimesService) GetIamPolicy(resource string) *ProjectsLocationsRuntimesGetIamPolicyCall {
c := &ProjectsLocationsRuntimesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10316,8 +10317,8 @@ type ProjectsLocationsRuntimesPatchCall struct {
// Patch: Update Notebook Runtime configuration.
//
-// - name: Output only. The resource name of the runtime. Format:
-// `projects/{project}/locations/{location}/runtimes/{runtimeId}`.
+// - name: Output only. The resource name of the runtime. Format:
+// `projects/{project}/locations/{location}/runtimes/{runtimeId}`.
func (r *ProjectsLocationsRuntimesService) Patch(name string, runtime *Runtime) *ProjectsLocationsRuntimesPatchCall {
c := &ProjectsLocationsRuntimesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10496,8 +10497,8 @@ type ProjectsLocationsRuntimesRefreshRuntimeTokenInternalCall struct {
// service account that the customer attached to the runtime. Only
// accessible from the tenant instance.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
func (r *ProjectsLocationsRuntimesService) RefreshRuntimeTokenInternal(name string, refreshruntimetokeninternalrequest *RefreshRuntimeTokenInternalRequest) *ProjectsLocationsRuntimesRefreshRuntimeTokenInternalCall {
c := &ProjectsLocationsRuntimesRefreshRuntimeTokenInternalCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10640,8 +10641,8 @@ type ProjectsLocationsRuntimesReportEventCall struct {
// ReportEvent: Report and process a runtime event.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
func (r *ProjectsLocationsRuntimesService) ReportEvent(name string, reportruntimeeventrequest *ReportRuntimeEventRequest) *ProjectsLocationsRuntimesReportEventCall {
c := &ProjectsLocationsRuntimesReportEventCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10783,8 +10784,8 @@ type ProjectsLocationsRuntimesResetCall struct {
// Reset: Resets a Managed Notebook Runtime.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
func (r *ProjectsLocationsRuntimesService) Reset(name string, resetruntimerequest *ResetRuntimeRequest) *ProjectsLocationsRuntimesResetCall {
c := &ProjectsLocationsRuntimesResetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10928,10 +10929,10 @@ type ProjectsLocationsRuntimesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRuntimesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRuntimesSetIamPolicyCall {
c := &ProjectsLocationsRuntimesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11076,8 +11077,8 @@ type ProjectsLocationsRuntimesStartCall struct {
// https://cloud.google.com/compute/docs/instances/stop-start-instance
// https://cloud.google.com/compute/docs/instances/suspend-resume-instance
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
func (r *ProjectsLocationsRuntimesService) Start(name string, startruntimerequest *StartRuntimeRequest) *ProjectsLocationsRuntimesStartCall {
c := &ProjectsLocationsRuntimesStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11222,8 +11223,8 @@ type ProjectsLocationsRuntimesStopCall struct {
// https://cloud.google.com/compute/docs/instances/stop-start-instance
// https://cloud.google.com/compute/docs/instances/suspend-resume-instance
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
func (r *ProjectsLocationsRuntimesService) Stop(name string, stopruntimerequest *StopRuntimeRequest) *ProjectsLocationsRuntimesStopCall {
c := &ProjectsLocationsRuntimesStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11365,8 +11366,8 @@ type ProjectsLocationsRuntimesSwitchCall struct {
// Switch: Switch a Managed Notebook Runtime.
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`.
func (r *ProjectsLocationsRuntimesService) Switch(name string, switchruntimerequest *SwitchRuntimeRequest) *ProjectsLocationsRuntimesSwitchCall {
c := &ProjectsLocationsRuntimesSwitchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11513,10 +11514,10 @@ type ProjectsLocationsRuntimesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRuntimesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRuntimesTestIamPermissionsCall {
c := &ProjectsLocationsRuntimesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11812,8 +11813,8 @@ type ProjectsLocationsSchedulesDeleteCall struct {
// Delete: Deletes schedule and all underlying jobs
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/schedules/{schedule_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/schedules/{schedule_id}`.
func (r *ProjectsLocationsSchedulesService) Delete(name string) *ProjectsLocationsSchedulesDeleteCall {
c := &ProjectsLocationsSchedulesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11946,8 +11947,8 @@ type ProjectsLocationsSchedulesGetCall struct {
// Get: Gets details of schedule
//
-// - name: Format:
-// `projects/{project_id}/locations/{location}/schedules/{schedule_id}`.
+// - name: Format:
+// `projects/{project_id}/locations/{location}/schedules/{schedule_id}`.
func (r *ProjectsLocationsSchedulesService) Get(name string) *ProjectsLocationsSchedulesGetCall {
c := &ProjectsLocationsSchedulesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12310,9 +12311,9 @@ type ProjectsLocationsSchedulesTriggerCall struct {
// Trigger: Triggers execution of an existing schedule.
//
-// - name: Format:
-// `parent=projects/{project_id}/locations/{location}/schedules/{schedu
-// le_id}`.
+// - name: Format:
+// `parent=projects/{project_id}/locations/{location}/schedules/{schedu
+// le_id}`.
func (r *ProjectsLocationsSchedulesService) Trigger(name string, triggerschedulerequest *TriggerScheduleRequest) *ProjectsLocationsSchedulesTriggerCall {
c := &ProjectsLocationsSchedulesTriggerCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/oauth2/v1/oauth2-gen.go b/oauth2/v1/oauth2-gen.go
index fd6492c904f..fce34b006d6 100644
--- a/oauth2/v1/oauth2-gen.go
+++ b/oauth2/v1/oauth2-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/accounts/docs/OAuth2
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/oauth2/v1"
-// ...
-// ctx := context.Background()
-// oauth2Service, err := oauth2.NewService(ctx)
+// import "google.golang.org/api/oauth2/v1"
+// ...
+// ctx := context.Background()
+// oauth2Service, err := oauth2.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// oauth2Service, err := oauth2.NewService(ctx, option.WithScopes(oauth2.UserinfoProfileScope))
+// oauth2Service, err := oauth2.NewService(ctx, option.WithScopes(oauth2.UserinfoProfileScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// oauth2Service, err := oauth2.NewService(ctx, option.WithAPIKey("AIza..."))
+// oauth2Service, err := oauth2.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// oauth2Service, err := oauth2.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// oauth2Service, err := oauth2.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package oauth2 // import "google.golang.org/api/oauth2/v1"
diff --git a/oauth2/v2/oauth2-gen.go b/oauth2/v2/oauth2-gen.go
index 49144a0cdcf..dae860a982b 100644
--- a/oauth2/v2/oauth2-gen.go
+++ b/oauth2/v2/oauth2-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/identity/protocols/oauth2/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/oauth2/v2"
-// ...
-// ctx := context.Background()
-// oauth2Service, err := oauth2.NewService(ctx)
+// import "google.golang.org/api/oauth2/v2"
+// ...
+// ctx := context.Background()
+// oauth2Service, err := oauth2.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// oauth2Service, err := oauth2.NewService(ctx, option.WithScopes(oauth2.OpenIDScope))
+// oauth2Service, err := oauth2.NewService(ctx, option.WithScopes(oauth2.OpenIDScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// oauth2Service, err := oauth2.NewService(ctx, option.WithAPIKey("AIza..."))
+// oauth2Service, err := oauth2.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// oauth2Service, err := oauth2.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// oauth2Service, err := oauth2.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package oauth2 // import "google.golang.org/api/oauth2/v2"
diff --git a/ondemandscanning/v1/ondemandscanning-gen.go b/ondemandscanning/v1/ondemandscanning-gen.go
index 30adf9b7800..3f943d107a0 100644
--- a/ondemandscanning/v1/ondemandscanning-gen.go
+++ b/ondemandscanning/v1/ondemandscanning-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/container-analysis/docs/on-demand-scanning/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/ondemandscanning/v1"
-// ...
-// ctx := context.Background()
-// ondemandscanningService, err := ondemandscanning.NewService(ctx)
+// import "google.golang.org/api/ondemandscanning/v1"
+// ...
+// ctx := context.Background()
+// ondemandscanningService, err := ondemandscanning.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// ondemandscanningService, err := ondemandscanning.NewService(ctx, option.WithAPIKey("AIza..."))
+// ondemandscanningService, err := ondemandscanning.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// ondemandscanningService, err := ondemandscanning.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// ondemandscanningService, err := ondemandscanning.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package ondemandscanning // import "google.golang.org/api/ondemandscanning/v1"
@@ -4265,8 +4265,8 @@ type ProjectsLocationsScansAnalyzePackagesCall struct {
// AnalyzePackages: Initiates an analysis of the provided packages.
//
-// - parent: The parent of the resource for which analysis is requested.
-// Format: projects/[project_name]/locations/[location].
+// - parent: The parent of the resource for which analysis is requested.
+// Format: projects/[project_name]/locations/[location].
func (r *ProjectsLocationsScansService) AnalyzePackages(parent string, analyzepackagesrequestv1 *AnalyzePackagesRequestV1) *ProjectsLocationsScansAnalyzePackagesCall {
c := &ProjectsLocationsScansAnalyzePackagesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4409,9 +4409,9 @@ type ProjectsLocationsScansVulnerabilitiesListCall struct {
// List: Lists vulnerabilities resulting from a successfully completed
// scan.
//
-// - parent: The parent of the collection of Vulnerabilities being
-// requested. Format:
-// projects/[project_name]/locations/[location]/scans/[scan_id].
+// - parent: The parent of the collection of Vulnerabilities being
+// requested. Format:
+// projects/[project_name]/locations/[location]/scans/[scan_id].
func (r *ProjectsLocationsScansVulnerabilitiesService) List(parent string) *ProjectsLocationsScansVulnerabilitiesListCall {
c := &ProjectsLocationsScansVulnerabilitiesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/ondemandscanning/v1beta1/ondemandscanning-gen.go b/ondemandscanning/v1beta1/ondemandscanning-gen.go
index 568838171a9..743f602a063 100644
--- a/ondemandscanning/v1beta1/ondemandscanning-gen.go
+++ b/ondemandscanning/v1beta1/ondemandscanning-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/container-analysis/docs/on-demand-scanning/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/ondemandscanning/v1beta1"
-// ...
-// ctx := context.Background()
-// ondemandscanningService, err := ondemandscanning.NewService(ctx)
+// import "google.golang.org/api/ondemandscanning/v1beta1"
+// ...
+// ctx := context.Background()
+// ondemandscanningService, err := ondemandscanning.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// ondemandscanningService, err := ondemandscanning.NewService(ctx, option.WithAPIKey("AIza..."))
+// ondemandscanningService, err := ondemandscanning.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// ondemandscanningService, err := ondemandscanning.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// ondemandscanningService, err := ondemandscanning.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package ondemandscanning // import "google.golang.org/api/ondemandscanning/v1beta1"
@@ -4259,8 +4259,8 @@ type ProjectsLocationsScansAnalyzePackagesCall struct {
// AnalyzePackages: Initiates an analysis of the provided packages.
//
-// - parent: The parent of the resource for which analysis is requested.
-// Format: projects/[project_name]/locations/[location].
+// - parent: The parent of the resource for which analysis is requested.
+// Format: projects/[project_name]/locations/[location].
func (r *ProjectsLocationsScansService) AnalyzePackages(parent string, analyzepackagesrequest *AnalyzePackagesRequest) *ProjectsLocationsScansAnalyzePackagesCall {
c := &ProjectsLocationsScansAnalyzePackagesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4403,9 +4403,9 @@ type ProjectsLocationsScansVulnerabilitiesListCall struct {
// List: Lists vulnerabilities resulting from a successfully completed
// scan.
//
-// - parent: The parent of the collection of Vulnerabilities being
-// requested. Format:
-// projects/[project_name]/locations/[location]/scans/[scan_id].
+// - parent: The parent of the collection of Vulnerabilities being
+// requested. Format:
+// projects/[project_name]/locations/[location]/scans/[scan_id].
func (r *ProjectsLocationsScansVulnerabilitiesService) List(parent string) *ProjectsLocationsScansVulnerabilitiesListCall {
c := &ProjectsLocationsScansVulnerabilitiesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/option/option.go b/option/option.go
index 60743c63e2d..27ba9eab018 100644
--- a/option/option.go
+++ b/option/option.go
@@ -287,10 +287,10 @@ func (w withClientCertSource) Apply(o *internal.DialSettings) {
// service account SA2 while using delegate service accounts DSA1 and DSA2,
// the following must be true:
//
-// 1. Base service account SA1 has roles/iam.serviceAccountTokenCreator on
-// DSA1.
-// 2. DSA1 has roles/iam.serviceAccountTokenCreator on DSA2.
-// 3. DSA2 has roles/iam.serviceAccountTokenCreator on target SA2.
+// 1. Base service account SA1 has roles/iam.serviceAccountTokenCreator on
+// DSA1.
+// 2. DSA1 has roles/iam.serviceAccountTokenCreator on DSA2.
+// 3. DSA2 has roles/iam.serviceAccountTokenCreator on target SA2.
//
// The resulting impersonated credential will either have the default scopes of
// the client being instantiating or the scopes from WithScopes if provided.
diff --git a/orgpolicy/v2/orgpolicy-gen.go b/orgpolicy/v2/orgpolicy-gen.go
index 821d3451a94..a26baf60793 100644
--- a/orgpolicy/v2/orgpolicy-gen.go
+++ b/orgpolicy/v2/orgpolicy-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/orgpolicy/docs/reference/rest/index.html
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/orgpolicy/v2"
-// ...
-// ctx := context.Background()
-// orgpolicyService, err := orgpolicy.NewService(ctx)
+// import "google.golang.org/api/orgpolicy/v2"
+// ...
+// ctx := context.Background()
+// orgpolicyService, err := orgpolicy.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// orgpolicyService, err := orgpolicy.NewService(ctx, option.WithAPIKey("AIza..."))
+// orgpolicyService, err := orgpolicy.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// orgpolicyService, err := orgpolicy.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// orgpolicyService, err := orgpolicy.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package orgpolicy // import "google.golang.org/api/orgpolicy/v2"
@@ -774,10 +774,10 @@ type FoldersConstraintsListCall struct {
// List: Lists `Constraints` that could be applied on the specified
// resource.
//
-// - parent: The Cloud resource that parents the constraint. Must be in
-// one of the following forms: * `projects/{project_number}` *
-// `projects/{project_id}` * `folders/{folder_id}` *
-// `organizations/{organization_id}`.
+// - parent: The Cloud resource that parents the constraint. Must be in
+// one of the following forms: * `projects/{project_number}` *
+// `projects/{project_id}` * `folders/{folder_id}` *
+// `organizations/{organization_id}`.
func (r *FoldersConstraintsService) List(parent string) *FoldersConstraintsListCall {
c := &FoldersConstraintsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -976,10 +976,10 @@ type FoldersPoliciesCreateCall struct {
// a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the
// policy already exists on the given Cloud resource.
//
-// - parent: The Cloud resource that will parent the new Policy. Must be
-// in one of the following forms: * `projects/{project_number}` *
-// `projects/{project_id}` * `folders/{folder_id}` *
-// `organizations/{organization_id}`.
+// - parent: The Cloud resource that will parent the new Policy. Must be
+// in one of the following forms: * `projects/{project_number}` *
+// `projects/{project_id}` * `folders/{folder_id}` *
+// `organizations/{organization_id}`.
func (r *FoldersPoliciesService) Create(parent string, googlecloudorgpolicyv2policy *GoogleCloudOrgpolicyV2Policy) *FoldersPoliciesCreateCall {
c := &FoldersPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1257,8 +1257,8 @@ type FoldersPoliciesGetCall struct {
// resource, NOT_FOUND is returned. The `etag` value can be used with
// `UpdatePolicy()` to update a `Policy` during read-modify-write.
//
-// - name: Resource name of the policy. See `Policy` for naming
-// requirements.
+// - name: Resource name of the policy. See `Policy` for naming
+// requirements.
func (r *FoldersPoliciesService) Get(name string) *FoldersPoliciesGetCall {
c := &FoldersPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1409,8 +1409,8 @@ type FoldersPoliciesGetEffectivePolicyCall struct {
// resources. Subtrees of Resource Manager resource hierarchy with
// 'under:' prefix will not be expanded.
//
-// - name: The effective policy to compute. See `Policy` for naming
-// rules.
+// - name: The effective policy to compute. See `Policy` for naming
+// rules.
func (r *FoldersPoliciesService) GetEffectivePolicy(name string) *FoldersPoliciesGetEffectivePolicyCall {
c := &FoldersPoliciesGetEffectivePolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1557,11 +1557,11 @@ type FoldersPoliciesListCall struct {
// List: Retrieves all of the `Policies` that exist on a particular
// resource.
//
-// - parent: The target Cloud resource that parents the set of
-// constraints and policies that will be returned from this call. Must
-// be in one of the following forms: * `projects/{project_number}` *
-// `projects/{project_id}` * `folders/{folder_id}` *
-// `organizations/{organization_id}`.
+// - parent: The target Cloud resource that parents the set of
+// constraints and policies that will be returned from this call. Must
+// be in one of the following forms: * `projects/{project_number}` *
+// `projects/{project_id}` * `folders/{folder_id}` *
+// `organizations/{organization_id}`.
func (r *FoldersPoliciesService) List(parent string) *FoldersPoliciesListCall {
c := &FoldersPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1762,16 +1762,16 @@ type FoldersPoliciesPatchCall struct {
// of the policy Note: the supplied policy will perform a full overwrite
// of all fields.
//
-// - name: Immutable. The resource name of the Policy. Must be one of
-// the following forms, where constraint_name is the name of the
-// constraint which this Policy configures: *
-// `projects/{project_number}/policies/{constraint_name}` *
-// `folders/{folder_id}/policies/{constraint_name}` *
-// `organizations/{organization_id}/policies/{constraint_name}` For
-// example, "projects/123/policies/compute.disableSerialPortAccess".
-// Note: `projects/{project_id}/policies/{constraint_name}` is also an
-// acceptable name for API requests, but responses will return the
-// name using the equivalent project number.
+// - name: Immutable. The resource name of the Policy. Must be one of
+// the following forms, where constraint_name is the name of the
+// constraint which this Policy configures: *
+// `projects/{project_number}/policies/{constraint_name}` *
+// `folders/{folder_id}/policies/{constraint_name}` *
+// `organizations/{organization_id}/policies/{constraint_name}` For
+// example, "projects/123/policies/compute.disableSerialPortAccess".
+// Note: `projects/{project_id}/policies/{constraint_name}` is also an
+// acceptable name for API requests, but responses will return the
+// name using the equivalent project number.
func (r *FoldersPoliciesService) Patch(name string, googlecloudorgpolicyv2policy *GoogleCloudOrgpolicyV2Policy) *FoldersPoliciesPatchCall {
c := &FoldersPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1914,10 +1914,10 @@ type OrganizationsConstraintsListCall struct {
// List: Lists `Constraints` that could be applied on the specified
// resource.
//
-// - parent: The Cloud resource that parents the constraint. Must be in
-// one of the following forms: * `projects/{project_number}` *
-// `projects/{project_id}` * `folders/{folder_id}` *
-// `organizations/{organization_id}`.
+// - parent: The Cloud resource that parents the constraint. Must be in
+// one of the following forms: * `projects/{project_number}` *
+// `projects/{project_id}` * `folders/{folder_id}` *
+// `organizations/{organization_id}`.
func (r *OrganizationsConstraintsService) List(parent string) *OrganizationsConstraintsListCall {
c := &OrganizationsConstraintsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2116,10 +2116,10 @@ type OrganizationsPoliciesCreateCall struct {
// a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the
// policy already exists on the given Cloud resource.
//
-// - parent: The Cloud resource that will parent the new Policy. Must be
-// in one of the following forms: * `projects/{project_number}` *
-// `projects/{project_id}` * `folders/{folder_id}` *
-// `organizations/{organization_id}`.
+// - parent: The Cloud resource that will parent the new Policy. Must be
+// in one of the following forms: * `projects/{project_number}` *
+// `projects/{project_id}` * `folders/{folder_id}` *
+// `organizations/{organization_id}`.
func (r *OrganizationsPoliciesService) Create(parent string, googlecloudorgpolicyv2policy *GoogleCloudOrgpolicyV2Policy) *OrganizationsPoliciesCreateCall {
c := &OrganizationsPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2397,8 +2397,8 @@ type OrganizationsPoliciesGetCall struct {
// resource, NOT_FOUND is returned. The `etag` value can be used with
// `UpdatePolicy()` to update a `Policy` during read-modify-write.
//
-// - name: Resource name of the policy. See `Policy` for naming
-// requirements.
+// - name: Resource name of the policy. See `Policy` for naming
+// requirements.
func (r *OrganizationsPoliciesService) Get(name string) *OrganizationsPoliciesGetCall {
c := &OrganizationsPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2549,8 +2549,8 @@ type OrganizationsPoliciesGetEffectivePolicyCall struct {
// resources. Subtrees of Resource Manager resource hierarchy with
// 'under:' prefix will not be expanded.
//
-// - name: The effective policy to compute. See `Policy` for naming
-// rules.
+// - name: The effective policy to compute. See `Policy` for naming
+// rules.
func (r *OrganizationsPoliciesService) GetEffectivePolicy(name string) *OrganizationsPoliciesGetEffectivePolicyCall {
c := &OrganizationsPoliciesGetEffectivePolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2697,11 +2697,11 @@ type OrganizationsPoliciesListCall struct {
// List: Retrieves all of the `Policies` that exist on a particular
// resource.
//
-// - parent: The target Cloud resource that parents the set of
-// constraints and policies that will be returned from this call. Must
-// be in one of the following forms: * `projects/{project_number}` *
-// `projects/{project_id}` * `folders/{folder_id}` *
-// `organizations/{organization_id}`.
+// - parent: The target Cloud resource that parents the set of
+// constraints and policies that will be returned from this call. Must
+// be in one of the following forms: * `projects/{project_number}` *
+// `projects/{project_id}` * `folders/{folder_id}` *
+// `organizations/{organization_id}`.
func (r *OrganizationsPoliciesService) List(parent string) *OrganizationsPoliciesListCall {
c := &OrganizationsPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2902,16 +2902,16 @@ type OrganizationsPoliciesPatchCall struct {
// of the policy Note: the supplied policy will perform a full overwrite
// of all fields.
//
-// - name: Immutable. The resource name of the Policy. Must be one of
-// the following forms, where constraint_name is the name of the
-// constraint which this Policy configures: *
-// `projects/{project_number}/policies/{constraint_name}` *
-// `folders/{folder_id}/policies/{constraint_name}` *
-// `organizations/{organization_id}/policies/{constraint_name}` For
-// example, "projects/123/policies/compute.disableSerialPortAccess".
-// Note: `projects/{project_id}/policies/{constraint_name}` is also an
-// acceptable name for API requests, but responses will return the
-// name using the equivalent project number.
+// - name: Immutable. The resource name of the Policy. Must be one of
+// the following forms, where constraint_name is the name of the
+// constraint which this Policy configures: *
+// `projects/{project_number}/policies/{constraint_name}` *
+// `folders/{folder_id}/policies/{constraint_name}` *
+// `organizations/{organization_id}/policies/{constraint_name}` For
+// example, "projects/123/policies/compute.disableSerialPortAccess".
+// Note: `projects/{project_id}/policies/{constraint_name}` is also an
+// acceptable name for API requests, but responses will return the
+// name using the equivalent project number.
func (r *OrganizationsPoliciesService) Patch(name string, googlecloudorgpolicyv2policy *GoogleCloudOrgpolicyV2Policy) *OrganizationsPoliciesPatchCall {
c := &OrganizationsPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3054,10 +3054,10 @@ type ProjectsConstraintsListCall struct {
// List: Lists `Constraints` that could be applied on the specified
// resource.
//
-// - parent: The Cloud resource that parents the constraint. Must be in
-// one of the following forms: * `projects/{project_number}` *
-// `projects/{project_id}` * `folders/{folder_id}` *
-// `organizations/{organization_id}`.
+// - parent: The Cloud resource that parents the constraint. Must be in
+// one of the following forms: * `projects/{project_number}` *
+// `projects/{project_id}` * `folders/{folder_id}` *
+// `organizations/{organization_id}`.
func (r *ProjectsConstraintsService) List(parent string) *ProjectsConstraintsListCall {
c := &ProjectsConstraintsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3256,10 +3256,10 @@ type ProjectsPoliciesCreateCall struct {
// a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the
// policy already exists on the given Cloud resource.
//
-// - parent: The Cloud resource that will parent the new Policy. Must be
-// in one of the following forms: * `projects/{project_number}` *
-// `projects/{project_id}` * `folders/{folder_id}` *
-// `organizations/{organization_id}`.
+// - parent: The Cloud resource that will parent the new Policy. Must be
+// in one of the following forms: * `projects/{project_number}` *
+// `projects/{project_id}` * `folders/{folder_id}` *
+// `organizations/{organization_id}`.
func (r *ProjectsPoliciesService) Create(parent string, googlecloudorgpolicyv2policy *GoogleCloudOrgpolicyV2Policy) *ProjectsPoliciesCreateCall {
c := &ProjectsPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3537,8 +3537,8 @@ type ProjectsPoliciesGetCall struct {
// resource, NOT_FOUND is returned. The `etag` value can be used with
// `UpdatePolicy()` to update a `Policy` during read-modify-write.
//
-// - name: Resource name of the policy. See `Policy` for naming
-// requirements.
+// - name: Resource name of the policy. See `Policy` for naming
+// requirements.
func (r *ProjectsPoliciesService) Get(name string) *ProjectsPoliciesGetCall {
c := &ProjectsPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3689,8 +3689,8 @@ type ProjectsPoliciesGetEffectivePolicyCall struct {
// resources. Subtrees of Resource Manager resource hierarchy with
// 'under:' prefix will not be expanded.
//
-// - name: The effective policy to compute. See `Policy` for naming
-// rules.
+// - name: The effective policy to compute. See `Policy` for naming
+// rules.
func (r *ProjectsPoliciesService) GetEffectivePolicy(name string) *ProjectsPoliciesGetEffectivePolicyCall {
c := &ProjectsPoliciesGetEffectivePolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3837,11 +3837,11 @@ type ProjectsPoliciesListCall struct {
// List: Retrieves all of the `Policies` that exist on a particular
// resource.
//
-// - parent: The target Cloud resource that parents the set of
-// constraints and policies that will be returned from this call. Must
-// be in one of the following forms: * `projects/{project_number}` *
-// `projects/{project_id}` * `folders/{folder_id}` *
-// `organizations/{organization_id}`.
+// - parent: The target Cloud resource that parents the set of
+// constraints and policies that will be returned from this call. Must
+// be in one of the following forms: * `projects/{project_number}` *
+// `projects/{project_id}` * `folders/{folder_id}` *
+// `organizations/{organization_id}`.
func (r *ProjectsPoliciesService) List(parent string) *ProjectsPoliciesListCall {
c := &ProjectsPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4042,16 +4042,16 @@ type ProjectsPoliciesPatchCall struct {
// of the policy Note: the supplied policy will perform a full overwrite
// of all fields.
//
-// - name: Immutable. The resource name of the Policy. Must be one of
-// the following forms, where constraint_name is the name of the
-// constraint which this Policy configures: *
-// `projects/{project_number}/policies/{constraint_name}` *
-// `folders/{folder_id}/policies/{constraint_name}` *
-// `organizations/{organization_id}/policies/{constraint_name}` For
-// example, "projects/123/policies/compute.disableSerialPortAccess".
-// Note: `projects/{project_id}/policies/{constraint_name}` is also an
-// acceptable name for API requests, but responses will return the
-// name using the equivalent project number.
+// - name: Immutable. The resource name of the Policy. Must be one of
+// the following forms, where constraint_name is the name of the
+// constraint which this Policy configures: *
+// `projects/{project_number}/policies/{constraint_name}` *
+// `folders/{folder_id}/policies/{constraint_name}` *
+// `organizations/{organization_id}/policies/{constraint_name}` For
+// example, "projects/123/policies/compute.disableSerialPortAccess".
+// Note: `projects/{project_id}/policies/{constraint_name}` is also an
+// acceptable name for API requests, but responses will return the
+// name using the equivalent project number.
func (r *ProjectsPoliciesService) Patch(name string, googlecloudorgpolicyv2policy *GoogleCloudOrgpolicyV2Policy) *ProjectsPoliciesPatchCall {
c := &ProjectsPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go
index 91e8613a3e6..7b2b7e389a7 100644
--- a/osconfig/v1/osconfig-gen.go
+++ b/osconfig/v1/osconfig-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/compute/docs/osconfig/rest
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/osconfig/v1"
-// ...
-// ctx := context.Background()
-// osconfigService, err := osconfig.NewService(ctx)
+// import "google.golang.org/api/osconfig/v1"
+// ...
+// ctx := context.Background()
+// osconfigService, err := osconfig.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// osconfigService, err := osconfig.NewService(ctx, option.WithAPIKey("AIza..."))
+// osconfigService, err := osconfig.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// osconfigService, err := osconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// osconfigService, err := osconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package osconfig // import "google.golang.org/api/osconfig/v1"
@@ -4579,11 +4579,11 @@ type ProjectsLocationsInstancesInventoriesGetCall struct {
// Get: Get inventory data for the specified VM instance. If the VM has
// no associated inventory, the message `NOT_FOUND` is returned.
//
-// - name: API resource name for inventory resource. Format:
-// `projects/{project}/locations/{location}/instances/{instance}/invent
-// ory` For `{project}`, either `project-number` or `project-id` can
-// be provided. For `{instance}`, either Compute Engine `instance-id`
-// or `instance-name` can be provided.
+// - name: API resource name for inventory resource. Format:
+// `projects/{project}/locations/{location}/instances/{instance}/invent
+// ory` For `{project}`, either `project-number` or `project-id` can
+// be provided. For `{instance}`, either Compute Engine `instance-id`
+// or `instance-name` can be provided.
func (r *ProjectsLocationsInstancesInventoriesService) Get(name string) *ProjectsLocationsInstancesInventoriesGetCall {
c := &ProjectsLocationsInstancesInventoriesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4595,11 +4595,16 @@ func (r *ProjectsLocationsInstancesInventoriesService) Get(name string) *Project
// unspecified, the default view is BASIC.
//
// Possible values:
-// "INVENTORY_VIEW_UNSPECIFIED" - The default value. The API defaults
+//
+// "INVENTORY_VIEW_UNSPECIFIED" - The default value. The API defaults
+//
// to the BASIC view.
-// "BASIC" - Returns the basic inventory information that includes
+//
+// "BASIC" - Returns the basic inventory information that includes
+//
// `os_info`.
-// "FULL" - Returns all fields.
+//
+// "FULL" - Returns all fields.
func (c *ProjectsLocationsInstancesInventoriesGetCall) View(view string) *ProjectsLocationsInstancesInventoriesGetCall {
c.urlParams_.Set("view", view)
return c
@@ -4759,10 +4764,10 @@ type ProjectsLocationsInstancesInventoriesListCall struct {
// List: List inventory data for all VM instances in the specified zone.
//
-// - parent: The parent resource name. Format:
-// `projects/{project}/locations/{location}/instances/-` For
-// `{project}`, either `project-number` or `project-id` can be
-// provided.
+// - parent: The parent resource name. Format:
+// `projects/{project}/locations/{location}/instances/-` For
+// `{project}`, either `project-number` or `project-id` can be
+// provided.
func (r *ProjectsLocationsInstancesInventoriesService) List(parent string) *ProjectsLocationsInstancesInventoriesListCall {
c := &ProjectsLocationsInstancesInventoriesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4797,11 +4802,16 @@ func (c *ProjectsLocationsInstancesInventoriesListCall) PageToken(pageToken stri
// unspecified, the default view is BASIC.
//
// Possible values:
-// "INVENTORY_VIEW_UNSPECIFIED" - The default value. The API defaults
+//
+// "INVENTORY_VIEW_UNSPECIFIED" - The default value. The API defaults
+//
// to the BASIC view.
-// "BASIC" - Returns the basic inventory information that includes
+//
+// "BASIC" - Returns the basic inventory information that includes
+//
// `os_info`.
-// "FULL" - Returns all fields.
+//
+// "FULL" - Returns all fields.
func (c *ProjectsLocationsInstancesInventoriesListCall) View(view string) *ProjectsLocationsInstancesInventoriesListCall {
c.urlParams_.Set("view", view)
return c
@@ -4999,13 +5009,13 @@ type ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall struct {
// Get: Get the OS policy asssignment report for the specified Compute
// Engine VM instance.
//
-// - name: API resource name for OS policy assignment report. Format:
-// `/projects/{project}/locations/{location}/instances/{instance}/osPol
-// icyAssignments/{assignment}/report` For `{project}`, either
-// `project-number` or `project-id` can be provided. For
-// `{instance_id}`, either Compute Engine `instance-id` or
-// `instance-name` can be provided. For `{assignment_id}`, the
-// OSPolicyAssignment id must be provided.
+// - name: API resource name for OS policy assignment report. Format:
+// `/projects/{project}/locations/{location}/instances/{instance}/osPol
+// icyAssignments/{assignment}/report` For `{project}`, either
+// `project-number` or `project-id` can be provided. For
+// `{instance_id}`, either Compute Engine `instance-id` or
+// `instance-name` can be provided. For `{assignment_id}`, the
+// OSPolicyAssignment id must be provided.
func (r *ProjectsLocationsInstancesOsPolicyAssignmentsReportsService) Get(name string) *ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall {
c := &ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5152,26 +5162,26 @@ type ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall struct {
// List: List OS policy asssignment reports for all Compute Engine VM
// instances in the specified zone.
//
-// - parent: The parent resource name. Format:
-// `projects/{project}/locations/{location}/instances/{instance}/osPoli
-// cyAssignments/{assignment}/reports` For `{project}`, either
-// `project-number` or `project-id` can be provided. For `{instance}`,
-// either `instance-name`, `instance-id`, or `-` can be provided. If
-// '-' is provided, the response will include
-// OSPolicyAssignmentReports for all instances in the
-// project/location. For `{assignment}`, either `assignment-id` or `-`
-// can be provided. If '-' is provided, the response will include
-// OSPolicyAssignmentReports for all OSPolicyAssignments in the
-// project/location. Either {instance} or {assignment} must be `-`.
-// For example:
-// `projects/{project}/locations/{location}/instances/{instance}/osPoli
-// cyAssignments/-/reports` returns all reports for the instance
-// `projects/{project}/locations/{location}/instances/-/osPolicyAssignm
-// ents/{assignment-id}/reports` returns all the reports for the given
-// assignment across all instances.
-// `projects/{project}/locations/{location}/instances/-/osPolicyAssignm
-// ents/-/reports` returns all the reports for all assignments across
-// all instances.
+// - parent: The parent resource name. Format:
+// `projects/{project}/locations/{location}/instances/{instance}/osPoli
+// cyAssignments/{assignment}/reports` For `{project}`, either
+// `project-number` or `project-id` can be provided. For `{instance}`,
+// either `instance-name`, `instance-id`, or `-` can be provided. If
+// '-' is provided, the response will include
+// OSPolicyAssignmentReports for all instances in the
+// project/location. For `{assignment}`, either `assignment-id` or `-`
+// can be provided. If '-' is provided, the response will include
+// OSPolicyAssignmentReports for all OSPolicyAssignments in the
+// project/location. Either {instance} or {assignment} must be `-`.
+// For example:
+// `projects/{project}/locations/{location}/instances/{instance}/osPoli
+// cyAssignments/-/reports` returns all reports for the instance
+// `projects/{project}/locations/{location}/instances/-/osPolicyAssignm
+// ents/{assignment-id}/reports` returns all the reports for the given
+// assignment across all instances.
+// `projects/{project}/locations/{location}/instances/-/osPolicyAssignm
+// ents/-/reports` returns all the reports for all assignments across
+// all instances.
func (r *ProjectsLocationsInstancesOsPolicyAssignmentsReportsService) List(parent string) *ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall {
c := &ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5381,11 +5391,11 @@ type ProjectsLocationsInstancesVulnerabilityReportsGetCall struct {
// Only VMs with inventory data have vulnerability reports associated
// with them.
//
-// - name: API resource name for vulnerability resource. Format:
-// `projects/{project}/locations/{location}/instances/{instance}/vulner
-// abilityReport` For `{project}`, either `project-number` or
-// `project-id` can be provided. For `{instance}`, either Compute
-// Engine `instance-id` or `instance-name` can be provided.
+// - name: API resource name for vulnerability resource. Format:
+// `projects/{project}/locations/{location}/instances/{instance}/vulner
+// abilityReport` For `{project}`, either `project-number` or
+// `project-id` can be provided. For `{instance}`, either Compute
+// Engine `instance-id` or `instance-name` can be provided.
func (r *ProjectsLocationsInstancesVulnerabilityReportsService) Get(name string) *ProjectsLocationsInstancesVulnerabilityReportsGetCall {
c := &ProjectsLocationsInstancesVulnerabilityReportsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5532,10 +5542,10 @@ type ProjectsLocationsInstancesVulnerabilityReportsListCall struct {
// List: List vulnerability reports for all VM instances in the
// specified zone.
//
-// - parent: The parent resource name. Format:
-// `projects/{project}/locations/{location}/instances/-` For
-// `{project}`, either `project-number` or `project-id` can be
-// provided.
+// - parent: The parent resource name. Format:
+// `projects/{project}/locations/{location}/instances/-` For
+// `{project}`, either `project-number` or `project-id` can be
+// provided.
func (r *ProjectsLocationsInstancesVulnerabilityReportsService) List(parent string) *ProjectsLocationsInstancesVulnerabilityReportsListCall {
c := &ProjectsLocationsInstancesVulnerabilityReportsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5756,8 +5766,8 @@ type ProjectsLocationsOsPolicyAssignmentsCreateCall struct {
// see Method: projects.locations.osPolicyAssignments.operations.cancel
// (https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
//
-// - parent: The parent resource name in the form:
-// projects/{project}/locations/{location}.
+// - parent: The parent resource name in the form:
+// projects/{project}/locations/{location}.
func (r *ProjectsLocationsOsPolicyAssignmentsService) Create(parent string, ospolicyassignment *OSPolicyAssignment) *ProjectsLocationsOsPolicyAssignmentsCreateCall {
c := &ProjectsLocationsOsPolicyAssignmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6057,9 +6067,9 @@ type ProjectsLocationsOsPolicyAssignmentsGetCall struct {
// of the assignment, also provide the revision ID in the `name`
// parameter.
//
-// - name: The resource name of OS policy assignment. Format:
-// `projects/{project}/locations/{location}/osPolicyAssignments/{os_pol
-// icy_assignment}@{revisionId}`.
+// - name: The resource name of OS policy assignment. Format:
+// `projects/{project}/locations/{location}/osPolicyAssignments/{os_pol
+// icy_assignment}@{revisionId}`.
func (r *ProjectsLocationsOsPolicyAssignmentsService) Get(name string) *ProjectsLocationsOsPolicyAssignmentsGetCall {
c := &ProjectsLocationsOsPolicyAssignmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6599,10 +6609,10 @@ type ProjectsLocationsOsPolicyAssignmentsPatchCall struct {
// see Method: projects.locations.osPolicyAssignments.operations.cancel
// (https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
//
-// - name: Resource name. Format:
-// `projects/{project_number}/locations/{location}/osPolicyAssignments/
-// {os_policy_assignment_id}` This field is ignored when you create an
-// OS policy assignment.
+// - name: Resource name. Format:
+// `projects/{project_number}/locations/{location}/osPolicyAssignments/
+// {os_policy_assignment_id}` This field is ignored when you create an
+// OS policy assignment.
func (r *ProjectsLocationsOsPolicyAssignmentsService) Patch(name string, ospolicyassignment *OSPolicyAssignment) *ProjectsLocationsOsPolicyAssignmentsPatchCall {
c := &ProjectsLocationsOsPolicyAssignmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7056,8 +7066,8 @@ type ProjectsPatchDeploymentsCreateCall struct {
// Create: Create an OS Config patch deployment.
//
-// - parent: The project to apply this patch deployment to in the form
-// `projects/*`.
+// - parent: The project to apply this patch deployment to in the form
+// `projects/*`.
func (r *ProjectsPatchDeploymentsService) Create(parent string, patchdeployment *PatchDeployment) *ProjectsPatchDeploymentsCreateCall {
c := &ProjectsPatchDeploymentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7214,8 +7224,8 @@ type ProjectsPatchDeploymentsDeleteCall struct {
// Delete: Delete an OS Config patch deployment.
//
-// - name: The resource name of the patch deployment in the form
-// `projects/*/patchDeployments/*`.
+// - name: The resource name of the patch deployment in the form
+// `projects/*/patchDeployments/*`.
func (r *ProjectsPatchDeploymentsService) Delete(name string) *ProjectsPatchDeploymentsDeleteCall {
c := &ProjectsPatchDeploymentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7348,8 +7358,8 @@ type ProjectsPatchDeploymentsGetCall struct {
// Get: Get an OS Config patch deployment.
//
-// - name: The resource name of the patch deployment in the form
-// `projects/*/patchDeployments/*`.
+// - name: The resource name of the patch deployment in the form
+// `projects/*/patchDeployments/*`.
func (r *ProjectsPatchDeploymentsService) Get(name string) *ProjectsPatchDeploymentsGetCall {
c := &ProjectsPatchDeploymentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7688,10 +7698,10 @@ type ProjectsPatchDeploymentsPatchCall struct {
// Patch: Update an OS Config patch deployment.
//
-// - name: Unique name for the patch deployment resource in a project.
-// The patch deployment name is in the form:
-// `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
-// This field is ignored when you create a new patch deployment.
+// - name: Unique name for the patch deployment resource in a project.
+// The patch deployment name is in the form:
+// `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
+// This field is ignored when you create a new patch deployment.
func (r *ProjectsPatchDeploymentsService) Patch(name string, patchdeployment *PatchDeployment) *ProjectsPatchDeploymentsPatchCall {
c := &ProjectsPatchDeploymentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7847,8 +7857,8 @@ type ProjectsPatchDeploymentsPauseCall struct {
// Pause: Change state of patch deployment to "PAUSED". Patch deployment
// in paused state doesn't generate patch jobs.
//
-// - name: The resource name of the patch deployment in the form
-// `projects/*/patchDeployments/*`.
+// - name: The resource name of the patch deployment in the form
+// `projects/*/patchDeployments/*`.
func (r *ProjectsPatchDeploymentsService) Pause(name string, pausepatchdeploymentrequest *PausePatchDeploymentRequest) *ProjectsPatchDeploymentsPauseCall {
c := &ProjectsPatchDeploymentsPauseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7991,8 +8001,8 @@ type ProjectsPatchDeploymentsResumeCall struct {
// Resume: Change state of patch deployment back to "ACTIVE". Patch
// deployment in active state continues to generate patch jobs.
//
-// - name: The resource name of the patch deployment in the form
-// `projects/*/patchDeployments/*`.
+// - name: The resource name of the patch deployment in the form
+// `projects/*/patchDeployments/*`.
func (r *ProjectsPatchDeploymentsService) Resume(name string, resumepatchdeploymentrequest *ResumePatchDeploymentRequest) *ProjectsPatchDeploymentsResumeCall {
c := &ProjectsPatchDeploymentsResumeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8277,8 +8287,8 @@ type ProjectsPatchJobsExecuteCall struct {
// Execute: Patch VM instances by creating and running a patch job.
//
-// - parent: The project in which to run this patch in the form
-// `projects/*`.
+// - parent: The project in which to run this patch in the form
+// `projects/*`.
func (r *ProjectsPatchJobsService) Execute(parent string, executepatchjobrequest *ExecutePatchJobRequest) *ProjectsPatchJobsExecuteCall {
c := &ProjectsPatchJobsExecuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8774,8 +8784,8 @@ type ProjectsPatchJobsInstanceDetailsListCall struct {
// List: Get a list of instance details for a given patch job.
//
-// - parent: The parent for the instances are in the form of
-// `projects/*/patchJobs/*`.
+// - parent: The parent for the instances are in the form of
+// `projects/*/patchJobs/*`.
func (r *ProjectsPatchJobsInstanceDetailsService) List(parent string) *ProjectsPatchJobsInstanceDetailsListCall {
c := &ProjectsPatchJobsInstanceDetailsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/osconfig/v1alpha/osconfig-gen.go b/osconfig/v1alpha/osconfig-gen.go
index 4f3e928766e..752c8e0096e 100644
--- a/osconfig/v1alpha/osconfig-gen.go
+++ b/osconfig/v1alpha/osconfig-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/compute/docs/osconfig/rest
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/osconfig/v1alpha"
-// ...
-// ctx := context.Background()
-// osconfigService, err := osconfig.NewService(ctx)
+// import "google.golang.org/api/osconfig/v1alpha"
+// ...
+// ctx := context.Background()
+// osconfigService, err := osconfig.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// osconfigService, err := osconfig.NewService(ctx, option.WithAPIKey("AIza..."))
+// osconfigService, err := osconfig.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// osconfigService, err := osconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// osconfigService, err := osconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package osconfig // import "google.golang.org/api/osconfig/v1alpha"
@@ -3520,13 +3520,13 @@ type ProjectsLocationsInstanceOSPoliciesCompliancesGetCall struct {
// Get: Get OS policies compliance data for the specified Compute Engine
// VM instance.
//
-// - name: API resource name for instance OS policies compliance
-// resource. Format:
-// `projects/{project}/locations/{location}/instanceOSPoliciesComplianc
-// es/{instance}` For `{project}`, either Compute Engine
-// project-number or project-id can be provided. For `{instance}`,
-// either Compute Engine VM instance-id or instance-name can be
-// provided.
+// - name: API resource name for instance OS policies compliance
+// resource. Format:
+// `projects/{project}/locations/{location}/instanceOSPoliciesComplianc
+// es/{instance}` For `{project}`, either Compute Engine
+// project-number or project-id can be provided. For `{instance}`,
+// either Compute Engine VM instance-id or instance-name can be
+// provided.
func (r *ProjectsLocationsInstanceOSPoliciesCompliancesService) Get(name string) *ProjectsLocationsInstanceOSPoliciesCompliancesGetCall {
c := &ProjectsLocationsInstanceOSPoliciesCompliancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3673,9 +3673,9 @@ type ProjectsLocationsInstanceOSPoliciesCompliancesListCall struct {
// List: List OS policies compliance data for all Compute Engine VM
// instances in the specified zone.
//
-// - parent: The parent resource name. Format:
-// `projects/{project}/locations/{location}` For `{project}`, either
-// Compute Engine project-number or project-id can be provided.
+// - parent: The parent resource name. Format:
+// `projects/{project}/locations/{location}` For `{project}`, either
+// Compute Engine project-number or project-id can be provided.
func (r *ProjectsLocationsInstanceOSPoliciesCompliancesService) List(parent string) *ProjectsLocationsInstanceOSPoliciesCompliancesListCall {
c := &ProjectsLocationsInstanceOSPoliciesCompliancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3885,11 +3885,11 @@ type ProjectsLocationsInstancesInventoriesGetCall struct {
// Get: Get inventory data for the specified VM instance. If the VM has
// no associated inventory, the message `NOT_FOUND` is returned.
//
-// - name: API resource name for inventory resource. Format:
-// `projects/{project}/locations/{location}/instances/{instance}/invent
-// ory` For `{project}`, either `project-number` or `project-id` can
-// be provided. For `{instance}`, either Compute Engine `instance-id`
-// or `instance-name` can be provided.
+// - name: API resource name for inventory resource. Format:
+// `projects/{project}/locations/{location}/instances/{instance}/invent
+// ory` For `{project}`, either `project-number` or `project-id` can
+// be provided. For `{instance}`, either Compute Engine `instance-id`
+// or `instance-name` can be provided.
func (r *ProjectsLocationsInstancesInventoriesService) Get(name string) *ProjectsLocationsInstancesInventoriesGetCall {
c := &ProjectsLocationsInstancesInventoriesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3901,11 +3901,16 @@ func (r *ProjectsLocationsInstancesInventoriesService) Get(name string) *Project
// unspecified, the default view is BASIC.
//
// Possible values:
-// "INVENTORY_VIEW_UNSPECIFIED" - The default value. The API defaults
+//
+// "INVENTORY_VIEW_UNSPECIFIED" - The default value. The API defaults
+//
// to the BASIC view.
-// "BASIC" - Returns the basic inventory information that includes
+//
+// "BASIC" - Returns the basic inventory information that includes
+//
// `os_info`.
-// "FULL" - Returns all fields.
+//
+// "FULL" - Returns all fields.
func (c *ProjectsLocationsInstancesInventoriesGetCall) View(view string) *ProjectsLocationsInstancesInventoriesGetCall {
c.urlParams_.Set("view", view)
return c
@@ -4065,10 +4070,10 @@ type ProjectsLocationsInstancesInventoriesListCall struct {
// List: List inventory data for all VM instances in the specified zone.
//
-// - parent: The parent resource name. Format:
-// `projects/{project}/locations/{location}/instances/-` For
-// `{project}`, either `project-number` or `project-id` can be
-// provided.
+// - parent: The parent resource name. Format:
+// `projects/{project}/locations/{location}/instances/-` For
+// `{project}`, either `project-number` or `project-id` can be
+// provided.
func (r *ProjectsLocationsInstancesInventoriesService) List(parent string) *ProjectsLocationsInstancesInventoriesListCall {
c := &ProjectsLocationsInstancesInventoriesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4103,11 +4108,16 @@ func (c *ProjectsLocationsInstancesInventoriesListCall) PageToken(pageToken stri
// unspecified, the default view is BASIC.
//
// Possible values:
-// "INVENTORY_VIEW_UNSPECIFIED" - The default value. The API defaults
+//
+// "INVENTORY_VIEW_UNSPECIFIED" - The default value. The API defaults
+//
// to the BASIC view.
-// "BASIC" - Returns the basic inventory information that includes
+//
+// "BASIC" - Returns the basic inventory information that includes
+//
// `os_info`.
-// "FULL" - Returns all fields.
+//
+// "FULL" - Returns all fields.
func (c *ProjectsLocationsInstancesInventoriesListCall) View(view string) *ProjectsLocationsInstancesInventoriesListCall {
c.urlParams_.Set("view", view)
return c
@@ -4305,13 +4315,13 @@ type ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall struct {
// Get: Get the OS policy asssignment report for the specified Compute
// Engine VM instance.
//
-// - name: API resource name for OS policy assignment report. Format:
-// `/projects/{project}/locations/{location}/instances/{instance}/osPol
-// icyAssignments/{assignment}/report` For `{project}`, either
-// `project-number` or `project-id` can be provided. For
-// `{instance_id}`, either Compute Engine `instance-id` or
-// `instance-name` can be provided. For `{assignment_id}`, the
-// OSPolicyAssignment id must be provided.
+// - name: API resource name for OS policy assignment report. Format:
+// `/projects/{project}/locations/{location}/instances/{instance}/osPol
+// icyAssignments/{assignment}/report` For `{project}`, either
+// `project-number` or `project-id` can be provided. For
+// `{instance_id}`, either Compute Engine `instance-id` or
+// `instance-name` can be provided. For `{assignment_id}`, the
+// OSPolicyAssignment id must be provided.
func (r *ProjectsLocationsInstancesOsPolicyAssignmentsReportsService) Get(name string) *ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall {
c := &ProjectsLocationsInstancesOsPolicyAssignmentsReportsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4458,26 +4468,26 @@ type ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall struct {
// List: List OS policy asssignment reports for all Compute Engine VM
// instances in the specified zone.
//
-// - parent: The parent resource name. Format:
-// `projects/{project}/locations/{location}/instances/{instance}/osPoli
-// cyAssignments/{assignment}/reports` For `{project}`, either
-// `project-number` or `project-id` can be provided. For `{instance}`,
-// either `instance-name`, `instance-id`, or `-` can be provided. If
-// '-' is provided, the response will include
-// OSPolicyAssignmentReports for all instances in the
-// project/location. For `{assignment}`, either `assignment-id` or `-`
-// can be provided. If '-' is provided, the response will include
-// OSPolicyAssignmentReports for all OSPolicyAssignments in the
-// project/location. Either {instance} or {assignment} must be `-`.
-// For example:
-// `projects/{project}/locations/{location}/instances/{instance}/osPoli
-// cyAssignments/-/reports` returns all reports for the instance
-// `projects/{project}/locations/{location}/instances/-/osPolicyAssignm
-// ents/{assignment-id}/reports` returns all the reports for the given
-// assignment across all instances.
-// `projects/{project}/locations/{location}/instances/-/osPolicyAssignm
-// ents/-/reports` returns all the reports for all assignments across
-// all instances.
+// - parent: The parent resource name. Format:
+// `projects/{project}/locations/{location}/instances/{instance}/osPoli
+// cyAssignments/{assignment}/reports` For `{project}`, either
+// `project-number` or `project-id` can be provided. For `{instance}`,
+// either `instance-name`, `instance-id`, or `-` can be provided. If
+// '-' is provided, the response will include
+// OSPolicyAssignmentReports for all instances in the
+// project/location. For `{assignment}`, either `assignment-id` or `-`
+// can be provided. If '-' is provided, the response will include
+// OSPolicyAssignmentReports for all OSPolicyAssignments in the
+// project/location. Either {instance} or {assignment} must be `-`.
+// For example:
+// `projects/{project}/locations/{location}/instances/{instance}/osPoli
+// cyAssignments/-/reports` returns all reports for the instance
+// `projects/{project}/locations/{location}/instances/-/osPolicyAssignm
+// ents/{assignment-id}/reports` returns all the reports for the given
+// assignment across all instances.
+// `projects/{project}/locations/{location}/instances/-/osPolicyAssignm
+// ents/-/reports` returns all the reports for all assignments across
+// all instances.
func (r *ProjectsLocationsInstancesOsPolicyAssignmentsReportsService) List(parent string) *ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall {
c := &ProjectsLocationsInstancesOsPolicyAssignmentsReportsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4687,11 +4697,11 @@ type ProjectsLocationsInstancesVulnerabilityReportsGetCall struct {
// Only VMs with inventory data have vulnerability reports associated
// with them.
//
-// - name: API resource name for vulnerability resource. Format:
-// `projects/{project}/locations/{location}/instances/{instance}/vulner
-// abilityReport` For `{project}`, either `project-number` or
-// `project-id` can be provided. For `{instance}`, either Compute
-// Engine `instance-id` or `instance-name` can be provided.
+// - name: API resource name for vulnerability resource. Format:
+// `projects/{project}/locations/{location}/instances/{instance}/vulner
+// abilityReport` For `{project}`, either `project-number` or
+// `project-id` can be provided. For `{instance}`, either Compute
+// Engine `instance-id` or `instance-name` can be provided.
func (r *ProjectsLocationsInstancesVulnerabilityReportsService) Get(name string) *ProjectsLocationsInstancesVulnerabilityReportsGetCall {
c := &ProjectsLocationsInstancesVulnerabilityReportsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4838,10 +4848,10 @@ type ProjectsLocationsInstancesVulnerabilityReportsListCall struct {
// List: List vulnerability reports for all VM instances in the
// specified zone.
//
-// - parent: The parent resource name. Format:
-// `projects/{project}/locations/{location}/instances/-` For
-// `{project}`, either `project-number` or `project-id` can be
-// provided.
+// - parent: The parent resource name. Format:
+// `projects/{project}/locations/{location}/instances/-` For
+// `{project}`, either `project-number` or `project-id` can be
+// provided.
func (r *ProjectsLocationsInstancesVulnerabilityReportsService) List(parent string) *ProjectsLocationsInstancesVulnerabilityReportsListCall {
c := &ProjectsLocationsInstancesVulnerabilityReportsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5062,8 +5072,8 @@ type ProjectsLocationsOsPolicyAssignmentsCreateCall struct {
// see Method: projects.locations.osPolicyAssignments.operations.cancel
// (https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
//
-// - parent: The parent resource name in the form:
-// projects/{project}/locations/{location}.
+// - parent: The parent resource name in the form:
+// projects/{project}/locations/{location}.
func (r *ProjectsLocationsOsPolicyAssignmentsService) Create(parent string, ospolicyassignment *OSPolicyAssignment) *ProjectsLocationsOsPolicyAssignmentsCreateCall {
c := &ProjectsLocationsOsPolicyAssignmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5363,9 +5373,9 @@ type ProjectsLocationsOsPolicyAssignmentsGetCall struct {
// of the assignment, also provide the revision ID in the `name`
// parameter.
//
-// - name: The resource name of OS policy assignment. Format:
-// `projects/{project}/locations/{location}/osPolicyAssignments/{os_pol
-// icy_assignment}@{revisionId}`.
+// - name: The resource name of OS policy assignment. Format:
+// `projects/{project}/locations/{location}/osPolicyAssignments/{os_pol
+// icy_assignment}@{revisionId}`.
func (r *ProjectsLocationsOsPolicyAssignmentsService) Get(name string) *ProjectsLocationsOsPolicyAssignmentsGetCall {
c := &ProjectsLocationsOsPolicyAssignmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5905,10 +5915,10 @@ type ProjectsLocationsOsPolicyAssignmentsPatchCall struct {
// see Method: projects.locations.osPolicyAssignments.operations.cancel
// (https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
//
-// - name: Resource name. Format:
-// `projects/{project_number}/locations/{location}/osPolicyAssignments/
-// {os_policy_assignment_id}` This field is ignored when you create an
-// OS policy assignment.
+// - name: Resource name. Format:
+// `projects/{project_number}/locations/{location}/osPolicyAssignments/
+// {os_policy_assignment_id}` This field is ignored when you create an
+// OS policy assignment.
func (r *ProjectsLocationsOsPolicyAssignmentsService) Patch(name string, ospolicyassignment *OSPolicyAssignment) *ProjectsLocationsOsPolicyAssignmentsPatchCall {
c := &ProjectsLocationsOsPolicyAssignmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/osconfig/v1beta/osconfig-gen.go b/osconfig/v1beta/osconfig-gen.go
index c0baa4b1778..57da3a5bf63 100644
--- a/osconfig/v1beta/osconfig-gen.go
+++ b/osconfig/v1beta/osconfig-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/compute/docs/osconfig/rest
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/osconfig/v1beta"
-// ...
-// ctx := context.Background()
-// osconfigService, err := osconfig.NewService(ctx)
+// import "google.golang.org/api/osconfig/v1beta"
+// ...
+// ctx := context.Background()
+// osconfigService, err := osconfig.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// osconfigService, err := osconfig.NewService(ctx, option.WithAPIKey("AIza..."))
+// osconfigService, err := osconfig.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// osconfigService, err := osconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// osconfigService, err := osconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package osconfig // import "google.golang.org/api/osconfig/v1beta"
@@ -3025,8 +3025,8 @@ type ProjectsGuestPoliciesCreateCall struct {
// Create: Create an OS Config guest policy.
//
-// - parent: The resource name of the parent using one of the following
-// forms: `projects/{project_number}`.
+// - parent: The resource name of the parent using one of the following
+// forms: `projects/{project_number}`.
func (r *ProjectsGuestPoliciesService) Create(parent string, guestpolicy *GuestPolicy) *ProjectsGuestPoliciesCreateCall {
c := &ProjectsGuestPoliciesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3183,9 +3183,9 @@ type ProjectsGuestPoliciesDeleteCall struct {
// Delete: Delete an OS Config guest policy.
//
-// - name: The resource name of the guest policy using one of the
-// following forms:
-// `projects/{project_number}/guestPolicies/{guest_policy_id}`.
+// - name: The resource name of the guest policy using one of the
+// following forms:
+// `projects/{project_number}/guestPolicies/{guest_policy_id}`.
func (r *ProjectsGuestPoliciesService) Delete(name string) *ProjectsGuestPoliciesDeleteCall {
c := &ProjectsGuestPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3318,9 +3318,9 @@ type ProjectsGuestPoliciesGetCall struct {
// Get: Get an OS Config guest policy.
//
-// - name: The resource name of the guest policy using one of the
-// following forms:
-// `projects/{project_number}/guestPolicies/{guest_policy_id}`.
+// - name: The resource name of the guest policy using one of the
+// following forms:
+// `projects/{project_number}/guestPolicies/{guest_policy_id}`.
func (r *ProjectsGuestPoliciesService) Get(name string) *ProjectsGuestPoliciesGetCall {
c := &ProjectsGuestPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3466,8 +3466,8 @@ type ProjectsGuestPoliciesListCall struct {
// List: Get a page of OS Config guest policies.
//
-// - parent: The resource name of the parent using one of the following
-// forms: `projects/{project_number}`.
+// - parent: The resource name of the parent using one of the following
+// forms: `projects/{project_number}`.
func (r *ProjectsGuestPoliciesService) List(parent string) *ProjectsGuestPoliciesListCall {
c := &ProjectsGuestPoliciesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3660,9 +3660,9 @@ type ProjectsGuestPoliciesPatchCall struct {
// Patch: Update an OS Config guest policy.
//
-// - name: Unique name of the resource in this project using one of the
-// following forms:
-// `projects/{project_number}/guestPolicies/{guest_policy_id}`.
+// - name: Unique name of the resource in this project using one of the
+// following forms:
+// `projects/{project_number}/guestPolicies/{guest_policy_id}`.
func (r *ProjectsGuestPoliciesService) Patch(name string, guestpolicy *GuestPolicy) *ProjectsGuestPoliciesPatchCall {
c := &ProjectsGuestPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3817,8 +3817,8 @@ type ProjectsPatchDeploymentsCreateCall struct {
// Create: Create an OS Config patch deployment.
//
-// - parent: The project to apply this patch deployment to in the form
-// `projects/*`.
+// - parent: The project to apply this patch deployment to in the form
+// `projects/*`.
func (r *ProjectsPatchDeploymentsService) Create(parent string, patchdeployment *PatchDeployment) *ProjectsPatchDeploymentsCreateCall {
c := &ProjectsPatchDeploymentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3975,8 +3975,8 @@ type ProjectsPatchDeploymentsDeleteCall struct {
// Delete: Delete an OS Config patch deployment.
//
-// - name: The resource name of the patch deployment in the form
-// `projects/*/patchDeployments/*`.
+// - name: The resource name of the patch deployment in the form
+// `projects/*/patchDeployments/*`.
func (r *ProjectsPatchDeploymentsService) Delete(name string) *ProjectsPatchDeploymentsDeleteCall {
c := &ProjectsPatchDeploymentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4109,8 +4109,8 @@ type ProjectsPatchDeploymentsGetCall struct {
// Get: Get an OS Config patch deployment.
//
-// - name: The resource name of the patch deployment in the form
-// `projects/*/patchDeployments/*`.
+// - name: The resource name of the patch deployment in the form
+// `projects/*/patchDeployments/*`.
func (r *ProjectsPatchDeploymentsService) Get(name string) *ProjectsPatchDeploymentsGetCall {
c := &ProjectsPatchDeploymentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4449,10 +4449,10 @@ type ProjectsPatchDeploymentsPatchCall struct {
// Patch: Update an OS Config patch deployment.
//
-// - name: Unique name for the patch deployment resource in a project.
-// The patch deployment name is in the form:
-// `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
-// This field is ignored when you create a new patch deployment.
+// - name: Unique name for the patch deployment resource in a project.
+// The patch deployment name is in the form:
+// `projects/{project_id}/patchDeployments/{patch_deployment_id}`.
+// This field is ignored when you create a new patch deployment.
func (r *ProjectsPatchDeploymentsService) Patch(name string, patchdeployment *PatchDeployment) *ProjectsPatchDeploymentsPatchCall {
c := &ProjectsPatchDeploymentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4608,8 +4608,8 @@ type ProjectsPatchDeploymentsPauseCall struct {
// Pause: Change state of patch deployment to "PAUSED". Patch deployment
// in paused state doesn't generate patch jobs.
//
-// - name: The resource name of the patch deployment in the form
-// `projects/*/patchDeployments/*`.
+// - name: The resource name of the patch deployment in the form
+// `projects/*/patchDeployments/*`.
func (r *ProjectsPatchDeploymentsService) Pause(name string, pausepatchdeploymentrequest *PausePatchDeploymentRequest) *ProjectsPatchDeploymentsPauseCall {
c := &ProjectsPatchDeploymentsPauseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4752,8 +4752,8 @@ type ProjectsPatchDeploymentsResumeCall struct {
// Resume: Change state of patch deployment back to "ACTIVE". Patch
// deployment in active state continues to generate patch jobs.
//
-// - name: The resource name of the patch deployment in the form
-// `projects/*/patchDeployments/*`.
+// - name: The resource name of the patch deployment in the form
+// `projects/*/patchDeployments/*`.
func (r *ProjectsPatchDeploymentsService) Resume(name string, resumepatchdeploymentrequest *ResumePatchDeploymentRequest) *ProjectsPatchDeploymentsResumeCall {
c := &ProjectsPatchDeploymentsResumeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5038,8 +5038,8 @@ type ProjectsPatchJobsExecuteCall struct {
// Execute: Patch VM instances by creating and running a patch job.
//
-// - parent: The project in which to run this patch in the form
-// `projects/*`.
+// - parent: The project in which to run this patch in the form
+// `projects/*`.
func (r *ProjectsPatchJobsService) Execute(parent string, executepatchjobrequest *ExecutePatchJobRequest) *ProjectsPatchJobsExecuteCall {
c := &ProjectsPatchJobsExecuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5535,8 +5535,8 @@ type ProjectsPatchJobsInstanceDetailsListCall struct {
// List: Get a list of instance details for a given patch job.
//
-// - parent: The parent for the instances are in the form of
-// `projects/*/patchJobs/*`.
+// - parent: The parent for the instances are in the form of
+// `projects/*/patchJobs/*`.
func (r *ProjectsPatchJobsInstanceDetailsService) List(parent string) *ProjectsPatchJobsInstanceDetailsListCall {
c := &ProjectsPatchJobsInstanceDetailsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/oslogin/v1/oslogin-gen.go b/oslogin/v1/oslogin-gen.go
index d61b421b38d..e59e6a18c7f 100644
--- a/oslogin/v1/oslogin-gen.go
+++ b/oslogin/v1/oslogin-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/compute/docs/oslogin/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/oslogin/v1"
-// ...
-// ctx := context.Background()
-// osloginService, err := oslogin.NewService(ctx)
+// import "google.golang.org/api/oslogin/v1"
+// ...
+// ctx := context.Background()
+// osloginService, err := oslogin.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// osloginService, err := oslogin.NewService(ctx, option.WithScopes(oslogin.ComputeReadonlyScope))
+// osloginService, err := oslogin.NewService(ctx, option.WithScopes(oslogin.ComputeReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// osloginService, err := oslogin.NewService(ctx, option.WithAPIKey("AIza..."))
+// osloginService, err := oslogin.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// osloginService, err := oslogin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// osloginService, err := oslogin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package oslogin // import "google.golang.org/api/oslogin/v1"
@@ -730,10 +730,10 @@ type UsersProjectsDeleteCall struct {
// Delete: Deletes a POSIX account.
//
-// - name: A reference to the POSIX account to update. POSIX accounts
-// are identified by the project ID they are associated with. A
-// reference to the POSIX account is in format
-// `users/{user}/projects/{project}`.
+// - name: A reference to the POSIX account to update. POSIX accounts
+// are identified by the project ID they are associated with. A
+// reference to the POSIX account is in format
+// `users/{user}/projects/{project}`.
func (r *UsersProjectsService) Delete(name string) *UsersProjectsDeleteCall {
c := &UsersProjectsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1009,9 +1009,9 @@ type UsersSshPublicKeysDeleteCall struct {
// Delete: Deletes an SSH public key.
//
-// - name: The fingerprint of the public key to update. Public keys are
-// identified by their SHA-256 fingerprint. The fingerprint of the
-// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
+// - name: The fingerprint of the public key to update. Public keys are
+// identified by their SHA-256 fingerprint. The fingerprint of the
+// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
func (r *UsersSshPublicKeysService) Delete(name string) *UsersSshPublicKeysDeleteCall {
c := &UsersSshPublicKeysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1145,9 +1145,9 @@ type UsersSshPublicKeysGetCall struct {
// Get: Retrieves an SSH public key.
//
-// - name: The fingerprint of the public key to retrieve. Public keys
-// are identified by their SHA-256 fingerprint. The fingerprint of the
-// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
+// - name: The fingerprint of the public key to retrieve. Public keys
+// are identified by their SHA-256 fingerprint. The fingerprint of the
+// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
func (r *UsersSshPublicKeysService) Get(name string) *UsersSshPublicKeysGetCall {
c := &UsersSshPublicKeysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1295,9 +1295,9 @@ type UsersSshPublicKeysPatchCall struct {
// Patch: Updates an SSH public key and returns the profile information.
// This method supports patch semantics.
//
-// - name: The fingerprint of the public key to update. Public keys are
-// identified by their SHA-256 fingerprint. The fingerprint of the
-// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
+// - name: The fingerprint of the public key to update. Public keys are
+// identified by their SHA-256 fingerprint. The fingerprint of the
+// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
func (r *UsersSshPublicKeysService) Patch(name string, sshpublickey *SshPublicKey) *UsersSshPublicKeysPatchCall {
c := &UsersSshPublicKeysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/oslogin/v1alpha/oslogin-gen.go b/oslogin/v1alpha/oslogin-gen.go
index 1af36a57060..e9b4752c02a 100644
--- a/oslogin/v1alpha/oslogin-gen.go
+++ b/oslogin/v1alpha/oslogin-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/compute/docs/oslogin/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/oslogin/v1alpha"
-// ...
-// ctx := context.Background()
-// osloginService, err := oslogin.NewService(ctx)
+// import "google.golang.org/api/oslogin/v1alpha"
+// ...
+// ctx := context.Background()
+// osloginService, err := oslogin.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// osloginService, err := oslogin.NewService(ctx, option.WithScopes(oslogin.ComputeReadonlyScope))
+// osloginService, err := oslogin.NewService(ctx, option.WithScopes(oslogin.ComputeReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// osloginService, err := oslogin.NewService(ctx, option.WithAPIKey("AIza..."))
+// osloginService, err := oslogin.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// osloginService, err := oslogin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// osloginService, err := oslogin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package oslogin // import "google.golang.org/api/oslogin/v1alpha"
@@ -513,10 +513,13 @@ func (r *UsersService) GetLoginProfile(name string) *UsersGetLoginProfileCall {
// the account.
//
// Possible values:
-// "OPERATING_SYSTEM_TYPE_UNSPECIFIED" - The operating system type
+//
+// "OPERATING_SYSTEM_TYPE_UNSPECIFIED" - The operating system type
+//
// associated with the user account information is unspecified.
-// "LINUX" - Linux user account information.
-// "WINDOWS" - Windows user account information.
+//
+// "LINUX" - Linux user account information.
+// "WINDOWS" - Windows user account information.
func (c *UsersGetLoginProfileCall) OperatingSystemType(operatingSystemType string) *UsersGetLoginProfileCall {
c.urlParams_.Set("operatingSystemType", operatingSystemType)
return c
@@ -540,10 +543,13 @@ func (c *UsersGetLoginProfileCall) SystemId(systemId string) *UsersGetLoginProfi
// to retrieve security keys information.
//
// Possible values:
-// "LOGIN_PROFILE_VIEW_UNSPECIFIED" - The default login profile view.
+//
+// "LOGIN_PROFILE_VIEW_UNSPECIFIED" - The default login profile view.
+//
// The API defaults to the BASIC view.
-// "BASIC" - Includes POSIX and SSH key information.
-// "SECURITY_KEY" - Include security key information for the user.
+//
+// "BASIC" - Includes POSIX and SSH key information.
+// "SECURITY_KEY" - Include security key information for the user.
func (c *UsersGetLoginProfileCall) View(view string) *UsersGetLoginProfileCall {
c.urlParams_.Set("view", view)
return c
@@ -752,10 +758,13 @@ func (c *UsersImportSshPublicKeyCall) ProjectId(projectId string) *UsersImportSs
// to retrieve security keys information.
//
// Possible values:
-// "LOGIN_PROFILE_VIEW_UNSPECIFIED" - The default login profile view.
+//
+// "LOGIN_PROFILE_VIEW_UNSPECIFIED" - The default login profile view.
+//
// The API defaults to the BASIC view.
-// "BASIC" - Includes POSIX and SSH key information.
-// "SECURITY_KEY" - Include security key information for the user.
+//
+// "BASIC" - Includes POSIX and SSH key information.
+// "SECURITY_KEY" - Include security key information for the user.
func (c *UsersImportSshPublicKeyCall) View(view string) *UsersImportSshPublicKeyCall {
c.urlParams_.Set("view", view)
return c
@@ -915,10 +924,10 @@ type UsersProjectsDeleteCall struct {
// Delete: Deletes a POSIX account.
//
-// - name: A reference to the POSIX account to update. POSIX accounts
-// are identified by the project ID they are associated with. A
-// reference to the POSIX account is in format
-// `users/{user}/projects/{project}`.
+// - name: A reference to the POSIX account to update. POSIX accounts
+// are identified by the project ID they are associated with. A
+// reference to the POSIX account is in format
+// `users/{user}/projects/{project}`.
func (r *UsersProjectsService) Delete(name string) *UsersProjectsDeleteCall {
c := &UsersProjectsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -930,10 +939,13 @@ func (r *UsersProjectsService) Delete(name string) *UsersProjectsDeleteCall {
// the account.
//
// Possible values:
-// "OPERATING_SYSTEM_TYPE_UNSPECIFIED" - The operating system type
+//
+// "OPERATING_SYSTEM_TYPE_UNSPECIFIED" - The operating system type
+//
// associated with the user account information is unspecified.
-// "LINUX" - Linux user account information.
-// "WINDOWS" - Windows user account information.
+//
+// "LINUX" - Linux user account information.
+// "WINDOWS" - Windows user account information.
func (c *UsersProjectsDeleteCall) OperatingSystemType(operatingSystemType string) *UsersProjectsDeleteCall {
c.urlParams_.Set("operatingSystemType", operatingSystemType)
return c
@@ -1223,9 +1235,9 @@ type UsersSshPublicKeysDeleteCall struct {
// Delete: Deletes an SSH public key.
//
-// - name: The fingerprint of the public key to update. Public keys are
-// identified by their SHA-256 fingerprint. The fingerprint of the
-// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
+// - name: The fingerprint of the public key to update. Public keys are
+// identified by their SHA-256 fingerprint. The fingerprint of the
+// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
func (r *UsersSshPublicKeysService) Delete(name string) *UsersSshPublicKeysDeleteCall {
c := &UsersSshPublicKeysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1359,9 +1371,9 @@ type UsersSshPublicKeysGetCall struct {
// Get: Retrieves an SSH public key.
//
-// - name: The fingerprint of the public key to retrieve. Public keys
-// are identified by their SHA-256 fingerprint. The fingerprint of the
-// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
+// - name: The fingerprint of the public key to retrieve. Public keys
+// are identified by their SHA-256 fingerprint. The fingerprint of the
+// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
func (r *UsersSshPublicKeysService) Get(name string) *UsersSshPublicKeysGetCall {
c := &UsersSshPublicKeysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1509,9 +1521,9 @@ type UsersSshPublicKeysPatchCall struct {
// Patch: Updates an SSH public key and returns the profile information.
// This method supports patch semantics.
//
-// - name: The fingerprint of the public key to update. Public keys are
-// identified by their SHA-256 fingerprint. The fingerprint of the
-// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
+// - name: The fingerprint of the public key to update. Public keys are
+// identified by their SHA-256 fingerprint. The fingerprint of the
+// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
func (r *UsersSshPublicKeysService) Patch(name string, sshpublickey *SshPublicKey) *UsersSshPublicKeysPatchCall {
c := &UsersSshPublicKeysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/oslogin/v1beta/oslogin-gen.go b/oslogin/v1beta/oslogin-gen.go
index b9c6fe34889..bcf2411cce6 100644
--- a/oslogin/v1beta/oslogin-gen.go
+++ b/oslogin/v1beta/oslogin-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/compute/docs/oslogin/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/oslogin/v1beta"
-// ...
-// ctx := context.Background()
-// osloginService, err := oslogin.NewService(ctx)
+// import "google.golang.org/api/oslogin/v1beta"
+// ...
+// ctx := context.Background()
+// osloginService, err := oslogin.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// osloginService, err := oslogin.NewService(ctx, option.WithScopes(oslogin.ComputeReadonlyScope))
+// osloginService, err := oslogin.NewService(ctx, option.WithScopes(oslogin.ComputeReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// osloginService, err := oslogin.NewService(ctx, option.WithAPIKey("AIza..."))
+// osloginService, err := oslogin.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// osloginService, err := oslogin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// osloginService, err := oslogin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package oslogin // import "google.golang.org/api/oslogin/v1beta"
@@ -526,10 +526,13 @@ func (c *UsersGetLoginProfileCall) SystemId(systemId string) *UsersGetLoginProfi
// to retrieve security keys information.
//
// Possible values:
-// "LOGIN_PROFILE_VIEW_UNSPECIFIED" - The default login profile view.
+//
+// "LOGIN_PROFILE_VIEW_UNSPECIFIED" - The default login profile view.
+//
// The API defaults to the BASIC view.
-// "BASIC" - Includes POSIX and SSH key information.
-// "SECURITY_KEY" - Include security key information for the user.
+//
+// "BASIC" - Includes POSIX and SSH key information.
+// "SECURITY_KEY" - Include security key information for the user.
func (c *UsersGetLoginProfileCall) View(view string) *UsersGetLoginProfileCall {
c.urlParams_.Set("view", view)
return c
@@ -723,10 +726,13 @@ func (c *UsersImportSshPublicKeyCall) ProjectId(projectId string) *UsersImportSs
// to retrieve security keys information.
//
// Possible values:
-// "LOGIN_PROFILE_VIEW_UNSPECIFIED" - The default login profile view.
+//
+// "LOGIN_PROFILE_VIEW_UNSPECIFIED" - The default login profile view.
+//
// The API defaults to the BASIC view.
-// "BASIC" - Includes POSIX and SSH key information.
-// "SECURITY_KEY" - Include security key information for the user.
+//
+// "BASIC" - Includes POSIX and SSH key information.
+// "SECURITY_KEY" - Include security key information for the user.
func (c *UsersImportSshPublicKeyCall) View(view string) *UsersImportSshPublicKeyCall {
c.urlParams_.Set("view", view)
return c
@@ -886,10 +892,10 @@ type UsersProjectsDeleteCall struct {
// Delete: Deletes a POSIX account.
//
-// - name: A reference to the POSIX account to update. POSIX accounts
-// are identified by the project ID they are associated with. A
-// reference to the POSIX account is in format
-// `users/{user}/projects/{project}`.
+// - name: A reference to the POSIX account to update. POSIX accounts
+// are identified by the project ID they are associated with. A
+// reference to the POSIX account is in format
+// `users/{user}/projects/{project}`.
func (r *UsersProjectsService) Delete(name string) *UsersProjectsDeleteCall {
c := &UsersProjectsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1165,9 +1171,9 @@ type UsersSshPublicKeysDeleteCall struct {
// Delete: Deletes an SSH public key.
//
-// - name: The fingerprint of the public key to update. Public keys are
-// identified by their SHA-256 fingerprint. The fingerprint of the
-// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
+// - name: The fingerprint of the public key to update. Public keys are
+// identified by their SHA-256 fingerprint. The fingerprint of the
+// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
func (r *UsersSshPublicKeysService) Delete(name string) *UsersSshPublicKeysDeleteCall {
c := &UsersSshPublicKeysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1301,9 +1307,9 @@ type UsersSshPublicKeysGetCall struct {
// Get: Retrieves an SSH public key.
//
-// - name: The fingerprint of the public key to retrieve. Public keys
-// are identified by their SHA-256 fingerprint. The fingerprint of the
-// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
+// - name: The fingerprint of the public key to retrieve. Public keys
+// are identified by their SHA-256 fingerprint. The fingerprint of the
+// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
func (r *UsersSshPublicKeysService) Get(name string) *UsersSshPublicKeysGetCall {
c := &UsersSshPublicKeysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1451,9 +1457,9 @@ type UsersSshPublicKeysPatchCall struct {
// Patch: Updates an SSH public key and returns the profile information.
// This method supports patch semantics.
//
-// - name: The fingerprint of the public key to update. Public keys are
-// identified by their SHA-256 fingerprint. The fingerprint of the
-// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
+// - name: The fingerprint of the public key to update. Public keys are
+// identified by their SHA-256 fingerprint. The fingerprint of the
+// public key is in format `users/{user}/sshPublicKeys/{fingerprint}`.
func (r *UsersSshPublicKeysService) Patch(name string, sshpublickey *SshPublicKey) *UsersSshPublicKeysPatchCall {
c := &UsersSshPublicKeysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/pagespeedonline/v1/pagespeedonline-gen.go b/pagespeedonline/v1/pagespeedonline-gen.go
index 4fc2135fea2..8b1314e3102 100644
--- a/pagespeedonline/v1/pagespeedonline-gen.go
+++ b/pagespeedonline/v1/pagespeedonline-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/speed/docs/insights/v1/getting_started
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/pagespeedonline/v1"
-// ...
-// ctx := context.Background()
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx)
+// import "google.golang.org/api/pagespeedonline/v1"
+// ...
+// ctx := context.Background()
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithAPIKey("AIza..."))
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package pagespeedonline // import "google.golang.org/api/pagespeedonline/v1"
@@ -751,8 +751,9 @@ func (c *PagespeedapiRunpagespeedCall) Screenshot(screenshot bool) *Pagespeedapi
// strategy to use
//
// Possible values:
-// "desktop" - Fetch and analyze the URL for desktop browsers
-// "mobile" - Fetch and analyze the URL for mobile devices
+//
+// "desktop" - Fetch and analyze the URL for desktop browsers
+// "mobile" - Fetch and analyze the URL for mobile devices
func (c *PagespeedapiRunpagespeedCall) Strategy(strategy string) *PagespeedapiRunpagespeedCall {
c.urlParams_.Set("strategy", strategy)
return c
diff --git a/pagespeedonline/v2/pagespeedonline-gen.go b/pagespeedonline/v2/pagespeedonline-gen.go
index 78c869e08de..9333d57b6c8 100644
--- a/pagespeedonline/v2/pagespeedonline-gen.go
+++ b/pagespeedonline/v2/pagespeedonline-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/speed/docs/insights/v2/getting-started
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/pagespeedonline/v2"
-// ...
-// ctx := context.Background()
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx)
+// import "google.golang.org/api/pagespeedonline/v2"
+// ...
+// ctx := context.Background()
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithAPIKey("AIza..."))
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package pagespeedonline // import "google.golang.org/api/pagespeedonline/v2"
@@ -790,8 +790,9 @@ func (c *PagespeedapiRunpagespeedCall) Screenshot(screenshot bool) *Pagespeedapi
// strategy to use
//
// Possible values:
-// "desktop" - Fetch and analyze the URL for desktop browsers
-// "mobile" - Fetch and analyze the URL for mobile devices
+//
+// "desktop" - Fetch and analyze the URL for desktop browsers
+// "mobile" - Fetch and analyze the URL for mobile devices
func (c *PagespeedapiRunpagespeedCall) Strategy(strategy string) *PagespeedapiRunpagespeedCall {
c.urlParams_.Set("strategy", strategy)
return c
diff --git a/pagespeedonline/v4/pagespeedonline-gen.go b/pagespeedonline/v4/pagespeedonline-gen.go
index 7b0c59634a5..857bb437398 100644
--- a/pagespeedonline/v4/pagespeedonline-gen.go
+++ b/pagespeedonline/v4/pagespeedonline-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/speed/docs/insights/v4/getting-started
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/pagespeedonline/v4"
-// ...
-// ctx := context.Background()
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx)
+// import "google.golang.org/api/pagespeedonline/v4"
+// ...
+// ctx := context.Background()
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithAPIKey("AIza..."))
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package pagespeedonline // import "google.golang.org/api/pagespeedonline/v4"
@@ -932,8 +932,9 @@ func (c *PagespeedapiRunpagespeedCall) Snapshots(snapshots bool) *PagespeedapiRu
// strategy (desktop or mobile) to use, and desktop is the default
//
// Possible values:
-// "desktop" - Fetch and analyze the URL for desktop browsers
-// "mobile" - Fetch and analyze the URL for mobile devices
+//
+// "desktop" - Fetch and analyze the URL for desktop browsers
+// "mobile" - Fetch and analyze the URL for mobile devices
func (c *PagespeedapiRunpagespeedCall) Strategy(strategy string) *PagespeedapiRunpagespeedCall {
c.urlParams_.Set("strategy", strategy)
return c
diff --git a/pagespeedonline/v5/pagespeedonline-gen.go b/pagespeedonline/v5/pagespeedonline-gen.go
index f50a924c31c..dd67902abf3 100644
--- a/pagespeedonline/v5/pagespeedonline-gen.go
+++ b/pagespeedonline/v5/pagespeedonline-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/speed/docs/insights/v5/about
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/pagespeedonline/v5"
-// ...
-// ctx := context.Background()
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx)
+// import "google.golang.org/api/pagespeedonline/v5"
+// ...
+// ctx := context.Background()
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithAPIKey("AIza..."))
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// pagespeedonlineService, err := pagespeedonline.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package pagespeedonline // import "google.golang.org/api/pagespeedonline/v5"
@@ -1212,16 +1212,26 @@ func (c *PagespeedapiRunpagespeedCall) CaptchaToken(captchaToken string) *Pagesp
// run
//
// Possible values:
-// "CATEGORY_UNSPECIFIED" - Default UNDEFINED category.
-// "ACCESSIBILITY" - Accessibility (a11y), category pertaining to a
+//
+// "CATEGORY_UNSPECIFIED" - Default UNDEFINED category.
+// "ACCESSIBILITY" - Accessibility (a11y), category pertaining to a
+//
// website's capacity to be accessible to all users.
-// "BEST_PRACTICES" - Best Practices, category pertaining to a
+//
+// "BEST_PRACTICES" - Best Practices, category pertaining to a
+//
// website's conformance to web best practice.
-// "PERFORMANCE" - Performance, category pertaining to a website's
+//
+// "PERFORMANCE" - Performance, category pertaining to a website's
+//
// performance.
-// "PWA" - Progressive Web App (PWA), category pertaining to a
+//
+// "PWA" - Progressive Web App (PWA), category pertaining to a
+//
// website's ability to be run as a PWA.
-// "SEO" - Search Engine Optimization (SEO), category pertaining to a
+//
+// "SEO" - Search Engine Optimization (SEO), category pertaining to a
+//
// website's ability to be indexed by search engines.
func (c *PagespeedapiRunpagespeedCall) Category(category ...string) *PagespeedapiRunpagespeedCall {
c.urlParams_.SetMulti("category", append([]string{}, category...))
@@ -1239,9 +1249,10 @@ func (c *PagespeedapiRunpagespeedCall) Locale(locale string) *PagespeedapiRunpag
// strategy (desktop or mobile) to use, and desktop is the default
//
// Possible values:
-// "STRATEGY_UNSPECIFIED" - UNDEFINED.
-// "DESKTOP" - Fetch and analyze the URL for desktop browsers.
-// "MOBILE" - Fetch and analyze the URL for mobile devices.
+//
+// "STRATEGY_UNSPECIFIED" - UNDEFINED.
+// "DESKTOP" - Fetch and analyze the URL for desktop browsers.
+// "MOBILE" - Fetch and analyze the URL for mobile devices.
func (c *PagespeedapiRunpagespeedCall) Strategy(strategy string) *PagespeedapiRunpagespeedCall {
c.urlParams_.Set("strategy", strategy)
return c
diff --git a/partners/v2/partners-gen.go b/partners/v2/partners-gen.go
index 511a1fc5efa..c54bb725674 100644
--- a/partners/v2/partners-gen.go
+++ b/partners/v2/partners-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/partners/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/partners/v2"
-// ...
-// ctx := context.Background()
-// partnersService, err := partners.NewService(ctx)
+// import "google.golang.org/api/partners/v2"
+// ...
+// ctx := context.Background()
+// partnersService, err := partners.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// partnersService, err := partners.NewService(ctx, option.WithAPIKey("AIza..."))
+// partnersService, err := partners.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// partnersService, err := partners.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// partnersService, err := partners.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package partners // import "google.golang.org/api/partners/v2"
@@ -1160,10 +1160,12 @@ func (s *DebugInfo) MarshalJSON() ([]byte, error) {
// request
// or the response type of an API method. For instance:
//
-// service Foo {
-// rpc Bar(google.protobuf.Empty) returns
+// service Foo {
+// rpc Bar(google.protobuf.Empty) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// The JSON representation for `Empty` is empty JSON object `{}`.
type Empty struct {
@@ -3664,8 +3666,9 @@ func (c *CompaniesGetCall) RequestMetadataUserOverridesUserId(requestMetadataUse
// `COMPANY_VIEW_UNSPECIFIED`.
//
// Possible values:
-// "COMPANY_VIEW_UNSPECIFIED"
-// "CV_GOOGLE_PARTNER_SEARCH"
+//
+// "COMPANY_VIEW_UNSPECIFIED"
+// "CV_GOOGLE_PARTNER_SEARCH"
func (c *CompaniesGetCall) View(view string) *CompaniesGetCall {
c.urlParams_.Set("view", view)
return c
@@ -3888,10 +3891,11 @@ func (c *CompaniesListCall) CompanyName(companyName string) *CompaniesListCall {
// reasons for using Google Partner Search to get companies.
//
// Possible values:
-// "GPS_MOTIVATION_UNSPECIFIED"
-// "GPSM_HELP_WITH_ADVERTISING"
-// "GPSM_HELP_WITH_WEBSITE"
-// "GPSM_NO_WEBSITE"
+//
+// "GPS_MOTIVATION_UNSPECIFIED"
+// "GPSM_HELP_WITH_ADVERTISING"
+// "GPSM_HELP_WITH_WEBSITE"
+// "GPSM_NO_WEBSITE"
func (c *CompaniesListCall) GpsMotivations(gpsMotivations ...string) *CompaniesListCall {
c.urlParams_.SetMulti("gpsMotivations", append([]string{}, gpsMotivations...))
return c
@@ -3901,17 +3905,18 @@ func (c *CompaniesListCall) GpsMotivations(gpsMotivations ...string) *CompaniesL
// industries the company can help with.
//
// Possible values:
-// "INDUSTRY_UNSPECIFIED"
-// "I_AUTOMOTIVE"
-// "I_BUSINESS_TO_BUSINESS"
-// "I_CONSUMER_PACKAGED_GOODS"
-// "I_EDUCATION"
-// "I_FINANCE"
-// "I_HEALTHCARE"
-// "I_MEDIA_AND_ENTERTAINMENT"
-// "I_RETAIL"
-// "I_TECHNOLOGY"
-// "I_TRAVEL"
+//
+// "INDUSTRY_UNSPECIFIED"
+// "I_AUTOMOTIVE"
+// "I_BUSINESS_TO_BUSINESS"
+// "I_CONSUMER_PACKAGED_GOODS"
+// "I_EDUCATION"
+// "I_FINANCE"
+// "I_HEALTHCARE"
+// "I_MEDIA_AND_ENTERTAINMENT"
+// "I_RETAIL"
+// "I_TECHNOLOGY"
+// "I_TRAVEL"
func (c *CompaniesListCall) Industries(industries ...string) *CompaniesListCall {
c.urlParams_.SetMulti("industries", append([]string{}, industries...))
return c
@@ -4088,13 +4093,14 @@ func (c *CompaniesListCall) RequestMetadataUserOverridesUserId(requestMetadataUs
// or one of the specializations in the "specializations" field.
//
// Possible values:
-// "SERVICE_UNSPECIFIED"
-// "S_ADVANCED_ADWORDS_SUPPORT"
-// "S_ADVERTISING_ON_GOOGLE"
-// "S_AN_ENHANCED_WEBSITE"
-// "S_AN_ONLINE_MARKETING_PLAN"
-// "S_MOBILE_AND_VIDEO_ADS"
-// "S_MOBILE_WEBSITE_SERVICES"
+//
+// "SERVICE_UNSPECIFIED"
+// "S_ADVANCED_ADWORDS_SUPPORT"
+// "S_ADVERTISING_ON_GOOGLE"
+// "S_AN_ENHANCED_WEBSITE"
+// "S_AN_ONLINE_MARKETING_PLAN"
+// "S_MOBILE_AND_VIDEO_ADS"
+// "S_MOBILE_WEBSITE_SERVICES"
func (c *CompaniesListCall) Services(services ...string) *CompaniesListCall {
c.urlParams_.SetMulti("services", append([]string{}, services...))
return c
@@ -4108,12 +4114,13 @@ func (c *CompaniesListCall) Services(services ...string) *CompaniesListCall {
// specializations, or one of the services in the "services" field.
//
// Possible values:
-// "BADGE_SPECIALIZATION_UNKNOWN"
-// "BADGE_SPECIALIZATION_ADWORDS_SEARCH"
-// "BADGE_SPECIALIZATION_ADWORDS_DISPLAY"
-// "BADGE_SPECIALIZATION_ADWORDS_MOBILE"
-// "BADGE_SPECIALIZATION_ADWORDS_VIDEO"
-// "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
+//
+// "BADGE_SPECIALIZATION_UNKNOWN"
+// "BADGE_SPECIALIZATION_ADWORDS_SEARCH"
+// "BADGE_SPECIALIZATION_ADWORDS_DISPLAY"
+// "BADGE_SPECIALIZATION_ADWORDS_MOBILE"
+// "BADGE_SPECIALIZATION_ADWORDS_VIDEO"
+// "BADGE_SPECIALIZATION_ADWORDS_SHOPPING"
func (c *CompaniesListCall) Specializations(specializations ...string) *CompaniesListCall {
c.urlParams_.SetMulti("specializations", append([]string{}, specializations...))
return c
@@ -4124,8 +4131,9 @@ func (c *CompaniesListCall) Specializations(specializations ...string) *Companie
// `COMPANY_VIEW_UNSPECIFIED`.
//
// Possible values:
-// "COMPANY_VIEW_UNSPECIFIED"
-// "CV_GOOGLE_PARTNER_SEARCH"
+//
+// "COMPANY_VIEW_UNSPECIFIED"
+// "CV_GOOGLE_PARTNER_SEARCH"
func (c *CompaniesListCall) View(view string) *CompaniesListCall {
c.urlParams_.Set("view", view)
return c
@@ -5124,8 +5132,9 @@ func (c *OffersHistoryListCall) EntireCompany(entireCompany bool) *OffersHistory
// Use "foo desc" to sort descending.
// List of valid field names is: name, offer_code, expiration_time,
// status,
-// last_modified_time, sender_name, creation_time, country_code,
-// offer_type.
+//
+// last_modified_time, sender_name, creation_time, country_code,
+// offer_type.
func (c *OffersHistoryListCall) OrderBy(orderBy string) *OffersHistoryListCall {
c.urlParams_.Set("orderBy", orderBy)
return c
@@ -6277,9 +6286,10 @@ func (c *UsersGetCall) RequestMetadataUserOverridesUserId(requestMetadataUserOve
// of the user information to return.
//
// Possible values:
-// "BASIC"
-// "PROFILE"
-// "PUBLIC_PROFILE"
+//
+// "BASIC"
+// "PROFILE"
+// "PUBLIC_PROFILE"
func (c *UsersGetCall) UserView(userView string) *UsersGetCall {
c.urlParams_.Set("userView", userView)
return c
diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go
index 872f489d662..5257cea22e6 100644
--- a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go
+++ b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/payments/reseller/subscription/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/paymentsresellersubscription/v1"
-// ...
-// ctx := context.Background()
-// paymentsresellersubscriptionService, err := paymentsresellersubscription.NewService(ctx)
+// import "google.golang.org/api/paymentsresellersubscription/v1"
+// ...
+// ctx := context.Background()
+// paymentsresellersubscriptionService, err := paymentsresellersubscription.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// paymentsresellersubscriptionService, err := paymentsresellersubscription.NewService(ctx, option.WithAPIKey("AIza..."))
+// paymentsresellersubscriptionService, err := paymentsresellersubscription.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// paymentsresellersubscriptionService, err := paymentsresellersubscription.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// paymentsresellersubscriptionService, err := paymentsresellersubscription.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package paymentsresellersubscription // import "google.golang.org/api/paymentsresellersubscription/v1"
@@ -1324,8 +1324,8 @@ type PartnersProductsListCall struct {
// List: To retrieve the products that can be resold by the partner. It
// should be autenticated with a service account.
//
-// - parent: The parent, the partner that can resell. Format:
-// partners/{partner}.
+// - parent: The parent, the partner that can resell. Format:
+// partners/{partner}.
func (r *PartnersProductsService) List(parent string) *PartnersProductsListCall {
c := &PartnersProductsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1542,8 +1542,8 @@ type PartnersPromotionsFindEligibleCall struct {
// API requires user authorization via OAuth. The user is inferred from
// the authenticated OAuth credential.
//
-// - parent: The parent, the partner that can resell. Format:
-// partners/{partner}.
+// - parent: The parent, the partner that can resell. Format:
+// partners/{partner}.
func (r *PartnersPromotionsService) FindEligible(parent string, googlecloudpaymentsresellersubscriptionv1findeligiblepromotionsrequest *GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest) *PartnersPromotionsFindEligibleCall {
c := &PartnersPromotionsFindEligibleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1710,8 +1710,8 @@ type PartnersPromotionsListCall struct {
// used by the partner. It should be autenticated with a service
// account.
//
-// - parent: The parent, the partner that can resell. Format:
-// partners/{partner}.
+// - parent: The parent, the partner that can resell. Format:
+// partners/{partner}.
func (r *PartnersPromotionsService) List(parent string) *PartnersPromotionsListCall {
c := &PartnersPromotionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1929,9 +1929,9 @@ type PartnersSubscriptionsCancelCall struct {
// customers. It should be called directly by the partner using service
// accounts.
//
-// - name: The name of the subscription resource to be cancelled. It
-// will have the format of
-// "partners/{partner_id}/subscriptions/{subscription_id}".
+// - name: The name of the subscription resource to be cancelled. It
+// will have the format of
+// "partners/{partner_id}/subscriptions/{subscription_id}".
func (r *PartnersSubscriptionsService) Cancel(name string, googlecloudpaymentsresellersubscriptionv1cancelsubscriptionrequest *GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest) *PartnersSubscriptionsCancelCall {
c := &PartnersSubscriptionsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2076,8 +2076,8 @@ type PartnersSubscriptionsCreateCall struct {
// inferred from the end user credentials. This API must be authorized
// by the end user using OAuth.
//
-// - parent: The parent resource name, which is the identifier of the
-// partner. It will have the format of "partners/{partner_id}".
+// - parent: The parent resource name, which is the identifier of the
+// partner. It will have the format of "partners/{partner_id}".
func (r *PartnersSubscriptionsService) Create(parentid string, googlecloudpaymentsresellersubscriptionv1subscription *GoogleCloudPaymentsResellerSubscriptionV1Subscription) *PartnersSubscriptionsCreateCall {
c := &PartnersSubscriptionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -2236,9 +2236,9 @@ type PartnersSubscriptionsEntitleCall struct {
// inferred from the authorized credential of the request. This API must
// be authorized by the end user using OAuth.
//
-// - name: The name of the subscription resource that is entitled to the
-// current end user. It will have the format of
-// "partners/{partner_id}/subscriptions/{subscription_id}".
+// - name: The name of the subscription resource that is entitled to the
+// current end user. It will have the format of
+// "partners/{partner_id}/subscriptions/{subscription_id}".
func (r *PartnersSubscriptionsService) Entitle(name string, googlecloudpaymentsresellersubscriptionv1entitlesubscriptionrequest *GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest) *PartnersSubscriptionsEntitleCall {
c := &PartnersSubscriptionsEntitleCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2383,9 +2383,9 @@ type PartnersSubscriptionsExtendCall struct {
// and renewable. It should be called directly by the partner using
// service accounts.
//
-// - name: The name of the subscription resource to be extended. It will
-// have the format of
-// "partners/{partner_id}/subscriptions/{subscription_id}".
+// - name: The name of the subscription resource to be extended. It will
+// have the format of
+// "partners/{partner_id}/subscriptions/{subscription_id}".
func (r *PartnersSubscriptionsService) Extend(name string, googlecloudpaymentsresellersubscriptionv1extendsubscriptionrequest *GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest) *PartnersSubscriptionsExtendCall {
c := &PartnersSubscriptionsExtendCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2528,9 +2528,9 @@ type PartnersSubscriptionsGetCall struct {
// Get: Used by partners to get a subscription by id. It should be
// called directly by the partner using service accounts.
//
-// - name: The name of the subscription resource to retrieve. It will
-// have the format of
-// "partners/{partner_id}/subscriptions/{subscription_id}".
+// - name: The name of the subscription resource to retrieve. It will
+// have the format of
+// "partners/{partner_id}/subscriptions/{subscription_id}".
func (r *PartnersSubscriptionsService) Get(name string) *PartnersSubscriptionsGetCall {
c := &PartnersSubscriptionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2680,8 +2680,8 @@ type PartnersSubscriptionsProvisionCall struct {
// the subscription. It should be called directly by the partner using
// service accounts.
//
-// - parent: The parent resource name, which is the identifier of the
-// partner. It will have the format of "partners/{partner_id}".
+// - parent: The parent resource name, which is the identifier of the
+// partner. It will have the format of "partners/{partner_id}".
func (r *PartnersSubscriptionsService) Provision(parentid string, googlecloudpaymentsresellersubscriptionv1subscription *GoogleCloudPaymentsResellerSubscriptionV1Subscription) *PartnersSubscriptionsProvisionCall {
c := &PartnersSubscriptionsProvisionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parentid = parentid
@@ -2841,9 +2841,9 @@ type PartnersSubscriptionsUndoCancelCall struct {
// fail. It should be called directly by the partner using service
// accounts.
//
-// - name: The name of the subscription resource whose pending
-// cancellation needs to be undone. It will have the format of
-// "partners/{partner_id}/subscriptions/{subscription_id}".
+// - name: The name of the subscription resource whose pending
+// cancellation needs to be undone. It will have the format of
+// "partners/{partner_id}/subscriptions/{subscription_id}".
func (r *PartnersSubscriptionsService) UndoCancel(name string, googlecloudpaymentsresellersubscriptionv1undocancelsubscriptionrequest *GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest) *PartnersSubscriptionsUndoCancelCall {
c := &PartnersSubscriptionsUndoCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/people/v1/people-gen.go b/people/v1/people-gen.go
index e00b14fa990..a2093397f13 100644
--- a/people/v1/people-gen.go
+++ b/people/v1/people-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/people/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/people/v1"
-// ...
-// ctx := context.Background()
-// peopleService, err := people.NewService(ctx)
+// import "google.golang.org/api/people/v1"
+// ...
+// ctx := context.Background()
+// peopleService, err := people.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// peopleService, err := people.NewService(ctx, option.WithScopes(people.UserinfoProfileScope))
+// peopleService, err := people.NewService(ctx, option.WithScopes(people.UserinfoProfileScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// peopleService, err := people.NewService(ctx, option.WithAPIKey("AIza..."))
+// peopleService, err := people.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// peopleService, err := people.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// peopleService, err := people.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package people // import "google.golang.org/api/people/v1"
@@ -4255,9 +4255,9 @@ type ContactGroupsUpdateCall struct {
// name will return a HTTP 409 error. Mutate requests for the same user
// should be sent sequentially to avoid increased latency and failures.
//
-// - resourceName: The resource name for the contact group, assigned by
-// the server. An ASCII string, in the form of
-// `contactGroups/{contact_group_id}`.
+// - resourceName: The resource name for the contact group, assigned by
+// the server. An ASCII string, in the form of
+// `contactGroups/{contact_group_id}`.
func (r *ContactGroupsService) Update(resourceName string, updatecontactgrouprequest *UpdateContactGroupRequest) *ContactGroupsUpdateCall {
c := &ContactGroupsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resourceName = resourceName
@@ -4768,11 +4768,15 @@ func (c *OtherContactsListCall) RequestSyncToken(requestSyncToken bool) *OtherCo
// is not permitted.
//
// Possible values:
-// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
+// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
// SourceType.DOMAIN_PROFILE, and SourceType.PROFILE.
-// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
-// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
+// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
+// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
// SourceType.DOMAIN_CONTACT.
func (c *OtherContactsListCall) Sources(sources ...string) *OtherContactsListCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
@@ -5574,11 +5578,15 @@ func (c *PeopleCreateContactCall) PersonFields(personFields string) *PeopleCreat
// READ_SOURCE_TYPE_PROFILE if not set.
//
// Possible values:
-// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
+// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
// SourceType.DOMAIN_PROFILE, and SourceType.PROFILE.
-// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
-// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
+// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
+// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
// SourceType.DOMAIN_CONTACT.
func (c *PeopleCreateContactCall) Sources(sources ...string) *PeopleCreateContactCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
@@ -5865,8 +5873,8 @@ type PeopleDeleteContactPhotoCall struct {
// DeleteContactPhoto: Delete a contact's photo. Mutate requests for the
// same user should be done sequentially to avoid // lock contention.
//
-// - resourceName: The resource name of the contact whose photo will be
-// deleted.
+// - resourceName: The resource name of the contact whose photo will be
+// deleted.
func (r *PeopleService) DeleteContactPhoto(resourceName string) *PeopleDeleteContactPhotoCall {
c := &PeopleDeleteContactPhotoCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resourceName = resourceName
@@ -5893,11 +5901,15 @@ func (c *PeopleDeleteContactPhotoCall) PersonFields(personFields string) *People
// READ_SOURCE_TYPE_PROFILE if not set.
//
// Possible values:
-// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
+// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
// SourceType.DOMAIN_PROFILE, and SourceType.PROFILE.
-// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
-// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
+// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
+// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
// SourceType.DOMAIN_CONTACT.
func (c *PeopleDeleteContactPhotoCall) Sources(sources ...string) *PeopleDeleteContactPhotoCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
@@ -6056,12 +6068,12 @@ type PeopleGetCall struct {
// name. Use `people/me` to indicate the authenticated user. The request
// returns a 400 error if 'personFields' is not specified.
//
-// - resourceName: The resource name of the person to provide
-// information about. - To get information about the authenticated
-// user, specify `people/me`. - To get information about a google
-// account, specify `people/{account_id}`. - To get information about
-// a contact, specify the resource name that identifies the contact as
-// returned by `people.connections.list`.
+// - resourceName: The resource name of the person to provide
+// information about. - To get information about the authenticated
+// user, specify `people/me`. - To get information about a google
+// account, specify `people/{account_id}`. - To get information about
+// a contact, specify the resource name that identifies the contact as
+// returned by `people.connections.list`.
func (r *PeopleService) Get(resourceName string) *PeopleGetCall {
c := &PeopleGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resourceName = resourceName
@@ -6096,11 +6108,15 @@ func (c *PeopleGetCall) RequestMaskIncludeField(requestMaskIncludeField string)
// READ_SOURCE_TYPE_CONTACT if not set.
//
// Possible values:
-// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
+// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
// SourceType.DOMAIN_PROFILE, and SourceType.PROFILE.
-// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
-// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
+// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
+// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
// SourceType.DOMAIN_CONTACT.
func (c *PeopleGetCall) Sources(sources ...string) *PeopleGetCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
@@ -6334,11 +6350,15 @@ func (c *PeopleGetBatchGetCall) ResourceNames(resourceNames ...string) *PeopleGe
// READ_SOURCE_TYPE_PROFILE if not set.
//
// Possible values:
-// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
+// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
// SourceType.DOMAIN_PROFILE, and SourceType.PROFILE.
-// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
-// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
+// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
+// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
// SourceType.DOMAIN_CONTACT.
func (c *PeopleGetBatchGetCall) Sources(sources ...string) *PeopleGetBatchGetCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
@@ -6535,8 +6555,9 @@ func (r *PeopleService) ListDirectoryPeople() *PeopleListDirectoryPeopleCall {
// through verified join keys such as email addresses or phone numbers.
//
// Possible values:
-// "DIRECTORY_MERGE_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "DIRECTORY_MERGE_SOURCE_TYPE_CONTACT" - User owned contact.
+//
+// "DIRECTORY_MERGE_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "DIRECTORY_MERGE_SOURCE_TYPE_CONTACT" - User owned contact.
func (c *PeopleListDirectoryPeopleCall) MergeSources(mergeSources ...string) *PeopleListDirectoryPeopleCall {
c.urlParams_.SetMulti("mergeSources", append([]string{}, mergeSources...))
return c
@@ -6588,10 +6609,14 @@ func (c *PeopleListDirectoryPeopleCall) RequestSyncToken(requestSyncToken bool)
// sources to return.
//
// Possible values:
-// "DIRECTORY_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT" - Google Workspace domain
+//
+// "DIRECTORY_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT" - Google Workspace domain
+//
// shared contact.
-// "DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE" - Google Workspace domain
+//
+// "DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE" - Google Workspace domain
+//
// profile.
func (c *PeopleListDirectoryPeopleCall) Sources(sources ...string) *PeopleListDirectoryPeopleCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
@@ -6860,11 +6885,15 @@ func (c *PeopleSearchContactsCall) ReadMask(readMask string) *PeopleSearchContac
// types to return. Defaults to READ_SOURCE_TYPE_CONTACT if not set.
//
// Possible values:
-// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
+// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
// SourceType.DOMAIN_PROFILE, and SourceType.PROFILE.
-// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
-// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
+// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
+// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
// SourceType.DOMAIN_CONTACT.
func (c *PeopleSearchContactsCall) Sources(sources ...string) *PeopleSearchContactsCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
@@ -7044,8 +7073,9 @@ func (r *PeopleService) SearchDirectoryPeople() *PeopleSearchDirectoryPeopleCall
// through verified join keys such as email addresses or phone numbers.
//
// Possible values:
-// "DIRECTORY_MERGE_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "DIRECTORY_MERGE_SOURCE_TYPE_CONTACT" - User owned contact.
+//
+// "DIRECTORY_MERGE_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "DIRECTORY_MERGE_SOURCE_TYPE_CONTACT" - User owned contact.
func (c *PeopleSearchDirectoryPeopleCall) MergeSources(mergeSources ...string) *PeopleSearchDirectoryPeopleCall {
c.urlParams_.SetMulti("mergeSources", append([]string{}, mergeSources...))
return c
@@ -7095,10 +7125,14 @@ func (c *PeopleSearchDirectoryPeopleCall) ReadMask(readMask string) *PeopleSearc
// sources to return.
//
// Possible values:
-// "DIRECTORY_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT" - Google Workspace domain
+//
+// "DIRECTORY_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "DIRECTORY_SOURCE_TYPE_DOMAIN_CONTACT" - Google Workspace domain
+//
// shared contact.
-// "DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE" - Google Workspace domain
+//
+// "DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE" - Google Workspace domain
+//
// profile.
func (c *PeopleSearchDirectoryPeopleCall) Sources(sources ...string) *PeopleSearchDirectoryPeopleCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
@@ -7321,9 +7355,9 @@ type PeopleUpdateContactCall struct {
// same user should be sent sequentially to avoid increased latency and
// failures.
//
-// - resourceName: The resource name for the person, assigned by the
-// server. An ASCII string with a max length of 27 characters, in the
-// form of `people/{person_id}`.
+// - resourceName: The resource name for the person, assigned by the
+// server. An ASCII string with a max length of 27 characters, in the
+// form of `people/{person_id}`.
func (r *PeopleService) UpdateContact(resourceName string, person *Person) *PeopleUpdateContactCall {
c := &PeopleUpdateContactCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resourceName = resourceName
@@ -7351,11 +7385,15 @@ func (c *PeopleUpdateContactCall) PersonFields(personFields string) *PeopleUpdat
// READ_SOURCE_TYPE_PROFILE if not set.
//
// Possible values:
-// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
+// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
// SourceType.DOMAIN_PROFILE, and SourceType.PROFILE.
-// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
-// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
+// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
+// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
// SourceType.DOMAIN_CONTACT.
func (c *PeopleUpdateContactCall) Sources(sources ...string) *PeopleUpdateContactCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
@@ -7700,8 +7738,8 @@ type PeopleConnectionsListCall struct {
// contacts that have changed
// (/people/v1/contacts#list_the_users_contacts_that_have_changed).
//
-// - resourceName: The resource name to return connections for. Only
-// `people/me` is valid.
+// - resourceName: The resource name to return connections for. Only
+// `people/me` is valid.
func (r *PeopleConnectionsService) List(resourceName string) *PeopleConnectionsListCall {
c := &PeopleConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resourceName = resourceName
@@ -7764,12 +7802,17 @@ func (c *PeopleConnectionsListCall) RequestSyncToken(requestSyncToken bool) *Peo
// `LAST_MODIFIED_ASCENDING`.
//
// Possible values:
-// "LAST_MODIFIED_ASCENDING" - Sort people by when they were changed;
+//
+// "LAST_MODIFIED_ASCENDING" - Sort people by when they were changed;
+//
// older entries first.
-// "LAST_MODIFIED_DESCENDING" - Sort people by when they were changed;
+//
+// "LAST_MODIFIED_DESCENDING" - Sort people by when they were changed;
+//
// newer entries first.
-// "FIRST_NAME_ASCENDING" - Sort people by first name.
-// "LAST_NAME_ASCENDING" - Sort people by last name.
+//
+// "FIRST_NAME_ASCENDING" - Sort people by first name.
+// "LAST_NAME_ASCENDING" - Sort people by last name.
func (c *PeopleConnectionsListCall) SortOrder(sortOrder string) *PeopleConnectionsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -7780,11 +7823,15 @@ func (c *PeopleConnectionsListCall) SortOrder(sortOrder string) *PeopleConnectio
// READ_SOURCE_TYPE_PROFILE if not set.
//
// Possible values:
-// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
-// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
+// "READ_SOURCE_TYPE_UNSPECIFIED" - Unspecified.
+// "READ_SOURCE_TYPE_PROFILE" - Returns SourceType.ACCOUNT,
+//
// SourceType.DOMAIN_PROFILE, and SourceType.PROFILE.
-// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
-// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
+// "READ_SOURCE_TYPE_CONTACT" - Returns SourceType.CONTACT.
+// "READ_SOURCE_TYPE_DOMAIN_CONTACT" - Returns
+//
// SourceType.DOMAIN_CONTACT.
func (c *PeopleConnectionsListCall) Sources(sources ...string) *PeopleConnectionsListCall {
c.urlParams_.SetMulti("sources", append([]string{}, sources...))
diff --git a/playablelocations/v3/playablelocations-gen.go b/playablelocations/v3/playablelocations-gen.go
index 319b65f8b68..68a73d2f245 100644
--- a/playablelocations/v3/playablelocations-gen.go
+++ b/playablelocations/v3/playablelocations-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/maps/contact-sales/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/playablelocations/v3"
-// ...
-// ctx := context.Background()
-// playablelocationsService, err := playablelocations.NewService(ctx)
+// import "google.golang.org/api/playablelocations/v3"
+// ...
+// ctx := context.Background()
+// playablelocationsService, err := playablelocations.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// playablelocationsService, err := playablelocations.NewService(ctx, option.WithAPIKey("AIza..."))
+// playablelocationsService, err := playablelocations.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// playablelocationsService, err := playablelocations.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// playablelocationsService, err := playablelocations.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package playablelocations // import "google.golang.org/api/playablelocations/v3"
diff --git a/playcustomapp/v1/playcustomapp-gen.go b/playcustomapp/v1/playcustomapp-gen.go
index d63f79b917b..ba39e7ca2de 100644
--- a/playcustomapp/v1/playcustomapp-gen.go
+++ b/playcustomapp/v1/playcustomapp-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/android/work/play/custom-app-api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/playcustomapp/v1"
-// ...
-// ctx := context.Background()
-// playcustomappService, err := playcustomapp.NewService(ctx)
+// import "google.golang.org/api/playcustomapp/v1"
+// ...
+// ctx := context.Background()
+// playcustomappService, err := playcustomapp.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// playcustomappService, err := playcustomapp.NewService(ctx, option.WithAPIKey("AIza..."))
+// playcustomappService, err := playcustomapp.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// playcustomappService, err := playcustomapp.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// playcustomappService, err := playcustomapp.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package playcustomapp // import "google.golang.org/api/playcustomapp/v1"
diff --git a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go
index f147c3de599..86e3a91fc64 100644
--- a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go
+++ b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/play/developer/reporting
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/playdeveloperreporting/v1alpha1"
-// ...
-// ctx := context.Background()
-// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx)
+// import "google.golang.org/api/playdeveloperreporting/v1alpha1"
+// ...
+// ctx := context.Background()
+// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package playdeveloperreporting // import "google.golang.org/api/playdeveloperreporting/v1alpha1"
@@ -2071,8 +2071,8 @@ type AnomaliesListCall struct {
// List: Lists anomalies in any of the datasets.
//
-// - parent: Parent app for which anomalies were detected. Format:
-// apps/{app}.
+// - parent: Parent app for which anomalies were detected. Format:
+// apps/{app}.
func (r *AnomaliesService) List(parent string) *AnomaliesListCall {
c := &AnomaliesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2908,8 +2908,8 @@ type VitalsErrorsCountsGetCall struct {
// Get: Describes the properties of the metrics set.
//
-// - name: Name of the errors metric set. Format:
-// apps/{app}/errorCountMetricSet.
+// - name: Name of the errors metric set. Format:
+// apps/{app}/errorCountMetricSet.
func (r *VitalsErrorsCountsService) Get(name string) *VitalsErrorsCountsGetCall {
c := &VitalsErrorsCountsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3218,8 +3218,8 @@ type VitalsErrorsIssuesSearchCall struct {
// Search: Searches all error issues in which reports have been grouped.
//
-// - parent: Parent resource of the error issues, indicating the
-// application for which they were received. Format: apps/{app}.
+// - parent: Parent resource of the error issues, indicating the
+// application for which they were received. Format: apps/{app}.
func (r *VitalsErrorsIssuesService) Search(parent string) *VitalsErrorsIssuesSearchCall {
c := &VitalsErrorsIssuesSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3737,8 +3737,8 @@ type VitalsErrorsReportsSearchCall struct {
// Search: Searches all error reports received for an app.
//
-// - parent: Parent resource of the reports, indicating the application
-// for which they were received. Format: apps/{app}.
+// - parent: Parent resource of the reports, indicating the application
+// for which they were received. Format: apps/{app}.
func (r *VitalsErrorsReportsService) Search(parent string) *VitalsErrorsReportsSearchCall {
c := &VitalsErrorsReportsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4259,8 +4259,8 @@ type VitalsExcessivewakeuprateGetCall struct {
// Get: Describes the properties of the metric set.
//
-// - name: The resource name. Format:
-// apps/{app}/excessiveWakeupRateMetricSet.
+// - name: The resource name. Format:
+// apps/{app}/excessiveWakeupRateMetricSet.
func (r *VitalsExcessivewakeuprateService) Get(name string) *VitalsExcessivewakeuprateGetCall {
c := &VitalsExcessivewakeuprateGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4406,8 +4406,8 @@ type VitalsExcessivewakeuprateQueryCall struct {
// Query: Queries the metrics in the metric set.
//
-// - name: The resource name. Format:
-// apps/{app}/excessiveWakeupRateMetricSet.
+// - name: The resource name. Format:
+// apps/{app}/excessiveWakeupRateMetricSet.
func (r *VitalsExcessivewakeuprateService) Query(name string, googleplaydeveloperreportingv1alpha1queryexcessivewakeupratemetricsetrequest *GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest) *VitalsExcessivewakeuprateQueryCall {
c := &VitalsExcessivewakeuprateQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4572,8 +4572,8 @@ type VitalsStuckbackgroundwakelockrateGetCall struct {
// Get: Describes the properties of the metric set.
//
-// - name: The resource name. Format:
-// apps/{app}/stuckBackgroundWakelockRateMetricSet.
+// - name: The resource name. Format:
+// apps/{app}/stuckBackgroundWakelockRateMetricSet.
func (r *VitalsStuckbackgroundwakelockrateService) Get(name string) *VitalsStuckbackgroundwakelockrateGetCall {
c := &VitalsStuckbackgroundwakelockrateGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4719,8 +4719,8 @@ type VitalsStuckbackgroundwakelockrateQueryCall struct {
// Query: Queries the metrics in the metric set.
//
-// - name: The resource name. Format:
-// apps/{app}/stuckBackgroundWakelockRateMetricSet.
+// - name: The resource name. Format:
+// apps/{app}/stuckBackgroundWakelockRateMetricSet.
func (r *VitalsStuckbackgroundwakelockrateService) Query(name string, googleplaydeveloperreportingv1alpha1querystuckbackgroundwakelockratemetricsetrequest *GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest) *VitalsStuckbackgroundwakelockrateQueryCall {
c := &VitalsStuckbackgroundwakelockrateQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go
index 8405690c0fb..e9964d61d4d 100644
--- a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go
+++ b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/play/developer/reporting
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/playdeveloperreporting/v1beta1"
-// ...
-// ctx := context.Background()
-// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx)
+// import "google.golang.org/api/playdeveloperreporting/v1beta1"
+// ...
+// ctx := context.Background()
+// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// playdeveloperreportingService, err := playdeveloperreporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package playdeveloperreporting // import "google.golang.org/api/playdeveloperreporting/v1beta1"
@@ -1624,8 +1624,8 @@ type AnomaliesListCall struct {
// List: Lists anomalies in any of the datasets.
//
-// - parent: Parent app for which anomalies were detected. Format:
-// apps/{app}.
+// - parent: Parent app for which anomalies were detected. Format:
+// apps/{app}.
func (r *AnomaliesService) List(parent string) *AnomaliesListCall {
c := &AnomaliesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2460,8 +2460,8 @@ type VitalsExcessivewakeuprateGetCall struct {
// Get: Describes the properties of the metric set.
//
-// - name: The resource name. Format:
-// apps/{app}/excessiveWakeupRateMetricSet.
+// - name: The resource name. Format:
+// apps/{app}/excessiveWakeupRateMetricSet.
func (r *VitalsExcessivewakeuprateService) Get(name string) *VitalsExcessivewakeuprateGetCall {
c := &VitalsExcessivewakeuprateGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2607,8 +2607,8 @@ type VitalsExcessivewakeuprateQueryCall struct {
// Query: Queries the metrics in the metric set.
//
-// - name: The resource name. Format:
-// apps/{app}/excessiveWakeupRateMetricSet.
+// - name: The resource name. Format:
+// apps/{app}/excessiveWakeupRateMetricSet.
func (r *VitalsExcessivewakeuprateService) Query(name string, googleplaydeveloperreportingv1beta1queryexcessivewakeupratemetricsetrequest *GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest) *VitalsExcessivewakeuprateQueryCall {
c := &VitalsExcessivewakeuprateQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2773,8 +2773,8 @@ type VitalsStuckbackgroundwakelockrateGetCall struct {
// Get: Describes the properties of the metric set.
//
-// - name: The resource name. Format:
-// apps/{app}/stuckBackgroundWakelockRateMetricSet.
+// - name: The resource name. Format:
+// apps/{app}/stuckBackgroundWakelockRateMetricSet.
func (r *VitalsStuckbackgroundwakelockrateService) Get(name string) *VitalsStuckbackgroundwakelockrateGetCall {
c := &VitalsStuckbackgroundwakelockrateGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2920,8 +2920,8 @@ type VitalsStuckbackgroundwakelockrateQueryCall struct {
// Query: Queries the metrics in the metric set.
//
-// - name: The resource name. Format:
-// apps/{app}/stuckBackgroundWakelockRateMetricSet.
+// - name: The resource name. Format:
+// apps/{app}/stuckBackgroundWakelockRateMetricSet.
func (r *VitalsStuckbackgroundwakelockrateService) Query(name string, googleplaydeveloperreportingv1beta1querystuckbackgroundwakelockratemetricsetrequest *GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest) *VitalsStuckbackgroundwakelockrateQueryCall {
c := &VitalsStuckbackgroundwakelockrateQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/playintegrity/v1/playintegrity-gen.go b/playintegrity/v1/playintegrity-gen.go
index 6e5f07903ac..8d8c0ea1ff5 100644
--- a/playintegrity/v1/playintegrity-gen.go
+++ b/playintegrity/v1/playintegrity-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developer.android.com/google/play/integrity
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/playintegrity/v1"
-// ...
-// ctx := context.Background()
-// playintegrityService, err := playintegrity.NewService(ctx)
+// import "google.golang.org/api/playintegrity/v1"
+// ...
+// ctx := context.Background()
+// playintegrityService, err := playintegrity.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// playintegrityService, err := playintegrity.NewService(ctx, option.WithAPIKey("AIza..."))
+// playintegrityService, err := playintegrity.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// playintegrityService, err := playintegrity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// playintegrityService, err := playintegrity.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package playintegrity // import "google.golang.org/api/playintegrity/v1"
@@ -483,8 +483,8 @@ type V1DecodeIntegrityTokenCall struct {
// DecodeIntegrityToken: Decodes the integrity token and returns the
// token payload.
//
-// - packageName: Package name of the app the attached integrity token
-// belongs to.
+// - packageName: Package name of the app the attached integrity token
+// belongs to.
func (r *V1Service) DecodeIntegrityToken(packageName string, decodeintegritytokenrequest *DecodeIntegrityTokenRequest) *V1DecodeIntegrityTokenCall {
c := &V1DecodeIntegrityTokenCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.packageName = packageName
diff --git a/playmoviespartner/v1/playmoviespartner-gen.go b/playmoviespartner/v1/playmoviespartner-gen.go
index 4408877751e..c088ee0afdf 100644
--- a/playmoviespartner/v1/playmoviespartner-gen.go
+++ b/playmoviespartner/v1/playmoviespartner-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/playmoviespartner/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/playmoviespartner/v1"
-// ...
-// ctx := context.Background()
-// playmoviespartnerService, err := playmoviespartner.NewService(ctx)
+// import "google.golang.org/api/playmoviespartner/v1"
+// ...
+// ctx := context.Background()
+// playmoviespartnerService, err := playmoviespartner.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// playmoviespartnerService, err := playmoviespartner.NewService(ctx, option.WithAPIKey("AIza..."))
+// playmoviespartnerService, err := playmoviespartner.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// playmoviespartnerService, err := playmoviespartner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// playmoviespartnerService, err := playmoviespartner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package playmoviespartner // import "google.golang.org/api/playmoviespartner/v1"
@@ -1591,12 +1591,13 @@ func (c *AccountsOrdersListCall) PphNames(pphNames ...string) *AccountsOrdersLis
// one of the given status.
//
// Possible values:
-// "STATUS_UNSPECIFIED"
-// "STATUS_APPROVED"
-// "STATUS_FAILED"
-// "STATUS_PROCESSING"
-// "STATUS_UNFULFILLED"
-// "STATUS_NOT_AVAILABLE"
+//
+// "STATUS_UNSPECIFIED"
+// "STATUS_APPROVED"
+// "STATUS_FAILED"
+// "STATUS_PROCESSING"
+// "STATUS_UNFULFILLED"
+// "STATUS_NOT_AVAILABLE"
func (c *AccountsOrdersListCall) Status(status ...string) *AccountsOrdersListCall {
c.urlParams_.SetMulti("status", append([]string{}, status...))
return c
diff --git a/plus/v1/plus-gen.go b/plus/v1/plus-gen.go
index 46ab37aa7cf..c74fb85336a 100644
--- a/plus/v1/plus-gen.go
+++ b/plus/v1/plus-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/+/api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/plus/v1"
-// ...
-// ctx := context.Background()
-// plusService, err := plus.NewService(ctx)
+// import "google.golang.org/api/plus/v1"
+// ...
+// ctx := context.Background()
+// plusService, err := plus.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// plusService, err := plus.NewService(ctx, option.WithScopes(plus.UserinfoProfileScope))
+// plusService, err := plus.NewService(ctx, option.WithScopes(plus.UserinfoProfileScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// plusService, err := plus.NewService(ctx, option.WithAPIKey("AIza..."))
+// plusService, err := plus.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// plusService, err := plus.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// plusService, err := plus.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package plus // import "google.golang.org/api/plus/v1"
@@ -2685,9 +2685,13 @@ func (c *ActivitiesSearchCall) MaxResults(maxResults int64) *ActivitiesSearchCal
// search results.
//
// Possible values:
-// "best" - Sort activities by relevance to the user, most relevant
+//
+// "best" - Sort activities by relevance to the user, most relevant
+//
// first.
-// "recent" (default) - Sort activities by published date, most recent
+//
+// "recent" (default) - Sort activities by published date, most recent
+//
// first.
func (c *ActivitiesSearchCall) OrderBy(orderBy string) *ActivitiesSearchCall {
c.urlParams_.Set("orderBy", orderBy)
@@ -3066,8 +3070,9 @@ func (c *CommentsListCall) PageToken(pageToken string) *CommentsListCall {
// to sort the list of comments.
//
// Possible values:
-// "ascending" (default) - Sort oldest comments first.
-// "descending" - Sort newest comments first.
+//
+// "ascending" (default) - Sort oldest comments first.
+// "descending" - Sort newest comments first.
func (c *CommentsListCall) SortOrder(sortOrder string) *CommentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -3427,8 +3432,9 @@ func (c *PeopleListCall) MaxResults(maxResults int64) *PeopleListCall {
// people in.
//
// Possible values:
-// "alphabetical" - Order the people by their display name.
-// "best" - Order people based on the relevence to the viewer.
+//
+// "alphabetical" - Order the people by their display name.
+// "best" - Order people based on the relevence to the viewer.
func (c *PeopleListCall) OrderBy(orderBy string) *PeopleListCall {
c.urlParams_.Set("orderBy", orderBy)
return c
diff --git a/plusdomains/v1/plusdomains-gen.go b/plusdomains/v1/plusdomains-gen.go
index da198e1907a..541e1040a32 100644
--- a/plusdomains/v1/plusdomains-gen.go
+++ b/plusdomains/v1/plusdomains-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/+/domains/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/plusdomains/v1"
-// ...
-// ctx := context.Background()
-// plusdomainsService, err := plusdomains.NewService(ctx)
+// import "google.golang.org/api/plusdomains/v1"
+// ...
+// ctx := context.Background()
+// plusdomainsService, err := plusdomains.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// plusdomainsService, err := plusdomains.NewService(ctx, option.WithScopes(plusdomains.UserinfoProfileScope))
+// plusdomainsService, err := plusdomains.NewService(ctx, option.WithScopes(plusdomains.UserinfoProfileScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// plusdomainsService, err := plusdomains.NewService(ctx, option.WithAPIKey("AIza..."))
+// plusdomainsService, err := plusdomains.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// plusdomainsService, err := plusdomains.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// plusdomainsService, err := plusdomains.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package plusdomains // import "google.golang.org/api/plusdomains/v1"
@@ -3759,8 +3759,9 @@ func (c *CommentsListCall) PageToken(pageToken string) *CommentsListCall {
// to sort the list of comments.
//
// Possible values:
-// "ascending" (default) - Sort oldest comments first.
-// "descending" - Sort newest comments first.
+//
+// "ascending" (default) - Sort oldest comments first.
+// "descending" - Sort newest comments first.
func (c *CommentsListCall) SortOrder(sortOrder string) *CommentsListCall {
c.urlParams_.Set("sortOrder", sortOrder)
return c
@@ -4360,8 +4361,9 @@ func (c *PeopleListCall) MaxResults(maxResults int64) *PeopleListCall {
// people in.
//
// Possible values:
-// "alphabetical" - Order the people by their display name.
-// "best" - Order people based on the relevence to the viewer.
+//
+// "alphabetical" - Order the people by their display name.
+// "best" - Order people based on the relevence to the viewer.
func (c *PeopleListCall) OrderBy(orderBy string) *PeopleListCall {
c.urlParams_.Set("orderBy", orderBy)
return c
diff --git a/policyanalyzer/v1/policyanalyzer-gen.go b/policyanalyzer/v1/policyanalyzer-gen.go
index 7488124e1f8..ab8fcfa1135 100644
--- a/policyanalyzer/v1/policyanalyzer-gen.go
+++ b/policyanalyzer/v1/policyanalyzer-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://www.google.com
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/policyanalyzer/v1"
-// ...
-// ctx := context.Background()
-// policyanalyzerService, err := policyanalyzer.NewService(ctx)
+// import "google.golang.org/api/policyanalyzer/v1"
+// ...
+// ctx := context.Background()
+// policyanalyzerService, err := policyanalyzer.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// policyanalyzerService, err := policyanalyzer.NewService(ctx, option.WithAPIKey("AIza..."))
+// policyanalyzerService, err := policyanalyzer.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// policyanalyzerService, err := policyanalyzer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// policyanalyzerService, err := policyanalyzer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package policyanalyzer // import "google.golang.org/api/policyanalyzer/v1"
@@ -308,11 +308,11 @@ type ProjectsLocationsActivityTypesActivitiesQueryCall struct {
// Query: Queries policy activities on Google Cloud resources.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats:
-// `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityT
-// ypes/[ACTIVITY_TYPE]` LOCATION here refers to Google Cloud
-// Locations: https://cloud.google.com/about/locations/.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats:
+// `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityT
+// ypes/[ACTIVITY_TYPE]` LOCATION here refers to Google Cloud
+// Locations: https://cloud.google.com/about/locations/.
func (r *ProjectsLocationsActivityTypesActivitiesService) Query(parent string) *ProjectsLocationsActivityTypesActivitiesQueryCall {
c := &ProjectsLocationsActivityTypesActivitiesQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/policyanalyzer/v1beta1/policyanalyzer-gen.go b/policyanalyzer/v1beta1/policyanalyzer-gen.go
index 41018e87895..c2dee722670 100644
--- a/policyanalyzer/v1beta1/policyanalyzer-gen.go
+++ b/policyanalyzer/v1beta1/policyanalyzer-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://www.google.com
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/policyanalyzer/v1beta1"
-// ...
-// ctx := context.Background()
-// policyanalyzerService, err := policyanalyzer.NewService(ctx)
+// import "google.golang.org/api/policyanalyzer/v1beta1"
+// ...
+// ctx := context.Background()
+// policyanalyzerService, err := policyanalyzer.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// policyanalyzerService, err := policyanalyzer.NewService(ctx, option.WithAPIKey("AIza..."))
+// policyanalyzerService, err := policyanalyzer.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// policyanalyzerService, err := policyanalyzer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// policyanalyzerService, err := policyanalyzer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package policyanalyzer // import "google.golang.org/api/policyanalyzer/v1beta1"
@@ -306,11 +306,11 @@ type ProjectsLocationsActivityTypesActivitiesQueryCall struct {
// Query: Queries policy activities on GCP resources.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats:
-// `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityT
-// ypes/[ACTIVITY_TYPE]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats:
+// `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityT
+// ypes/[ACTIVITY_TYPE]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/.
func (r *ProjectsLocationsActivityTypesActivitiesService) Query(parent string) *ProjectsLocationsActivityTypesActivitiesQueryCall {
c := &ProjectsLocationsActivityTypesActivitiesQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/policysimulator/v1/policysimulator-gen.go b/policysimulator/v1/policysimulator-gen.go
index 87e6d9805a4..0dbae60b791 100644
--- a/policysimulator/v1/policysimulator-gen.go
+++ b/policysimulator/v1/policysimulator-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/iam/docs/simulating-access
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/policysimulator/v1"
-// ...
-// ctx := context.Background()
-// policysimulatorService, err := policysimulator.NewService(ctx)
+// import "google.golang.org/api/policysimulator/v1"
+// ...
+// ctx := context.Background()
+// policysimulatorService, err := policysimulator.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// policysimulatorService, err := policysimulator.NewService(ctx, option.WithAPIKey("AIza..."))
+// policysimulatorService, err := policysimulator.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// policysimulatorService, err := policysimulator.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// policysimulatorService, err := policysimulator.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package policysimulator // import "google.golang.org/api/policysimulator/v1"
@@ -1742,9 +1742,9 @@ type FoldersLocationsReplaysCreateCall struct {
// Create: Creates and starts a Replay using the given ReplayConfig.
//
-// - parent: The parent resource where this Replay will be created. This
-// resource must be a project, folder, or organization with a
-// location. Example: `projects/my-example-project/locations/global`.
+// - parent: The parent resource where this Replay will be created. This
+// resource must be a project, folder, or organization with a
+// location. Example: `projects/my-example-project/locations/global`.
func (r *FoldersLocationsReplaysService) Create(parent string, googlecloudpolicysimulatorv1replay *GoogleCloudPolicysimulatorV1Replay) *FoldersLocationsReplaysCreateCall {
c := &FoldersLocationsReplaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1887,12 +1887,12 @@ type FoldersLocationsReplaysGetCall struct {
// Get: Gets the specified Replay. Each `Replay` is available for at
// least 7 days.
//
-// - name: The name of the Replay to retrieve, in the following format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
-// folder, or organization that owns the `Replay`. Example:
-// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
-// 4d7d-8e03-479ce1833c36`.
+// - name: The name of the Replay to retrieve, in the following format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
+// folder, or organization that owns the `Replay`. Example:
+// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
+// 4d7d-8e03-479ce1833c36`.
func (r *FoldersLocationsReplaysService) Get(name string) *FoldersLocationsReplaysGetCall {
c := &FoldersLocationsReplaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2039,12 +2039,12 @@ type FoldersLocationsReplaysResultsListCall struct {
// List: Lists the results of running a Replay.
//
-// - parent: The Replay whose results are listed, in the following
-// format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}` Example:
-// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
-// 3-479ce1833c36`.
+// - parent: The Replay whose results are listed, in the following
+// format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}` Example:
+// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
+// 3-479ce1833c36`.
func (r *FoldersLocationsReplaysResultsService) List(parent string) *FoldersLocationsReplaysResultsListCall {
c := &FoldersLocationsReplaysResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2600,9 +2600,9 @@ type OrganizationsLocationsReplaysCreateCall struct {
// Create: Creates and starts a Replay using the given ReplayConfig.
//
-// - parent: The parent resource where this Replay will be created. This
-// resource must be a project, folder, or organization with a
-// location. Example: `projects/my-example-project/locations/global`.
+// - parent: The parent resource where this Replay will be created. This
+// resource must be a project, folder, or organization with a
+// location. Example: `projects/my-example-project/locations/global`.
func (r *OrganizationsLocationsReplaysService) Create(parent string, googlecloudpolicysimulatorv1replay *GoogleCloudPolicysimulatorV1Replay) *OrganizationsLocationsReplaysCreateCall {
c := &OrganizationsLocationsReplaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2745,12 +2745,12 @@ type OrganizationsLocationsReplaysGetCall struct {
// Get: Gets the specified Replay. Each `Replay` is available for at
// least 7 days.
//
-// - name: The name of the Replay to retrieve, in the following format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
-// folder, or organization that owns the `Replay`. Example:
-// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
-// 4d7d-8e03-479ce1833c36`.
+// - name: The name of the Replay to retrieve, in the following format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
+// folder, or organization that owns the `Replay`. Example:
+// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
+// 4d7d-8e03-479ce1833c36`.
func (r *OrganizationsLocationsReplaysService) Get(name string) *OrganizationsLocationsReplaysGetCall {
c := &OrganizationsLocationsReplaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2897,12 +2897,12 @@ type OrganizationsLocationsReplaysResultsListCall struct {
// List: Lists the results of running a Replay.
//
-// - parent: The Replay whose results are listed, in the following
-// format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}` Example:
-// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
-// 3-479ce1833c36`.
+// - parent: The Replay whose results are listed, in the following
+// format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}` Example:
+// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
+// 3-479ce1833c36`.
func (r *OrganizationsLocationsReplaysResultsService) List(parent string) *OrganizationsLocationsReplaysResultsListCall {
c := &OrganizationsLocationsReplaysResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3100,9 +3100,9 @@ type ProjectsLocationsReplaysCreateCall struct {
// Create: Creates and starts a Replay using the given ReplayConfig.
//
-// - parent: The parent resource where this Replay will be created. This
-// resource must be a project, folder, or organization with a
-// location. Example: `projects/my-example-project/locations/global`.
+// - parent: The parent resource where this Replay will be created. This
+// resource must be a project, folder, or organization with a
+// location. Example: `projects/my-example-project/locations/global`.
func (r *ProjectsLocationsReplaysService) Create(parent string, googlecloudpolicysimulatorv1replay *GoogleCloudPolicysimulatorV1Replay) *ProjectsLocationsReplaysCreateCall {
c := &ProjectsLocationsReplaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3245,12 +3245,12 @@ type ProjectsLocationsReplaysGetCall struct {
// Get: Gets the specified Replay. Each `Replay` is available for at
// least 7 days.
//
-// - name: The name of the Replay to retrieve, in the following format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
-// folder, or organization that owns the `Replay`. Example:
-// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
-// 4d7d-8e03-479ce1833c36`.
+// - name: The name of the Replay to retrieve, in the following format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
+// folder, or organization that owns the `Replay`. Example:
+// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
+// 4d7d-8e03-479ce1833c36`.
func (r *ProjectsLocationsReplaysService) Get(name string) *ProjectsLocationsReplaysGetCall {
c := &ProjectsLocationsReplaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3397,12 +3397,12 @@ type ProjectsLocationsReplaysResultsListCall struct {
// List: Lists the results of running a Replay.
//
-// - parent: The Replay whose results are listed, in the following
-// format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}` Example:
-// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
-// 3-479ce1833c36`.
+// - parent: The Replay whose results are listed, in the following
+// format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}` Example:
+// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
+// 3-479ce1833c36`.
func (r *ProjectsLocationsReplaysResultsService) List(parent string) *ProjectsLocationsReplaysResultsListCall {
c := &ProjectsLocationsReplaysResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/policysimulator/v1beta1/policysimulator-gen.go b/policysimulator/v1beta1/policysimulator-gen.go
index 2283756d9f9..7c5284f4998 100644
--- a/policysimulator/v1beta1/policysimulator-gen.go
+++ b/policysimulator/v1beta1/policysimulator-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/iam/docs/simulating-access
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/policysimulator/v1beta1"
-// ...
-// ctx := context.Background()
-// policysimulatorService, err := policysimulator.NewService(ctx)
+// import "google.golang.org/api/policysimulator/v1beta1"
+// ...
+// ctx := context.Background()
+// policysimulatorService, err := policysimulator.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// policysimulatorService, err := policysimulator.NewService(ctx, option.WithAPIKey("AIza..."))
+// policysimulatorService, err := policysimulator.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// policysimulatorService, err := policysimulator.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// policysimulatorService, err := policysimulator.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package policysimulator // import "google.golang.org/api/policysimulator/v1beta1"
@@ -1743,9 +1743,9 @@ type FoldersLocationsReplaysCreateCall struct {
// Create: Creates and starts a Replay using the given ReplayConfig.
//
-// - parent: The parent resource where this Replay will be created. This
-// resource must be a project, folder, or organization with a
-// location. Example: `projects/my-example-project/locations/global`.
+// - parent: The parent resource where this Replay will be created. This
+// resource must be a project, folder, or organization with a
+// location. Example: `projects/my-example-project/locations/global`.
func (r *FoldersLocationsReplaysService) Create(parent string, googlecloudpolicysimulatorv1beta1replay *GoogleCloudPolicysimulatorV1beta1Replay) *FoldersLocationsReplaysCreateCall {
c := &FoldersLocationsReplaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1888,12 +1888,12 @@ type FoldersLocationsReplaysGetCall struct {
// Get: Gets the specified Replay. Each `Replay` is available for at
// least 7 days.
//
-// - name: The name of the Replay to retrieve, in the following format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
-// folder, or organization that owns the `Replay`. Example:
-// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
-// 4d7d-8e03-479ce1833c36`.
+// - name: The name of the Replay to retrieve, in the following format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
+// folder, or organization that owns the `Replay`. Example:
+// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
+// 4d7d-8e03-479ce1833c36`.
func (r *FoldersLocationsReplaysService) Get(name string) *FoldersLocationsReplaysGetCall {
c := &FoldersLocationsReplaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2040,12 +2040,12 @@ type FoldersLocationsReplaysResultsListCall struct {
// List: Lists the results of running a Replay.
//
-// - parent: The Replay whose results are listed, in the following
-// format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}` Example:
-// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
-// 3-479ce1833c36`.
+// - parent: The Replay whose results are listed, in the following
+// format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}` Example:
+// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
+// 3-479ce1833c36`.
func (r *FoldersLocationsReplaysResultsService) List(parent string) *FoldersLocationsReplaysResultsListCall {
c := &FoldersLocationsReplaysResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2602,9 +2602,9 @@ type OrganizationsLocationsReplaysCreateCall struct {
// Create: Creates and starts a Replay using the given ReplayConfig.
//
-// - parent: The parent resource where this Replay will be created. This
-// resource must be a project, folder, or organization with a
-// location. Example: `projects/my-example-project/locations/global`.
+// - parent: The parent resource where this Replay will be created. This
+// resource must be a project, folder, or organization with a
+// location. Example: `projects/my-example-project/locations/global`.
func (r *OrganizationsLocationsReplaysService) Create(parent string, googlecloudpolicysimulatorv1beta1replay *GoogleCloudPolicysimulatorV1beta1Replay) *OrganizationsLocationsReplaysCreateCall {
c := &OrganizationsLocationsReplaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2747,12 +2747,12 @@ type OrganizationsLocationsReplaysGetCall struct {
// Get: Gets the specified Replay. Each `Replay` is available for at
// least 7 days.
//
-// - name: The name of the Replay to retrieve, in the following format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
-// folder, or organization that owns the `Replay`. Example:
-// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
-// 4d7d-8e03-479ce1833c36`.
+// - name: The name of the Replay to retrieve, in the following format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
+// folder, or organization that owns the `Replay`. Example:
+// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
+// 4d7d-8e03-479ce1833c36`.
func (r *OrganizationsLocationsReplaysService) Get(name string) *OrganizationsLocationsReplaysGetCall {
c := &OrganizationsLocationsReplaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2899,12 +2899,12 @@ type OrganizationsLocationsReplaysResultsListCall struct {
// List: Lists the results of running a Replay.
//
-// - parent: The Replay whose results are listed, in the following
-// format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}` Example:
-// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
-// 3-479ce1833c36`.
+// - parent: The Replay whose results are listed, in the following
+// format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}` Example:
+// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
+// 3-479ce1833c36`.
func (r *OrganizationsLocationsReplaysResultsService) List(parent string) *OrganizationsLocationsReplaysResultsListCall {
c := &OrganizationsLocationsReplaysResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3103,9 +3103,9 @@ type ProjectsLocationsReplaysCreateCall struct {
// Create: Creates and starts a Replay using the given ReplayConfig.
//
-// - parent: The parent resource where this Replay will be created. This
-// resource must be a project, folder, or organization with a
-// location. Example: `projects/my-example-project/locations/global`.
+// - parent: The parent resource where this Replay will be created. This
+// resource must be a project, folder, or organization with a
+// location. Example: `projects/my-example-project/locations/global`.
func (r *ProjectsLocationsReplaysService) Create(parent string, googlecloudpolicysimulatorv1beta1replay *GoogleCloudPolicysimulatorV1beta1Replay) *ProjectsLocationsReplaysCreateCall {
c := &ProjectsLocationsReplaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3248,12 +3248,12 @@ type ProjectsLocationsReplaysGetCall struct {
// Get: Gets the specified Replay. Each `Replay` is available for at
// least 7 days.
//
-// - name: The name of the Replay to retrieve, in the following format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
-// folder, or organization that owns the `Replay`. Example:
-// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
-// 4d7d-8e03-479ce1833c36`.
+// - name: The name of the Replay to retrieve, in the following format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}`, where `{resource-id}` is the ID of the project,
+// folder, or organization that owns the `Replay`. Example:
+// `projects/my-example-project/locations/global/replays/506a5f7f-38ce-
+// 4d7d-8e03-479ce1833c36`.
func (r *ProjectsLocationsReplaysService) Get(name string) *ProjectsLocationsReplaysGetCall {
c := &ProjectsLocationsReplaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3400,12 +3400,12 @@ type ProjectsLocationsReplaysResultsListCall struct {
// List: Lists the results of running a Replay.
//
-// - parent: The Replay whose results are listed, in the following
-// format:
-// `{projects|folders|organizations}/{resource-id}/locations/global/rep
-// lays/{replay-id}` Example:
-// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
-// 3-479ce1833c36`.
+// - parent: The Replay whose results are listed, in the following
+// format:
+// `{projects|folders|organizations}/{resource-id}/locations/global/rep
+// lays/{replay-id}` Example:
+// `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e0
+// 3-479ce1833c36`.
func (r *ProjectsLocationsReplaysResultsService) List(parent string) *ProjectsLocationsReplaysResultsListCall {
c := &ProjectsLocationsReplaysResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/policytroubleshooter/v1/policytroubleshooter-gen.go b/policytroubleshooter/v1/policytroubleshooter-gen.go
index 27572ed36f1..4151eacce8d 100644
--- a/policytroubleshooter/v1/policytroubleshooter-gen.go
+++ b/policytroubleshooter/v1/policytroubleshooter-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/iam/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/policytroubleshooter/v1"
-// ...
-// ctx := context.Background()
-// policytroubleshooterService, err := policytroubleshooter.NewService(ctx)
+// import "google.golang.org/api/policytroubleshooter/v1"
+// ...
+// ctx := context.Background()
+// policytroubleshooterService, err := policytroubleshooter.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// policytroubleshooterService, err := policytroubleshooter.NewService(ctx, option.WithAPIKey("AIza..."))
+// policytroubleshooterService, err := policytroubleshooter.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// policytroubleshooterService, err := policytroubleshooter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// policytroubleshooterService, err := policytroubleshooter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package policytroubleshooter // import "google.golang.org/api/policytroubleshooter/v1"
diff --git a/policytroubleshooter/v1beta/policytroubleshooter-gen.go b/policytroubleshooter/v1beta/policytroubleshooter-gen.go
index c5fde8b0890..7fba893db0c 100644
--- a/policytroubleshooter/v1beta/policytroubleshooter-gen.go
+++ b/policytroubleshooter/v1beta/policytroubleshooter-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/iam/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/policytroubleshooter/v1beta"
-// ...
-// ctx := context.Background()
-// policytroubleshooterService, err := policytroubleshooter.NewService(ctx)
+// import "google.golang.org/api/policytroubleshooter/v1beta"
+// ...
+// ctx := context.Background()
+// policytroubleshooterService, err := policytroubleshooter.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// policytroubleshooterService, err := policytroubleshooter.NewService(ctx, option.WithAPIKey("AIza..."))
+// policytroubleshooterService, err := policytroubleshooter.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// policytroubleshooterService, err := policytroubleshooter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// policytroubleshooterService, err := policytroubleshooter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package policytroubleshooter // import "google.golang.org/api/policytroubleshooter/v1beta"
diff --git a/poly/v1/poly-gen.go b/poly/v1/poly-gen.go
index 801a270bdab..edbb1a37c05 100644
--- a/poly/v1/poly-gen.go
+++ b/poly/v1/poly-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/poly/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/poly/v1"
-// ...
-// ctx := context.Background()
-// polyService, err := poly.NewService(ctx)
+// import "google.golang.org/api/poly/v1"
+// ...
+// ctx := context.Background()
+// polyService, err := poly.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// polyService, err := poly.NewService(ctx, option.WithAPIKey("AIza..."))
+// polyService, err := poly.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// polyService, err := poly.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// polyService, err := poly.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package poly // import "google.golang.org/api/poly/v1"
@@ -1149,11 +1149,14 @@ func (c *AssetsListCall) Keywords(keywords string) *AssetsListCall {
// SIMPLE assets.
//
// Possible values:
-// "COMPLEXITY_UNSPECIFIED" - No complexity specified. This is
+//
+// "COMPLEXITY_UNSPECIFIED" - No complexity specified. This is
+//
// equivalent to omitting the filter.
-// "COMPLEX" - Highly-complex.
-// "MEDIUM" - Averagely-complex.
-// "SIMPLE" - Simple.
+//
+// "COMPLEX" - Highly-complex.
+// "MEDIUM" - Averagely-complex.
+// "SIMPLE" - Simple.
func (c *AssetsListCall) MaxComplexity(maxComplexity string) *AssetsListCall {
c.urlParams_.Set("maxComplexity", maxComplexity)
return c
@@ -1386,9 +1389,9 @@ type UsersAssetsListCall struct {
// include assets with an access level of PRIVATE or UNLISTED and assets
// which are All Rights Reserved for the currently-authenticated user.
//
-// - name: A valid user id. Currently, only the special value 'me',
-// representing the currently-authenticated user is supported. To use
-// 'me', you must pass an OAuth token with the request.
+// - name: A valid user id. Currently, only the special value 'me',
+// representing the currently-authenticated user is supported. To use
+// 'me', you must pass an OAuth token with the request.
func (r *UsersAssetsService) List(name string) *UsersAssetsListCall {
c := &UsersAssetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1434,10 +1437,13 @@ func (c *UsersAssetsListCall) PageToken(pageToken string) *UsersAssetsListCall {
// which returns all assets.
//
// Possible values:
-// "VISIBILITY_UNSPECIFIED" - No visibility specified. Returns all
+//
+// "VISIBILITY_UNSPECIFIED" - No visibility specified. Returns all
+//
// assets.
-// "PUBLISHED" - Returns only published assets.
-// "PRIVATE" - Returns only private assets.
+//
+// "PUBLISHED" - Returns only published assets.
+// "PRIVATE" - Returns only private assets.
func (c *UsersAssetsListCall) Visibility(visibility string) *UsersAssetsListCall {
c.urlParams_.Set("visibility", visibility)
return c
@@ -1638,9 +1644,9 @@ type UsersLikedassetsListCall struct {
// representing the currently-authenticated user, is supported. May
// include assets with an access level of UNLISTED.
//
-// - name: A valid user id. Currently, only the special value 'me',
-// representing the currently-authenticated user is supported. To use
-// 'me', you must pass an OAuth token with the request.
+// - name: A valid user id. Currently, only the special value 'me',
+// representing the currently-authenticated user is supported. To use
+// 'me', you must pass an OAuth token with the request.
func (r *UsersLikedassetsService) List(name string) *UsersLikedassetsListCall {
c := &UsersLikedassetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/privateca/v1/privateca-gen.go b/privateca/v1/privateca-gen.go
index cd0fd26f46b..47d806a9545 100644
--- a/privateca/v1/privateca-gen.go
+++ b/privateca/v1/privateca-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/privateca/v1"
-// ...
-// ctx := context.Background()
-// privatecaService, err := privateca.NewService(ctx)
+// import "google.golang.org/api/privateca/v1"
+// ...
+// ctx := context.Background()
+// privatecaService, err := privateca.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// privatecaService, err := privateca.NewService(ctx, option.WithAPIKey("AIza..."))
+// privatecaService, err := privateca.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// privatecaService, err := privateca.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// privatecaService, err := privateca.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package privateca // import "google.golang.org/api/privateca/v1"
@@ -3556,8 +3556,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3764,8 +3764,8 @@ type ProjectsLocationsCaPoolsCreateCall struct {
// Create: Create a CaPool.
//
-// - parent: The resource name of the location associated with the
-// CaPool, in the format `projects/*/locations/*`.
+// - parent: The resource name of the location associated with the
+// CaPool, in the format `projects/*/locations/*`.
func (r *ProjectsLocationsCaPoolsService) Create(parent string, capool *CaPool) *ProjectsLocationsCaPoolsCreateCall {
c := &ProjectsLocationsCaPoolsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3941,8 +3941,8 @@ type ProjectsLocationsCaPoolsDeleteCall struct {
// Delete: Delete a CaPool.
//
-// - name: The resource name for this CaPool in the format
-// `projects/*/locations/*/caPools/*`.
+// - name: The resource name for this CaPool in the format
+// `projects/*/locations/*/caPools/*`.
func (r *ProjectsLocationsCaPoolsService) Delete(name string) *ProjectsLocationsCaPoolsDeleteCall {
c := &ProjectsLocationsCaPoolsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4099,8 +4099,8 @@ type ProjectsLocationsCaPoolsFetchCaCertsCall struct {
// CaPool. This will include CA certificate chains for all ACTIVE
// CertificateAuthority resources in the CaPool.
//
-// - caPool: The resource name for the CaPool in the format
-// `projects/*/locations/*/caPools/*`.
+// - caPool: The resource name for the CaPool in the format
+// `projects/*/locations/*/caPools/*`.
func (r *ProjectsLocationsCaPoolsService) FetchCaCerts(caPool string, fetchcacertsrequest *FetchCaCertsRequest) *ProjectsLocationsCaPoolsFetchCaCertsCall {
c := &ProjectsLocationsCaPoolsFetchCaCertsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.caPool = caPool
@@ -4390,10 +4390,10 @@ type ProjectsLocationsCaPoolsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCaPoolsService) GetIamPolicy(resource string) *ProjectsLocationsCaPoolsGetIamPolicyCall {
c := &ProjectsLocationsCaPoolsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4563,8 +4563,8 @@ type ProjectsLocationsCaPoolsListCall struct {
// List: Lists CaPools.
//
-// - parent: The resource name of the location associated with the
-// CaPools, in the format `projects/*/locations/*`.
+// - parent: The resource name of the location associated with the
+// CaPools, in the format `projects/*/locations/*`.
func (r *ProjectsLocationsCaPoolsService) List(parent string) *ProjectsLocationsCaPoolsListCall {
c := &ProjectsLocationsCaPoolsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4783,8 +4783,8 @@ type ProjectsLocationsCaPoolsPatchCall struct {
// Patch: Update a CaPool.
//
-// - name: Output only. The resource name for this CaPool in the format
-// `projects/*/locations/*/caPools/*`.
+// - name: Output only. The resource name for this CaPool in the format
+// `projects/*/locations/*/caPools/*`.
func (r *ProjectsLocationsCaPoolsService) Patch(name string, capool *CaPool) *ProjectsLocationsCaPoolsPatchCall {
c := &ProjectsLocationsCaPoolsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4963,10 +4963,10 @@ type ProjectsLocationsCaPoolsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCaPoolsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsCaPoolsSetIamPolicyCall {
c := &ProjectsLocationsCaPoolsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5113,10 +5113,10 @@ type ProjectsLocationsCaPoolsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCaPoolsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsCaPoolsTestIamPermissionsCall {
c := &ProjectsLocationsCaPoolsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5262,8 +5262,8 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesActivateCall struct {
// FetchCertificateAuthorityCsr, this method can complete the activation
// process.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesService) Activate(name string, activatecertificateauthorityrequest *ActivateCertificateAuthorityRequest) *ProjectsLocationsCaPoolsCertificateAuthoritiesActivateCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5406,9 +5406,9 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesCreateCall struct {
// Create: Create a new CertificateAuthority in a given Project and
// Location.
//
-// - parent: The resource name of the CaPool associated with the
-// CertificateAuthorities, in the format
-// `projects/*/locations/*/caPools/*`.
+// - parent: The resource name of the CaPool associated with the
+// CertificateAuthorities, in the format
+// `projects/*/locations/*/caPools/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesService) Create(parent string, certificateauthority *CertificateAuthority) *ProjectsLocationsCaPoolsCertificateAuthoritiesCreateCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5584,8 +5584,8 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesDeleteCall struct {
// Delete: Delete a CertificateAuthority.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesService) Delete(name string) *ProjectsLocationsCaPoolsCertificateAuthoritiesDeleteCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5769,8 +5769,8 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesDisableCall struct {
// Disable: Disable a CertificateAuthority.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesService) Disable(name string, disablecertificateauthorityrequest *DisableCertificateAuthorityRequest) *ProjectsLocationsCaPoolsCertificateAuthoritiesDisableCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesDisableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5912,8 +5912,8 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesEnableCall struct {
// Enable: Enable a CertificateAuthority.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesService) Enable(name string, enablecertificateauthorityrequest *EnableCertificateAuthorityRequest) *ProjectsLocationsCaPoolsCertificateAuthoritiesEnableCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6060,8 +6060,8 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesFetchCall struct {
// CertificateAuthority resource, or could be an on-prem certificate
// authority. See also ActivateCertificateAuthority.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesService) Fetch(name string) *ProjectsLocationsCaPoolsCertificateAuthoritiesFetchCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesFetchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6354,9 +6354,9 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesListCall struct {
// List: Lists CertificateAuthorities.
//
-// - parent: The resource name of the CaPool associated with the
-// CertificateAuthorities, in the format
-// `projects/*/locations/*/caPools/*`.
+// - parent: The resource name of the CaPool associated with the
+// CertificateAuthorities, in the format
+// `projects/*/locations/*/caPools/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesService) List(parent string) *ProjectsLocationsCaPoolsCertificateAuthoritiesListCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6577,9 +6577,9 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesPatchCall struct {
// Patch: Update a CertificateAuthority.
//
-// - name: Output only. The resource name for this CertificateAuthority
-// in the format
-// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
+// - name: Output only. The resource name for this CertificateAuthority
+// in the format
+// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesService) Patch(name string, certificateauthority *CertificateAuthority) *ProjectsLocationsCaPoolsCertificateAuthoritiesPatchCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6756,8 +6756,8 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesUndeleteCall struct {
// Undelete: Undelete a CertificateAuthority that has been deleted.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesService) Undelete(name string, undeletecertificateauthorityrequest *UndeleteCertificateAuthorityRequest) *ProjectsLocationsCaPoolsCertificateAuthoritiesUndeleteCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7047,10 +7047,10 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsGet
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsService) GetIamPolicy(resource string) *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsGetIamPolicyCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7220,9 +7220,9 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsLis
// List: Lists CertificateRevocationLists.
//
-// - parent: The resource name of the location associated with the
-// CertificateRevocationLists, in the format
-// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
+// - parent: The resource name of the location associated with the
+// CertificateRevocationLists, in the format
+// `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsService) List(parent string) *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsListCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7444,10 +7444,10 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsPat
// Patch: Update a CertificateRevocationList.
//
-// - name: Output only. The resource name for this
-// CertificateRevocationList in the format
-// `projects/*/locations/*/caPools/*certificateAuthorities/*/
-// certificateRevocationLists/*`.
+// - name: Output only. The resource name for this
+// CertificateRevocationList in the format
+// `projects/*/locations/*/caPools/*certificateAuthorities/*/
+// certificateRevocationLists/*`.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsService) Patch(name string, certificaterevocationlist *CertificateRevocationList) *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsPatchCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7626,10 +7626,10 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsSet
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsSetIamPolicyCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7776,10 +7776,10 @@ type ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsTes
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsTestIamPermissionsCall {
c := &ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7922,8 +7922,8 @@ type ProjectsLocationsCaPoolsCertificatesCreateCall struct {
// Create: Create a new Certificate in a given Project, Location from a
// particular CaPool.
//
-// - parent: The resource name of the CaPool associated with the
-// Certificate, in the format `projects/*/locations/*/caPools/*`.
+// - parent: The resource name of the CaPool associated with the
+// Certificate, in the format `projects/*/locations/*/caPools/*`.
func (r *ProjectsLocationsCaPoolsCertificatesService) Create(parent string, certificate *Certificate) *ProjectsLocationsCaPoolsCertificatesCreateCall {
c := &ProjectsLocationsCaPoolsCertificatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8285,8 +8285,8 @@ type ProjectsLocationsCaPoolsCertificatesListCall struct {
// List: Lists Certificates.
//
-// - parent: The resource name of the location associated with the
-// Certificates, in the format `projects/*/locations/*/caPools/*`.
+// - parent: The resource name of the location associated with the
+// Certificates, in the format `projects/*/locations/*/caPools/*`.
func (r *ProjectsLocationsCaPoolsCertificatesService) List(parent string) *ProjectsLocationsCaPoolsCertificatesListCall {
c := &ProjectsLocationsCaPoolsCertificatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8510,8 +8510,8 @@ type ProjectsLocationsCaPoolsCertificatesPatchCall struct {
// Patch: Update a Certificate. Currently, the only field you can update
// is the labels field.
//
-// - name: Output only. The resource name for this Certificate in the
-// format `projects/*/locations/*/caPools/*/certificates/*`.
+// - name: Output only. The resource name for this Certificate in the
+// format `projects/*/locations/*/caPools/*/certificates/*`.
func (r *ProjectsLocationsCaPoolsCertificatesService) Patch(name string, certificate *Certificate) *ProjectsLocationsCaPoolsCertificatesPatchCall {
c := &ProjectsLocationsCaPoolsCertificatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8688,8 +8688,8 @@ type ProjectsLocationsCaPoolsCertificatesRevokeCall struct {
// Revoke: Revoke a Certificate.
//
-// - name: The resource name for this Certificate in the format
-// `projects/*/locations/*/caPools/*/certificates/*`.
+// - name: The resource name for this Certificate in the format
+// `projects/*/locations/*/caPools/*/certificates/*`.
func (r *ProjectsLocationsCaPoolsCertificatesService) Revoke(name string, revokecertificaterequest *RevokeCertificateRequest) *ProjectsLocationsCaPoolsCertificatesRevokeCall {
c := &ProjectsLocationsCaPoolsCertificatesRevokeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8832,8 +8832,8 @@ type ProjectsLocationsCertificateTemplatesCreateCall struct {
// Create: Create a new CertificateTemplate in a given Project and
// Location.
//
-// - parent: The resource name of the location associated with the
-// CertificateTemplate, in the format `projects/*/locations/*`.
+// - parent: The resource name of the location associated with the
+// CertificateTemplate, in the format `projects/*/locations/*`.
func (r *ProjectsLocationsCertificateTemplatesService) Create(parent string, certificatetemplate *CertificateTemplate) *ProjectsLocationsCertificateTemplatesCreateCall {
c := &ProjectsLocationsCertificateTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9009,8 +9009,8 @@ type ProjectsLocationsCertificateTemplatesDeleteCall struct {
// Delete: DeleteCertificateTemplate deletes a CertificateTemplate.
//
-// - name: The resource name for this CertificateTemplate in the format
-// `projects/*/locations/*/certificateTemplates/*`.
+// - name: The resource name for this CertificateTemplate in the format
+// `projects/*/locations/*/certificateTemplates/*`.
func (r *ProjectsLocationsCertificateTemplatesService) Delete(name string) *ProjectsLocationsCertificateTemplatesDeleteCall {
c := &ProjectsLocationsCertificateTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9313,10 +9313,10 @@ type ProjectsLocationsCertificateTemplatesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCertificateTemplatesService) GetIamPolicy(resource string) *ProjectsLocationsCertificateTemplatesGetIamPolicyCall {
c := &ProjectsLocationsCertificateTemplatesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9486,8 +9486,8 @@ type ProjectsLocationsCertificateTemplatesListCall struct {
// List: Lists CertificateTemplates.
//
-// - parent: The resource name of the location associated with the
-// CertificateTemplates, in the format `projects/*/locations/*`.
+// - parent: The resource name of the location associated with the
+// CertificateTemplates, in the format `projects/*/locations/*`.
func (r *ProjectsLocationsCertificateTemplatesService) List(parent string) *ProjectsLocationsCertificateTemplatesListCall {
c := &ProjectsLocationsCertificateTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9707,8 +9707,8 @@ type ProjectsLocationsCertificateTemplatesPatchCall struct {
// Patch: Update a CertificateTemplate.
//
-// - name: Output only. The resource name for this CertificateTemplate
-// in the format `projects/*/locations/*/certificateTemplates/*`.
+// - name: Output only. The resource name for this CertificateTemplate
+// in the format `projects/*/locations/*/certificateTemplates/*`.
func (r *ProjectsLocationsCertificateTemplatesService) Patch(name string, certificatetemplate *CertificateTemplate) *ProjectsLocationsCertificateTemplatesPatchCall {
c := &ProjectsLocationsCertificateTemplatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9887,10 +9887,10 @@ type ProjectsLocationsCertificateTemplatesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCertificateTemplatesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsCertificateTemplatesSetIamPolicyCall {
c := &ProjectsLocationsCertificateTemplatesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10037,10 +10037,10 @@ type ProjectsLocationsCertificateTemplatesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCertificateTemplatesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsCertificateTemplatesTestIamPermissionsCall {
c := &ProjectsLocationsCertificateTemplatesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/privateca/v1beta1/privateca-gen.go b/privateca/v1beta1/privateca-gen.go
index 4959a256eee..badf31f8acd 100644
--- a/privateca/v1beta1/privateca-gen.go
+++ b/privateca/v1beta1/privateca-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/privateca/v1beta1"
-// ...
-// ctx := context.Background()
-// privatecaService, err := privateca.NewService(ctx)
+// import "google.golang.org/api/privateca/v1beta1"
+// ...
+// ctx := context.Background()
+// privatecaService, err := privateca.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// privatecaService, err := privateca.NewService(ctx, option.WithAPIKey("AIza..."))
+// privatecaService, err := privateca.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// privatecaService, err := privateca.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// privatecaService, err := privateca.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package privateca // import "google.golang.org/api/privateca/v1beta1"
@@ -3220,8 +3220,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3432,8 +3432,8 @@ type ProjectsLocationsCertificateAuthoritiesActivateCall struct {
// FetchCertificateAuthorityCsr, this method can complete the activation
// process.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesService) Activate(name string, activatecertificateauthorityrequest *ActivateCertificateAuthorityRequest) *ProjectsLocationsCertificateAuthoritiesActivateCall {
c := &ProjectsLocationsCertificateAuthoritiesActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3576,8 +3576,8 @@ type ProjectsLocationsCertificateAuthoritiesCreateCall struct {
// Create: Create a new CertificateAuthority in a given Project and
// Location.
//
-// - parent: The resource name of the location associated with the
-// CertificateAuthorities, in the format `projects/*/locations/*`.
+// - parent: The resource name of the location associated with the
+// CertificateAuthorities, in the format `projects/*/locations/*`.
func (r *ProjectsLocationsCertificateAuthoritiesService) Create(parent string, certificateauthority *CertificateAuthority) *ProjectsLocationsCertificateAuthoritiesCreateCall {
c := &ProjectsLocationsCertificateAuthoritiesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3754,8 +3754,8 @@ type ProjectsLocationsCertificateAuthoritiesDisableCall struct {
// Disable: Disable a CertificateAuthority.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesService) Disable(name string, disablecertificateauthorityrequest *DisableCertificateAuthorityRequest) *ProjectsLocationsCertificateAuthoritiesDisableCall {
c := &ProjectsLocationsCertificateAuthoritiesDisableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3897,8 +3897,8 @@ type ProjectsLocationsCertificateAuthoritiesEnableCall struct {
// Enable: Enable a CertificateAuthority.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesService) Enable(name string, enablecertificateauthorityrequest *EnableCertificateAuthorityRequest) *ProjectsLocationsCertificateAuthoritiesEnableCall {
c := &ProjectsLocationsCertificateAuthoritiesEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4045,8 +4045,8 @@ type ProjectsLocationsCertificateAuthoritiesFetchCall struct {
// resource, or could be an on-prem certificate authority. See also
// ActivateCertificateAuthority.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesService) Fetch(name string) *ProjectsLocationsCertificateAuthoritiesFetchCall {
c := &ProjectsLocationsCertificateAuthoritiesFetchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4341,10 +4341,10 @@ type ProjectsLocationsCertificateAuthoritiesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCertificateAuthoritiesService) GetIamPolicy(resource string) *ProjectsLocationsCertificateAuthoritiesGetIamPolicyCall {
c := &ProjectsLocationsCertificateAuthoritiesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4514,8 +4514,8 @@ type ProjectsLocationsCertificateAuthoritiesListCall struct {
// List: Lists CertificateAuthorities.
//
-// - parent: The resource name of the location associated with the
-// CertificateAuthorities, in the format `projects/*/locations/*`.
+// - parent: The resource name of the location associated with the
+// CertificateAuthorities, in the format `projects/*/locations/*`.
func (r *ProjectsLocationsCertificateAuthoritiesService) List(parent string) *ProjectsLocationsCertificateAuthoritiesListCall {
c := &ProjectsLocationsCertificateAuthoritiesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4736,8 +4736,8 @@ type ProjectsLocationsCertificateAuthoritiesPatchCall struct {
// Patch: Update a CertificateAuthority.
//
-// - name: Output only. The resource name for this CertificateAuthority
-// in the format `projects/*/locations/*/certificateAuthorities/*`.
+// - name: Output only. The resource name for this CertificateAuthority
+// in the format `projects/*/locations/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesService) Patch(name string, certificateauthority *CertificateAuthority) *ProjectsLocationsCertificateAuthoritiesPatchCall {
c := &ProjectsLocationsCertificateAuthoritiesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4915,8 +4915,8 @@ type ProjectsLocationsCertificateAuthoritiesRestoreCall struct {
// Restore: Restore a CertificateAuthority that is scheduled for
// deletion.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesService) Restore(name string, restorecertificateauthorityrequest *RestoreCertificateAuthorityRequest) *ProjectsLocationsCertificateAuthoritiesRestoreCall {
c := &ProjectsLocationsCertificateAuthoritiesRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5058,8 +5058,8 @@ type ProjectsLocationsCertificateAuthoritiesScheduleDeleteCall struct {
// ScheduleDelete: Schedule a CertificateAuthority for deletion.
//
-// - name: The resource name for this CertificateAuthority in the format
-// `projects/*/locations/*/certificateAuthorities/*`.
+// - name: The resource name for this CertificateAuthority in the format
+// `projects/*/locations/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesService) ScheduleDelete(name string, scheduledeletecertificateauthorityrequest *ScheduleDeleteCertificateAuthorityRequest) *ProjectsLocationsCertificateAuthoritiesScheduleDeleteCall {
c := &ProjectsLocationsCertificateAuthoritiesScheduleDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5203,10 +5203,10 @@ type ProjectsLocationsCertificateAuthoritiesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCertificateAuthoritiesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsCertificateAuthoritiesSetIamPolicyCall {
c := &ProjectsLocationsCertificateAuthoritiesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5353,10 +5353,10 @@ type ProjectsLocationsCertificateAuthoritiesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCertificateAuthoritiesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsCertificateAuthoritiesTestIamPermissionsCall {
c := &ProjectsLocationsCertificateAuthoritiesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5646,10 +5646,10 @@ type ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetIamPoli
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsService) GetIamPolicy(resource string) *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetIamPolicyCall {
c := &ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5819,9 +5819,9 @@ type ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsListCall s
// List: Lists CertificateRevocationLists.
//
-// - parent: The resource name of the location associated with the
-// CertificateRevocationLists, in the format
-// `projects/*/locations/*/certificateauthorities/*`.
+// - parent: The resource name of the location associated with the
+// CertificateRevocationLists, in the format
+// `projects/*/locations/*/certificateauthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsService) List(parent string) *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsListCall {
c := &ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6043,10 +6043,10 @@ type ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsPatchCall
// Patch: Update a CertificateRevocationList.
//
-// - name: Output only. The resource path for this
-// CertificateRevocationList in the format
-// `projects/*/locations/*/certificateAuthorities/*/
-// certificateRevocationLists/*`.
+// - name: Output only. The resource path for this
+// CertificateRevocationList in the format
+// `projects/*/locations/*/certificateAuthorities/*/
+// certificateRevocationLists/*`.
func (r *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsService) Patch(name string, certificaterevocationlist *CertificateRevocationList) *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsPatchCall {
c := &ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6225,10 +6225,10 @@ type ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsSetIamPoli
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsSetIamPolicyCall {
c := &ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6375,10 +6375,10 @@ type ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsTestIamPer
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsTestIamPermissionsCall {
c := &ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6521,9 +6521,9 @@ type ProjectsLocationsCertificateAuthoritiesCertificatesCreateCall struct {
// Create: Create a new Certificate in a given Project, Location from a
// particular CertificateAuthority.
//
-// - parent: The resource name of the location and CertificateAuthority
-// associated with the Certificate, in the format
-// `projects/*/locations/*/certificateAuthorities/*`.
+// - parent: The resource name of the location and CertificateAuthority
+// associated with the Certificate, in the format
+// `projects/*/locations/*/certificateAuthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesCertificatesService) Create(parent string, certificate *Certificate) *ProjectsLocationsCertificateAuthoritiesCertificatesCreateCall {
c := &ProjectsLocationsCertificateAuthoritiesCertificatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6848,9 +6848,9 @@ type ProjectsLocationsCertificateAuthoritiesCertificatesListCall struct {
// List: Lists Certificates.
//
-// - parent: The resource name of the location associated with the
-// Certificates, in the format
-// `projects/*/locations/*/certificateauthorities/*`.
+// - parent: The resource name of the location associated with the
+// Certificates, in the format
+// `projects/*/locations/*/certificateauthorities/*`.
func (r *ProjectsLocationsCertificateAuthoritiesCertificatesService) List(parent string) *ProjectsLocationsCertificateAuthoritiesCertificatesListCall {
c := &ProjectsLocationsCertificateAuthoritiesCertificatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7074,9 +7074,9 @@ type ProjectsLocationsCertificateAuthoritiesCertificatesPatchCall struct {
// Patch: Update a Certificate. Currently, the only field you can update
// is the labels field.
//
-// - name: Output only. The resource path for this Certificate in the
-// format
-// `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
+// - name: Output only. The resource path for this Certificate in the
+// format
+// `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
func (r *ProjectsLocationsCertificateAuthoritiesCertificatesService) Patch(name string, certificate *Certificate) *ProjectsLocationsCertificateAuthoritiesCertificatesPatchCall {
c := &ProjectsLocationsCertificateAuthoritiesCertificatesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7253,8 +7253,8 @@ type ProjectsLocationsCertificateAuthoritiesCertificatesRevokeCall struct {
// Revoke: Revoke a Certificate.
//
-// - name: The resource name for this Certificate in the format
-// `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
+// - name: The resource name for this Certificate in the format
+// `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
func (r *ProjectsLocationsCertificateAuthoritiesCertificatesService) Revoke(name string, revokecertificaterequest *RevokeCertificateRequest) *ProjectsLocationsCertificateAuthoritiesCertificatesRevokeCall {
c := &ProjectsLocationsCertificateAuthoritiesCertificatesRevokeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8191,10 +8191,10 @@ type ProjectsLocationsReusableConfigsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsReusableConfigsService) GetIamPolicy(resource string) *ProjectsLocationsReusableConfigsGetIamPolicyCall {
c := &ProjectsLocationsReusableConfigsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8364,8 +8364,8 @@ type ProjectsLocationsReusableConfigsListCall struct {
// List: Lists ReusableConfigs.
//
-// - parent: The resource name of the location associated with the
-// ReusableConfigs, in the format `projects/*/locations/*`.
+// - parent: The resource name of the location associated with the
+// ReusableConfigs, in the format `projects/*/locations/*`.
func (r *ProjectsLocationsReusableConfigsService) List(parent string) *ProjectsLocationsReusableConfigsListCall {
c := &ProjectsLocationsReusableConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8586,10 +8586,10 @@ type ProjectsLocationsReusableConfigsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsReusableConfigsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsReusableConfigsSetIamPolicyCall {
c := &ProjectsLocationsReusableConfigsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8736,10 +8736,10 @@ type ProjectsLocationsReusableConfigsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsReusableConfigsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsReusableConfigsTestIamPermissionsCall {
c := &ProjectsLocationsReusableConfigsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go
index 9d03ac289c4..17d90cc30fd 100644
--- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go
+++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/spectrum-access-system/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/prod_tt_sasportal/v1alpha1"
-// ...
-// ctx := context.Background()
-// prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx)
+// import "google.golang.org/api/prod_tt_sasportal/v1alpha1"
+// ...
+// ctx := context.Background()
+// prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx, option.WithScopes(prod_tt_sasportal.UserinfoEmailScope))
+// prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx, option.WithScopes(prod_tt_sasportal.UserinfoEmailScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx, option.WithAPIKey("AIza..."))
+// prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package prod_tt_sasportal // import "google.golang.org/api/prod_tt_sasportal/v1alpha1"
@@ -2425,8 +2425,8 @@ type CustomersDeploymentsCreateCall struct {
// Create: Creates a new deployment.
//
-// - parent: The parent resource name where the deployment is to be
-// created.
+// - parent: The parent resource name where the deployment is to be
+// created.
func (r *CustomersDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *CustomersDeploymentsCreateCall {
c := &CustomersDeploymentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2849,8 +2849,8 @@ type CustomersDeploymentsListCall struct {
// List: Lists deployments.
//
-// - parent: The parent resource name, for example, "nodes/1",
-// customer/1/nodes/2.
+// - parent: The parent resource name, for example, "nodes/1",
+// customer/1/nodes/2.
func (r *CustomersDeploymentsService) List(parent string) *CustomersDeploymentsListCall {
c := &CustomersDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6142,8 +6142,8 @@ type CustomersNodesDeploymentsCreateCall struct {
// Create: Creates a new deployment.
//
-// - parent: The parent resource name where the deployment is to be
-// created.
+// - parent: The parent resource name where the deployment is to be
+// created.
func (r *CustomersNodesDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *CustomersNodesDeploymentsCreateCall {
c := &CustomersNodesDeploymentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6286,8 +6286,8 @@ type CustomersNodesDeploymentsListCall struct {
// List: Lists deployments.
//
-// - parent: The parent resource name, for example, "nodes/1",
-// customer/1/nodes/2.
+// - parent: The parent resource name, for example, "nodes/1",
+// customer/1/nodes/2.
func (r *CustomersNodesDeploymentsService) List(parent string) *CustomersNodesDeploymentsListCall {
c := &CustomersNodesDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9035,8 +9035,8 @@ type NodesDeploymentsListCall struct {
// List: Lists deployments.
//
-// - parent: The parent resource name, for example, "nodes/1",
-// customer/1/nodes/2.
+// - parent: The parent resource name, for example, "nodes/1",
+// customer/1/nodes/2.
func (r *NodesDeploymentsService) List(parent string) *NodesDeploymentsListCall {
c := &NodesDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12328,8 +12328,8 @@ type NodesNodesDeploymentsCreateCall struct {
// Create: Creates a new deployment.
//
-// - parent: The parent resource name where the deployment is to be
-// created.
+// - parent: The parent resource name where the deployment is to be
+// created.
func (r *NodesNodesDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *NodesNodesDeploymentsCreateCall {
c := &NodesNodesDeploymentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12472,8 +12472,8 @@ type NodesNodesDeploymentsListCall struct {
// List: Lists deployments.
//
-// - parent: The parent resource name, for example, "nodes/1",
-// customer/1/nodes/2.
+// - parent: The parent resource name, for example, "nodes/1",
+// customer/1/nodes/2.
func (r *NodesNodesDeploymentsService) List(parent string) *NodesNodesDeploymentsListCall {
c := &NodesNodesDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/proximitybeacon/v1beta1/proximitybeacon-gen.go b/proximitybeacon/v1beta1/proximitybeacon-gen.go
index 496dc95b9c6..ae724e0f4a9 100644
--- a/proximitybeacon/v1beta1/proximitybeacon-gen.go
+++ b/proximitybeacon/v1beta1/proximitybeacon-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/beacons/proximity/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/proximitybeacon/v1beta1"
-// ...
-// ctx := context.Background()
-// proximitybeaconService, err := proximitybeacon.NewService(ctx)
+// import "google.golang.org/api/proximitybeacon/v1beta1"
+// ...
+// ctx := context.Background()
+// proximitybeaconService, err := proximitybeacon.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// proximitybeaconService, err := proximitybeacon.NewService(ctx, option.WithAPIKey("AIza..."))
+// proximitybeaconService, err := proximitybeacon.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// proximitybeaconService, err := proximitybeacon.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// proximitybeaconService, err := proximitybeacon.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package proximitybeacon // import "google.golang.org/api/proximitybeacon/v1beta1"
@@ -783,10 +783,12 @@ func (s *Diagnostics) MarshalJSON() ([]byte, error) {
// request
// or the response type of an API method. For instance:
//
-// service Foo {
-// rpc Bar(google.protobuf.Empty) returns
+// service Foo {
+// rpc Bar(google.protobuf.Empty) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// The JSON representation for `Empty` is empty JSON object `{}`.
type Empty struct {
@@ -803,25 +805,36 @@ type Empty struct {
//
// 1. Perform an ECDH key exchange via this API, including a previous
// call
-// to `GET /v1beta1/eidparams`. In this case the fields
-// `beacon_ecdh_public_key` and `service_ecdh_public_key` should be
-// populated and `beacon_identity_key` should not be populated. This
-// method ensures that only the two parties in the ECDH key exchange
+//
+// to `GET /v1beta1/eidparams`. In this case the fields
+// `beacon_ecdh_public_key` and `service_ecdh_public_key` should be
+// populated and `beacon_identity_key` should not be populated. This
+// method ensures that only the two parties in the ECDH key exchange
+//
// can
-// compute the identity key, which becomes a secret between them.
-// 2. Derive or obtain the beacon's identity key via other secure means
-// (perhaps an ECDH key exchange between the beacon and a mobile
+//
+// compute the identity key, which becomes a secret between them.
+// 2. Derive or obtain the beacon's identity key via other secure means
+// (perhaps an ECDH key exchange between the beacon and a mobile
+//
// device
-// or any other secure method), and then submit the resulting
+//
+// or any other secure method), and then submit the resulting
+//
// identity key
-// to the service. In this case `beacon_identity_key` field should
+//
+// to the service. In this case `beacon_identity_key` field should
+//
// be
-// populated, and neither of `beacon_ecdh_public_key` nor
-// `service_ecdh_public_key` fields should be. The security of this
+//
+// populated, and neither of `beacon_ecdh_public_key` nor
+// `service_ecdh_public_key` fields should be. The security of this
+//
// method
-// depends on how securely the parties involved (in particular the
-// bluetooth client) handle the identity key, and obviously on how
-// securely the identity key was generated.
+//
+// depends on how securely the parties involved (in particular the
+// bluetooth client) handle the identity key, and obviously on how
+// securely the identity key was generated.
//
// See [the
// Eddystone
@@ -1529,7 +1542,9 @@ type BeaconsActivateCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **Is owner** or **Can edit** permissions in the
// Google
// Developers Console project.
@@ -1689,7 +1704,9 @@ type BeaconsDeactivateCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **Is owner** or **Can edit** permissions in the
// Google
// Developers Console project.
@@ -1848,7 +1865,9 @@ type BeaconsDecommissionCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **Is owner** or **Can edit** permissions in the
// Google
// Developers Console project.
@@ -2005,7 +2024,9 @@ type BeaconsDeleteCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **Is owner** or **Can edit** permissions in the
// Google
// Developers Console project.
@@ -2158,7 +2179,9 @@ type BeaconsGetCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **viewer**, **Is owner** or **Can edit**
// permissions in
// the Google Developers Console project.
@@ -2338,7 +2361,9 @@ type BeaconsListCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **viewer**, **Is owner** or **Can edit**
// permissions in
// the Google Developers Console project.
@@ -2373,76 +2398,108 @@ func (c *BeaconsListCall) ProjectId(projectId string) *BeaconsListCall {
// Q sets the optional parameter "q": Filter query string that supports
// the following field filters:
//
-// * **description:""**
-// For example: **description:"Room 3"**
-// Returns beacons whose description matches tokens in the string
+// - **description:""**
+// For example: **description:"Room 3"**
+// Returns beacons whose description matches tokens in the string
+//
// "Room 3"
-// (not necessarily that exact string).
-// The string must be double-quoted.
-// * **status:``**
-// For example: **status:active**
-// Returns beacons whose status matches the given value. Values must
+//
+// (not necessarily that exact string).
+// The string must be double-quoted.
+// - **status:``**
+// For example: **status:active**
+// Returns beacons whose status matches the given value. Values must
+//
// be
-// one of the Beacon.Status enum values (case insensitive). Accepts
-// multiple filters which will be combined with OR logic.
-// * **stability:``**
-// For example: **stability:mobile**
-// Returns beacons whose expected stability matches the given value.
-// Values must be one of the Beacon.Stability enum values (case
-// insensitive). Accepts multiple filters which will be combined with
-// OR logic.
-// * **place\_id:""**
-// For example: **place\_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="**
-// Returns beacons explicitly registered at the given place, expressed
+//
+// one of the Beacon.Status enum values (case insensitive). Accepts
+// multiple filters which will be combined with OR logic.
+// - **stability:``**
+// For example: **stability:mobile**
+// Returns beacons whose expected stability matches the given value.
+// Values must be one of the Beacon.Stability enum values (case
+// insensitive). Accepts multiple filters which will be combined with
+// OR logic.
+// - **place\_id:""**
+// For example: **place\_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="**
+// Returns beacons explicitly registered at the given place, expressed
+//
// as
-// a Place ID obtained from [Google Places API](/places/place-id).
+//
+// a Place ID obtained from [Google Places API](/places/place-id).
+//
// Does not
-// match places inside the given place. Does not consider the
+//
+// match places inside the given place. Does not consider the
+//
// beacon's
-// actual location (which may be different from its registered
+//
+// actual location (which may be different from its registered
+//
// place).
-// Accepts multiple filters that will be combined with OR logic. The
+//
+// Accepts multiple filters that will be combined with OR logic. The
+//
// place
-// ID must be double-quoted.
-// * **registration\_time`[<|>|<=|>=]`**
-// For example: **registration\_time>=1433116800**
-// Returns beacons whose registration time matches the given filter.
-// Supports the operators: <, >, <=, and >=. Timestamp must be
+//
+// ID must be double-quoted.
+// - **registration\_time`[<|>|<=|>=]`**
+// For example: **registration\_time>=1433116800**
+// Returns beacons whose registration time matches the given filter.
+// Supports the operators: <, >, <=, and >=. Timestamp must be
+//
// expressed as
-// an integer number of seconds since midnight January 1, 1970 UTC.
+//
+// an integer number of seconds since midnight January 1, 1970 UTC.
+//
// Accepts
-// at most two filters that will be combined with AND logic, to
+//
+// at most two filters that will be combined with AND logic, to
+//
// support
-// "between" semantics. If more than two are supplied, the latter ones
+//
+// "between" semantics. If more than two are supplied, the latter ones
+//
// are
-// ignored.
-// * **lat:` lng: radius:`**
-// For example: **lat:51.1232343 lng:-1.093852 radius:1000**
-// Returns beacons whose registered location is within the given
+//
+// ignored.
+// - **lat:` lng: radius:`**
+// For example: **lat:51.1232343 lng:-1.093852 radius:1000**
+// Returns beacons whose registered location is within the given
+//
// circle.
-// When any of these fields are given, all are required. Latitude and
-// longitude must be decimal degrees between -90.0 and 90.0 and
+//
+// When any of these fields are given, all are required. Latitude and
+// longitude must be decimal degrees between -90.0 and 90.0 and
+//
// between
-// -180.0 and 180.0 respectively. Radius must be an integer number of
-// meters between 10 and 1,000,000 (1000 km).
-// * **property:"="**
-// For example: **property:"battery-type=CR2032"**
-// Returns beacons which have a property of the given name and value.
-// Supports multiple filters which will be combined with OR logic.
-// The entire name=value string must be double-quoted as one string.
-// * **attachment\_type:""**
-// For example: **attachment_type:"my-namespace/my-type"**
-// Returns beacons having at least one attachment of the given
+//
+// -180.0 and 180.0 respectively. Radius must be an integer number of
+// meters between 10 and 1,000,000 (1000 km).
+// - **property:"="**
+// For example: **property:"battery-type=CR2032"**
+// Returns beacons which have a property of the given name and value.
+// Supports multiple filters which will be combined with OR logic.
+// The entire name=value string must be double-quoted as one string.
+// - **attachment\_type:""**
+// For example: **attachment_type:"my-namespace/my-type"**
+// Returns beacons having at least one attachment of the given
+//
// namespaced
-// type. Supports "any within this namespace" via the partial
+//
+// type. Supports "any within this namespace" via the partial
+//
// wildcard
-// syntax: "my-namespace/*". Supports multiple filters which will be
-// combined with OR logic. The string must be double-quoted.
-// * **indoor\_level:""**
-// For example: **indoor\_level:"1"**
-// Returns beacons which are located on the given indoor level.
+//
+// syntax: "my-namespace/*". Supports multiple filters which will be
+// combined with OR logic. The string must be double-quoted.
+// - **indoor\_level:""**
+// For example: **indoor\_level:"1"**
+// Returns beacons which are located on the given indoor level.
+//
// Accepts
-// multiple filters that will be combined with OR logic.
+//
+// multiple filters that will be combined with OR logic.
//
// Multiple filters on the same field are combined with OR logic
// (except
@@ -2639,7 +2696,9 @@ type BeaconsRegisterCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **Is owner** or **Can edit** permissions in the
// Google
// Developers Console project.
@@ -2800,7 +2859,9 @@ type BeaconsUpdateCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **Is owner** or **Can edit** permissions in the
// Google
// Developers Console project.
@@ -2972,7 +3033,9 @@ type BeaconsAttachmentsBatchDeleteCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **Is owner** or **Can edit** permissions in the
// Google
// Developers Console project.
@@ -3159,7 +3222,9 @@ type BeaconsAttachmentsCreateCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **Is owner** or **Can edit** permissions in the
// Google
// Developers Console project.
@@ -3329,7 +3394,9 @@ type BeaconsAttachmentsDeleteCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **Is owner** or **Can edit** permissions in the
// Google
// Developers Console project.
@@ -3490,7 +3557,9 @@ type BeaconsAttachmentsListCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **viewer**, **Is owner** or **Can edit**
// permissions in
// the Google Developers Console project.
@@ -3679,7 +3748,9 @@ type BeaconsDiagnosticsListCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **viewer**, **Is owner** or **Can edit**
// permissions in
// the Google Developers Console project.
@@ -3694,10 +3765,11 @@ func (r *BeaconsDiagnosticsService) List(beaconName string) *BeaconsDiagnosticsL
// beacons that have low batteries use `alert_filter=LOW_BATTERY`.
//
// Possible values:
-// "ALERT_UNSPECIFIED"
-// "WRONG_LOCATION"
-// "LOW_BATTERY"
-// "LOW_ACTIVITY"
+//
+// "ALERT_UNSPECIFIED"
+// "WRONG_LOCATION"
+// "LOW_BATTERY"
+// "LOW_ACTIVITY"
func (c *BeaconsDiagnosticsListCall) AlertFilter(alertFilter string) *BeaconsDiagnosticsListCall {
c.urlParams_.Set("alertFilter", alertFilter)
return c
@@ -3923,7 +3995,9 @@ type NamespacesListCall struct {
// Authenticate using an [OAuth
// access
// token](https://developers.google.com/identity/protocols/OAuth2)
-// from a
+//
+// from a
+//
// signed-in user with **viewer**, **Is owner** or **Can edit**
// permissions in
// the Google Developers Console project.
diff --git a/pubsub/v1/pubsub-gen.go b/pubsub/v1/pubsub-gen.go
index 29e76d8110b..8bb9a5edc85 100644
--- a/pubsub/v1/pubsub-gen.go
+++ b/pubsub/v1/pubsub-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/pubsub/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/pubsub/v1"
-// ...
-// ctx := context.Background()
-// pubsubService, err := pubsub.NewService(ctx)
+// import "google.golang.org/api/pubsub/v1"
+// ...
+// ctx := context.Background()
+// pubsubService, err := pubsub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// pubsubService, err := pubsub.NewService(ctx, option.WithScopes(pubsub.PubsubScope))
+// pubsubService, err := pubsub.NewService(ctx, option.WithScopes(pubsub.PubsubScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// pubsubService, err := pubsub.NewService(ctx, option.WithAPIKey("AIza..."))
+// pubsubService, err := pubsub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// pubsubService, err := pubsub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// pubsubService, err := pubsub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package pubsub // import "google.golang.org/api/pubsub/v1"
@@ -2172,8 +2172,8 @@ type ProjectsSchemasCreateCall struct {
// Create: Creates a schema.
//
-// - parent: The name of the project in which to create the schema.
-// Format is `projects/{project-id}`.
+// - parent: The name of the project in which to create the schema.
+// Format is `projects/{project-id}`.
func (r *ProjectsSchemasService) Create(parent string, schema *Schema) *ProjectsSchemasCreateCall {
c := &ProjectsSchemasCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2330,8 +2330,8 @@ type ProjectsSchemasDeleteCall struct {
// Delete: Deletes a schema.
//
-// - name: Name of the schema to delete. Format is
-// `projects/{project}/schemas/{schema}`.
+// - name: Name of the schema to delete. Format is
+// `projects/{project}/schemas/{schema}`.
func (r *ProjectsSchemasService) Delete(name string) *ProjectsSchemasDeleteCall {
c := &ProjectsSchemasDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2465,8 +2465,8 @@ type ProjectsSchemasGetCall struct {
// Get: Gets a schema.
//
-// - name: The name of the schema to get. Format is
-// `projects/{project}/schemas/{schema}`.
+// - name: The name of the schema to get. Format is
+// `projects/{project}/schemas/{schema}`.
func (r *ProjectsSchemasService) Get(name string) *ProjectsSchemasGetCall {
c := &ProjectsSchemasGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2478,11 +2478,16 @@ func (r *ProjectsSchemasService) Get(name string) *ProjectsSchemasGetCall {
// out. Set to `BASIC` to omit the `definition`.
//
// Possible values:
-// "SCHEMA_VIEW_UNSPECIFIED" - The default / unset value. The API will
+//
+// "SCHEMA_VIEW_UNSPECIFIED" - The default / unset value. The API will
+//
// default to the BASIC view.
-// "BASIC" - Include the name and type of the schema, but not the
+//
+// "BASIC" - Include the name and type of the schema, but not the
+//
// definition.
-// "FULL" - Include all Schema object fields.
+//
+// "FULL" - Include all Schema object fields.
func (c *ProjectsSchemasGetCall) View(view string) *ProjectsSchemasGetCall {
c.urlParams_.Set("view", view)
return c
@@ -2645,10 +2650,10 @@ type ProjectsSchemasGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSchemasService) GetIamPolicy(resource string) *ProjectsSchemasGetIamPolicyCall {
c := &ProjectsSchemasGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2819,8 +2824,8 @@ type ProjectsSchemasListCall struct {
// List: Lists schemas in a project.
//
-// - parent: The name of the project in which to list schemas. Format is
-// `projects/{project-id}`.
+// - parent: The name of the project in which to list schemas. Format is
+// `projects/{project-id}`.
func (r *ProjectsSchemasService) List(parent string) *ProjectsSchemasListCall {
c := &ProjectsSchemasListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2848,11 +2853,16 @@ func (c *ProjectsSchemasListCall) PageToken(pageToken string) *ProjectsSchemasLi
// `type`, but not `definition`. Set to `FULL` to retrieve all fields.
//
// Possible values:
-// "SCHEMA_VIEW_UNSPECIFIED" - The default / unset value. The API will
+//
+// "SCHEMA_VIEW_UNSPECIFIED" - The default / unset value. The API will
+//
// default to the BASIC view.
-// "BASIC" - Include the name and type of the schema, but not the
+//
+// "BASIC" - Include the name and type of the schema, but not the
+//
// definition.
-// "FULL" - Include all Schema object fields.
+//
+// "FULL" - Include all Schema object fields.
func (c *ProjectsSchemasListCall) View(view string) *ProjectsSchemasListCall {
c.urlParams_.Set("view", view)
return c
@@ -3047,10 +3057,10 @@ type ProjectsSchemasSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSchemasService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsSchemasSetIamPolicyCall {
c := &ProjectsSchemasSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3198,10 +3208,10 @@ type ProjectsSchemasTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSchemasService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsSchemasTestIamPermissionsCall {
c := &ProjectsSchemasTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3344,8 +3354,8 @@ type ProjectsSchemasValidateCall struct {
// Validate: Validates a schema.
//
-// - parent: The name of the project in which to validate schemas.
-// Format is `projects/{project-id}`.
+// - parent: The name of the project in which to validate schemas.
+// Format is `projects/{project-id}`.
func (r *ProjectsSchemasService) Validate(parent string, validateschemarequest *ValidateSchemaRequest) *ProjectsSchemasValidateCall {
c := &ProjectsSchemasValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3488,8 +3498,8 @@ type ProjectsSchemasValidateMessageCall struct {
// ValidateMessage: Validates a message against a schema.
//
-// - parent: The name of the project in which to validate schemas.
-// Format is `projects/{project-id}`.
+// - parent: The name of the project in which to validate schemas.
+// Format is `projects/{project-id}`.
func (r *ProjectsSchemasService) ValidateMessage(parent string, validatemessagerequest *ValidateMessageRequest) *ProjectsSchemasValidateMessageCall {
c := &ProjectsSchemasValidateMessageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3648,11 +3658,11 @@ type ProjectsSnapshotsCreateCall struct {
// generated name is populated in the returned Snapshot object. Note
// that for REST API requests, you must specify a name in the request.
//
-// - name: User-provided name for this snapshot. If the name is not
-// provided in the request, the server will assign a random name for
-// this snapshot on the same project as the subscription. Note that
-// for REST API requests, you must specify a name. See the resource
-// name rules. Format is `projects/{project}/snapshots/{snap}`.
+// - name: User-provided name for this snapshot. If the name is not
+// provided in the request, the server will assign a random name for
+// this snapshot on the same project as the subscription. Note that
+// for REST API requests, you must specify a name. See the resource
+// name rules. Format is `projects/{project}/snapshots/{snap}`.
func (r *ProjectsSnapshotsService) Create(name string, createsnapshotrequest *CreateSnapshotRequest) *ProjectsSnapshotsCreateCall {
c := &ProjectsSnapshotsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3803,8 +3813,8 @@ type ProjectsSnapshotsDeleteCall struct {
// snapshot or its subscription, unless the same subscription is
// specified.
//
-// - snapshot: The name of the snapshot to delete. Format is
-// `projects/{project}/snapshots/{snap}`.
+// - snapshot: The name of the snapshot to delete. Format is
+// `projects/{project}/snapshots/{snap}`.
func (r *ProjectsSnapshotsService) Delete(snapshot string) *ProjectsSnapshotsDeleteCall {
c := &ProjectsSnapshotsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.snapshot = snapshot
@@ -3942,8 +3952,8 @@ type ProjectsSnapshotsGetCall struct {
// bulk. That is, you can set the acknowledgment state of messages in an
// existing subscription to the state captured by a snapshot.
//
-// - snapshot: The name of the snapshot to get. Format is
-// `projects/{project}/snapshots/{snap}`.
+// - snapshot: The name of the snapshot to get. Format is
+// `projects/{project}/snapshots/{snap}`.
func (r *ProjectsSnapshotsService) Get(snapshot string) *ProjectsSnapshotsGetCall {
c := &ProjectsSnapshotsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.snapshot = snapshot
@@ -4092,10 +4102,10 @@ type ProjectsSnapshotsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSnapshotsService) GetIamPolicy(resource string) *ProjectsSnapshotsGetIamPolicyCall {
c := &ProjectsSnapshotsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4270,8 +4280,8 @@ type ProjectsSnapshotsListCall struct {
// you can set the acknowledgment state of messages in an existing
// subscription to the state captured by a snapshot.
//
-// - project: The name of the project in which to list snapshots. Format
-// is `projects/{project-id}`.
+// - project: The name of the project in which to list snapshots. Format
+// is `projects/{project-id}`.
func (r *ProjectsSnapshotsService) List(project string) *ProjectsSnapshotsListCall {
c := &ProjectsSnapshotsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4615,10 +4625,10 @@ type ProjectsSnapshotsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSnapshotsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsSnapshotsSetIamPolicyCall {
c := &ProjectsSnapshotsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4766,10 +4776,10 @@ type ProjectsSnapshotsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSnapshotsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsSnapshotsTestIamPermissionsCall {
c := &ProjectsSnapshotsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4917,8 +4927,8 @@ type ProjectsSubscriptionsAcknowledgeCall struct {
// redelivered later. Acknowledging a message more than once will not
// result in an error.
//
-// - subscription: The subscription whose message is being acknowledged.
-// Format is `projects/{project}/subscriptions/{sub}`.
+// - subscription: The subscription whose message is being acknowledged.
+// Format is `projects/{project}/subscriptions/{sub}`.
func (r *ProjectsSubscriptionsService) Acknowledge(subscription string, acknowledgerequest *AcknowledgeRequest) *ProjectsSubscriptionsAcknowledgeCall {
c := &ProjectsSubscriptionsAcknowledgeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.subscription = subscription
@@ -5071,13 +5081,13 @@ type ProjectsSubscriptionsCreateCall struct {
// generated name is populated in the returned Subscription object. Note
// that for REST API requests, you must specify a name in the request.
//
-// - name: The name of the subscription. It must have the format
-// "projects/{project}/subscriptions/{subscription}".
-// `{subscription}` must start with a letter, and contain only letters
-// (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`),
-// periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It
-// must be between 3 and 255 characters in length, and it must not
-// start with "goog".
+// - name: The name of the subscription. It must have the format
+// "projects/{project}/subscriptions/{subscription}".
+// `{subscription}` must start with a letter, and contain only letters
+// (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`),
+// periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It
+// must be between 3 and 255 characters in length, and it must not
+// start with "goog".
func (r *ProjectsSubscriptionsService) Create(name string, subscription *Subscription) *ProjectsSubscriptionsCreateCall {
c := &ProjectsSubscriptionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5224,8 +5234,8 @@ type ProjectsSubscriptionsDeleteCall struct {
// association with the old subscription or its topic unless the same
// topic is specified.
//
-// - subscription: The subscription to delete. Format is
-// `projects/{project}/subscriptions/{sub}`.
+// - subscription: The subscription to delete. Format is
+// `projects/{project}/subscriptions/{sub}`.
func (r *ProjectsSubscriptionsService) Delete(subscription string) *ProjectsSubscriptionsDeleteCall {
c := &ProjectsSubscriptionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.subscription = subscription
@@ -5362,8 +5372,8 @@ type ProjectsSubscriptionsDetachCall struct {
// subscription is a push subscription, pushes to the endpoint will
// stop.
//
-// - subscription: The subscription to detach. Format is
-// `projects/{project}/subscriptions/{subscription}`.
+// - subscription: The subscription to detach. Format is
+// `projects/{project}/subscriptions/{subscription}`.
func (r *ProjectsSubscriptionsService) Detach(subscription string) *ProjectsSubscriptionsDetachCall {
c := &ProjectsSubscriptionsDetachCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.subscription = subscription
@@ -5497,8 +5507,8 @@ type ProjectsSubscriptionsGetCall struct {
// Get: Gets the configuration details of a subscription.
//
-// - subscription: The name of the subscription to get. Format is
-// `projects/{project}/subscriptions/{sub}`.
+// - subscription: The name of the subscription to get. Format is
+// `projects/{project}/subscriptions/{sub}`.
func (r *ProjectsSubscriptionsService) Get(subscription string) *ProjectsSubscriptionsGetCall {
c := &ProjectsSubscriptionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.subscription = subscription
@@ -5647,10 +5657,10 @@ type ProjectsSubscriptionsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSubscriptionsService) GetIamPolicy(resource string) *ProjectsSubscriptionsGetIamPolicyCall {
c := &ProjectsSubscriptionsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5821,8 +5831,8 @@ type ProjectsSubscriptionsListCall struct {
// List: Lists matching subscriptions.
//
-// - project: The name of the project in which to list subscriptions.
-// Format is `projects/{project-id}`.
+// - project: The name of the project in which to list subscriptions.
+// Format is `projects/{project-id}`.
func (r *ProjectsSubscriptionsService) List(project string) *ProjectsSubscriptionsListCall {
c := &ProjectsSubscriptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6022,8 +6032,8 @@ type ProjectsSubscriptionsModifyAckDeadlineCall struct {
// modify the subscription-level `ackDeadlineSeconds` used for
// subsequent messages.
//
-// - subscription: The name of the subscription. Format is
-// `projects/{project}/subscriptions/{sub}`.
+// - subscription: The name of the subscription. Format is
+// `projects/{project}/subscriptions/{sub}`.
func (r *ProjectsSubscriptionsService) ModifyAckDeadline(subscription string, modifyackdeadlinerequest *ModifyAckDeadlineRequest) *ProjectsSubscriptionsModifyAckDeadlineCall {
c := &ProjectsSubscriptionsModifyAckDeadlineCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.subscription = subscription
@@ -6171,8 +6181,8 @@ type ProjectsSubscriptionsModifyPushConfigCall struct {
// Messages will accumulate for delivery continuously through the call
// regardless of changes to the `PushConfig`.
//
-// - subscription: The name of the subscription. Format is
-// `projects/{project}/subscriptions/{sub}`.
+// - subscription: The name of the subscription. Format is
+// `projects/{project}/subscriptions/{sub}`.
func (r *ProjectsSubscriptionsService) ModifyPushConfig(subscription string, modifypushconfigrequest *ModifyPushConfigRequest) *ProjectsSubscriptionsModifyPushConfigCall {
c := &ProjectsSubscriptionsModifyPushConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.subscription = subscription
@@ -6316,13 +6326,13 @@ type ProjectsSubscriptionsPatchCall struct {
// Patch: Updates an existing subscription. Note that certain properties
// of a subscription, such as its topic, are not modifiable.
//
-// - name: The name of the subscription. It must have the format
-// "projects/{project}/subscriptions/{subscription}".
-// `{subscription}` must start with a letter, and contain only letters
-// (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`),
-// periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It
-// must be between 3 and 255 characters in length, and it must not
-// start with "goog".
+// - name: The name of the subscription. It must have the format
+// "projects/{project}/subscriptions/{subscription}".
+// `{subscription}` must start with a letter, and contain only letters
+// (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`),
+// periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It
+// must be between 3 and 255 characters in length, and it must not
+// start with "goog".
func (r *ProjectsSubscriptionsService) Patch(name string, updatesubscriptionrequest *UpdateSubscriptionRequest) *ProjectsSubscriptionsPatchCall {
c := &ProjectsSubscriptionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6465,8 +6475,8 @@ type ProjectsSubscriptionsPullCall struct {
// Pull: Pulls messages from the server.
//
-// - subscription: The subscription from which messages should be
-// pulled. Format is `projects/{project}/subscriptions/{sub}`.
+// - subscription: The subscription from which messages should be
+// pulled. Format is `projects/{project}/subscriptions/{sub}`.
func (r *ProjectsSubscriptionsService) Pull(subscription string, pullrequest *PullRequest) *ProjectsSubscriptionsPullCall {
c := &ProjectsSubscriptionsPullCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.subscription = subscription
@@ -6760,10 +6770,10 @@ type ProjectsSubscriptionsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSubscriptionsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsSubscriptionsSetIamPolicyCall {
c := &ProjectsSubscriptionsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6911,10 +6921,10 @@ type ProjectsSubscriptionsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSubscriptionsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsSubscriptionsTestIamPermissionsCall {
c := &ProjectsSubscriptionsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7059,12 +7069,12 @@ type ProjectsTopicsCreateCall struct {
// [resource name rules]
// (https://cloud.google.com/pubsub/docs/admin#resource_names).
//
-// - name: The name of the topic. It must have the format
-// "projects/{project}/topics/{topic}". `{topic}` must start with a
-// letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
-// dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus
-// (`+`) or percent signs (`%`). It must be between 3 and 255
-// characters in length, and it must not start with "goog".
+// - name: The name of the topic. It must have the format
+// "projects/{project}/topics/{topic}". `{topic}` must start with a
+// letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
+// dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus
+// (`+`) or percent signs (`%`). It must be between 3 and 255
+// characters in length, and it must not start with "goog".
func (r *ProjectsTopicsService) Create(name string, topic *Topic) *ProjectsTopicsCreateCall {
c := &ProjectsTopicsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7211,8 +7221,8 @@ type ProjectsTopicsDeleteCall struct {
// subscriptions to this topic are not deleted, but their `topic` field
// is set to `_deleted-topic_`.
//
-// - topic: Name of the topic to delete. Format is
-// `projects/{project}/topics/{topic}`.
+// - topic: Name of the topic to delete. Format is
+// `projects/{project}/topics/{topic}`.
func (r *ProjectsTopicsService) Delete(topic string) *ProjectsTopicsDeleteCall {
c := &ProjectsTopicsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.topic = topic
@@ -7346,8 +7356,8 @@ type ProjectsTopicsGetCall struct {
// Get: Gets the configuration of a topic.
//
-// - topic: The name of the topic to get. Format is
-// `projects/{project}/topics/{topic}`.
+// - topic: The name of the topic to get. Format is
+// `projects/{project}/topics/{topic}`.
func (r *ProjectsTopicsService) Get(topic string) *ProjectsTopicsGetCall {
c := &ProjectsTopicsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.topic = topic
@@ -7496,10 +7506,10 @@ type ProjectsTopicsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsTopicsService) GetIamPolicy(resource string) *ProjectsTopicsGetIamPolicyCall {
c := &ProjectsTopicsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7670,8 +7680,8 @@ type ProjectsTopicsListCall struct {
// List: Lists matching topics.
//
-// - project: The name of the project in which to list topics. Format is
-// `projects/{project-id}`.
+// - project: The name of the project in which to list topics. Format is
+// `projects/{project-id}`.
func (r *ProjectsTopicsService) List(project string) *ProjectsTopicsListCall {
c := &ProjectsTopicsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7867,12 +7877,12 @@ type ProjectsTopicsPatchCall struct {
// Patch: Updates an existing topic. Note that certain properties of a
// topic are not modifiable.
//
-// - name: The name of the topic. It must have the format
-// "projects/{project}/topics/{topic}". `{topic}` must start with a
-// letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
-// dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus
-// (`+`) or percent signs (`%`). It must be between 3 and 255
-// characters in length, and it must not start with "goog".
+// - name: The name of the topic. It must have the format
+// "projects/{project}/topics/{topic}". `{topic}` must start with a
+// letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
+// dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus
+// (`+`) or percent signs (`%`). It must be between 3 and 255
+// characters in length, and it must not start with "goog".
func (r *ProjectsTopicsService) Patch(name string, updatetopicrequest *UpdateTopicRequest) *ProjectsTopicsPatchCall {
c := &ProjectsTopicsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8016,8 +8026,8 @@ type ProjectsTopicsPublishCall struct {
// Publish: Adds one or more messages to the topic. Returns `NOT_FOUND`
// if the topic does not exist.
//
-// - topic: The messages in the request will be published on this topic.
-// Format is `projects/{project}/topics/{topic}`.
+// - topic: The messages in the request will be published on this topic.
+// Format is `projects/{project}/topics/{topic}`.
func (r *ProjectsTopicsService) Publish(topic string, publishrequest *PublishRequest) *ProjectsTopicsPublishCall {
c := &ProjectsTopicsPublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.topic = topic
@@ -8162,10 +8172,10 @@ type ProjectsTopicsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsTopicsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsTopicsSetIamPolicyCall {
c := &ProjectsTopicsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8313,10 +8323,10 @@ type ProjectsTopicsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsTopicsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsTopicsTestIamPermissionsCall {
c := &ProjectsTopicsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -8463,8 +8473,8 @@ type ProjectsTopicsSnapshotsListCall struct {
// bulk. That is, you can set the acknowledgment state of messages in an
// existing subscription to the state captured by a snapshot.
//
-// - topic: The name of the topic that snapshots are attached to. Format
-// is `projects/{project}/topics/{topic}`.
+// - topic: The name of the topic that snapshots are attached to. Format
+// is `projects/{project}/topics/{topic}`.
func (r *ProjectsTopicsSnapshotsService) List(topic string) *ProjectsTopicsSnapshotsListCall {
c := &ProjectsTopicsSnapshotsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.topic = topic
@@ -8659,8 +8669,8 @@ type ProjectsTopicsSubscriptionsListCall struct {
// List: Lists the names of the attached subscriptions on this topic.
//
-// - topic: The name of the topic that subscriptions are attached to.
-// Format is `projects/{project}/topics/{topic}`.
+// - topic: The name of the topic that subscriptions are attached to.
+// Format is `projects/{project}/topics/{topic}`.
func (r *ProjectsTopicsSubscriptionsService) List(topic string) *ProjectsTopicsSubscriptionsListCall {
c := &ProjectsTopicsSubscriptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.topic = topic
diff --git a/pubsub/v1beta1a/pubsub-gen.go b/pubsub/v1beta1a/pubsub-gen.go
index d85a2473fb3..148db8b965b 100644
--- a/pubsub/v1beta1a/pubsub-gen.go
+++ b/pubsub/v1beta1a/pubsub-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/pubsub/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/pubsub/v1beta1a"
-// ...
-// ctx := context.Background()
-// pubsubService, err := pubsub.NewService(ctx)
+// import "google.golang.org/api/pubsub/v1beta1a"
+// ...
+// ctx := context.Background()
+// pubsubService, err := pubsub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// pubsubService, err := pubsub.NewService(ctx, option.WithScopes(pubsub.PubsubScope))
+// pubsubService, err := pubsub.NewService(ctx, option.WithScopes(pubsub.PubsubScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// pubsubService, err := pubsub.NewService(ctx, option.WithAPIKey("AIza..."))
+// pubsubService, err := pubsub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// pubsubService, err := pubsub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// pubsubService, err := pubsub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package pubsub // import "google.golang.org/api/pubsub/v1beta1a"
diff --git a/pubsub/v1beta2/pubsub-gen.go b/pubsub/v1beta2/pubsub-gen.go
index 3a96744df1a..8b27475d8fb 100644
--- a/pubsub/v1beta2/pubsub-gen.go
+++ b/pubsub/v1beta2/pubsub-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/pubsub/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/pubsub/v1beta2"
-// ...
-// ctx := context.Background()
-// pubsubService, err := pubsub.NewService(ctx)
+// import "google.golang.org/api/pubsub/v1beta2"
+// ...
+// ctx := context.Background()
+// pubsubService, err := pubsub.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// pubsubService, err := pubsub.NewService(ctx, option.WithScopes(pubsub.PubsubScope))
+// pubsubService, err := pubsub.NewService(ctx, option.WithScopes(pubsub.PubsubScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// pubsubService, err := pubsub.NewService(ctx, option.WithAPIKey("AIza..."))
+// pubsubService, err := pubsub.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// pubsubService, err := pubsub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// pubsubService, err := pubsub.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package pubsub // import "google.golang.org/api/pubsub/v1beta2"
@@ -1331,13 +1331,13 @@ type ProjectsSubscriptionsCreateCall struct {
// subscription on the same project as the topic. Note that for REST API
// requests, you must specify a name.
//
-// - name: The name of the subscription. It must have the format
-// "projects/{project}/subscriptions/{subscription}".
-// `{subscription}` must start with a letter, and contain only letters
-// (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`),
-// periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It
-// must be between 3 and 255 characters in length, and it must not
-// start with "goog".
+// - name: The name of the subscription. It must have the format
+// "projects/{project}/subscriptions/{subscription}".
+// `{subscription}` must start with a letter, and contain only letters
+// (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`),
+// periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It
+// must be between 3 and 255 characters in length, and it must not
+// start with "goog".
func (r *ProjectsSubscriptionsService) Create(name string, subscription *Subscription) *ProjectsSubscriptionsCreateCall {
c := &ProjectsSubscriptionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1767,10 +1767,10 @@ type ProjectsSubscriptionsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSubscriptionsService) GetIamPolicy(resource string) *ProjectsSubscriptionsGetIamPolicyCall {
c := &ProjectsSubscriptionsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1941,8 +1941,8 @@ type ProjectsSubscriptionsListCall struct {
// List: Lists matching subscriptions.
//
-// - project: The name of the cloud project that subscriptions belong
-// to.
+// - project: The name of the cloud project that subscriptions belong
+// to.
func (r *ProjectsSubscriptionsService) List(project string) *ProjectsSubscriptionsListCall {
c := &ProjectsSubscriptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -2436,8 +2436,8 @@ type ProjectsSubscriptionsPullCall struct {
// `UNAVAILABLE` if there are too many concurrent pull requests pending
// for the given subscription.
//
-// - subscription: The subscription from which messages should be
-// pulled.
+// - subscription: The subscription from which messages should be
+// pulled.
func (r *ProjectsSubscriptionsService) Pull(subscription string, pullrequest *PullRequest) *ProjectsSubscriptionsPullCall {
c := &ProjectsSubscriptionsPullCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.subscription = subscription
@@ -2582,10 +2582,10 @@ type ProjectsSubscriptionsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSubscriptionsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsSubscriptionsSetIamPolicyCall {
c := &ProjectsSubscriptionsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2733,10 +2733,10 @@ type ProjectsSubscriptionsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSubscriptionsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsSubscriptionsTestIamPermissionsCall {
c := &ProjectsSubscriptionsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2879,12 +2879,12 @@ type ProjectsTopicsCreateCall struct {
// Create: Creates the given topic with the given name.
//
-// - name: The name of the topic. It must have the format
-// "projects/{project}/topics/{topic}". `{topic}` must start with a
-// letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
-// dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus
-// (`+`) or percent signs (`%`). It must be between 3 and 255
-// characters in length, and it must not start with "goog".
+// - name: The name of the topic. It must have the format
+// "projects/{project}/topics/{topic}". `{topic}` must start with a
+// letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
+// dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus
+// (`+`) or percent signs (`%`). It must be between 3 and 255
+// characters in length, and it must not start with "goog".
func (r *ProjectsTopicsService) Create(name string, topic *Topic) *ProjectsTopicsCreateCall {
c := &ProjectsTopicsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3314,10 +3314,10 @@ type ProjectsTopicsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsTopicsService) GetIamPolicy(resource string) *ProjectsTopicsGetIamPolicyCall {
c := &ProjectsTopicsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3831,10 +3831,10 @@ type ProjectsTopicsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsTopicsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsTopicsSetIamPolicyCall {
c := &ProjectsTopicsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3982,10 +3982,10 @@ type ProjectsTopicsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsTopicsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsTopicsTestIamPermissionsCall {
c := &ProjectsTopicsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/pubsublite/v1/pubsublite-gen.go b/pubsublite/v1/pubsublite-gen.go
index 91ca9d22947..6e768d314f6 100644
--- a/pubsublite/v1/pubsublite-gen.go
+++ b/pubsublite/v1/pubsublite-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/pubsub/lite/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/pubsublite/v1"
-// ...
-// ctx := context.Background()
-// pubsubliteService, err := pubsublite.NewService(ctx)
+// import "google.golang.org/api/pubsublite/v1"
+// ...
+// ctx := context.Background()
+// pubsubliteService, err := pubsublite.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// pubsubliteService, err := pubsublite.NewService(ctx, option.WithAPIKey("AIza..."))
+// pubsubliteService, err := pubsublite.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// pubsubliteService, err := pubsublite.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// pubsubliteService, err := pubsublite.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package pubsublite // import "google.golang.org/api/pubsublite/v1"
@@ -2188,8 +2188,8 @@ type AdminProjectsLocationsReservationsCreateCall struct {
// Create: Creates a new reservation.
//
-// - parent: The parent location in which to create the reservation.
-// Structured like `projects/{project_number}/locations/{location}`.
+// - parent: The parent location in which to create the reservation.
+// Structured like `projects/{project_number}/locations/{location}`.
func (r *AdminProjectsLocationsReservationsService) Create(parent string, reservation *Reservation) *AdminProjectsLocationsReservationsCreateCall {
c := &AdminProjectsLocationsReservationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2344,9 +2344,9 @@ type AdminProjectsLocationsReservationsDeleteCall struct {
// Delete: Deletes the specified reservation.
//
-// - name: The name of the reservation to delete. Structured like:
-// projects/{project_number}/locations/{location}/reservations/{reserva
-// tion_id}.
+// - name: The name of the reservation to delete. Structured like:
+// projects/{project_number}/locations/{location}/reservations/{reserva
+// tion_id}.
func (r *AdminProjectsLocationsReservationsService) Delete(name string) *AdminProjectsLocationsReservationsDeleteCall {
c := &AdminProjectsLocationsReservationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2479,10 +2479,10 @@ type AdminProjectsLocationsReservationsGetCall struct {
// Get: Returns the reservation configuration.
//
-// - name: The name of the reservation whose configuration to return.
-// Structured like:
-// projects/{project_number}/locations/{location}/reservations/{reserva
-// tion_id}.
+// - name: The name of the reservation whose configuration to return.
+// Structured like:
+// projects/{project_number}/locations/{location}/reservations/{reserva
+// tion_id}.
func (r *AdminProjectsLocationsReservationsService) Get(name string) *AdminProjectsLocationsReservationsGetCall {
c := &AdminProjectsLocationsReservationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2628,8 +2628,8 @@ type AdminProjectsLocationsReservationsListCall struct {
// List: Returns the list of reservations for the given project.
//
-// - parent: The parent whose reservations are to be listed. Structured
-// like `projects/{project_number}/locations/{location}`.
+// - parent: The parent whose reservations are to be listed. Structured
+// like `projects/{project_number}/locations/{location}`.
func (r *AdminProjectsLocationsReservationsService) List(parent string) *AdminProjectsLocationsReservationsListCall {
c := &AdminProjectsLocationsReservationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2826,9 +2826,9 @@ type AdminProjectsLocationsReservationsPatchCall struct {
// Patch: Updates properties of the specified reservation.
//
-// - name: The name of the reservation. Structured like:
-// projects/{project_number}/locations/{location}/reservations/{reserva
-// tion_id}.
+// - name: The name of the reservation. Structured like:
+// projects/{project_number}/locations/{location}/reservations/{reserva
+// tion_id}.
func (r *AdminProjectsLocationsReservationsService) Patch(name string, reservation *Reservation) *AdminProjectsLocationsReservationsPatchCall {
c := &AdminProjectsLocationsReservationsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2983,10 +2983,10 @@ type AdminProjectsLocationsReservationsTopicsListCall struct {
// List: Lists the topics attached to the specified reservation.
//
-// - name: The name of the reservation whose topics to list. Structured
-// like:
-// projects/{project_number}/locations/{location}/reservations/{reserva
-// tion_id}.
+// - name: The name of the reservation whose topics to list. Structured
+// like:
+// projects/{project_number}/locations/{location}/reservations/{reserva
+// tion_id}.
func (r *AdminProjectsLocationsReservationsTopicsService) List(name string) *AdminProjectsLocationsReservationsTopicsListCall {
c := &AdminProjectsLocationsReservationsTopicsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3182,8 +3182,8 @@ type AdminProjectsLocationsSubscriptionsCreateCall struct {
// Create: Creates a new subscription.
//
-// - parent: The parent location in which to create the subscription.
-// Structured like `projects/{project_number}/locations/{location}`.
+// - parent: The parent location in which to create the subscription.
+// Structured like `projects/{project_number}/locations/{location}`.
func (r *AdminProjectsLocationsSubscriptionsService) Create(parent string, subscription *Subscription) *AdminProjectsLocationsSubscriptionsCreateCall {
c := &AdminProjectsLocationsSubscriptionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3631,8 +3631,8 @@ type AdminProjectsLocationsSubscriptionsListCall struct {
// List: Returns the list of subscriptions for the given project.
//
-// - parent: The parent whose subscriptions are to be listed. Structured
-// like `projects/{project_number}/locations/{location}`.
+// - parent: The parent whose subscriptions are to be listed. Structured
+// like `projects/{project_number}/locations/{location}`.
func (r *AdminProjectsLocationsSubscriptionsService) List(parent string) *AdminProjectsLocationsSubscriptionsListCall {
c := &AdminProjectsLocationsSubscriptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3829,9 +3829,9 @@ type AdminProjectsLocationsSubscriptionsPatchCall struct {
// Patch: Updates properties of the specified subscription.
//
-// - name: The name of the subscription. Structured like:
-// projects/{project_number}/locations/{location}/subscriptions/{subscr
-// iption_id}.
+// - name: The name of the subscription. Structured like:
+// projects/{project_number}/locations/{location}/subscriptions/{subscr
+// iption_id}.
func (r *AdminProjectsLocationsSubscriptionsService) Patch(name string, subscription *Subscription) *AdminProjectsLocationsSubscriptionsPatchCall {
c := &AdminProjectsLocationsSubscriptionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4144,8 +4144,8 @@ type AdminProjectsLocationsTopicsCreateCall struct {
// Create: Creates a new topic.
//
-// - parent: The parent location in which to create the topic.
-// Structured like `projects/{project_number}/locations/{location}`.
+// - parent: The parent location in which to create the topic.
+// Structured like `projects/{project_number}/locations/{location}`.
func (r *AdminProjectsLocationsTopicsService) Create(parent string, topic *Topic) *AdminProjectsLocationsTopicsCreateCall {
c := &AdminProjectsLocationsTopicsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4725,8 +4725,8 @@ type AdminProjectsLocationsTopicsListCall struct {
// List: Returns the list of topics for the given project.
//
-// - parent: The parent whose topics are to be listed. Structured like
-// `projects/{project_number}/locations/{location}`.
+// - parent: The parent whose topics are to be listed. Structured like
+// `projects/{project_number}/locations/{location}`.
func (r *AdminProjectsLocationsTopicsService) List(parent string) *AdminProjectsLocationsTopicsListCall {
c := &AdminProjectsLocationsTopicsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4921,8 +4921,8 @@ type AdminProjectsLocationsTopicsPatchCall struct {
// Patch: Updates properties of the specified topic.
//
-// - name: The name of the topic. Structured like:
-// projects/{project_number}/locations/{location}/topics/{topic_id}.
+// - name: The name of the topic. Structured like:
+// projects/{project_number}/locations/{location}/topics/{topic_id}.
func (r *AdminProjectsLocationsTopicsService) Patch(name string, topic *Topic) *AdminProjectsLocationsTopicsPatchCall {
c := &AdminProjectsLocationsTopicsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5416,10 +5416,10 @@ type CursorProjectsLocationsSubscriptionsCursorsListCall struct {
// List: Returns all committed cursor information for a subscription.
//
-// - parent: The subscription for which to retrieve cursors. Structured
-// like
-// `projects/{project_number}/locations/{location}/subscriptions/{subsc
-// ription_id}`.
+// - parent: The subscription for which to retrieve cursors. Structured
+// like
+// `projects/{project_number}/locations/{location}/subscriptions/{subsc
+// ription_id}`.
func (r *CursorProjectsLocationsSubscriptionsCursorsService) List(parent string) *CursorProjectsLocationsSubscriptionsCursorsListCall {
c := &CursorProjectsLocationsSubscriptionsCursorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/qpxexpress/v1/qpxexpress-gen.go b/qpxexpress/v1/qpxexpress-gen.go
index 333071de776..2b056be0fc9 100644
--- a/qpxexpress/v1/qpxexpress-gen.go
+++ b/qpxexpress/v1/qpxexpress-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: http://developers.google.com/qpx-express
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/qpxexpress/v1"
-// ...
-// ctx := context.Background()
-// qpxexpressService, err := qpxexpress.NewService(ctx)
+// import "google.golang.org/api/qpxexpress/v1"
+// ...
+// ctx := context.Background()
+// qpxexpressService, err := qpxexpress.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// qpxexpressService, err := qpxexpress.NewService(ctx, option.WithAPIKey("AIza..."))
+// qpxexpressService, err := qpxexpress.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// qpxexpressService, err := qpxexpress.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// qpxexpressService, err := qpxexpress.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package qpxexpress // import "google.golang.org/api/qpxexpress/v1"
diff --git a/realtimebidding/v1/realtimebidding-gen.go b/realtimebidding/v1/realtimebidding-gen.go
index 3679ca7464d..f7e6482a973 100644
--- a/realtimebidding/v1/realtimebidding-gen.go
+++ b/realtimebidding/v1/realtimebidding-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/realtimebidding/v1"
-// ...
-// ctx := context.Background()
-// realtimebiddingService, err := realtimebidding.NewService(ctx)
+// import "google.golang.org/api/realtimebidding/v1"
+// ...
+// ctx := context.Background()
+// realtimebiddingService, err := realtimebidding.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithAPIKey("AIza..."))
+// realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package realtimebidding // import "google.golang.org/api/realtimebidding/v1"
@@ -3123,8 +3123,8 @@ type BiddersGetCall struct {
// Get: Gets a bidder account by its name.
//
-// - name: Name of the bidder to get. Format:
-// `bidders/{bidderAccountId}`.
+// - name: Name of the bidder to get. Format:
+// `bidders/{bidderAccountId}`.
func (r *BiddersService) Get(name string) *BiddersGetCall {
c := &BiddersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3456,19 +3456,19 @@ type BiddersCreativesListCall struct {
// pages. We recommend Google Cloud Pub/Sub
// (//cloud.google.com/pubsub/docs/overview) to view the latest status.
//
-// - parent: Name of the parent buyer that owns the creatives. The
-// pattern for this resource is either `buyers/{buyerAccountId}` or
-// `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the
-// `buyerAccountId` can be one of the following: 1. The ID of the
-// buyer that is accessing their own creatives. 2. The ID of the child
-// seat buyer under a bidder account. So for listing creatives
-// pertaining to the child seat buyer (`456`) under bidder account
-// (`123`), you would use the pattern: `buyers/456`. 3. The ID of the
-// bidder itself. So for listing creatives pertaining to bidder
-// (`123`), you would use `buyers/123`. If you want to access all
-// creatives pertaining to both the bidder and all of its child seat
-// accounts, you would use `bidders/{bidderAccountId}`, e.g., for all
-// creatives pertaining to bidder (`123`), use `bidders/123`.
+// - parent: Name of the parent buyer that owns the creatives. The
+// pattern for this resource is either `buyers/{buyerAccountId}` or
+// `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the
+// `buyerAccountId` can be one of the following: 1. The ID of the
+// buyer that is accessing their own creatives. 2. The ID of the child
+// seat buyer under a bidder account. So for listing creatives
+// pertaining to the child seat buyer (`456`) under bidder account
+// (`123`), you would use the pattern: `buyers/456`. 3. The ID of the
+// bidder itself. So for listing creatives pertaining to bidder
+// (`123`), you would use `buyers/123`. If you want to access all
+// creatives pertaining to both the bidder and all of its child seat
+// accounts, you would use `bidders/{bidderAccountId}`, e.g., for all
+// creatives pertaining to bidder (`123`), use `bidders/123`.
func (r *BiddersCreativesService) List(parent string) *BiddersCreativesListCall {
c := &BiddersCreativesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3513,11 +3513,17 @@ func (c *BiddersCreativesListCall) PageToken(pageToken string) *BiddersCreatives
// specify the view as "FULL".
//
// Possible values:
-// "CREATIVE_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
+// "CREATIVE_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
// SERVING_DECISION_ONLY.
-// "SERVING_DECISION_ONLY" - Only creativeServingDecision is included
+//
+// "SERVING_DECISION_ONLY" - Only creativeServingDecision is included
+//
// in the response.
-// "FULL" - The entire creative resource (including the declared
+//
+// "FULL" - The entire creative resource (including the declared
+//
// fields and the creative content) is included in the response.
func (c *BiddersCreativesListCall) View(view string) *BiddersCreativesListCall {
c.urlParams_.Set("view", view)
@@ -3721,9 +3727,9 @@ type BiddersCreativesWatchCall struct {
// invocations of this method will return the existing Pub/Sub
// configuration.
//
-// - parent: To watch all creatives pertaining to the bidder and all its
-// child seat accounts, the bidder must follow the pattern
-// `bidders/{bidderAccountId}`.
+// - parent: To watch all creatives pertaining to the bidder and all its
+// child seat accounts, the bidder must follow the pattern
+// `bidders/{bidderAccountId}`.
func (r *BiddersCreativesService) Watch(parent string, watchcreativesrequest *WatchCreativesRequest) *BiddersCreativesWatchCall {
c := &BiddersCreativesWatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3865,8 +3871,8 @@ type BiddersEndpointsGetCall struct {
// Get: Gets a bidder endpoint by its name.
//
-// - name: Name of the bidder endpoint to get. Format:
-// `bidders/{bidderAccountId}/endpoints/{endpointId}`.
+// - name: Name of the bidder endpoint to get. Format:
+// `bidders/{bidderAccountId}/endpoints/{endpointId}`.
func (r *BiddersEndpointsService) Get(name string) *BiddersEndpointsGetCall {
c := &BiddersEndpointsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4012,8 +4018,8 @@ type BiddersEndpointsListCall struct {
// List: Lists all the bidder's endpoints.
//
-// - parent: Name of the bidder whose endpoints will be listed. Format:
-// `bidders/{bidderAccountId}`.
+// - parent: Name of the bidder whose endpoints will be listed. Format:
+// `bidders/{bidderAccountId}`.
func (r *BiddersEndpointsService) List(parent string) *BiddersEndpointsListCall {
c := &BiddersEndpointsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4209,11 +4215,11 @@ type BiddersEndpointsPatchCall struct {
// Patch: Updates a bidder's endpoint.
//
-// - name: Output only. Name of the endpoint resource that must follow
-// the pattern `bidders/{bidderAccountId}/endpoints/{endpointId}`,
-// where {bidderAccountId} is the account ID of the bidder who
-// operates this endpoint, and {endpointId} is a unique ID assigned by
-// the server.
+// - name: Output only. Name of the endpoint resource that must follow
+// the pattern `bidders/{bidderAccountId}/endpoints/{endpointId}`,
+// where {bidderAccountId} is the account ID of the bidder who
+// operates this endpoint, and {endpointId} is a unique ID assigned by
+// the server.
func (r *BiddersEndpointsService) Patch(name string, endpoint *Endpoint) *BiddersEndpointsPatchCall {
c := &BiddersEndpointsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4368,8 +4374,8 @@ type BiddersPretargetingConfigsActivateCall struct {
// Activate: Activates a pretargeting configuration.
//
-// - name: The name of the pretargeting configuration. Format:
-// bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - name: The name of the pretargeting configuration. Format:
+// bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) Activate(name string, activatepretargetingconfigrequest *ActivatePretargetingConfigRequest) *BiddersPretargetingConfigsActivateCall {
c := &BiddersPretargetingConfigsActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4512,8 +4518,8 @@ type BiddersPretargetingConfigsAddTargetedAppsCall struct {
// AddTargetedApps: Adds targeted apps to the pretargeting
// configuration.
//
-// - pretargetingConfig: The name of the pretargeting configuration.
-// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - pretargetingConfig: The name of the pretargeting configuration.
+// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) AddTargetedApps(pretargetingConfig string, addtargetedappsrequest *AddTargetedAppsRequest) *BiddersPretargetingConfigsAddTargetedAppsCall {
c := &BiddersPretargetingConfigsAddTargetedAppsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.pretargetingConfig = pretargetingConfig
@@ -4656,8 +4662,8 @@ type BiddersPretargetingConfigsAddTargetedPublishersCall struct {
// AddTargetedPublishers: Adds targeted publishers to the pretargeting
// config.
//
-// - pretargetingConfig: The name of the pretargeting configuration.
-// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - pretargetingConfig: The name of the pretargeting configuration.
+// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) AddTargetedPublishers(pretargetingConfig string, addtargetedpublishersrequest *AddTargetedPublishersRequest) *BiddersPretargetingConfigsAddTargetedPublishersCall {
c := &BiddersPretargetingConfigsAddTargetedPublishersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.pretargetingConfig = pretargetingConfig
@@ -4800,8 +4806,8 @@ type BiddersPretargetingConfigsAddTargetedSitesCall struct {
// AddTargetedSites: Adds targeted sites to the pretargeting
// configuration.
//
-// - pretargetingConfig: The name of the pretargeting configuration.
-// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - pretargetingConfig: The name of the pretargeting configuration.
+// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) AddTargetedSites(pretargetingConfig string, addtargetedsitesrequest *AddTargetedSitesRequest) *BiddersPretargetingConfigsAddTargetedSitesCall {
c := &BiddersPretargetingConfigsAddTargetedSitesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.pretargetingConfig = pretargetingConfig
@@ -4947,8 +4953,8 @@ type BiddersPretargetingConfigsCreateCall struct {
// may create a maximum of 10 pretargeting configurations. Attempts to
// exceed this maximum results in a 400 bad request error.
//
-// - parent: Name of the bidder to create the pretargeting configuration
-// for. Format: bidders/{bidderAccountId}.
+// - parent: Name of the bidder to create the pretargeting configuration
+// for. Format: bidders/{bidderAccountId}.
func (r *BiddersPretargetingConfigsService) Create(parent string, pretargetingconfig *PretargetingConfig) *BiddersPretargetingConfigsCreateCall {
c := &BiddersPretargetingConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5089,8 +5095,8 @@ type BiddersPretargetingConfigsDeleteCall struct {
// Delete: Deletes a pretargeting configuration.
//
-// - name: The name of the pretargeting configuration to delete. Format:
-// bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - name: The name of the pretargeting configuration to delete. Format:
+// bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) Delete(name string) *BiddersPretargetingConfigsDeleteCall {
c := &BiddersPretargetingConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5223,8 +5229,8 @@ type BiddersPretargetingConfigsGetCall struct {
// Get: Gets a pretargeting configuration.
//
-// - name: Name of the pretargeting configuration to get. Format:
-// bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - name: Name of the pretargeting configuration to get. Format:
+// bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) Get(name string) *BiddersPretargetingConfigsGetCall {
c := &BiddersPretargetingConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5370,8 +5376,8 @@ type BiddersPretargetingConfigsListCall struct {
// List: Lists all pretargeting configurations for a single bidder.
//
-// - parent: Name of the bidder whose pretargeting configurations will
-// be listed. Format: bidders/{bidderAccountId}.
+// - parent: Name of the bidder whose pretargeting configurations will
+// be listed. Format: bidders/{bidderAccountId}.
func (r *BiddersPretargetingConfigsService) List(parent string) *BiddersPretargetingConfigsListCall {
c := &BiddersPretargetingConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5567,9 +5573,9 @@ type BiddersPretargetingConfigsPatchCall struct {
// Patch: Updates a pretargeting configuration.
//
-// - name: Output only. Name of the pretargeting configuration that must
-// follow the pattern
-// `bidders/{bidder_account_id}/pretargetingConfigs/{config_id}`.
+// - name: Output only. Name of the pretargeting configuration that must
+// follow the pattern
+// `bidders/{bidder_account_id}/pretargetingConfigs/{config_id}`.
func (r *BiddersPretargetingConfigsService) Patch(name string, pretargetingconfig *PretargetingConfig) *BiddersPretargetingConfigsPatchCall {
c := &BiddersPretargetingConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5725,8 +5731,8 @@ type BiddersPretargetingConfigsRemoveTargetedAppsCall struct {
// RemoveTargetedApps: Removes targeted apps from the pretargeting
// configuration.
//
-// - pretargetingConfig: The name of the pretargeting configuration.
-// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - pretargetingConfig: The name of the pretargeting configuration.
+// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) RemoveTargetedApps(pretargetingConfig string, removetargetedappsrequest *RemoveTargetedAppsRequest) *BiddersPretargetingConfigsRemoveTargetedAppsCall {
c := &BiddersPretargetingConfigsRemoveTargetedAppsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.pretargetingConfig = pretargetingConfig
@@ -5869,8 +5875,8 @@ type BiddersPretargetingConfigsRemoveTargetedPublishersCall struct {
// RemoveTargetedPublishers: Removes targeted publishers from the
// pretargeting config.
//
-// - pretargetingConfig: The name of the pretargeting configuration.
-// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - pretargetingConfig: The name of the pretargeting configuration.
+// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) RemoveTargetedPublishers(pretargetingConfig string, removetargetedpublishersrequest *RemoveTargetedPublishersRequest) *BiddersPretargetingConfigsRemoveTargetedPublishersCall {
c := &BiddersPretargetingConfigsRemoveTargetedPublishersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.pretargetingConfig = pretargetingConfig
@@ -6013,8 +6019,8 @@ type BiddersPretargetingConfigsRemoveTargetedSitesCall struct {
// RemoveTargetedSites: Removes targeted sites from the pretargeting
// configuration.
//
-// - pretargetingConfig: The name of the pretargeting configuration.
-// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - pretargetingConfig: The name of the pretargeting configuration.
+// Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) RemoveTargetedSites(pretargetingConfig string, removetargetedsitesrequest *RemoveTargetedSitesRequest) *BiddersPretargetingConfigsRemoveTargetedSitesCall {
c := &BiddersPretargetingConfigsRemoveTargetedSitesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.pretargetingConfig = pretargetingConfig
@@ -6156,8 +6162,8 @@ type BiddersPretargetingConfigsSuspendCall struct {
// Suspend: Suspends a pretargeting configuration.
//
-// - name: The name of the pretargeting configuration. Format:
-// bidders/{bidderAccountId}/pretargetingConfig/{configId}.
+// - name: The name of the pretargeting configuration. Format:
+// bidders/{bidderAccountId}/pretargetingConfig/{configId}.
func (r *BiddersPretargetingConfigsService) Suspend(name string, suspendpretargetingconfigrequest *SuspendPretargetingConfigRequest) *BiddersPretargetingConfigsSuspendCall {
c := &BiddersPretargetingConfigsSuspendCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6299,9 +6305,9 @@ type BiddersPublisherConnectionsBatchApproveCall struct {
// BatchApprove: Batch approves multiple publisher connections.
//
-// - parent: The bidder for whom publisher connections will be approved.
-// Format: `bidders/{bidder}` where `{bidder}` is the account ID of
-// the bidder.
+// - parent: The bidder for whom publisher connections will be approved.
+// Format: `bidders/{bidder}` where `{bidder}` is the account ID of
+// the bidder.
func (r *BiddersPublisherConnectionsService) BatchApprove(parent string, batchapprovepublisherconnectionsrequest *BatchApprovePublisherConnectionsRequest) *BiddersPublisherConnectionsBatchApproveCall {
c := &BiddersPublisherConnectionsBatchApproveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6445,9 +6451,9 @@ type BiddersPublisherConnectionsBatchRejectCall struct {
// BatchReject: Batch rejects multiple publisher connections.
//
-// - parent: The bidder for whom publisher connections will be rejected.
-// Format: `bidders/{bidder}` where `{bidder}` is the account ID of
-// the bidder.
+// - parent: The bidder for whom publisher connections will be rejected.
+// Format: `bidders/{bidder}` where `{bidder}` is the account ID of
+// the bidder.
func (r *BiddersPublisherConnectionsService) BatchReject(parent string, batchrejectpublisherconnectionsrequest *BatchRejectPublisherConnectionsRequest) *BiddersPublisherConnectionsBatchRejectCall {
c := &BiddersPublisherConnectionsBatchRejectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6590,11 +6596,11 @@ type BiddersPublisherConnectionsGetCall struct {
// Get: Gets a publisher connection.
//
-// - name: Name of the publisher whose connection information is to be
-// retrieved. In the pattern
-// `bidders/{bidder}/publisherConnections/{publisher}` where
-// `{bidder}` is the account ID of the bidder, and `{publisher}` is
-// the ads.txt/app-ads.txt publisher ID. See publisherConnection.name.
+// - name: Name of the publisher whose connection information is to be
+// retrieved. In the pattern
+// `bidders/{bidder}/publisherConnections/{publisher}` where
+// `{bidder}` is the account ID of the bidder, and `{publisher}` is
+// the ads.txt/app-ads.txt publisher ID. See publisherConnection.name.
func (r *BiddersPublisherConnectionsService) Get(name string) *BiddersPublisherConnectionsGetCall {
c := &BiddersPublisherConnectionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6740,9 +6746,9 @@ type BiddersPublisherConnectionsListCall struct {
// List: Lists publisher connections for a given bidder.
//
-// - parent: Name of the bidder for which publishers have initiated
-// connections. The pattern for this resource is `bidders/{bidder}`
-// where `{bidder}` represents the account ID of the bidder.
+// - parent: Name of the bidder for which publishers have initiated
+// connections. The pattern for this resource is `bidders/{bidder}`
+// where `{bidder}` represents the account ID of the bidder.
func (r *BiddersPublisherConnectionsService) List(parent string) *BiddersPublisherConnectionsListCall {
c := &BiddersPublisherConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7120,14 +7126,14 @@ type BuyersGetRemarketingTagCall struct {
// When a user visits a page containing a remarketing tag, Google adds
// the user to a user list.
//
-// - name: To fetch remarketing tag for an account, name must follow the
-// pattern `buyers/{accountId}` where `{accountId}` represents ID of a
-// buyer that owns the remarketing tag. For a bidder accessing
-// remarketing tag on behalf of a child seat buyer, `{accountId}`
-// should represent the ID of the child seat buyer. To fetch
-// remarketing tag for a specific user list, name must follow the
-// pattern `buyers/{accountId}/userLists/{userListId}`. See
-// UserList.name.
+// - name: To fetch remarketing tag for an account, name must follow the
+// pattern `buyers/{accountId}` where `{accountId}` represents ID of a
+// buyer that owns the remarketing tag. For a bidder accessing
+// remarketing tag on behalf of a child seat buyer, `{accountId}`
+// should represent the ID of the child seat buyer. To fetch
+// remarketing tag for a specific user list, name must follow the
+// pattern `buyers/{accountId}/userLists/{userListId}`. See
+// UserList.name.
func (r *BuyersService) GetRemarketingTag(name string) *BuyersGetRemarketingTagCall {
c := &BuyersGetRemarketingTagCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7454,12 +7460,12 @@ type BuyersCreativesCreateCall struct {
// Create: Creates a creative.
//
-// - parent: The name of the parent buyer that the new creative belongs
-// to that must follow the pattern `buyers/{buyerAccountId}`, where
-// `{buyerAccountId}` represents the account ID of the buyer who owns
-// a creative. For a bidder accessing creatives on behalf of a child
-// seat buyer, `{buyerAccountId}` should represent the account ID of
-// the child seat buyer.
+// - parent: The name of the parent buyer that the new creative belongs
+// to that must follow the pattern `buyers/{buyerAccountId}`, where
+// `{buyerAccountId}` represents the account ID of the buyer who owns
+// a creative. For a bidder accessing creatives on behalf of a child
+// seat buyer, `{buyerAccountId}` should represent the account ID of
+// the child seat buyer.
func (r *BuyersCreativesService) Create(parent string, creative *Creative) *BuyersCreativesCreateCall {
c := &BuyersCreativesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7615,11 +7621,17 @@ func (r *BuyersCreativesService) Get(name string) *BuyersCreativesGetCall {
// specify the view as "FULL".
//
// Possible values:
-// "CREATIVE_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
+// "CREATIVE_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
// SERVING_DECISION_ONLY.
-// "SERVING_DECISION_ONLY" - Only creativeServingDecision is included
+//
+// "SERVING_DECISION_ONLY" - Only creativeServingDecision is included
+//
// in the response.
-// "FULL" - The entire creative resource (including the declared
+//
+// "FULL" - The entire creative resource (including the declared
+//
// fields and the creative content) is included in the response.
func (c *BuyersCreativesGetCall) View(view string) *BuyersCreativesGetCall {
c.urlParams_.Set("view", view)
@@ -7786,19 +7798,19 @@ type BuyersCreativesListCall struct {
// pages. We recommend Google Cloud Pub/Sub
// (//cloud.google.com/pubsub/docs/overview) to view the latest status.
//
-// - parent: Name of the parent buyer that owns the creatives. The
-// pattern for this resource is either `buyers/{buyerAccountId}` or
-// `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the
-// `buyerAccountId` can be one of the following: 1. The ID of the
-// buyer that is accessing their own creatives. 2. The ID of the child
-// seat buyer under a bidder account. So for listing creatives
-// pertaining to the child seat buyer (`456`) under bidder account
-// (`123`), you would use the pattern: `buyers/456`. 3. The ID of the
-// bidder itself. So for listing creatives pertaining to bidder
-// (`123`), you would use `buyers/123`. If you want to access all
-// creatives pertaining to both the bidder and all of its child seat
-// accounts, you would use `bidders/{bidderAccountId}`, e.g., for all
-// creatives pertaining to bidder (`123`), use `bidders/123`.
+// - parent: Name of the parent buyer that owns the creatives. The
+// pattern for this resource is either `buyers/{buyerAccountId}` or
+// `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`, the
+// `buyerAccountId` can be one of the following: 1. The ID of the
+// buyer that is accessing their own creatives. 2. The ID of the child
+// seat buyer under a bidder account. So for listing creatives
+// pertaining to the child seat buyer (`456`) under bidder account
+// (`123`), you would use the pattern: `buyers/456`. 3. The ID of the
+// bidder itself. So for listing creatives pertaining to bidder
+// (`123`), you would use `buyers/123`. If you want to access all
+// creatives pertaining to both the bidder and all of its child seat
+// accounts, you would use `bidders/{bidderAccountId}`, e.g., for all
+// creatives pertaining to bidder (`123`), use `bidders/123`.
func (r *BuyersCreativesService) List(parent string) *BuyersCreativesListCall {
c := &BuyersCreativesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7843,11 +7855,17 @@ func (c *BuyersCreativesListCall) PageToken(pageToken string) *BuyersCreativesLi
// specify the view as "FULL".
//
// Possible values:
-// "CREATIVE_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
+// "CREATIVE_VIEW_UNSPECIFIED" - Not specified, equivalent to
+//
// SERVING_DECISION_ONLY.
-// "SERVING_DECISION_ONLY" - Only creativeServingDecision is included
+//
+// "SERVING_DECISION_ONLY" - Only creativeServingDecision is included
+//
// in the response.
-// "FULL" - The entire creative resource (including the declared
+//
+// "FULL" - The entire creative resource (including the declared
+//
// fields and the creative content) is included in the response.
func (c *BuyersCreativesListCall) View(view string) *BuyersCreativesListCall {
c.urlParams_.Set("view", view)
@@ -8045,11 +8063,11 @@ type BuyersCreativesPatchCall struct {
// Patch: Updates a creative.
//
-// - name: Output only. Name of the creative. Follows the pattern
-// `buyers/{buyer}/creatives/{creative}`, where `{buyer}` represents
-// the account ID of the buyer who owns the creative, and `{creative}`
-// is the buyer-specific creative ID that references this creative in
-// the bid response.
+// - name: Output only. Name of the creative. Follows the pattern
+// `buyers/{buyer}/creatives/{creative}`, where `{buyer}` represents
+// the account ID of the buyer who owns the creative, and `{creative}`
+// is the buyer-specific creative ID that references this creative in
+// the bid response.
func (r *BuyersCreativesService) Patch(name string, creative *Creative) *BuyersCreativesPatchCall {
c := &BuyersCreativesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8347,12 +8365,12 @@ type BuyersUserListsCreateCall struct {
// Create: Create a new user list.
//
-// - parent: The name of the parent buyer of the user list to be
-// retrieved that must follow the pattern `buyers/{buyerAccountId}`,
-// where `{buyerAccountId}` represents the account ID of the buyer who
-// owns user lists. For a bidder accessing user lists on behalf of a
-// child seat buyer , `{buyerAccountId}` should represent the account
-// ID of the child seat buyer.
+// - parent: The name of the parent buyer of the user list to be
+// retrieved that must follow the pattern `buyers/{buyerAccountId}`,
+// where `{buyerAccountId}` represents the account ID of the buyer who
+// owns user lists. For a bidder accessing user lists on behalf of a
+// child seat buyer , `{buyerAccountId}` should represent the account
+// ID of the child seat buyer.
func (r *BuyersUserListsService) Create(parent string, userlist *UserList) *BuyersUserListsCreateCall {
c := &BuyersUserListsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8643,14 +8661,14 @@ type BuyersUserListsGetRemarketingTagCall struct {
// When a user visits a page containing a remarketing tag, Google adds
// the user to a user list.
//
-// - name: To fetch remarketing tag for an account, name must follow the
-// pattern `buyers/{accountId}` where `{accountId}` represents ID of a
-// buyer that owns the remarketing tag. For a bidder accessing
-// remarketing tag on behalf of a child seat buyer, `{accountId}`
-// should represent the ID of the child seat buyer. To fetch
-// remarketing tag for a specific user list, name must follow the
-// pattern `buyers/{accountId}/userLists/{userListId}`. See
-// UserList.name.
+// - name: To fetch remarketing tag for an account, name must follow the
+// pattern `buyers/{accountId}` where `{accountId}` represents ID of a
+// buyer that owns the remarketing tag. For a bidder accessing
+// remarketing tag on behalf of a child seat buyer, `{accountId}`
+// should represent the ID of the child seat buyer. To fetch
+// remarketing tag for a specific user list, name must follow the
+// pattern `buyers/{accountId}/userLists/{userListId}`. See
+// UserList.name.
func (r *BuyersUserListsService) GetRemarketingTag(name string) *BuyersUserListsGetRemarketingTagCall {
c := &BuyersUserListsGetRemarketingTagCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8796,12 +8814,12 @@ type BuyersUserListsListCall struct {
// List: Lists the user lists visible to the current user.
//
-// - parent: The name of the parent buyer for the user lists to be
-// returned that must follow the pattern `buyers/{buyerAccountId}`,
-// where `{buyerAccountId}` represents the account ID of the buyer who
-// owns user lists. For a bidder accessing user lists on behalf of a
-// child seat buyer , `{buyerAccountId}` should represent the account
-// ID of the child seat buyer.
+// - parent: The name of the parent buyer for the user lists to be
+// returned that must follow the pattern `buyers/{buyerAccountId}`,
+// where `{buyerAccountId}` represents the account ID of the buyer who
+// owns user lists. For a bidder accessing user lists on behalf of a
+// child seat buyer , `{buyerAccountId}` should represent the account
+// ID of the child seat buyer.
func (r *BuyersUserListsService) List(parent string) *BuyersUserListsListCall {
c := &BuyersUserListsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9137,13 +9155,13 @@ type BuyersUserListsUpdateCall struct {
// Update: Update the given user list. Only user lists with
// URLRestrictions can be updated.
//
-// - name: Output only. Name of the user list that must follow the
-// pattern `buyers/{buyer}/userLists/{user_list}`, where `{buyer}`
-// represents the account ID of the buyer who owns the user list. For
-// a bidder accessing user lists on behalf of a child seat buyer,
-// `{buyer}` represents the account ID of the child seat buyer.
-// `{user_list}` is an int64 identifier assigned by Google to uniquely
-// identify a user list.
+// - name: Output only. Name of the user list that must follow the
+// pattern `buyers/{buyer}/userLists/{user_list}`, where `{buyer}`
+// represents the account ID of the buyer who owns the user list. For
+// a bidder accessing user lists on behalf of a child seat buyer,
+// `{buyer}` represents the account ID of the child seat buyer.
+// `{user_list}` is an int64 identifier assigned by Google to uniquely
+// identify a user list.
func (r *BuyersUserListsService) Update(nameid string, userlist *UserList) *BuyersUserListsUpdateCall {
c := &BuyersUserListsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
diff --git a/realtimebidding/v1alpha/realtimebidding-gen.go b/realtimebidding/v1alpha/realtimebidding-gen.go
index f0e0ffd6c66..990fae9dfeb 100644
--- a/realtimebidding/v1alpha/realtimebidding-gen.go
+++ b/realtimebidding/v1alpha/realtimebidding-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/realtimebidding/v1alpha"
-// ...
-// ctx := context.Background()
-// realtimebiddingService, err := realtimebidding.NewService(ctx)
+// import "google.golang.org/api/realtimebidding/v1alpha"
+// ...
+// ctx := context.Background()
+// realtimebiddingService, err := realtimebidding.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithAPIKey("AIza..."))
+// realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// realtimebiddingService, err := realtimebidding.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package realtimebidding // import "google.golang.org/api/realtimebidding/v1alpha"
@@ -383,9 +383,9 @@ type BiddersBiddingFunctionsActivateCall struct {
// function is available for invocation for the server-side TURTLEDOVE
// simulations.
//
-// - name: The name of the bidding function to activate. Format:
-// `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}
-// `.
+// - name: The name of the bidding function to activate. Format:
+// `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}
+// `.
func (r *BiddersBiddingFunctionsService) Activate(name string, activatebiddingfunctionrequest *ActivateBiddingFunctionRequest) *BiddersBiddingFunctionsActivateCall {
c := &BiddersBiddingFunctionsActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -529,9 +529,9 @@ type BiddersBiddingFunctionsArchiveCall struct {
// will not be available for function invocation for the server-side
// TURTLEDOVE simulations unless it is activated.
//
-// - name: The name of the bidding function to archive. Format:
-// `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}
-// `.
+// - name: The name of the bidding function to archive. Format:
+// `bidders/{bidder_account_id}/biddingFunction/{bidding_function_name}
+// `.
func (r *BiddersBiddingFunctionsService) Archive(name string, archivebiddingfunctionrequest *ArchiveBiddingFunctionRequest) *BiddersBiddingFunctionsArchiveCall {
c := &BiddersBiddingFunctionsArchiveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -673,8 +673,8 @@ type BiddersBiddingFunctionsCreateCall struct {
// Create: Creates a new bidding function.
//
-// - parent: The name of the bidder for which to create the bidding
-// function. Format: `bidders/{bidderAccountId}`.
+// - parent: The name of the bidder for which to create the bidding
+// function. Format: `bidders/{bidderAccountId}`.
func (r *BiddersBiddingFunctionsService) Create(parent string, biddingfunction *BiddingFunction) *BiddersBiddingFunctionsCreateCall {
c := &BiddersBiddingFunctionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -817,8 +817,8 @@ type BiddersBiddingFunctionsListCall struct {
// List: Lists the bidding functions that a bidder currently has
// registered.
//
-// - parent: Name of the bidder whose bidding functions will be listed.
-// Format: `bidders/{bidder_account_id}`.
+// - parent: Name of the bidder whose bidding functions will be listed.
+// Format: `bidders/{bidder_account_id}`.
func (r *BiddersBiddingFunctionsService) List(parent string) *BiddersBiddingFunctionsListCall {
c := &BiddersBiddingFunctionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/recaptchaenterprise/v1/recaptchaenterprise-gen.go b/recaptchaenterprise/v1/recaptchaenterprise-gen.go
index c8106bc4f52..04a79873125 100644
--- a/recaptchaenterprise/v1/recaptchaenterprise-gen.go
+++ b/recaptchaenterprise/v1/recaptchaenterprise-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/recaptcha-enterprise/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/recaptchaenterprise/v1"
-// ...
-// ctx := context.Background()
-// recaptchaenterpriseService, err := recaptchaenterprise.NewService(ctx)
+// import "google.golang.org/api/recaptchaenterprise/v1"
+// ...
+// ctx := context.Background()
+// recaptchaenterpriseService, err := recaptchaenterprise.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// recaptchaenterpriseService, err := recaptchaenterprise.NewService(ctx, option.WithAPIKey("AIza..."))
+// recaptchaenterpriseService, err := recaptchaenterprise.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// recaptchaenterpriseService, err := recaptchaenterprise.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// recaptchaenterpriseService, err := recaptchaenterprise.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package recaptchaenterprise // import "google.golang.org/api/recaptchaenterprise/v1"
@@ -1423,8 +1423,8 @@ type ProjectsAssessmentsAnnotateCall struct {
// additional information on whether the event turned out to be
// authentic or fraudulent.
//
-// - name: The resource name of the Assessment, in the format
-// "projects/{project}/assessments/{assessment}".
+// - name: The resource name of the Assessment, in the format
+// "projects/{project}/assessments/{assessment}".
func (r *ProjectsAssessmentsService) Annotate(name string, googlecloudrecaptchaenterprisev1annotateassessmentrequest *GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest) *ProjectsAssessmentsAnnotateCall {
c := &ProjectsAssessmentsAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1570,8 +1570,8 @@ type ProjectsAssessmentsCreateCall struct {
// Create: Creates an Assessment of the likelihood an event is
// legitimate.
//
-// - parent: The name of the project in which the assessment will be
-// created, in the format "projects/{project}".
+// - parent: The name of the project in which the assessment will be
+// created, in the format "projects/{project}".
func (r *ProjectsAssessmentsService) Create(parent string, googlecloudrecaptchaenterprisev1assessment *GoogleCloudRecaptchaenterpriseV1Assessment) *ProjectsAssessmentsCreateCall {
c := &ProjectsAssessmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1715,8 +1715,8 @@ type ProjectsKeysCreateCall struct {
// Create: Creates a new reCAPTCHA Enterprise key.
//
-// - parent: The name of the project in which the key will be created,
-// in the format "projects/{project}".
+// - parent: The name of the project in which the key will be created,
+// in the format "projects/{project}".
func (r *ProjectsKeysService) Create(parent string, googlecloudrecaptchaenterprisev1key *GoogleCloudRecaptchaenterpriseV1Key) *ProjectsKeysCreateCall {
c := &ProjectsKeysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1858,8 +1858,8 @@ type ProjectsKeysDeleteCall struct {
// Delete: Deletes the specified key.
//
-// - name: The name of the key to be deleted, in the format
-// "projects/{project}/keys/{key}".
+// - name: The name of the key to be deleted, in the format
+// "projects/{project}/keys/{key}".
func (r *ProjectsKeysService) Delete(name string) *ProjectsKeysDeleteCall {
c := &ProjectsKeysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1992,8 +1992,8 @@ type ProjectsKeysGetCall struct {
// Get: Returns the specified key.
//
-// - name: The name of the requested key, in the format
-// "projects/{project}/keys/{key}".
+// - name: The name of the requested key, in the format
+// "projects/{project}/keys/{key}".
func (r *ProjectsKeysService) Get(name string) *ProjectsKeysGetCall {
c := &ProjectsKeysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2141,8 +2141,8 @@ type ProjectsKeysGetMetricsCall struct {
// GetMetrics: Get some aggregated metrics for a Key. This data can be
// used to build dashboards.
//
-// - name: The name of the requested metrics, in the format
-// "projects/{project}/keys/{key}/metrics".
+// - name: The name of the requested metrics, in the format
+// "projects/{project}/keys/{key}/metrics".
func (r *ProjectsKeysService) GetMetrics(name string) *ProjectsKeysGetMetricsCall {
c := &ProjectsKeysGetMetricsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2289,8 +2289,8 @@ type ProjectsKeysListCall struct {
// List: Returns the list of all keys that belong to a project.
//
-// - parent: The name of the project that contains the keys that will be
-// listed, in the format "projects/{project}".
+// - parent: The name of the project that contains the keys that will be
+// listed, in the format "projects/{project}".
func (r *ProjectsKeysService) List(parent string) *ProjectsKeysListCall {
c := &ProjectsKeysListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2490,8 +2490,8 @@ type ProjectsKeysMigrateCall struct {
// reCAPTCHA Site Key, and your user must have the reCAPTCHA Enterprise
// Admin IAM role in the destination project.
//
-// - name: The name of the key to be migrated, in the format
-// "projects/{project}/keys/{key}".
+// - name: The name of the key to be migrated, in the format
+// "projects/{project}/keys/{key}".
func (r *ProjectsKeysService) Migrate(name string, googlecloudrecaptchaenterprisev1migratekeyrequest *GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest) *ProjectsKeysMigrateCall {
c := &ProjectsKeysMigrateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2634,8 +2634,8 @@ type ProjectsKeysPatchCall struct {
// Patch: Updates the specified key.
//
-// - name: The resource name for the Key in the format
-// "projects/{project}/keys/{key}".
+// - name: The resource name for the Key in the format
+// "projects/{project}/keys/{key}".
func (r *ProjectsKeysService) Patch(name string, googlecloudrecaptchaenterprisev1key *GoogleCloudRecaptchaenterpriseV1Key) *ProjectsKeysPatchCall {
c := &ProjectsKeysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2794,8 +2794,8 @@ type ProjectsKeysRetrieveLegacySecretKeyCall struct {
// specified public key. You must use the legacy secret key only in a
// 3rd party integration with legacy reCAPTCHA.
//
-// - key: The public key name linked to the requested secret key in the
-// format "projects/{project}/keys/{key}".
+// - key: The public key name linked to the requested secret key in the
+// format "projects/{project}/keys/{key}".
func (r *ProjectsKeysService) RetrieveLegacySecretKey(key string) *ProjectsKeysRetrieveLegacySecretKeyCall {
c := &ProjectsKeysRetrieveLegacySecretKeyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.key = key
@@ -2944,9 +2944,9 @@ type ProjectsRelatedaccountgroupmembershipsSearchCall struct {
// Search: Search group memberships related to a given account.
//
-// - project: The name of the project to search related account group
-// memberships from. Specify the project name in the following format:
-// "projects/{project}".
+// - project: The name of the project to search related account group
+// memberships from. Specify the project name in the following format:
+// "projects/{project}".
func (r *ProjectsRelatedaccountgroupmembershipsService) Search(project string, googlecloudrecaptchaenterprisev1searchrelatedaccountgroupmembershipsrequest *GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest) *ProjectsRelatedaccountgroupmembershipsSearchCall {
c := &ProjectsRelatedaccountgroupmembershipsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -3114,8 +3114,8 @@ type ProjectsRelatedaccountgroupsListCall struct {
// List: List groups of related accounts.
//
-// - parent: The name of the project to list related account groups
-// from, in the format "projects/{project}".
+// - parent: The name of the project to list related account groups
+// from, in the format "projects/{project}".
func (r *ProjectsRelatedaccountgroupsService) List(parent string) *ProjectsRelatedaccountgroupsListCall {
c := &ProjectsRelatedaccountgroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3315,9 +3315,9 @@ type ProjectsRelatedaccountgroupsMembershipsListCall struct {
// List: Get memberships in a group of related accounts.
//
-// - parent: The resource name for the related account group in the
-// format
-// `projects/{project}/relatedaccountgroups/{relatedaccountgroup}`.
+// - parent: The resource name for the related account group in the
+// format
+// `projects/{project}/relatedaccountgroups/{relatedaccountgroup}`.
func (r *ProjectsRelatedaccountgroupsMembershipsService) List(parent string) *ProjectsRelatedaccountgroupsMembershipsListCall {
c := &ProjectsRelatedaccountgroupsMembershipsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/recommendationengine/v1beta1/recommendationengine-gen.go b/recommendationengine/v1beta1/recommendationengine-gen.go
index 11fc86846c1..1952ee4d535 100644
--- a/recommendationengine/v1beta1/recommendationengine-gen.go
+++ b/recommendationengine/v1beta1/recommendationengine-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/recommendations-ai/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/recommendationengine/v1beta1"
-// ...
-// ctx := context.Background()
-// recommendationengineService, err := recommendationengine.NewService(ctx)
+// import "google.golang.org/api/recommendationengine/v1beta1"
+// ...
+// ctx := context.Background()
+// recommendationengineService, err := recommendationengine.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// recommendationengineService, err := recommendationengine.NewService(ctx, option.WithAPIKey("AIza..."))
+// recommendationengineService, err := recommendationengine.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// recommendationengineService, err := recommendationengine.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// recommendationengineService, err := recommendationengine.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package recommendationengine // import "google.golang.org/api/recommendationengine/v1beta1"
@@ -1585,7 +1585,8 @@ func (s *GoogleCloudRecommendationengineV1beta1PredictResponse) MarshalJSON() ([
}
// GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult:
-// PredictionResult represents the recommendation prediction results.
+//
+// PredictionResult represents the recommendation prediction results.
type GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult struct {
// Id: ID of the recommended catalog item
Id string `json:"id,omitempty"`
@@ -2990,8 +2991,8 @@ type ProjectsLocationsCatalogsCatalogItemsCreateCall struct {
// Create: Creates a catalog item.
//
-// - parent: The parent catalog resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsCatalogItemsService) Create(parent string, googlecloudrecommendationenginev1beta1catalogitem *GoogleCloudRecommendationengineV1beta1CatalogItem) *ProjectsLocationsCatalogsCatalogItemsCreateCall {
c := &ProjectsLocationsCatalogsCatalogItemsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3134,9 +3135,9 @@ type ProjectsLocationsCatalogsCatalogItemsDeleteCall struct {
// Delete: Deletes a catalog item.
//
-// - name: Full resource name of catalog item, such as
-// `projects/*/locations/global/catalogs/default_catalog/catalogItems/s
-// ome_catalog_item_id`.
+// - name: Full resource name of catalog item, such as
+// `projects/*/locations/global/catalogs/default_catalog/catalogItems/s
+// ome_catalog_item_id`.
func (r *ProjectsLocationsCatalogsCatalogItemsService) Delete(name string) *ProjectsLocationsCatalogsCatalogItemsDeleteCall {
c := &ProjectsLocationsCatalogsCatalogItemsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3269,9 +3270,9 @@ type ProjectsLocationsCatalogsCatalogItemsGetCall struct {
// Get: Gets a specific catalog item.
//
-// - name: Full resource name of catalog item, such as
-// `projects/*/locations/global/catalogs/default_catalog/catalogitems/s
-// ome_catalog_item_id`.
+// - name: Full resource name of catalog item, such as
+// `projects/*/locations/global/catalogs/default_catalog/catalogitems/s
+// ome_catalog_item_id`.
func (r *ProjectsLocationsCatalogsCatalogItemsService) Get(name string) *ProjectsLocationsCatalogsCatalogItemsGetCall {
c := &ProjectsLocationsCatalogsCatalogItemsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3423,10 +3424,10 @@ type ProjectsLocationsCatalogsCatalogItemsImportCall struct {
// that it is possible for a subset of the items to be successfully
// updated.
//
-// - parent: `projects/1234/locations/global/catalogs/default_catalog`
-// If no updateMask is specified, requires catalogItems.create
-// permission. If updateMask is specified, requires
-// catalogItems.update permission.
+// - parent: `projects/1234/locations/global/catalogs/default_catalog`
+// If no updateMask is specified, requires catalogItems.create
+// permission. If updateMask is specified, requires
+// catalogItems.update permission.
func (r *ProjectsLocationsCatalogsCatalogItemsService) Import(parent string, googlecloudrecommendationenginev1beta1importcatalogitemsrequest *GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest) *ProjectsLocationsCatalogsCatalogItemsImportCall {
c := &ProjectsLocationsCatalogsCatalogItemsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3568,8 +3569,8 @@ type ProjectsLocationsCatalogsCatalogItemsListCall struct {
// List: Gets a list of catalog items.
//
-// - parent: The parent catalog resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsCatalogItemsService) List(parent string) *ProjectsLocationsCatalogsCatalogItemsListCall {
c := &ProjectsLocationsCatalogsCatalogItemsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3778,9 +3779,9 @@ type ProjectsLocationsCatalogsCatalogItemsPatchCall struct {
// Patch: Updates a catalog item. Partial updating is supported.
// Non-existing items will be created.
//
-// - name: Full resource name of catalog item, such as
-// `projects/*/locations/global/catalogs/default_catalog/catalogItems/s
-// ome_catalog_item_id`.
+// - name: Full resource name of catalog item, such as
+// `projects/*/locations/global/catalogs/default_catalog/catalogItems/s
+// ome_catalog_item_id`.
func (r *ProjectsLocationsCatalogsCatalogItemsService) Patch(name string, googlecloudrecommendationenginev1beta1catalogitem *GoogleCloudRecommendationengineV1beta1CatalogItem) *ProjectsLocationsCatalogsCatalogItemsPatchCall {
c := &ProjectsLocationsCatalogsCatalogItemsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4467,9 +4468,9 @@ type ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsCreateCall
// Create: Register an API key for use with predict method.
//
-// - parent: The parent resource path.
-// `projects/*/locations/global/catalogs/default_catalog/eventStores/de
-// fault_event_store`.
+// - parent: The parent resource path.
+// `projects/*/locations/global/catalogs/default_catalog/eventStores/de
+// fault_event_store`.
func (r *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsService) Create(parent string, googlecloudrecommendationenginev1beta1createpredictionapikeyregistrationrequest *GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest) *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsCreateCall {
c := &ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4613,9 +4614,9 @@ type ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsDeleteCall
// Delete: Unregister an apiKey from using for predict method.
//
-// - name: The API key to unregister including full resource path.
-// `projects/*/locations/global/catalogs/default_catalog/eventStores/de
-// fault_event_store/predictionApiKeyRegistrations/`.
+// - name: The API key to unregister including full resource path.
+// `projects/*/locations/global/catalogs/default_catalog/eventStores/de
+// fault_event_store/predictionApiKeyRegistrations/`.
func (r *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsService) Delete(name string) *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsDeleteCall {
c := &ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4748,9 +4749,9 @@ type ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsListCall s
// List: List the registered apiKeys for use with predict method.
//
-// - parent: The parent placement resource name such as
-// `projects/1234/locations/global/catalogs/default_catalog/eventStores
-// /default_event_store`.
+// - parent: The parent placement resource name such as
+// `projects/1234/locations/global/catalogs/default_catalog/eventStores
+// /default_event_store`.
func (r *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsService) List(parent string) *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsListCall {
c := &ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4949,9 +4950,9 @@ type ProjectsLocationsCatalogsEventStoresUserEventsCollectCall struct {
// domain. This method is used only by the Recommendations AI JavaScript
// pixel. Users should not call this method directly.
//
-// - parent: The parent eventStore name, such as
-// `projects/1234/locations/global/catalogs/default_catalog/eventStores
-// /default_event_store`.
+// - parent: The parent eventStore name, such as
+// `projects/1234/locations/global/catalogs/default_catalog/eventStores
+// /default_event_store`.
func (r *ProjectsLocationsCatalogsEventStoresUserEventsService) Collect(parent string) *ProjectsLocationsCatalogsEventStoresUserEventsCollectCall {
c := &ProjectsLocationsCatalogsEventStoresUserEventsCollectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5143,9 +5144,9 @@ type ProjectsLocationsCatalogsEventStoresUserEventsImportCall struct {
// be successfully inserted. Operation.metadata is of type
// ImportMetadata.
//
-// - parent:
-// `projects/1234/locations/global/catalogs/default_catalog/eventStores
-// /default_event_store`.
+// - parent:
+// `projects/1234/locations/global/catalogs/default_catalog/eventStores
+// /default_event_store`.
func (r *ProjectsLocationsCatalogsEventStoresUserEventsService) Import(parent string, googlecloudrecommendationenginev1beta1importusereventsrequest *GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest) *ProjectsLocationsCatalogsEventStoresUserEventsImportCall {
c := &ProjectsLocationsCatalogsEventStoresUserEventsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5293,9 +5294,9 @@ type ProjectsLocationsCatalogsEventStoresUserEventsListCall struct {
// of the ingested event is not in the current catalog, it could lead to
// degraded model quality. This is called an unjoined event.
//
-// - parent: The parent eventStore resource name, such as
-// `projects/*/locations/*/catalogs/default_catalog/eventStores/default
-// _event_store`.
+// - parent: The parent eventStore resource name, such as
+// `projects/*/locations/*/catalogs/default_catalog/eventStores/default
+// _event_store`.
func (r *ProjectsLocationsCatalogsEventStoresUserEventsService) List(parent string) *ProjectsLocationsCatalogsEventStoresUserEventsListCall {
c := &ProjectsLocationsCatalogsEventStoresUserEventsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5526,10 +5527,10 @@ type ProjectsLocationsCatalogsEventStoresUserEventsPurgeCall struct {
// this operation could take hours or days to complete. To test a
// filter, use the list command first.
//
-// - parent: The resource name of the event_store under which the events
-// are created. The format is
-// `projects/${projectId}/locations/global/catalogs/${catalogId}/eventS
-// tores/${eventStoreId}`.
+// - parent: The resource name of the event_store under which the events
+// are created. The format is
+// `projects/${projectId}/locations/global/catalogs/${catalogId}/eventS
+// tores/${eventStoreId}`.
func (r *ProjectsLocationsCatalogsEventStoresUserEventsService) Purge(parent string, googlecloudrecommendationenginev1beta1purgeusereventsrequest *GoogleCloudRecommendationengineV1beta1PurgeUserEventsRequest) *ProjectsLocationsCatalogsEventStoresUserEventsPurgeCall {
c := &ProjectsLocationsCatalogsEventStoresUserEventsPurgeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5678,9 +5679,9 @@ type ProjectsLocationsCatalogsEventStoresUserEventsRejoinCall struct {
// It can also be used to correct events joined with wrong catalog
// items.
//
-// - parent: Full resource name of user event, such as
-// `projects/*/locations/*/catalogs/default_catalog/eventStores/default
-// _event_store`.
+// - parent: Full resource name of user event, such as
+// `projects/*/locations/*/catalogs/default_catalog/eventStores/default
+// _event_store`.
func (r *ProjectsLocationsCatalogsEventStoresUserEventsService) Rejoin(parent string, googlecloudrecommendationenginev1beta1rejoinusereventsrequest *GoogleCloudRecommendationengineV1beta1RejoinUserEventsRequest) *ProjectsLocationsCatalogsEventStoresUserEventsRejoinCall {
c := &ProjectsLocationsCatalogsEventStoresUserEventsRejoinCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5822,9 +5823,9 @@ type ProjectsLocationsCatalogsEventStoresUserEventsWriteCall struct {
// Write: Writes a single user event.
//
-// - parent: The parent eventStore resource name, such as
-// "projects/1234/locations/global/catalogs/default_catalog/eventStores
-// /default_event_store".
+// - parent: The parent eventStore resource name, such as
+// "projects/1234/locations/global/catalogs/default_catalog/eventStores
+// /default_event_store".
func (r *ProjectsLocationsCatalogsEventStoresUserEventsService) Write(parent string, googlecloudrecommendationenginev1beta1userevent *GoogleCloudRecommendationengineV1beta1UserEvent) *ProjectsLocationsCatalogsEventStoresUserEventsWriteCall {
c := &ProjectsLocationsCatalogsEventStoresUserEventsWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5890,7 +5891,9 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsWriteCall) doRequest(alt
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudRecommendationengineV1beta1UserEvent.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
diff --git a/recommender/v1/recommender-gen.go b/recommender/v1/recommender-gen.go
index e8fc30310d7..8453a6cf109 100644
--- a/recommender/v1/recommender-gen.go
+++ b/recommender/v1/recommender-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/recommender/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/recommender/v1"
-// ...
-// ctx := context.Background()
-// recommenderService, err := recommender.NewService(ctx)
+// import "google.golang.org/api/recommender/v1"
+// ...
+// ctx := context.Background()
+// recommenderService, err := recommender.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// recommenderService, err := recommender.NewService(ctx, option.WithAPIKey("AIza..."))
+// recommenderService, err := recommender.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// recommenderService, err := recommender.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// recommenderService, err := recommender.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package recommender // import "google.golang.org/api/recommender/v1"
@@ -1681,21 +1681,21 @@ type BillingAccountsLocationsInsightTypesInsightsListCall struct {
// List: Lists insights for the specified Cloud Resource. Requires the
// recommender.*.list IAM permission for the specified insight type.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
-// T_TYPE_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
-// PE_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
-// pes/[INSIGHT_TYPE_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
-// _ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
-// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
-// supported insight types:
-// https://cloud.google.com/recommender/docs/insights/insight-types.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
+// T_TYPE_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
+// PE_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
+// pes/[INSIGHT_TYPE_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
+// _ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
+// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
+// supported insight types:
+// https://cloud.google.com/recommender/docs/insights/insight-types.
func (r *BillingAccountsLocationsInsightTypesInsightsService) List(parent string) *BillingAccountsLocationsInsightTypesInsightsListCall {
c := &BillingAccountsLocationsInsightTypesInsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2209,21 +2209,21 @@ type BillingAccountsLocationsRecommendersRecommendationsListCall struct {
// Requires the recommender.*.list IAM permission for the specified
// recommender.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
-// ers/[RECOMMENDER_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
-// ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
-// supported recommenders:
-// https://cloud.google.com/recommender/docs/recommenders.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
+// ers/[RECOMMENDER_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
+// ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
+// supported recommenders:
+// https://cloud.google.com/recommender/docs/recommenders.
func (r *BillingAccountsLocationsRecommendersRecommendationsService) List(parent string) *BillingAccountsLocationsRecommendersRecommendationsListCall {
c := &BillingAccountsLocationsRecommendersRecommendationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3038,21 +3038,21 @@ type FoldersLocationsInsightTypesInsightsListCall struct {
// List: Lists insights for the specified Cloud Resource. Requires the
// recommender.*.list IAM permission for the specified insight type.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
-// T_TYPE_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
-// PE_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
-// pes/[INSIGHT_TYPE_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
-// _ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
-// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
-// supported insight types:
-// https://cloud.google.com/recommender/docs/insights/insight-types.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
+// T_TYPE_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
+// PE_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
+// pes/[INSIGHT_TYPE_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
+// _ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
+// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
+// supported insight types:
+// https://cloud.google.com/recommender/docs/insights/insight-types.
func (r *FoldersLocationsInsightTypesInsightsService) List(parent string) *FoldersLocationsInsightTypesInsightsListCall {
c := &FoldersLocationsInsightTypesInsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3566,21 +3566,21 @@ type FoldersLocationsRecommendersRecommendationsListCall struct {
// Requires the recommender.*.list IAM permission for the specified
// recommender.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
-// ers/[RECOMMENDER_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
-// ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
-// supported recommenders:
-// https://cloud.google.com/recommender/docs/recommenders.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
+// ers/[RECOMMENDER_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
+// ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
+// supported recommenders:
+// https://cloud.google.com/recommender/docs/recommenders.
func (r *FoldersLocationsRecommendersRecommendationsService) List(parent string) *FoldersLocationsRecommendersRecommendationsListCall {
c := &FoldersLocationsRecommendersRecommendationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4248,13 +4248,13 @@ type OrganizationsLocationsInsightTypesGetConfigCall struct {
// GetConfig: Gets the requested InsightTypeConfig. There is only one
// instance of the config for each InsightType.
//
-// - name: Name of the InsightTypeConfig to get. Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TY
-// PE_ID]/config` *
-// `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_I
-// D]/config` *
-// `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSI
-// GHT_TYPE_ID]/config`.
+// - name: Name of the InsightTypeConfig to get. Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TY
+// PE_ID]/config` *
+// `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_I
+// D]/config` *
+// `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSI
+// GHT_TYPE_ID]/config`.
func (r *OrganizationsLocationsInsightTypesService) GetConfig(name string) *OrganizationsLocationsInsightTypesGetConfigCall {
c := &OrganizationsLocationsInsightTypesGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4403,9 +4403,9 @@ type OrganizationsLocationsInsightTypesUpdateConfigCall struct {
// UpdateConfig: Updates an InsightTypeConfig change. This will create a
// new revision of the config.
//
-// - name: Name of insight type config. Eg,
-// projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT
-// _TYPE_ID]/config.
+// - name: Name of insight type config. Eg,
+// projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT
+// _TYPE_ID]/config.
func (r *OrganizationsLocationsInsightTypesService) UpdateConfig(name string, googlecloudrecommenderv1insighttypeconfig *GoogleCloudRecommenderV1InsightTypeConfig) *OrganizationsLocationsInsightTypesUpdateConfigCall {
c := &OrganizationsLocationsInsightTypesUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4723,21 +4723,21 @@ type OrganizationsLocationsInsightTypesInsightsListCall struct {
// List: Lists insights for the specified Cloud Resource. Requires the
// recommender.*.list IAM permission for the specified insight type.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
-// T_TYPE_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
-// PE_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
-// pes/[INSIGHT_TYPE_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
-// _ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
-// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
-// supported insight types:
-// https://cloud.google.com/recommender/docs/insights/insight-types.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
+// T_TYPE_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
+// PE_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
+// pes/[INSIGHT_TYPE_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
+// _ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
+// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
+// supported insight types:
+// https://cloud.google.com/recommender/docs/insights/insight-types.
func (r *OrganizationsLocationsInsightTypesInsightsService) List(parent string) *OrganizationsLocationsInsightTypesInsightsListCall {
c := &OrganizationsLocationsInsightTypesInsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5102,14 +5102,14 @@ type OrganizationsLocationsRecommendersGetConfigCall struct {
// GetConfig: Gets the requested Recommender Config. There is only one
// instance of the config for each Recommender.
//
-// - name: Name of the Recommendation Config to get. Acceptable formats:
-// *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]/config` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]/config` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]/config`.
+// - name: Name of the Recommendation Config to get. Acceptable formats:
+// *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]/config` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]/config` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]/config`.
func (r *OrganizationsLocationsRecommendersService) GetConfig(name string) *OrganizationsLocationsRecommendersGetConfigCall {
c := &OrganizationsLocationsRecommendersGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5258,9 +5258,9 @@ type OrganizationsLocationsRecommendersUpdateConfigCall struct {
// UpdateConfig: Updates a Recommender Config. This will create a new
// revision of the config.
//
-// - name: Name of recommender config. Eg,
-// projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMME
-// NDER_ID]/config.
+// - name: Name of recommender config. Eg,
+// projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMME
+// NDER_ID]/config.
func (r *OrganizationsLocationsRecommendersService) UpdateConfig(name string, googlecloudrecommenderv1recommenderconfig *GoogleCloudRecommenderV1RecommenderConfig) *OrganizationsLocationsRecommendersUpdateConfigCall {
c := &OrganizationsLocationsRecommendersUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5580,21 +5580,21 @@ type OrganizationsLocationsRecommendersRecommendationsListCall struct {
// Requires the recommender.*.list IAM permission for the specified
// recommender.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
-// ers/[RECOMMENDER_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
-// ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
-// supported recommenders:
-// https://cloud.google.com/recommender/docs/recommenders.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
+// ers/[RECOMMENDER_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
+// ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
+// supported recommenders:
+// https://cloud.google.com/recommender/docs/recommenders.
func (r *OrganizationsLocationsRecommendersRecommendationsService) List(parent string) *OrganizationsLocationsRecommendersRecommendationsListCall {
c := &OrganizationsLocationsRecommendersRecommendationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6262,13 +6262,13 @@ type ProjectsLocationsInsightTypesGetConfigCall struct {
// GetConfig: Gets the requested InsightTypeConfig. There is only one
// instance of the config for each InsightType.
//
-// - name: Name of the InsightTypeConfig to get. Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TY
-// PE_ID]/config` *
-// `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_I
-// D]/config` *
-// `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSI
-// GHT_TYPE_ID]/config`.
+// - name: Name of the InsightTypeConfig to get. Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TY
+// PE_ID]/config` *
+// `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_I
+// D]/config` *
+// `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSI
+// GHT_TYPE_ID]/config`.
func (r *ProjectsLocationsInsightTypesService) GetConfig(name string) *ProjectsLocationsInsightTypesGetConfigCall {
c := &ProjectsLocationsInsightTypesGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6417,9 +6417,9 @@ type ProjectsLocationsInsightTypesUpdateConfigCall struct {
// UpdateConfig: Updates an InsightTypeConfig change. This will create a
// new revision of the config.
//
-// - name: Name of insight type config. Eg,
-// projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT
-// _TYPE_ID]/config.
+// - name: Name of insight type config. Eg,
+// projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT
+// _TYPE_ID]/config.
func (r *ProjectsLocationsInsightTypesService) UpdateConfig(name string, googlecloudrecommenderv1insighttypeconfig *GoogleCloudRecommenderV1InsightTypeConfig) *ProjectsLocationsInsightTypesUpdateConfigCall {
c := &ProjectsLocationsInsightTypesUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6737,21 +6737,21 @@ type ProjectsLocationsInsightTypesInsightsListCall struct {
// List: Lists insights for the specified Cloud Resource. Requires the
// recommender.*.list IAM permission for the specified insight type.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
-// T_TYPE_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
-// PE_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
-// pes/[INSIGHT_TYPE_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
-// _ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
-// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
-// supported insight types:
-// https://cloud.google.com/recommender/docs/insights/insight-types.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
+// T_TYPE_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
+// PE_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
+// pes/[INSIGHT_TYPE_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
+// _ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
+// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
+// supported insight types:
+// https://cloud.google.com/recommender/docs/insights/insight-types.
func (r *ProjectsLocationsInsightTypesInsightsService) List(parent string) *ProjectsLocationsInsightTypesInsightsListCall {
c := &ProjectsLocationsInsightTypesInsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7116,14 +7116,14 @@ type ProjectsLocationsRecommendersGetConfigCall struct {
// GetConfig: Gets the requested Recommender Config. There is only one
// instance of the config for each Recommender.
//
-// - name: Name of the Recommendation Config to get. Acceptable formats:
-// *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]/config` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]/config` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]/config`.
+// - name: Name of the Recommendation Config to get. Acceptable formats:
+// *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]/config` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]/config` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]/config`.
func (r *ProjectsLocationsRecommendersService) GetConfig(name string) *ProjectsLocationsRecommendersGetConfigCall {
c := &ProjectsLocationsRecommendersGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7272,9 +7272,9 @@ type ProjectsLocationsRecommendersUpdateConfigCall struct {
// UpdateConfig: Updates a Recommender Config. This will create a new
// revision of the config.
//
-// - name: Name of recommender config. Eg,
-// projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMME
-// NDER_ID]/config.
+// - name: Name of recommender config. Eg,
+// projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMME
+// NDER_ID]/config.
func (r *ProjectsLocationsRecommendersService) UpdateConfig(name string, googlecloudrecommenderv1recommenderconfig *GoogleCloudRecommenderV1RecommenderConfig) *ProjectsLocationsRecommendersUpdateConfigCall {
c := &ProjectsLocationsRecommendersUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7594,21 +7594,21 @@ type ProjectsLocationsRecommendersRecommendationsListCall struct {
// Requires the recommender.*.list IAM permission for the specified
// recommender.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
-// ers/[RECOMMENDER_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
-// ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
-// supported recommenders:
-// https://cloud.google.com/recommender/docs/recommenders.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
+// ers/[RECOMMENDER_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
+// ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
+// supported recommenders:
+// https://cloud.google.com/recommender/docs/recommenders.
func (r *ProjectsLocationsRecommendersRecommendationsService) List(parent string) *ProjectsLocationsRecommendersRecommendationsListCall {
c := &ProjectsLocationsRecommendersRecommendationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/recommender/v1beta1/recommender-gen.go b/recommender/v1beta1/recommender-gen.go
index 88d4f41e9f8..1094e87b8e3 100644
--- a/recommender/v1beta1/recommender-gen.go
+++ b/recommender/v1beta1/recommender-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/recommender/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/recommender/v1beta1"
-// ...
-// ctx := context.Background()
-// recommenderService, err := recommender.NewService(ctx)
+// import "google.golang.org/api/recommender/v1beta1"
+// ...
+// ctx := context.Background()
+// recommenderService, err := recommender.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// recommenderService, err := recommender.NewService(ctx, option.WithAPIKey("AIza..."))
+// recommenderService, err := recommender.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// recommenderService, err := recommender.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// recommenderService, err := recommender.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package recommender // import "google.golang.org/api/recommender/v1beta1"
@@ -1736,21 +1736,21 @@ type BillingAccountsLocationsInsightTypesInsightsListCall struct {
// List: Lists insights for the specified Cloud Resource. Requires the
// recommender.*.list IAM permission for the specified insight type.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
-// T_TYPE_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
-// PE_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
-// pes/[INSIGHT_TYPE_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
-// _ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
-// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
-// supported insight types:
-// https://cloud.google.com/recommender/docs/insights/insight-types.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
+// T_TYPE_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
+// PE_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
+// pes/[INSIGHT_TYPE_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
+// _ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
+// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
+// supported insight types:
+// https://cloud.google.com/recommender/docs/insights/insight-types.
func (r *BillingAccountsLocationsInsightTypesInsightsService) List(parent string) *BillingAccountsLocationsInsightTypesInsightsListCall {
c := &BillingAccountsLocationsInsightTypesInsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2266,21 +2266,21 @@ type BillingAccountsLocationsRecommendersRecommendationsListCall struct {
// Requires the recommender.*.list IAM permission for the specified
// recommender.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
-// ers/[RECOMMENDER_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
-// ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
-// supported recommenders:
-// https://cloud.google.com/recommender/docs/recommenders.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
+// ers/[RECOMMENDER_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
+// ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
+// supported recommenders:
+// https://cloud.google.com/recommender/docs/recommenders.
func (r *BillingAccountsLocationsRecommendersRecommendationsService) List(parent string) *BillingAccountsLocationsRecommendersRecommendationsListCall {
c := &BillingAccountsLocationsRecommendersRecommendationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3099,21 +3099,21 @@ type FoldersLocationsInsightTypesInsightsListCall struct {
// List: Lists insights for the specified Cloud Resource. Requires the
// recommender.*.list IAM permission for the specified insight type.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
-// T_TYPE_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
-// PE_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
-// pes/[INSIGHT_TYPE_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
-// _ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
-// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
-// supported insight types:
-// https://cloud.google.com/recommender/docs/insights/insight-types.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
+// T_TYPE_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
+// PE_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
+// pes/[INSIGHT_TYPE_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
+// _ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
+// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
+// supported insight types:
+// https://cloud.google.com/recommender/docs/insights/insight-types.
func (r *FoldersLocationsInsightTypesInsightsService) List(parent string) *FoldersLocationsInsightTypesInsightsListCall {
c := &FoldersLocationsInsightTypesInsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3629,21 +3629,21 @@ type FoldersLocationsRecommendersRecommendationsListCall struct {
// Requires the recommender.*.list IAM permission for the specified
// recommender.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
-// ers/[RECOMMENDER_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
-// ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
-// supported recommenders:
-// https://cloud.google.com/recommender/docs/recommenders.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
+// ers/[RECOMMENDER_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
+// ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
+// supported recommenders:
+// https://cloud.google.com/recommender/docs/recommenders.
func (r *FoldersLocationsRecommendersRecommendationsService) List(parent string) *FoldersLocationsRecommendersRecommendationsListCall {
c := &FoldersLocationsRecommendersRecommendationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4314,13 +4314,13 @@ type OrganizationsLocationsInsightTypesGetConfigCall struct {
// GetConfig: Gets the requested InsightTypeConfig. There is only one
// instance of the config for each InsightType.
//
-// - name: Name of the InsightTypeConfig to get. Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TY
-// PE_ID]/config` *
-// `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_I
-// D]/config` *
-// `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSI
-// GHT_TYPE_ID]/config`.
+// - name: Name of the InsightTypeConfig to get. Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TY
+// PE_ID]/config` *
+// `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_I
+// D]/config` *
+// `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSI
+// GHT_TYPE_ID]/config`.
func (r *OrganizationsLocationsInsightTypesService) GetConfig(name string) *OrganizationsLocationsInsightTypesGetConfigCall {
c := &OrganizationsLocationsInsightTypesGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4469,9 +4469,9 @@ type OrganizationsLocationsInsightTypesUpdateConfigCall struct {
// UpdateConfig: Updates an InsightTypeConfig change. This will create a
// new revision of the config.
//
-// - name: Name of insight type config. Eg,
-// projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT
-// _TYPE_ID]/config.
+// - name: Name of insight type config. Eg,
+// projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT
+// _TYPE_ID]/config.
func (r *OrganizationsLocationsInsightTypesService) UpdateConfig(name string, googlecloudrecommenderv1beta1insighttypeconfig *GoogleCloudRecommenderV1beta1InsightTypeConfig) *OrganizationsLocationsInsightTypesUpdateConfigCall {
c := &OrganizationsLocationsInsightTypesUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4790,21 +4790,21 @@ type OrganizationsLocationsInsightTypesInsightsListCall struct {
// List: Lists insights for the specified Cloud Resource. Requires the
// recommender.*.list IAM permission for the specified insight type.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
-// T_TYPE_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
-// PE_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
-// pes/[INSIGHT_TYPE_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
-// _ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
-// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
-// supported insight types:
-// https://cloud.google.com/recommender/docs/insights/insight-types.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
+// T_TYPE_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
+// PE_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
+// pes/[INSIGHT_TYPE_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
+// _ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
+// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
+// supported insight types:
+// https://cloud.google.com/recommender/docs/insights/insight-types.
func (r *OrganizationsLocationsInsightTypesInsightsService) List(parent string) *OrganizationsLocationsInsightTypesInsightsListCall {
c := &OrganizationsLocationsInsightTypesInsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5170,14 +5170,14 @@ type OrganizationsLocationsRecommendersGetConfigCall struct {
// GetConfig: Gets the requested Recommender Config. There is only one
// instance of the config for each Recommender.
//
-// - name: Name of the Recommendation Config to get. Acceptable formats:
-// *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]/config` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]/config` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]/config`.
+// - name: Name of the Recommendation Config to get. Acceptable formats:
+// *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]/config` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]/config` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]/config`.
func (r *OrganizationsLocationsRecommendersService) GetConfig(name string) *OrganizationsLocationsRecommendersGetConfigCall {
c := &OrganizationsLocationsRecommendersGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5326,9 +5326,9 @@ type OrganizationsLocationsRecommendersUpdateConfigCall struct {
// UpdateConfig: Updates a Recommender Config. This will create a new
// revision of the config.
//
-// - name: Name of recommender config. Eg,
-// projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMME
-// NDER_ID]/config.
+// - name: Name of recommender config. Eg,
+// projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMME
+// NDER_ID]/config.
func (r *OrganizationsLocationsRecommendersService) UpdateConfig(name string, googlecloudrecommenderv1beta1recommenderconfig *GoogleCloudRecommenderV1beta1RecommenderConfig) *OrganizationsLocationsRecommendersUpdateConfigCall {
c := &OrganizationsLocationsRecommendersUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5649,21 +5649,21 @@ type OrganizationsLocationsRecommendersRecommendationsListCall struct {
// Requires the recommender.*.list IAM permission for the specified
// recommender.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
-// ers/[RECOMMENDER_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
-// ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
-// supported recommenders:
-// https://cloud.google.com/recommender/docs/recommenders.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
+// ers/[RECOMMENDER_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
+// ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
+// supported recommenders:
+// https://cloud.google.com/recommender/docs/recommenders.
func (r *OrganizationsLocationsRecommendersRecommendationsService) List(parent string) *OrganizationsLocationsRecommendersRecommendationsListCall {
c := &OrganizationsLocationsRecommendersRecommendationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6334,13 +6334,13 @@ type ProjectsLocationsInsightTypesGetConfigCall struct {
// GetConfig: Gets the requested InsightTypeConfig. There is only one
// instance of the config for each InsightType.
//
-// - name: Name of the InsightTypeConfig to get. Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TY
-// PE_ID]/config` *
-// `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_I
-// D]/config` *
-// `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSI
-// GHT_TYPE_ID]/config`.
+// - name: Name of the InsightTypeConfig to get. Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TY
+// PE_ID]/config` *
+// `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_I
+// D]/config` *
+// `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSI
+// GHT_TYPE_ID]/config`.
func (r *ProjectsLocationsInsightTypesService) GetConfig(name string) *ProjectsLocationsInsightTypesGetConfigCall {
c := &ProjectsLocationsInsightTypesGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6489,9 +6489,9 @@ type ProjectsLocationsInsightTypesUpdateConfigCall struct {
// UpdateConfig: Updates an InsightTypeConfig change. This will create a
// new revision of the config.
//
-// - name: Name of insight type config. Eg,
-// projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT
-// _TYPE_ID]/config.
+// - name: Name of insight type config. Eg,
+// projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT
+// _TYPE_ID]/config.
func (r *ProjectsLocationsInsightTypesService) UpdateConfig(name string, googlecloudrecommenderv1beta1insighttypeconfig *GoogleCloudRecommenderV1beta1InsightTypeConfig) *ProjectsLocationsInsightTypesUpdateConfigCall {
c := &ProjectsLocationsInsightTypesUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6810,21 +6810,21 @@ type ProjectsLocationsInsightTypesInsightsListCall struct {
// List: Lists insights for the specified Cloud Resource. Requires the
// recommender.*.list IAM permission for the specified insight type.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
-// T_TYPE_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
-// PE_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
-// pes/[INSIGHT_TYPE_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
-// _ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
-// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
-// supported insight types:
-// https://cloud.google.com/recommender/docs/insights/insight-types.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGH
+// T_TYPE_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TY
+// PE_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTy
+// pes/[INSIGHT_TYPE_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE
+// _ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[
+// INSIGHT_TYPE_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
+// supported insight types:
+// https://cloud.google.com/recommender/docs/insights/insight-types.
func (r *ProjectsLocationsInsightTypesInsightsService) List(parent string) *ProjectsLocationsInsightTypesInsightsListCall {
c := &ProjectsLocationsInsightTypesInsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7190,14 +7190,14 @@ type ProjectsLocationsRecommendersGetConfigCall struct {
// GetConfig: Gets the requested Recommender Config. There is only one
// instance of the config for each Recommender.
//
-// - name: Name of the Recommendation Config to get. Acceptable formats:
-// *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]/config` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]/config` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]/config`.
+// - name: Name of the Recommendation Config to get. Acceptable formats:
+// *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]/config` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]/config` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]/config`.
func (r *ProjectsLocationsRecommendersService) GetConfig(name string) *ProjectsLocationsRecommendersGetConfigCall {
c := &ProjectsLocationsRecommendersGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7346,9 +7346,9 @@ type ProjectsLocationsRecommendersUpdateConfigCall struct {
// UpdateConfig: Updates a Recommender Config. This will create a new
// revision of the config.
//
-// - name: Name of recommender config. Eg,
-// projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMME
-// NDER_ID]/config.
+// - name: Name of recommender config. Eg,
+// projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMME
+// NDER_ID]/config.
func (r *ProjectsLocationsRecommendersService) UpdateConfig(name string, googlecloudrecommenderv1beta1recommenderconfig *GoogleCloudRecommenderV1beta1RecommenderConfig) *ProjectsLocationsRecommendersUpdateConfigCall {
c := &ProjectsLocationsRecommendersUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7669,21 +7669,21 @@ type ProjectsLocationsRecommendersRecommendationsListCall struct {
// Requires the recommender.*.list IAM permission for the specified
// recommender.
//
-// - parent: The container resource on which to execute the request.
-// Acceptable formats: *
-// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
-// ENDER_ID]` *
-// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
-// R_ID]` *
-// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
-// ers/[RECOMMENDER_ID]` *
-// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
-// ID]` *
-// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
-// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
-// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
-// supported recommenders:
-// https://cloud.google.com/recommender/docs/recommenders.
+// - parent: The container resource on which to execute the request.
+// Acceptable formats: *
+// `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMM
+// ENDER_ID]` *
+// `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDE
+// R_ID]` *
+// `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommend
+// ers/[RECOMMENDER_ID]` *
+// `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_
+// ID]` *
+// `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[
+// RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
+// https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to
+// supported recommenders:
+// https://cloud.google.com/recommender/docs/recommenders.
func (r *ProjectsLocationsRecommendersRecommendationsService) List(parent string) *ProjectsLocationsRecommendersRecommendationsListCall {
c := &ProjectsLocationsRecommendersRecommendationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/redis/v1/redis-gen.go b/redis/v1/redis-gen.go
index aad7c977c70..76d976e4dca 100644
--- a/redis/v1/redis-gen.go
+++ b/redis/v1/redis-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/memorystore/docs/redis/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/redis/v1"
-// ...
-// ctx := context.Background()
-// redisService, err := redis.NewService(ctx)
+// import "google.golang.org/api/redis/v1"
+// ...
+// ctx := context.Background()
+// redisService, err := redis.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// redisService, err := redis.NewService(ctx, option.WithAPIKey("AIza..."))
+// redisService, err := redis.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// redisService, err := redis.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// redisService, err := redis.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package redis // import "google.golang.org/api/redis/v1"
@@ -1606,8 +1606,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1822,9 +1822,9 @@ type ProjectsLocationsInstancesCreateCall struct {
// response field. The returned operation is automatically deleted after
// a few hours, so there is no need to call DeleteOperation.
//
-// - parent: The resource name of the instance location using the form:
-// `projects/{project_id}/locations/{location_id}` where `location_id`
-// refers to a GCP region.
+// - parent: The resource name of the instance location using the form:
+// `projects/{project_id}/locations/{location_id}` where `location_id`
+// refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall {
c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1982,9 +1982,9 @@ type ProjectsLocationsInstancesDeleteCall struct {
// Delete: Deletes a specific Redis instance. Instance stops serving and
// data is deleted.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2120,9 +2120,9 @@ type ProjectsLocationsInstancesExportCall struct {
// returned operation is automatically deleted after a few hours, so
// there is no need to call DeleteOperation.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Export(name string, exportinstancerequest *ExportInstanceRequest) *ProjectsLocationsInstancesExportCall {
c := &ProjectsLocationsInstancesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2266,9 +2266,9 @@ type ProjectsLocationsInstancesFailoverCall struct {
// node for a specific STANDARD tier Cloud Memorystore for Redis
// instance.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Failover(name string, failoverinstancerequest *FailoverInstanceRequest) *ProjectsLocationsInstancesFailoverCall {
c := &ProjectsLocationsInstancesFailoverCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2410,9 +2410,9 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets the details of a specific Redis instance.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2560,9 +2560,9 @@ type ProjectsLocationsInstancesGetAuthStringCall struct {
// not enabled for the instance the response will be empty. This
// information is not included in the details returned to GetInstance.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) GetAuthString(name string) *ProjectsLocationsInstancesGetAuthStringCall {
c := &ProjectsLocationsInstancesGetAuthStringCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2713,9 +2713,9 @@ type ProjectsLocationsInstancesImportCall struct {
// returned operation is automatically deleted after a few hours, so
// there is no need to call DeleteOperation.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Import(name string, importinstancerequest *ImportInstanceRequest) *ProjectsLocationsInstancesImportCall {
c := &ProjectsLocationsInstancesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2862,9 +2862,9 @@ type ProjectsLocationsInstancesListCall struct {
// specified as `-` (wildcard), then all regions available to the
// project are queried, and the results are aggregated.
//
-// - parent: The resource name of the instance location using the form:
-// `projects/{project_id}/locations/{location_id}` where `location_id`
-// refers to a GCP region.
+// - parent: The resource name of the instance location using the form:
+// `projects/{project_id}/locations/{location_id}` where `location_id`
+// refers to a GCP region.
func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {
c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3065,14 +3065,14 @@ type ProjectsLocationsInstancesPatchCall struct {
// automatically deleted after a few hours, so there is no need to call
// DeleteOperation.
//
-// - name: Unique name of the resource in this scope including project
-// and location using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` Note: Redis instances are managed and addressed at regional
-// level so location_id here refers to a GCP region; however, users
-// may choose which specific zone (or collection of zones for
-// cross-zone instances) an instance should be provisioned in. Refer
-// to location_id and alternative_location_id fields for more details.
+// - name: Unique name of the resource in this scope including project
+// and location using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` Note: Redis instances are managed and addressed at regional
+// level so location_id here refers to a GCP region; however, users
+// may choose which specific zone (or collection of zones for
+// cross-zone instances) an instance should be provisioned in. Refer
+// to location_id and alternative_location_id fields for more details.
func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall {
c := &ProjectsLocationsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3231,9 +3231,9 @@ type ProjectsLocationsInstancesRescheduleMaintenanceCall struct {
// RescheduleMaintenance: Reschedule maintenance for a given instance in
// a given project and location.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) RescheduleMaintenance(name string, reschedulemaintenancerequest *RescheduleMaintenanceRequest) *ProjectsLocationsInstancesRescheduleMaintenanceCall {
c := &ProjectsLocationsInstancesRescheduleMaintenanceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3376,9 +3376,9 @@ type ProjectsLocationsInstancesUpgradeCall struct {
// Upgrade: Upgrades Redis instance to the newer Redis version specified
// in the request.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Upgrade(name string, upgradeinstancerequest *UpgradeInstanceRequest) *ProjectsLocationsInstancesUpgradeCall {
c := &ProjectsLocationsInstancesUpgradeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go
index b0031dac633..4cb4944b64f 100644
--- a/redis/v1beta1/redis-gen.go
+++ b/redis/v1beta1/redis-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/memorystore/docs/redis/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/redis/v1beta1"
-// ...
-// ctx := context.Background()
-// redisService, err := redis.NewService(ctx)
+// import "google.golang.org/api/redis/v1beta1"
+// ...
+// ctx := context.Background()
+// redisService, err := redis.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// redisService, err := redis.NewService(ctx, option.WithAPIKey("AIza..."))
+// redisService, err := redis.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// redisService, err := redis.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// redisService, err := redis.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package redis // import "google.golang.org/api/redis/v1beta1"
@@ -1619,8 +1619,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1835,9 +1835,9 @@ type ProjectsLocationsInstancesCreateCall struct {
// response field. The returned operation is automatically deleted after
// a few hours, so there is no need to call DeleteOperation.
//
-// - parent: The resource name of the instance location using the form:
-// `projects/{project_id}/locations/{location_id}` where `location_id`
-// refers to a GCP region.
+// - parent: The resource name of the instance location using the form:
+// `projects/{project_id}/locations/{location_id}` where `location_id`
+// refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall {
c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1995,9 +1995,9 @@ type ProjectsLocationsInstancesDeleteCall struct {
// Delete: Deletes a specific Redis instance. Instance stops serving and
// data is deleted.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall {
c := &ProjectsLocationsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2133,9 +2133,9 @@ type ProjectsLocationsInstancesExportCall struct {
// returned operation is automatically deleted after a few hours, so
// there is no need to call DeleteOperation.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Export(name string, exportinstancerequest *ExportInstanceRequest) *ProjectsLocationsInstancesExportCall {
c := &ProjectsLocationsInstancesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2279,9 +2279,9 @@ type ProjectsLocationsInstancesFailoverCall struct {
// node for a specific STANDARD tier Cloud Memorystore for Redis
// instance.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Failover(name string, failoverinstancerequest *FailoverInstanceRequest) *ProjectsLocationsInstancesFailoverCall {
c := &ProjectsLocationsInstancesFailoverCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2423,9 +2423,9 @@ type ProjectsLocationsInstancesGetCall struct {
// Get: Gets the details of a specific Redis instance.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall {
c := &ProjectsLocationsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2573,9 +2573,9 @@ type ProjectsLocationsInstancesGetAuthStringCall struct {
// not enabled for the instance the response will be empty. This
// information is not included in the details returned to GetInstance.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) GetAuthString(name string) *ProjectsLocationsInstancesGetAuthStringCall {
c := &ProjectsLocationsInstancesGetAuthStringCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2726,9 +2726,9 @@ type ProjectsLocationsInstancesImportCall struct {
// returned operation is automatically deleted after a few hours, so
// there is no need to call DeleteOperation.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Import(name string, importinstancerequest *ImportInstanceRequest) *ProjectsLocationsInstancesImportCall {
c := &ProjectsLocationsInstancesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2875,9 +2875,9 @@ type ProjectsLocationsInstancesListCall struct {
// specified as `-` (wildcard), then all regions available to the
// project are queried, and the results are aggregated.
//
-// - parent: The resource name of the instance location using the form:
-// `projects/{project_id}/locations/{location_id}` where `location_id`
-// refers to a GCP region.
+// - parent: The resource name of the instance location using the form:
+// `projects/{project_id}/locations/{location_id}` where `location_id`
+// refers to a GCP region.
func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall {
c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3078,14 +3078,14 @@ type ProjectsLocationsInstancesPatchCall struct {
// automatically deleted after a few hours, so there is no need to call
// DeleteOperation.
//
-// - name: Unique name of the resource in this scope including project
-// and location using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` Note: Redis instances are managed and addressed at regional
-// level so location_id here refers to a GCP region; however, users
-// may choose which specific zone (or collection of zones for
-// cross-zone instances) an instance should be provisioned in. Refer
-// to location_id and alternative_location_id fields for more details.
+// - name: Unique name of the resource in this scope including project
+// and location using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` Note: Redis instances are managed and addressed at regional
+// level so location_id here refers to a GCP region; however, users
+// may choose which specific zone (or collection of zones for
+// cross-zone instances) an instance should be provisioned in. Refer
+// to location_id and alternative_location_id fields for more details.
func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall {
c := &ProjectsLocationsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3244,9 +3244,9 @@ type ProjectsLocationsInstancesRescheduleMaintenanceCall struct {
// RescheduleMaintenance: Reschedule maintenance for a given instance in
// a given project and location.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) RescheduleMaintenance(name string, reschedulemaintenancerequest *RescheduleMaintenanceRequest) *ProjectsLocationsInstancesRescheduleMaintenanceCall {
c := &ProjectsLocationsInstancesRescheduleMaintenanceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3389,9 +3389,9 @@ type ProjectsLocationsInstancesUpgradeCall struct {
// Upgrade: Upgrades Redis instance to the newer Redis version specified
// in the request.
//
-// - name: Redis instance resource name using the form:
-// `projects/{project_id}/locations/{location_id}/instances/{instance_i
-// d}` where `location_id` refers to a GCP region.
+// - name: Redis instance resource name using the form:
+// `projects/{project_id}/locations/{location_id}/instances/{instance_i
+// d}` where `location_id` refers to a GCP region.
func (r *ProjectsLocationsInstancesService) Upgrade(name string, upgradeinstancerequest *UpgradeInstanceRequest) *ProjectsLocationsInstancesUpgradeCall {
c := &ProjectsLocationsInstancesUpgradeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/remotebuildexecution/v1/remotebuildexecution-gen.go b/remotebuildexecution/v1/remotebuildexecution-gen.go
index 2590cd7069b..6d8aea69d58 100644
--- a/remotebuildexecution/v1/remotebuildexecution-gen.go
+++ b/remotebuildexecution/v1/remotebuildexecution-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/remote-build-execution/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/remotebuildexecution/v1"
-// ...
-// ctx := context.Background()
-// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx)
+// import "google.golang.org/api/remotebuildexecution/v1"
+// ...
+// ctx := context.Background()
+// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithAPIKey("AIza..."))
+// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package remotebuildexecution // import "google.golang.org/api/remotebuildexecution/v1"
@@ -2011,7 +2011,8 @@ func (s *GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest) Ma
}
// GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest:
-// The request used for `CreateWorkerPool`.
+//
+// The request used for `CreateWorkerPool`.
type GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest struct {
// Parent: Resource name of the instance in which to create the new
// worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
@@ -2081,7 +2082,8 @@ func (s *GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest) Ma
}
// GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest:
-// The request used for DeleteWorkerPool.
+//
+// The request used for DeleteWorkerPool.
type GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest struct {
// Name: Name of the worker pool to delete. Format:
// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
@@ -2532,7 +2534,8 @@ func (s *GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest) Ma
}
// GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest:
-// The request used for UpdateWorkerPool.
+//
+// The request used for UpdateWorkerPool.
type GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest struct {
// UpdateMask: The update mask applies to worker_pool. For the
// `FieldMask` definition, see
@@ -3499,8 +3502,8 @@ type MediaDownloadCall struct {
// Download: Downloads media. Download is supported on the URI
// `/v1/media/{+name}?alt=media`.
//
-// - resourceName: Name of the media that is being downloaded. See
-// ReadRequest.resource_name.
+// - resourceName: Name of the media that is being downloaded. See
+// ReadRequest.resource_name.
func (r *MediaService) Download(resourceName string) *MediaDownloadCall {
c := &MediaDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resourceName = resourceName
@@ -3665,8 +3668,8 @@ type MediaUploadCall struct {
// Upload: Uploads media. Upload is supported on the URI
// `/upload/v1/media/{+name}`.
//
-// - resourceName: Name of the media that is being downloaded. See
-// ReadRequest.resource_name.
+// - resourceName: Name of the media that is being downloaded. See
+// ReadRequest.resource_name.
func (r *MediaService) Upload(resourceName string, googlebytestreammedia *GoogleBytestreamMedia) *MediaUploadCall {
c := &MediaUploadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resourceName = resourceName
diff --git a/remotebuildexecution/v1alpha/remotebuildexecution-gen.go b/remotebuildexecution/v1alpha/remotebuildexecution-gen.go
index 8a72ed8bbfe..a3b7fd8f38e 100644
--- a/remotebuildexecution/v1alpha/remotebuildexecution-gen.go
+++ b/remotebuildexecution/v1alpha/remotebuildexecution-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/remote-build-execution/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/remotebuildexecution/v1alpha"
-// ...
-// ctx := context.Background()
-// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx)
+// import "google.golang.org/api/remotebuildexecution/v1alpha"
+// ...
+// ctx := context.Background()
+// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithAPIKey("AIza..."))
+// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package remotebuildexecution // import "google.golang.org/api/remotebuildexecution/v1alpha"
@@ -1979,7 +1979,8 @@ func (s *GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest) Ma
}
// GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest:
-// The request used for `CreateWorkerPool`.
+//
+// The request used for `CreateWorkerPool`.
type GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest struct {
// Parent: Resource name of the instance in which to create the new
// worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
@@ -2049,7 +2050,8 @@ func (s *GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest) Ma
}
// GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest:
-// The request used for DeleteWorkerPool.
+//
+// The request used for DeleteWorkerPool.
type GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest struct {
// Name: Name of the worker pool to delete. Format:
// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
@@ -2512,7 +2514,8 @@ func (s *GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest) Ma
}
// GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest:
-// The request used for UpdateWorkerPool.
+//
+// The request used for UpdateWorkerPool.
type GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest struct {
// UpdateMask: The update mask applies to worker_pool. For the
// `FieldMask` definition, see
@@ -3431,8 +3434,8 @@ type ProjectsInstancesCreateCall struct {
// While the long running operation is in progress, any call to
// `GetInstance` returns an instance in state `CREATING`.
//
-// - parent: Resource name of the project containing the instance.
-// Format: `projects/[PROJECT_ID]`.
+// - parent: Resource name of the project containing the instance.
+// Format: `projects/[PROJECT_ID]`.
func (r *ProjectsInstancesService) Create(parent string, googledevtoolsremotebuildexecutionadminv1alphacreateinstancerequest *GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest) *ProjectsInstancesCreateCall {
c := &ProjectsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3576,8 +3579,8 @@ type ProjectsInstancesDeleteCall struct {
// completion. Deleting an instance with worker pools in it will delete
// these worker pools.
//
-// - name: Name of the instance to delete. Format:
-// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
+// - name: Name of the instance to delete. Format:
+// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
func (r *ProjectsInstancesService) Delete(name string) *ProjectsInstancesDeleteCall {
c := &ProjectsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3710,8 +3713,8 @@ type ProjectsInstancesGetCall struct {
// Get: Returns the specified instance.
//
-// - name: Name of the instance to retrieve. Format:
-// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
+// - name: Name of the instance to retrieve. Format:
+// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
func (r *ProjectsInstancesService) Get(name string) *ProjectsInstancesGetCall {
c := &ProjectsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3860,8 +3863,8 @@ type ProjectsInstancesListCall struct {
// List: Lists instances in a project.
//
-// - parent: Resource name of the project. Format:
-// `projects/[PROJECT_ID]`.
+// - parent: Resource name of the project. Format:
+// `projects/[PROJECT_ID]`.
func (r *ProjectsInstancesService) List(parent string) *ProjectsInstancesListCall {
c := &ProjectsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4012,10 +4015,10 @@ type ProjectsInstancesPatchCall struct {
// operation which contains the updated instance in the response on
// completion.
//
-// - name: Output only. Instance resource name formatted as:
-// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be
-// populated when creating an instance since it is provided in the
-// `instance_id` field.
+// - name: Output only. Instance resource name formatted as:
+// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be
+// populated when creating an instance since it is provided in the
+// `instance_id` field.
func (r *ProjectsInstancesService) Patch(name string, googledevtoolsremotebuildexecutionadminv1alphainstance *GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance) *ProjectsInstancesPatchCall {
c := &ProjectsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4205,9 +4208,9 @@ type ProjectsInstancesWorkerpoolsCreateCall struct {
// progress, any call to `GetWorkerPool` returns a worker pool in state
// `CREATING`.
//
-// - parent: Resource name of the instance in which to create the new
-// worker pool. Format:
-// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
+// - parent: Resource name of the instance in which to create the new
+// worker pool. Format:
+// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
func (r *ProjectsInstancesWorkerpoolsService) Create(parent string, googledevtoolsremotebuildexecutionadminv1alphacreateworkerpoolrequest *GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest) *ProjectsInstancesWorkerpoolsCreateCall {
c := &ProjectsInstancesWorkerpoolsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4351,9 +4354,9 @@ type ProjectsInstancesWorkerpoolsDeleteCall struct {
// completion. While the long running operation is in progress, any call
// to `GetWorkerPool` returns a worker pool in state `DELETING`.
//
-// - name: Name of the worker pool to delete. Format:
-// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
-// `.
+// - name: Name of the worker pool to delete. Format:
+// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
+// `.
func (r *ProjectsInstancesWorkerpoolsService) Delete(name string) *ProjectsInstancesWorkerpoolsDeleteCall {
c := &ProjectsInstancesWorkerpoolsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4486,9 +4489,9 @@ type ProjectsInstancesWorkerpoolsGetCall struct {
// Get: Returns the specified worker pool.
//
-// - name: Name of the worker pool to retrieve. Format:
-// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
-// `.
+// - name: Name of the worker pool to retrieve. Format:
+// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
+// `.
func (r *ProjectsInstancesWorkerpoolsService) Get(name string) *ProjectsInstancesWorkerpoolsGetCall {
c := &ProjectsInstancesWorkerpoolsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4637,8 +4640,8 @@ type ProjectsInstancesWorkerpoolsListCall struct {
// List: Lists worker pools in an instance.
//
-// - parent: Resource name of the instance. Format:
-// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
+// - parent: Resource name of the instance. Format:
+// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
func (r *ProjectsInstancesWorkerpoolsService) List(parent string) *ProjectsInstancesWorkerpoolsListCall {
c := &ProjectsInstancesWorkerpoolsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4731,7 +4734,9 @@ func (c *ProjectsInstancesWorkerpoolsListCall) doRequest(alt string) (*http.Resp
// Do executes the "remotebuildexecution.projects.instances.workerpools.list" call.
// Exactly one of
// *GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse
-// or error will be non-nil. Any non-2xx status code is an error.
+//
+// or error will be non-nil. Any non-2xx status code is an error.
+//
// Response headers are in either
// *GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse
// .ServerResponse.Header or (if a response was returned at all) in
@@ -4818,10 +4823,10 @@ type ProjectsInstancesWorkerpoolsPatchCall struct {
// progress, any call to `GetWorkerPool` returns a worker pool in state
// `UPDATING`.
//
-// - name: WorkerPool resource name formatted as:
-// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
-// `. name should not be populated when creating a worker pool since
-// it is provided in the `poolId` field.
+// - name: WorkerPool resource name formatted as:
+// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]
+// `. name should not be populated when creating a worker pool since
+// it is provided in the `poolId` field.
func (r *ProjectsInstancesWorkerpoolsService) Patch(name string, googledevtoolsremotebuildexecutionadminv1alphaupdateworkerpoolrequest *GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest) *ProjectsInstancesWorkerpoolsPatchCall {
c := &ProjectsInstancesWorkerpoolsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/remotebuildexecution/v2/remotebuildexecution-gen.go b/remotebuildexecution/v2/remotebuildexecution-gen.go
index 12bfc0ce670..c0d2ebc1b03 100644
--- a/remotebuildexecution/v2/remotebuildexecution-gen.go
+++ b/remotebuildexecution/v2/remotebuildexecution-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/remote-build-execution/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/remotebuildexecution/v2"
-// ...
-// ctx := context.Background()
-// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx)
+// import "google.golang.org/api/remotebuildexecution/v2"
+// ...
+// ctx := context.Background()
+// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithAPIKey("AIza..."))
+// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// remotebuildexecutionService, err := remotebuildexecution.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package remotebuildexecution // import "google.golang.org/api/remotebuildexecution/v2"
@@ -2776,7 +2776,8 @@ func (s *GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest) Ma
}
// GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest:
-// The request used for `CreateWorkerPool`.
+//
+// The request used for `CreateWorkerPool`.
type GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest struct {
// Parent: Resource name of the instance in which to create the new
// worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
@@ -2846,7 +2847,8 @@ func (s *GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest) Ma
}
// GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest:
-// The request used for DeleteWorkerPool.
+//
+// The request used for DeleteWorkerPool.
type GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest struct {
// Name: Name of the worker pool to delete. Format:
// `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
@@ -3297,7 +3299,8 @@ func (s *GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest) Ma
}
// GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest:
-// The request used for UpdateWorkerPool.
+//
+// The request used for UpdateWorkerPool.
type GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest struct {
// UpdateMask: The update mask applies to worker_pool. For the
// `FieldMask` definition, see
@@ -4216,14 +4219,14 @@ type ActionResultsGetCall struct {
// blobs SHOULD be increased if necessary and applicable. Errors: *
// `NOT_FOUND`: The requested `ActionResult` is not in the cache.
//
-// - hash: The hash. In the case of SHA-256, it will always be a
-// lowercase hex string exactly 64 characters long.
-// - instanceName: The instance of the execution system to operate
-// against. A server may support multiple instances of the execution
-// system (with their own workers, storage, caches, etc.). The server
-// MAY require use of this field to select between them in an
-// implementation-defined fashion, otherwise it can be omitted.
-// - sizeBytes: The size of the blob, in bytes.
+// - hash: The hash. In the case of SHA-256, it will always be a
+// lowercase hex string exactly 64 characters long.
+// - instanceName: The instance of the execution system to operate
+// against. A server may support multiple instances of the execution
+// system (with their own workers, storage, caches, etc.). The server
+// MAY require use of this field to select between them in an
+// implementation-defined fashion, otherwise it can be omitted.
+// - sizeBytes: The size of the blob, in bytes.
func (r *ActionResultsService) Get(instanceName string, hash string, sizeBytes int64) *ActionResultsGetCall {
c := &ActionResultsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instanceName = instanceName
@@ -4441,14 +4444,14 @@ type ActionResultsUpdateCall struct {
// `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the
// entry to the cache.
//
-// - hash: The hash. In the case of SHA-256, it will always be a
-// lowercase hex string exactly 64 characters long.
-// - instanceName: The instance of the execution system to operate
-// against. A server may support multiple instances of the execution
-// system (with their own workers, storage, caches, etc.). The server
-// MAY require use of this field to select between them in an
-// implementation-defined fashion, otherwise it can be omitted.
-// - sizeBytes: The size of the blob, in bytes.
+// - hash: The hash. In the case of SHA-256, it will always be a
+// lowercase hex string exactly 64 characters long.
+// - instanceName: The instance of the execution system to operate
+// against. A server may support multiple instances of the execution
+// system (with their own workers, storage, caches, etc.). The server
+// MAY require use of this field to select between them in an
+// implementation-defined fashion, otherwise it can be omitted.
+// - sizeBytes: The size of the blob, in bytes.
func (r *ActionResultsService) Update(instanceName string, hash string, sizeBytes int64, buildbazelremoteexecutionv2actionresult *BuildBazelRemoteExecutionV2ActionResult) *ActionResultsUpdateCall {
c := &ActionResultsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instanceName = instanceName
@@ -4677,11 +4680,11 @@ type ActionsExecuteCall struct {
// times, potentially in parallel. These redundant executions MAY
// continue to run, even if the operation is completed.
//
-// - instanceName: The instance of the execution system to operate
-// against. A server may support multiple instances of the execution
-// system (with their own workers, storage, caches, etc.). The server
-// MAY require use of this field to select between them in an
-// implementation-defined fashion, otherwise it can be omitted.
+// - instanceName: The instance of the execution system to operate
+// against. A server may support multiple instances of the execution
+// system (with their own workers, storage, caches, etc.). The server
+// MAY require use of this field to select between them in an
+// implementation-defined fashion, otherwise it can be omitted.
func (r *ActionsService) Execute(instanceName string, buildbazelremoteexecutionv2executerequest *BuildBazelRemoteExecutionV2ExecuteRequest) *ActionsExecuteCall {
c := &ActionsExecuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instanceName = instanceName
@@ -4832,11 +4835,11 @@ type BlobsBatchReadCall struct {
// the server supported limit. Every error on individual read will be
// returned in the corresponding digest status.
//
-// - instanceName: The instance of the execution system to operate
-// against. A server may support multiple instances of the execution
-// system (with their own workers, storage, caches, etc.). The server
-// MAY require use of this field to select between them in an
-// implementation-defined fashion, otherwise it can be omitted.
+// - instanceName: The instance of the execution system to operate
+// against. A server may support multiple instances of the execution
+// system (with their own workers, storage, caches, etc.). The server
+// MAY require use of this field to select between them in an
+// implementation-defined fashion, otherwise it can be omitted.
func (r *BlobsService) BatchRead(instanceName string, buildbazelremoteexecutionv2batchreadblobsrequest *BuildBazelRemoteExecutionV2BatchReadBlobsRequest) *BlobsBatchReadCall {
c := &BlobsBatchReadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instanceName = instanceName
@@ -4991,11 +4994,11 @@ type BlobsBatchUpdateCall struct {
// insufficient disk quota to store the blob. * `INVALID_ARGUMENT`: The
// Digest does not match the provided data.
//
-// - instanceName: The instance of the execution system to operate
-// against. A server may support multiple instances of the execution
-// system (with their own workers, storage, caches, etc.). The server
-// MAY require use of this field to select between them in an
-// implementation-defined fashion, otherwise it can be omitted.
+// - instanceName: The instance of the execution system to operate
+// against. A server may support multiple instances of the execution
+// system (with their own workers, storage, caches, etc.). The server
+// MAY require use of this field to select between them in an
+// implementation-defined fashion, otherwise it can be omitted.
func (r *BlobsService) BatchUpdate(instanceName string, buildbazelremoteexecutionv2batchupdateblobsrequest *BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest) *BlobsBatchUpdateCall {
c := &BlobsBatchUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instanceName = instanceName
@@ -5143,11 +5146,11 @@ type BlobsFindMissingCall struct {
// Servers SHOULD increase the lifetimes of the referenced blobs if
// necessary and applicable. There are no method-specific errors.
//
-// - instanceName: The instance of the execution system to operate
-// against. A server may support multiple instances of the execution
-// system (with their own workers, storage, caches, etc.). The server
-// MAY require use of this field to select between them in an
-// implementation-defined fashion, otherwise it can be omitted.
+// - instanceName: The instance of the execution system to operate
+// against. A server may support multiple instances of the execution
+// system (with their own workers, storage, caches, etc.). The server
+// MAY require use of this field to select between them in an
+// implementation-defined fashion, otherwise it can be omitted.
func (r *BlobsService) FindMissing(instanceName string, buildbazelremoteexecutionv2findmissingblobsrequest *BuildBazelRemoteExecutionV2FindMissingBlobsRequest) *BlobsFindMissingCall {
c := &BlobsFindMissingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instanceName = instanceName
@@ -5306,14 +5309,14 @@ type BlobsGetTreeCall struct {
// portion present and omit the rest. Errors: * `NOT_FOUND`: The
// requested tree root is not present in the CAS.
//
-// - hash: The hash. In the case of SHA-256, it will always be a
-// lowercase hex string exactly 64 characters long.
-// - instanceName: The instance of the execution system to operate
-// against. A server may support multiple instances of the execution
-// system (with their own workers, storage, caches, etc.). The server
-// MAY require use of this field to select between them in an
-// implementation-defined fashion, otherwise it can be omitted.
-// - sizeBytes: The size of the blob, in bytes.
+// - hash: The hash. In the case of SHA-256, it will always be a
+// lowercase hex string exactly 64 characters long.
+// - instanceName: The instance of the execution system to operate
+// against. A server may support multiple instances of the execution
+// system (with their own workers, storage, caches, etc.). The server
+// MAY require use of this field to select between them in an
+// implementation-defined fashion, otherwise it can be omitted.
+// - sizeBytes: The size of the blob, in bytes.
func (r *BlobsService) GetTree(instanceName string, hash string, sizeBytes int64) *BlobsGetTreeCall {
c := &BlobsGetTreeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instanceName = instanceName
@@ -5686,11 +5689,11 @@ type V2GetCapabilitiesCall struct {
// ExecutionCapabilities. * CAS + Action Cache only endpoints should
// return CacheCapabilities.
//
-// - instanceName: The instance of the execution system to operate
-// against. A server may support multiple instances of the execution
-// system (with their own workers, storage, caches, etc.). The server
-// MAY require use of this field to select between them in an
-// implementation-defined fashion, otherwise it can be omitted.
+// - instanceName: The instance of the execution system to operate
+// against. A server may support multiple instances of the execution
+// system (with their own workers, storage, caches, etc.). The server
+// MAY require use of this field to select between them in an
+// implementation-defined fashion, otherwise it can be omitted.
func (r *V2Service) GetCapabilities(instanceName string) *V2GetCapabilitiesCall {
c := &V2GetCapabilitiesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.instanceName = instanceName
diff --git a/replicapool/v1beta1/replicapool-gen.go b/replicapool/v1beta1/replicapool-gen.go
index 26898d46585..080da53a9ef 100644
--- a/replicapool/v1beta1/replicapool-gen.go
+++ b/replicapool/v1beta1/replicapool-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/compute/docs/replica-pool/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/replicapool/v1beta1"
-// ...
-// ctx := context.Background()
-// replicapoolService, err := replicapool.NewService(ctx)
+// import "google.golang.org/api/replicapool/v1beta1"
+// ...
+// ctx := context.Background()
+// replicapoolService, err := replicapool.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// replicapoolService, err := replicapool.NewService(ctx, option.WithScopes(replicapool.ReplicapoolReadonlyScope))
+// replicapoolService, err := replicapool.NewService(ctx, option.WithScopes(replicapool.ReplicapoolReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// replicapoolService, err := replicapool.NewService(ctx, option.WithAPIKey("AIza..."))
+// replicapoolService, err := replicapool.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// replicapoolService, err := replicapool.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// replicapoolService, err := replicapool.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package replicapool // import "google.golang.org/api/replicapool/v1beta1"
diff --git a/replicapoolupdater/v1beta1/replicapoolupdater-gen.go b/replicapoolupdater/v1beta1/replicapoolupdater-gen.go
index e8886ef5ce4..24eb530145b 100644
--- a/replicapoolupdater/v1beta1/replicapoolupdater-gen.go
+++ b/replicapoolupdater/v1beta1/replicapoolupdater-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/replicapoolupdater/v1beta1"
-// ...
-// ctx := context.Background()
-// replicapoolupdaterService, err := replicapoolupdater.NewService(ctx)
+// import "google.golang.org/api/replicapoolupdater/v1beta1"
+// ...
+// ctx := context.Background()
+// replicapoolupdaterService, err := replicapoolupdater.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// replicapoolupdaterService, err := replicapoolupdater.NewService(ctx, option.WithScopes(replicapoolupdater.ReplicapoolReadonlyScope))
+// replicapoolupdaterService, err := replicapoolupdater.NewService(ctx, option.WithScopes(replicapoolupdater.ReplicapoolReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// replicapoolupdaterService, err := replicapoolupdater.NewService(ctx, option.WithAPIKey("AIza..."))
+// replicapoolupdaterService, err := replicapoolupdater.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// replicapoolupdaterService, err := replicapoolupdater.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// replicapoolupdaterService, err := replicapoolupdater.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package replicapoolupdater // import "google.golang.org/api/replicapoolupdater/v1beta1"
diff --git a/reseller/v1/reseller-gen.go b/reseller/v1/reseller-gen.go
index aedce1759f5..31b4cee934a 100644
--- a/reseller/v1/reseller-gen.go
+++ b/reseller/v1/reseller-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/google-apps/reseller/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/reseller/v1"
-// ...
-// ctx := context.Background()
-// resellerService, err := reseller.NewService(ctx)
+// import "google.golang.org/api/reseller/v1"
+// ...
+// ctx := context.Background()
+// resellerService, err := reseller.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// resellerService, err := reseller.NewService(ctx, option.WithScopes(reseller.AppsOrderReadonlyScope))
+// resellerService, err := reseller.NewService(ctx, option.WithScopes(reseller.AppsOrderReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// resellerService, err := reseller.NewService(ctx, option.WithAPIKey("AIza..."))
+// resellerService, err := reseller.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// resellerService, err := reseller.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// resellerService, err := reseller.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package reseller // import "google.golang.org/api/reseller/v1"
@@ -958,12 +958,12 @@ type CustomersGetCall struct {
// see retrieving a customer account
// (/admin-sdk/reseller/v1/how-tos/manage_customers#get_customer).
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
func (r *CustomersService) Get(customerId string) *CustomersGetCall {
c := &CustomersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -1274,12 +1274,12 @@ type CustomersPatchCall struct {
// domain to unlock Essentials features
// (https://support.google.com/a/answer/9122284).
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
func (r *CustomersService) Patch(customerId string, customer *Customer) *CustomersPatchCall {
c := &CustomersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -1424,12 +1424,12 @@ type CustomersUpdateCall struct {
// information, see update a customer's settings
// (/admin-sdk/reseller/v1/how-tos/manage_customers#update_customer).
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
func (r *CustomersService) Update(customerId string, customer *Customer) *CustomersUpdateCall {
c := &CustomersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -1963,18 +1963,18 @@ type SubscriptionsActivateCall struct {
// suspended for any other reason, such as for abuse or a pending ToS
// acceptance, this call will not reactivate the customer subscription.
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
-// - subscriptionId: This is a required property. The `subscriptionId`
-// is the subscription identifier and is unique for each customer.
-// Since a `subscriptionId` changes when a subscription is updated, we
-// recommend to not use this ID as a key for persistent data. And the
-// `subscriptionId` can be found using the retrieve all reseller
-// subscriptions method.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
+// - subscriptionId: This is a required property. The `subscriptionId`
+// is the subscription identifier and is unique for each customer.
+// Since a `subscriptionId` changes when a subscription is updated, we
+// recommend to not use this ID as a key for persistent data. And the
+// `subscriptionId` can be found using the retrieve all reseller
+// subscriptions method.
func (r *SubscriptionsService) Activate(customerId string, subscriptionId string) *SubscriptionsActivateCall {
c := &SubscriptionsActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -2122,18 +2122,18 @@ type SubscriptionsChangePlanCall struct {
// (/admin-sdk/reseller/v1/how-tos/manage_subscriptions#update_subscripti
// on_plan).
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
-// - subscriptionId: This is a required property. The `subscriptionId`
-// is the subscription identifier and is unique for each customer.
-// Since a `subscriptionId` changes when a subscription is updated, we
-// recommend to not use this ID as a key for persistent data. And the
-// `subscriptionId` can be found using the retrieve all reseller
-// subscriptions method.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
+// - subscriptionId: This is a required property. The `subscriptionId`
+// is the subscription identifier and is unique for each customer.
+// Since a `subscriptionId` changes when a subscription is updated, we
+// recommend to not use this ID as a key for persistent data. And the
+// `subscriptionId` can be found using the retrieve all reseller
+// subscriptions method.
func (r *SubscriptionsService) ChangePlan(customerId string, subscriptionId string, changeplanrequest *ChangePlanRequest) *SubscriptionsChangePlanCall {
c := &SubscriptionsChangePlanCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -2287,18 +2287,18 @@ type SubscriptionsChangeRenewalSettingsCall struct {
// For more information, see the description in manage subscriptions
// (/admin-sdk/reseller/v1/how-tos/manage_subscriptions#update_renewal).
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
-// - subscriptionId: This is a required property. The `subscriptionId`
-// is the subscription identifier and is unique for each customer.
-// Since a `subscriptionId` changes when a subscription is updated, we
-// recommend to not use this ID as a key for persistent data. And the
-// `subscriptionId` can be found using the retrieve all reseller
-// subscriptions method.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
+// - subscriptionId: This is a required property. The `subscriptionId`
+// is the subscription identifier and is unique for each customer.
+// Since a `subscriptionId` changes when a subscription is updated, we
+// recommend to not use this ID as a key for persistent data. And the
+// `subscriptionId` can be found using the retrieve all reseller
+// subscriptions method.
func (r *SubscriptionsService) ChangeRenewalSettings(customerId string, subscriptionId string, renewalsettings *RenewalSettings) *SubscriptionsChangeRenewalSettingsCall {
c := &SubscriptionsChangeRenewalSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -2453,18 +2453,18 @@ type SubscriptionsChangeSeatsCall struct {
// (/admin-sdk/reseller/v1/how-tos/manage_subscriptions#update_subscripti
// on_seat).
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
-// - subscriptionId: This is a required property. The `subscriptionId`
-// is the subscription identifier and is unique for each customer.
-// Since a `subscriptionId` changes when a subscription is updated, we
-// recommend to not use this ID as a key for persistent data. And the
-// `subscriptionId` can be found using the retrieve all reseller
-// subscriptions method.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
+// - subscriptionId: This is a required property. The `subscriptionId`
+// is the subscription identifier and is unique for each customer.
+// Since a `subscriptionId` changes when a subscription is updated, we
+// recommend to not use this ID as a key for persistent data. And the
+// `subscriptionId` can be found using the retrieve all reseller
+// subscriptions method.
func (r *SubscriptionsService) ChangeSeats(customerId string, subscriptionId string, seats *Seats) *SubscriptionsChangeSeatsCall {
c := &SubscriptionsChangeSeatsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -2614,20 +2614,20 @@ type SubscriptionsDeleteCall struct {
// Delete: Cancels, suspends, or transfers a subscription to direct.
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
-// - deletionType: The `deletionType` query string enables the
-// cancellation, downgrade, or suspension of a subscription.
-// - subscriptionId: This is a required property. The `subscriptionId`
-// is the subscription identifier and is unique for each customer.
-// Since a `subscriptionId` changes when a subscription is updated, we
-// recommend to not use this ID as a key for persistent data. And the
-// `subscriptionId` can be found using the retrieve all reseller
-// subscriptions method.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
+// - deletionType: The `deletionType` query string enables the
+// cancellation, downgrade, or suspension of a subscription.
+// - subscriptionId: This is a required property. The `subscriptionId`
+// is the subscription identifier and is unique for each customer.
+// Since a `subscriptionId` changes when a subscription is updated, we
+// recommend to not use this ID as a key for persistent data. And the
+// `subscriptionId` can be found using the retrieve all reseller
+// subscriptions method.
func (r *SubscriptionsService) Delete(customerId string, subscriptionId string, deletionType string) *SubscriptionsDeleteCall {
c := &SubscriptionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -2765,18 +2765,18 @@ type SubscriptionsGetCall struct {
// (/admin-sdk/reseller/v1/how-tos/manage_subscriptions#get_subscription)
// .
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
-// - subscriptionId: This is a required property. The `subscriptionId`
-// is the subscription identifier and is unique for each customer.
-// Since a `subscriptionId` changes when a subscription is updated, we
-// recommend to not use this ID as a key for persistent data. And the
-// `subscriptionId` can be found using the retrieve all reseller
-// subscriptions method.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
+// - subscriptionId: This is a required property. The `subscriptionId`
+// is the subscription identifier and is unique for each customer.
+// Since a `subscriptionId` changes when a subscription is updated, we
+// recommend to not use this ID as a key for persistent data. And the
+// `subscriptionId` can be found using the retrieve all reseller
+// subscriptions method.
func (r *SubscriptionsService) Get(customerId string, subscriptionId string) *SubscriptionsGetCall {
c := &SubscriptionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -2946,12 +2946,12 @@ type SubscriptionsInsertCall struct {
// (/admin-sdk/reseller/v1/how-tos/manage_subscriptions#transfer_a_subscr
// iption).
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
func (r *SubscriptionsService) Insert(customerId string, subscription *Subscription) *SubscriptionsInsertCall {
c := &SubscriptionsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -3351,18 +3351,18 @@ type SubscriptionsStartPaidServiceCall struct {
// subscription. For more information, see manage subscriptions
// (/admin-sdk/reseller/v1/how-tos/manage_subscriptions#paid_service).
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
-// - subscriptionId: This is a required property. The `subscriptionId`
-// is the subscription identifier and is unique for each customer.
-// Since a `subscriptionId` changes when a subscription is updated, we
-// recommend to not use this ID as a key for persistent data. And the
-// `subscriptionId` can be found using the retrieve all reseller
-// subscriptions method.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
+// - subscriptionId: This is a required property. The `subscriptionId`
+// is the subscription identifier and is unique for each customer.
+// Since a `subscriptionId` changes when a subscription is updated, we
+// recommend to not use this ID as a key for persistent data. And the
+// `subscriptionId` can be found using the retrieve all reseller
+// subscriptions method.
func (r *SubscriptionsService) StartPaidService(customerId string, subscriptionId string) *SubscriptionsStartPaidServiceCall {
c := &SubscriptionsStartPaidServiceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
@@ -3513,18 +3513,18 @@ type SubscriptionsSuspendCall struct {
// for short periods of time as suspensions over 60 days may result in
// the subscription being cancelled.
//
-// - customerId: This can be either the customer's primary domain name
-// or the customer's unique identifier. If the domain name for a
-// customer changes, the old domain name cannot be used to access the
-// customer, but the customer's unique identifier (as returned by the
-// API) can always be used. We recommend storing the unique identifier
-// in your systems where applicable.
-// - subscriptionId: This is a required property. The `subscriptionId`
-// is the subscription identifier and is unique for each customer.
-// Since a `subscriptionId` changes when a subscription is updated, we
-// recommend to not use this ID as a key for persistent data. And the
-// `subscriptionId` can be found using the retrieve all reseller
-// subscriptions method.
+// - customerId: This can be either the customer's primary domain name
+// or the customer's unique identifier. If the domain name for a
+// customer changes, the old domain name cannot be used to access the
+// customer, but the customer's unique identifier (as returned by the
+// API) can always be used. We recommend storing the unique identifier
+// in your systems where applicable.
+// - subscriptionId: This is a required property. The `subscriptionId`
+// is the subscription identifier and is unique for each customer.
+// Since a `subscriptionId` changes when a subscription is updated, we
+// recommend to not use this ID as a key for persistent data. And the
+// `subscriptionId` can be found using the retrieve all reseller
+// subscriptions method.
func (r *SubscriptionsService) Suspend(customerId string, subscriptionId string) *SubscriptionsSuspendCall {
c := &SubscriptionsSuspendCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.customerId = customerId
diff --git a/resourcesettings/v1/resourcesettings-gen.go b/resourcesettings/v1/resourcesettings-gen.go
index d5a5a954c61..5c6e7ab8737 100644
--- a/resourcesettings/v1/resourcesettings-gen.go
+++ b/resourcesettings/v1/resourcesettings-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/resource-manager/docs/resource-settings/overview
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/resourcesettings/v1"
-// ...
-// ctx := context.Background()
-// resourcesettingsService, err := resourcesettings.NewService(ctx)
+// import "google.golang.org/api/resourcesettings/v1"
+// ...
+// ctx := context.Background()
+// resourcesettingsService, err := resourcesettings.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// resourcesettingsService, err := resourcesettings.NewService(ctx, option.WithAPIKey("AIza..."))
+// resourcesettingsService, err := resourcesettings.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// resourcesettingsService, err := resourcesettings.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// resourcesettingsService, err := resourcesettings.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package resourcesettings // import "google.golang.org/api/resourcesettings/v1"
@@ -511,8 +511,8 @@ type FoldersSettingsGetCall struct {
// Get: Returns a specified setting. Returns a `google.rpc.Status` with
// `google.rpc.Code.NOT_FOUND` if the setting does not exist.
//
-// - name: The name of the setting to get. See Setting for naming
-// requirements.
+// - name: The name of the setting to get. See Setting for naming
+// requirements.
func (r *FoldersSettingsService) Get(name string) *FoldersSettingsGetCall {
c := &FoldersSettingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -523,13 +523,21 @@ func (r *FoldersSettingsService) Get(name string) *FoldersSettingsGetCall {
// request.
//
// Possible values:
-// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
+// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
// will default to the SETTING_VIEW_BASIC view.
-// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
+// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
// This is the default value (for both ListSettings and GetSetting).
-// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
+// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
// but nothing else.
-// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
+// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
// nothing else.
func (c *FoldersSettingsGetCall) View(view string) *FoldersSettingsGetCall {
c.urlParams_.Set("view", view)
@@ -694,10 +702,10 @@ type FoldersSettingsListCall struct {
// List: Lists all the settings that are available on the Cloud resource
// `parent`.
//
-// - parent: The project, folder, or organization that is the parent
-// resource for this setting. Must be in one of the following forms: *
-// `projects/{project_number}` * `projects/{project_id}` *
-// `folders/{folder_id}` * `organizations/{organization_id}`.
+// - parent: The project, folder, or organization that is the parent
+// resource for this setting. Must be in one of the following forms: *
+// `projects/{project_number}` * `projects/{project_id}` *
+// `folders/{folder_id}` * `organizations/{organization_id}`.
func (r *FoldersSettingsService) List(parent string) *FoldersSettingsListCall {
c := &FoldersSettingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -722,13 +730,21 @@ func (c *FoldersSettingsListCall) PageToken(pageToken string) *FoldersSettingsLi
// request.
//
// Possible values:
-// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
+// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
// will default to the SETTING_VIEW_BASIC view.
-// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
+// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
// This is the default value (for both ListSettings and GetSetting).
-// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
+// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
// but nothing else.
-// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
+// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
// nothing else.
func (c *FoldersSettingsListCall) View(view string) *FoldersSettingsListCall {
c.urlParams_.Set("view", view)
@@ -935,12 +951,12 @@ type FoldersSettingsPatchCall struct {
// Note: the supplied setting will perform a full overwrite of the
// `local_value` field.
//
-// - name: The resource name of the setting. Must be in one of the
-// following forms: *
-// `projects/{project_number}/settings/{setting_name}` *
-// `folders/{folder_id}/settings/{setting_name}` *
-// `organizations/{organization_id}/settings/{setting_name}` For
-// example, "/projects/123/settings/gcp-enableMyFeature".
+// - name: The resource name of the setting. Must be in one of the
+// following forms: *
+// `projects/{project_number}/settings/{setting_name}` *
+// `folders/{folder_id}/settings/{setting_name}` *
+// `organizations/{organization_id}/settings/{setting_name}` For
+// example, "/projects/123/settings/gcp-enableMyFeature".
func (r *FoldersSettingsService) Patch(name string, googlecloudresourcesettingsv1setting *GoogleCloudResourcesettingsV1Setting) *FoldersSettingsPatchCall {
c := &FoldersSettingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1084,8 +1100,8 @@ type OrganizationsSettingsGetCall struct {
// Get: Returns a specified setting. Returns a `google.rpc.Status` with
// `google.rpc.Code.NOT_FOUND` if the setting does not exist.
//
-// - name: The name of the setting to get. See Setting for naming
-// requirements.
+// - name: The name of the setting to get. See Setting for naming
+// requirements.
func (r *OrganizationsSettingsService) Get(name string) *OrganizationsSettingsGetCall {
c := &OrganizationsSettingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1096,13 +1112,21 @@ func (r *OrganizationsSettingsService) Get(name string) *OrganizationsSettingsGe
// request.
//
// Possible values:
-// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
+// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
// will default to the SETTING_VIEW_BASIC view.
-// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
+// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
// This is the default value (for both ListSettings and GetSetting).
-// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
+// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
// but nothing else.
-// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
+// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
// nothing else.
func (c *OrganizationsSettingsGetCall) View(view string) *OrganizationsSettingsGetCall {
c.urlParams_.Set("view", view)
@@ -1267,10 +1291,10 @@ type OrganizationsSettingsListCall struct {
// List: Lists all the settings that are available on the Cloud resource
// `parent`.
//
-// - parent: The project, folder, or organization that is the parent
-// resource for this setting. Must be in one of the following forms: *
-// `projects/{project_number}` * `projects/{project_id}` *
-// `folders/{folder_id}` * `organizations/{organization_id}`.
+// - parent: The project, folder, or organization that is the parent
+// resource for this setting. Must be in one of the following forms: *
+// `projects/{project_number}` * `projects/{project_id}` *
+// `folders/{folder_id}` * `organizations/{organization_id}`.
func (r *OrganizationsSettingsService) List(parent string) *OrganizationsSettingsListCall {
c := &OrganizationsSettingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1295,13 +1319,21 @@ func (c *OrganizationsSettingsListCall) PageToken(pageToken string) *Organizatio
// request.
//
// Possible values:
-// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
+// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
// will default to the SETTING_VIEW_BASIC view.
-// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
+// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
// This is the default value (for both ListSettings and GetSetting).
-// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
+// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
// but nothing else.
-// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
+// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
// nothing else.
func (c *OrganizationsSettingsListCall) View(view string) *OrganizationsSettingsListCall {
c.urlParams_.Set("view", view)
@@ -1508,12 +1540,12 @@ type OrganizationsSettingsPatchCall struct {
// Note: the supplied setting will perform a full overwrite of the
// `local_value` field.
//
-// - name: The resource name of the setting. Must be in one of the
-// following forms: *
-// `projects/{project_number}/settings/{setting_name}` *
-// `folders/{folder_id}/settings/{setting_name}` *
-// `organizations/{organization_id}/settings/{setting_name}` For
-// example, "/projects/123/settings/gcp-enableMyFeature".
+// - name: The resource name of the setting. Must be in one of the
+// following forms: *
+// `projects/{project_number}/settings/{setting_name}` *
+// `folders/{folder_id}/settings/{setting_name}` *
+// `organizations/{organization_id}/settings/{setting_name}` For
+// example, "/projects/123/settings/gcp-enableMyFeature".
func (r *OrganizationsSettingsService) Patch(name string, googlecloudresourcesettingsv1setting *GoogleCloudResourcesettingsV1Setting) *OrganizationsSettingsPatchCall {
c := &OrganizationsSettingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1657,8 +1689,8 @@ type ProjectsSettingsGetCall struct {
// Get: Returns a specified setting. Returns a `google.rpc.Status` with
// `google.rpc.Code.NOT_FOUND` if the setting does not exist.
//
-// - name: The name of the setting to get. See Setting for naming
-// requirements.
+// - name: The name of the setting to get. See Setting for naming
+// requirements.
func (r *ProjectsSettingsService) Get(name string) *ProjectsSettingsGetCall {
c := &ProjectsSettingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1669,13 +1701,21 @@ func (r *ProjectsSettingsService) Get(name string) *ProjectsSettingsGetCall {
// request.
//
// Possible values:
-// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
+// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
// will default to the SETTING_VIEW_BASIC view.
-// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
+// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
// This is the default value (for both ListSettings and GetSetting).
-// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
+// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
// but nothing else.
-// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
+// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
// nothing else.
func (c *ProjectsSettingsGetCall) View(view string) *ProjectsSettingsGetCall {
c.urlParams_.Set("view", view)
@@ -1840,10 +1880,10 @@ type ProjectsSettingsListCall struct {
// List: Lists all the settings that are available on the Cloud resource
// `parent`.
//
-// - parent: The project, folder, or organization that is the parent
-// resource for this setting. Must be in one of the following forms: *
-// `projects/{project_number}` * `projects/{project_id}` *
-// `folders/{folder_id}` * `organizations/{organization_id}`.
+// - parent: The project, folder, or organization that is the parent
+// resource for this setting. Must be in one of the following forms: *
+// `projects/{project_number}` * `projects/{project_id}` *
+// `folders/{folder_id}` * `organizations/{organization_id}`.
func (r *ProjectsSettingsService) List(parent string) *ProjectsSettingsListCall {
c := &ProjectsSettingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1868,13 +1908,21 @@ func (c *ProjectsSettingsListCall) PageToken(pageToken string) *ProjectsSettings
// request.
//
// Possible values:
-// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
+// "SETTING_VIEW_UNSPECIFIED" - The default / unset value. The API
+//
// will default to the SETTING_VIEW_BASIC view.
-// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
+// "SETTING_VIEW_BASIC" - Include Setting.metadata, but nothing else.
+//
// This is the default value (for both ListSettings and GetSetting).
-// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
+// "SETTING_VIEW_EFFECTIVE_VALUE" - Include Setting.effective_value,
+//
// but nothing else.
-// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
+// "SETTING_VIEW_LOCAL_VALUE" - Include Setting.local_value, but
+//
// nothing else.
func (c *ProjectsSettingsListCall) View(view string) *ProjectsSettingsListCall {
c.urlParams_.Set("view", view)
@@ -2081,12 +2129,12 @@ type ProjectsSettingsPatchCall struct {
// Note: the supplied setting will perform a full overwrite of the
// `local_value` field.
//
-// - name: The resource name of the setting. Must be in one of the
-// following forms: *
-// `projects/{project_number}/settings/{setting_name}` *
-// `folders/{folder_id}/settings/{setting_name}` *
-// `organizations/{organization_id}/settings/{setting_name}` For
-// example, "/projects/123/settings/gcp-enableMyFeature".
+// - name: The resource name of the setting. Must be in one of the
+// following forms: *
+// `projects/{project_number}/settings/{setting_name}` *
+// `folders/{folder_id}/settings/{setting_name}` *
+// `organizations/{organization_id}/settings/{setting_name}` For
+// example, "/projects/123/settings/gcp-enableMyFeature".
func (r *ProjectsSettingsService) Patch(name string, googlecloudresourcesettingsv1setting *GoogleCloudResourcesettingsV1Setting) *ProjectsSettingsPatchCall {
c := &ProjectsSettingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go
index 0834d8fa2ed..1d67fe80bfc 100644
--- a/retail/v2/retail-gen.go
+++ b/retail/v2/retail-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/recommendations
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/retail/v2"
-// ...
-// ctx := context.Background()
-// retailService, err := retail.NewService(ctx)
+// import "google.golang.org/api/retail/v2"
+// ...
+// ctx := context.Background()
+// retailService, err := retail.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// retailService, err := retail.NewService(ctx, option.WithAPIKey("AIza..."))
+// retailService, err := retail.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// retailService, err := retail.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// retailService, err := retail.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package retail // import "google.golang.org/api/retail/v2"
@@ -6844,9 +6844,9 @@ type ProjectsLocationsCatalogsCompleteQueryCall struct {
// Search enabled. Please enable Retail Search on Cloud Console before
// using this feature.
//
-// - catalog: Catalog for which the completion is performed. Full
-// resource name of catalog, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - catalog: Catalog for which the completion is performed. Full
+// resource name of catalog, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsService) CompleteQuery(catalog string) *ProjectsLocationsCatalogsCompleteQueryCall {
c := &ProjectsLocationsCatalogsCompleteQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.catalog = catalog
@@ -7095,9 +7095,9 @@ type ProjectsLocationsCatalogsGetAttributesConfigCall struct {
// GetAttributesConfig: Gets an AttributesConfig.
//
-// - name: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - name: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsService) GetAttributesConfig(name string) *ProjectsLocationsCatalogsGetAttributesConfigCall {
c := &ProjectsLocationsCatalogsGetAttributesConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7244,9 +7244,9 @@ type ProjectsLocationsCatalogsGetCompletionConfigCall struct {
// GetCompletionConfig: Gets a CompletionConfig.
//
-// - name: Full CompletionConfig resource name. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/completionConfig.
+// - name: Full CompletionConfig resource name. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/completionConfig.
func (r *ProjectsLocationsCatalogsService) GetCompletionConfig(name string) *ProjectsLocationsCatalogsGetCompletionConfigCall {
c := &ProjectsLocationsCatalogsGetCompletionConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7395,8 +7395,8 @@ type ProjectsLocationsCatalogsGetDefaultBranchCall struct {
// CatalogService.SetDefaultBranch method under a specified parent
// catalog.
//
-// - catalog: The parent catalog resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - catalog: The parent catalog resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsService) GetDefaultBranch(catalog string) *ProjectsLocationsCatalogsGetDefaultBranchCall {
c := &ProjectsLocationsCatalogsGetDefaultBranchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.catalog = catalog
@@ -7544,10 +7544,10 @@ type ProjectsLocationsCatalogsListCall struct {
// List: Lists all the Catalogs associated with the project.
//
-// - parent: The account resource name with an associated location. If
-// the caller does not have permission to list Catalogs under this
-// location, regardless of whether or not this location exists, a
-// PERMISSION_DENIED error is returned.
+// - parent: The account resource name with an associated location. If
+// the caller does not have permission to list Catalogs under this
+// location, regardless of whether or not this location exists, a
+// PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsService) List(parent string) *ProjectsLocationsCatalogsListCall {
c := &ProjectsLocationsCatalogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7922,8 +7922,8 @@ type ProjectsLocationsCatalogsSetDefaultBranchCall struct {
// {newBranch} (if branch is not explicitly set). * UserEventService
// will only join events with products from branch {newBranch}.
//
-// - catalog: Full resource name of the catalog, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - catalog: Full resource name of the catalog, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsService) SetDefaultBranch(catalog string, googlecloudretailv2setdefaultbranchrequest *GoogleCloudRetailV2SetDefaultBranchRequest) *ProjectsLocationsCatalogsSetDefaultBranchCall {
c := &ProjectsLocationsCatalogsSetDefaultBranchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.catalog = catalog
@@ -8072,9 +8072,9 @@ type ProjectsLocationsCatalogsUpdateAttributesConfigCall struct {
// missing catalog attribute fields, e.g., searchable and dynamic
// facetable options.
//
-// - name: Immutable. The fully qualified resource name of the attribute
-// config. Format:
-// `projects/*/locations/*/catalogs/*/attributesConfig`.
+// - name: Immutable. The fully qualified resource name of the attribute
+// config. Format:
+// `projects/*/locations/*/catalogs/*/attributesConfig`.
func (r *ProjectsLocationsCatalogsService) UpdateAttributesConfig(name string, googlecloudretailv2attributesconfig *GoogleCloudRetailV2AttributesConfig) *ProjectsLocationsCatalogsUpdateAttributesConfigCall {
c := &ProjectsLocationsCatalogsUpdateAttributesConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8232,8 +8232,8 @@ type ProjectsLocationsCatalogsUpdateCompletionConfigCall struct {
// UpdateCompletionConfig: Updates the CompletionConfigs.
//
-// - name: Immutable. Fully qualified name
-// `projects/*/locations/*/catalogs/*/completionConfig`.
+// - name: Immutable. Fully qualified name
+// `projects/*/locations/*/catalogs/*/completionConfig`.
func (r *ProjectsLocationsCatalogsService) UpdateCompletionConfig(name string, googlecloudretailv2completionconfig *GoogleCloudRetailV2CompletionConfig) *ProjectsLocationsCatalogsUpdateCompletionConfigCall {
c := &ProjectsLocationsCatalogsUpdateCompletionConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8395,9 +8395,9 @@ type ProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeCall struct {
// AttributesConfig. If the CatalogAttribute to add already exists, an
// ALREADY_EXISTS error is returned.
//
-// - attributesConfig: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) AddCatalogAttribute(attributesConfig string, googlecloudretailv2addcatalogattributerequest *GoogleCloudRetailV2AddCatalogAttributeRequest) *ProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeCall {
c := &ProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -8542,9 +8542,9 @@ type ProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeCall struct
// the AttributesConfig. If the CatalogAttribute to remove does not
// exist, a NOT_FOUND error is returned.
//
-// - attributesConfig: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) RemoveCatalogAttribute(attributesConfig string, googlecloudretailv2removecatalogattributerequest *GoogleCloudRetailV2RemoveCatalogAttributeRequest) *ProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeCall {
c := &ProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -8844,11 +8844,11 @@ type ProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesCall struct {
// enabled. Please enable Retail Search on Cloud Console before using
// this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) AddFulfillmentPlaces(product string, googlecloudretailv2addfulfillmentplacesrequest *GoogleCloudRetailV2AddFulfillmentPlacesRequest) *ProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesCall {
c := &ProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -9002,11 +9002,11 @@ type ProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesCall struct {
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) AddLocalInventories(product string, googlecloudretailv2addlocalinventoriesrequest *GoogleCloudRetailV2AddLocalInventoriesRequest) *ProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesCall {
c := &ProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -9148,9 +9148,9 @@ type ProjectsLocationsCatalogsBranchesProductsCreateCall struct {
// Create: Creates a Product.
//
-// - parent: The parent catalog resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch`.
+// - parent: The parent catalog resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Create(parent string, googlecloudretailv2product *GoogleCloudRetailV2Product) *ProjectsLocationsCatalogsBranchesProductsCreateCall {
c := &ProjectsLocationsCatalogsBranchesProductsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9309,16 +9309,16 @@ type ProjectsLocationsCatalogsBranchesProductsDeleteCall struct {
// Delete: Deletes a Product.
//
-// - name: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to delete the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned. If the Product to
-// delete does not exist, a NOT_FOUND error is returned. The Product
-// to delete can neither be a Product.Type.COLLECTION Product member
-// nor a Product.Type.PRIMARY Product with more than one variants.
-// Otherwise, an INVALID_ARGUMENT error is returned. All inventory
-// information for the named Product will be deleted.
+// - name: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to delete the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned. If the Product to
+// delete does not exist, a NOT_FOUND error is returned. The Product
+// to delete can neither be a Product.Type.COLLECTION Product member
+// nor a Product.Type.PRIMARY Product with more than one variants.
+// Otherwise, an INVALID_ARGUMENT error is returned. All inventory
+// information for the named Product will be deleted.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Delete(name string) *ProjectsLocationsCatalogsBranchesProductsDeleteCall {
c := &ProjectsLocationsCatalogsBranchesProductsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9451,12 +9451,12 @@ type ProjectsLocationsCatalogsBranchesProductsGetCall struct {
// Get: Gets a Product.
//
-// - name: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned. If the requested
-// Product does not exist, a NOT_FOUND error is returned.
+// - name: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned. If the requested
+// Product does not exist, a NOT_FOUND error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Get(name string) *ProjectsLocationsCatalogsBranchesProductsGetCall {
c := &ProjectsLocationsCatalogsBranchesProductsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9604,11 +9604,11 @@ type ProjectsLocationsCatalogsBranchesProductsImportCall struct {
// synchronous. Non-existing items are created. Note that it is possible
// for a subset of the Products to be successfully updated.
//
-// - parent:
-// `projects/1234/locations/global/catalogs/default_catalog/branches/de
-// fault_branch` If no updateMask is specified, requires
-// products.create permission. If updateMask is specified, requires
-// products.update permission.
+// - parent:
+// `projects/1234/locations/global/catalogs/default_catalog/branches/de
+// fault_branch` If no updateMask is specified, requires
+// products.create permission. If updateMask is specified, requires
+// products.update permission.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Import(parent string, googlecloudretailv2importproductsrequest *GoogleCloudRetailV2ImportProductsRequest) *ProjectsLocationsCatalogsBranchesProductsImportCall {
c := &ProjectsLocationsCatalogsBranchesProductsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9750,12 +9750,12 @@ type ProjectsLocationsCatalogsBranchesProductsListCall struct {
// List: Gets a list of Products.
//
-// - parent: The parent branch resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/0`.
-// Use `default_branch` as the branch ID, to list products under the
-// default branch. If the caller does not have permission to list
-// Products under this branch, regardless of whether or not this
-// branch exists, a PERMISSION_DENIED error is returned.
+// - parent: The parent branch resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/0`.
+// Use `default_branch` as the branch ID, to list products under the
+// default branch. If the caller does not have permission to list
+// Products under this branch, regardless of whether or not this
+// branch exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) List(parent string) *ProjectsLocationsCatalogsBranchesProductsListCall {
c := &ProjectsLocationsCatalogsBranchesProductsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9995,9 +9995,9 @@ type ProjectsLocationsCatalogsBranchesProductsPatchCall struct {
// Patch: Updates a Product.
//
-// - name: Immutable. Full resource name of the product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/product_id`.
+// - name: Immutable. Full resource name of the product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/product_id`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Patch(name string, googlecloudretailv2product *GoogleCloudRetailV2Product) *ProjectsLocationsCatalogsBranchesProductsPatchCall {
c := &ProjectsLocationsCatalogsBranchesProductsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10181,11 +10181,11 @@ type ProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesCall struct
// enabled. Please enable Retail Search on Cloud Console before using
// this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) RemoveFulfillmentPlaces(product string, googlecloudretailv2removefulfillmentplacesrequest *GoogleCloudRetailV2RemoveFulfillmentPlacesRequest) *ProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesCall {
c := &ProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -10337,11 +10337,11 @@ type ProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesCall struct
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) RemoveLocalInventories(product string, googlecloudretailv2removelocalinventoriesrequest *GoogleCloudRetailV2RemoveLocalInventoriesRequest) *ProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesCall {
c := &ProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -10505,9 +10505,9 @@ type ProjectsLocationsCatalogsBranchesProductsSetInventoryCall struct {
// available for users who have Retail Search enabled. Please enable
// Retail Search on Cloud Console before using this feature.
//
-// - name: Immutable. Full resource name of the product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/product_id`.
+// - name: Immutable. Full resource name of the product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/product_id`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) SetInventory(name string, googlecloudretailv2setinventoryrequest *GoogleCloudRetailV2SetInventoryRequest) *ProjectsLocationsCatalogsBranchesProductsSetInventoryCall {
c := &ProjectsLocationsCatalogsBranchesProductsSetInventoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10655,8 +10655,8 @@ type ProjectsLocationsCatalogsCompletionDataImportCall struct {
// have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - parent: The catalog which the suggestions dataset belongs to.
-// Format: `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The catalog which the suggestions dataset belongs to.
+// Format: `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsCompletionDataService) Import(parent string, googlecloudretailv2importcompletiondatarequest *GoogleCloudRetailV2ImportCompletionDataRequest) *ProjectsLocationsCatalogsCompletionDataImportCall {
c := &ProjectsLocationsCatalogsCompletionDataImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11160,19 +11160,19 @@ type ProjectsLocationsCatalogsPlacementsPredictCall struct {
// Predict: Makes a recommendation prediction.
//
-// - placement: Full resource name of the format:
-// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
-// vingConfigs/*}` or
-// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
-// cements/*}`. We recommend using the `servingConfigs` resource.
-// `placements` is a legacy resource. The ID of the Recommendations AI
-// serving config or placement. Before you can request predictions
-// from your model, you must create at least one serving config or
-// placement for it. For more information, see [Managing serving
-// configurations]
-// (https://cloud.google.com/retail/docs/manage-configs). The full
-// list of available serving configs can be seen at
-// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
+// - placement: Full resource name of the format:
+// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
+// vingConfigs/*}` or
+// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
+// cements/*}`. We recommend using the `servingConfigs` resource.
+// `placements` is a legacy resource. The ID of the Recommendations AI
+// serving config or placement. Before you can request predictions
+// from your model, you must create at least one serving config or
+// placement for it. For more information, see [Managing serving
+// configurations]
+// (https://cloud.google.com/retail/docs/manage-configs). The full
+// list of available serving configs can be seen at
+// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
func (r *ProjectsLocationsCatalogsPlacementsService) Predict(placement string, googlecloudretailv2predictrequest *GoogleCloudRetailV2PredictRequest) *ProjectsLocationsCatalogsPlacementsPredictCall {
c := &ProjectsLocationsCatalogsPlacementsPredictCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -11317,15 +11317,15 @@ type ProjectsLocationsCatalogsPlacementsSearchCall struct {
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - placement: The resource name of the Retail Search serving config,
-// such as
-// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
-// /default_serving_config` or the name of the legacy placement
-// resource, such as
-// `projects/*/locations/global/catalogs/default_catalog/placements/def
-// ault_search`. This field is used to identify the serving
-// configuration name and the set of models that will be used to make
-// the search.
+// - placement: The resource name of the Retail Search serving config,
+// such as
+// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
+// /default_serving_config` or the name of the legacy placement
+// resource, such as
+// `projects/*/locations/global/catalogs/default_catalog/placements/def
+// ault_search`. This field is used to identify the serving
+// configuration name and the set of models that will be used to make
+// the search.
func (r *ProjectsLocationsCatalogsPlacementsService) Search(placement string, googlecloudretailv2searchrequest *GoogleCloudRetailV2SearchRequest) *ProjectsLocationsCatalogsPlacementsSearchCall {
c := &ProjectsLocationsCatalogsPlacementsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -11489,19 +11489,19 @@ type ProjectsLocationsCatalogsServingConfigsPredictCall struct {
// Predict: Makes a recommendation prediction.
//
-// - placement: Full resource name of the format:
-// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
-// vingConfigs/*}` or
-// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
-// cements/*}`. We recommend using the `servingConfigs` resource.
-// `placements` is a legacy resource. The ID of the Recommendations AI
-// serving config or placement. Before you can request predictions
-// from your model, you must create at least one serving config or
-// placement for it. For more information, see [Managing serving
-// configurations]
-// (https://cloud.google.com/retail/docs/manage-configs). The full
-// list of available serving configs can be seen at
-// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
+// - placement: Full resource name of the format:
+// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
+// vingConfigs/*}` or
+// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
+// cements/*}`. We recommend using the `servingConfigs` resource.
+// `placements` is a legacy resource. The ID of the Recommendations AI
+// serving config or placement. Before you can request predictions
+// from your model, you must create at least one serving config or
+// placement for it. For more information, see [Managing serving
+// configurations]
+// (https://cloud.google.com/retail/docs/manage-configs). The full
+// list of available serving configs can be seen at
+// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
func (r *ProjectsLocationsCatalogsServingConfigsService) Predict(placement string, googlecloudretailv2predictrequest *GoogleCloudRetailV2PredictRequest) *ProjectsLocationsCatalogsServingConfigsPredictCall {
c := &ProjectsLocationsCatalogsServingConfigsPredictCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -11646,15 +11646,15 @@ type ProjectsLocationsCatalogsServingConfigsSearchCall struct {
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - placement: The resource name of the Retail Search serving config,
-// such as
-// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
-// /default_serving_config` or the name of the legacy placement
-// resource, such as
-// `projects/*/locations/global/catalogs/default_catalog/placements/def
-// ault_search`. This field is used to identify the serving
-// configuration name and the set of models that will be used to make
-// the search.
+// - placement: The resource name of the Retail Search serving config,
+// such as
+// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
+// /default_serving_config` or the name of the legacy placement
+// resource, such as
+// `projects/*/locations/global/catalogs/default_catalog/placements/def
+// ault_search`. This field is used to identify the serving
+// configuration name and the set of models that will be used to make
+// the search.
func (r *ProjectsLocationsCatalogsServingConfigsService) Search(placement string, googlecloudretailv2searchrequest *GoogleCloudRetailV2SearchRequest) *ProjectsLocationsCatalogsServingConfigsSearchCall {
c := &ProjectsLocationsCatalogsServingConfigsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -11821,8 +11821,8 @@ type ProjectsLocationsCatalogsUserEventsCollectCall struct {
// domain. This method is used only by the Retail API JavaScript pixel
// and Google Tag Manager. Users should not call this method directly.
//
-// - parent: The parent catalog name, such as
-// `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog name, such as
+// `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsUserEventsService) Collect(parent string) *ProjectsLocationsCatalogsUserEventsCollectCall {
c := &ProjectsLocationsCatalogsUserEventsCollectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12158,9 +12158,9 @@ type ProjectsLocationsCatalogsUserEventsPurgeCall struct {
// this operation could take hours or days to complete. To test a
// filter, use the list command first.
//
-// - parent: The resource name of the catalog under which the events are
-// created. The format is
-// `projects/${projectId}/locations/global/catalogs/${catalogId}`.
+// - parent: The resource name of the catalog under which the events are
+// created. The format is
+// `projects/${projectId}/locations/global/catalogs/${catalogId}`.
func (r *ProjectsLocationsCatalogsUserEventsService) Purge(parent string, googlecloudretailv2purgeusereventsrequest *GoogleCloudRetailV2PurgeUserEventsRequest) *ProjectsLocationsCatalogsUserEventsPurgeCall {
c := &ProjectsLocationsCatalogsUserEventsPurgeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12310,8 +12310,8 @@ type ProjectsLocationsCatalogsUserEventsRejoinCall struct {
// joined with the wrong product catalog. A rejoin operation can take
// hours or days to complete.
//
-// - parent: The parent catalog resource name, such as
-// `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog resource name, such as
+// `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsUserEventsService) Rejoin(parent string, googlecloudretailv2rejoinusereventsrequest *GoogleCloudRetailV2RejoinUserEventsRequest) *ProjectsLocationsCatalogsUserEventsRejoinCall {
c := &ProjectsLocationsCatalogsUserEventsRejoinCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12453,8 +12453,8 @@ type ProjectsLocationsCatalogsUserEventsWriteCall struct {
// Write: Writes a single user event.
//
-// - parent: The parent catalog resource name, such as
-// `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog resource name, such as
+// `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsUserEventsService) Write(parent string, googlecloudretailv2userevent *GoogleCloudRetailV2UserEvent) *ProjectsLocationsCatalogsUserEventsWriteCall {
c := &ProjectsLocationsCatalogsUserEventsWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go
index f8bf6193e1e..1e905021dfb 100644
--- a/retail/v2alpha/retail-gen.go
+++ b/retail/v2alpha/retail-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/recommendations
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/retail/v2alpha"
-// ...
-// ctx := context.Background()
-// retailService, err := retail.NewService(ctx)
+// import "google.golang.org/api/retail/v2alpha"
+// ...
+// ctx := context.Background()
+// retailService, err := retail.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// retailService, err := retail.NewService(ctx, option.WithAPIKey("AIza..."))
+// retailService, err := retail.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// retailService, err := retail.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// retailService, err := retail.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package retail // import "google.golang.org/api/retail/v2alpha"
@@ -8106,9 +8106,9 @@ type ProjectsLocationsCatalogsCompleteQueryCall struct {
// Search enabled. Please enable Retail Search on Cloud Console before
// using this feature.
//
-// - catalog: Catalog for which the completion is performed. Full
-// resource name of catalog, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - catalog: Catalog for which the completion is performed. Full
+// resource name of catalog, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsService) CompleteQuery(catalog string) *ProjectsLocationsCatalogsCompleteQueryCall {
c := &ProjectsLocationsCatalogsCompleteQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.catalog = catalog
@@ -8357,9 +8357,9 @@ type ProjectsLocationsCatalogsGetAttributesConfigCall struct {
// GetAttributesConfig: Gets an AttributesConfig.
//
-// - name: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - name: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsService) GetAttributesConfig(name string) *ProjectsLocationsCatalogsGetAttributesConfigCall {
c := &ProjectsLocationsCatalogsGetAttributesConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8507,9 +8507,9 @@ type ProjectsLocationsCatalogsGetCompletionConfigCall struct {
// GetCompletionConfig: Gets a CompletionConfig.
//
-// - name: Full CompletionConfig resource name. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/completionConfig.
+// - name: Full CompletionConfig resource name. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/completionConfig.
func (r *ProjectsLocationsCatalogsService) GetCompletionConfig(name string) *ProjectsLocationsCatalogsGetCompletionConfigCall {
c := &ProjectsLocationsCatalogsGetCompletionConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8659,8 +8659,8 @@ type ProjectsLocationsCatalogsGetDefaultBranchCall struct {
// CatalogService.SetDefaultBranch method under a specified parent
// catalog.
//
-// - catalog: The parent catalog resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - catalog: The parent catalog resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsService) GetDefaultBranch(catalog string) *ProjectsLocationsCatalogsGetDefaultBranchCall {
c := &ProjectsLocationsCatalogsGetDefaultBranchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.catalog = catalog
@@ -8808,10 +8808,10 @@ type ProjectsLocationsCatalogsListCall struct {
// List: Lists all the Catalogs associated with the project.
//
-// - parent: The account resource name with an associated location. If
-// the caller does not have permission to list Catalogs under this
-// location, regardless of whether or not this location exists, a
-// PERMISSION_DENIED error is returned.
+// - parent: The account resource name with an associated location. If
+// the caller does not have permission to list Catalogs under this
+// location, regardless of whether or not this location exists, a
+// PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsService) List(parent string) *ProjectsLocationsCatalogsListCall {
c := &ProjectsLocationsCatalogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9187,8 +9187,8 @@ type ProjectsLocationsCatalogsSetDefaultBranchCall struct {
// {newBranch} (if branch is not explicitly set). * UserEventService
// will only join events with products from branch {newBranch}.
//
-// - catalog: Full resource name of the catalog, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - catalog: Full resource name of the catalog, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsService) SetDefaultBranch(catalog string, googlecloudretailv2alphasetdefaultbranchrequest *GoogleCloudRetailV2alphaSetDefaultBranchRequest) *ProjectsLocationsCatalogsSetDefaultBranchCall {
c := &ProjectsLocationsCatalogsSetDefaultBranchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.catalog = catalog
@@ -9337,9 +9337,9 @@ type ProjectsLocationsCatalogsUpdateAttributesConfigCall struct {
// missing catalog attribute fields, e.g., searchable and dynamic
// facetable options.
//
-// - name: Immutable. The fully qualified resource name of the attribute
-// config. Format:
-// `projects/*/locations/*/catalogs/*/attributesConfig`.
+// - name: Immutable. The fully qualified resource name of the attribute
+// config. Format:
+// `projects/*/locations/*/catalogs/*/attributesConfig`.
func (r *ProjectsLocationsCatalogsService) UpdateAttributesConfig(name string, googlecloudretailv2alphaattributesconfig *GoogleCloudRetailV2alphaAttributesConfig) *ProjectsLocationsCatalogsUpdateAttributesConfigCall {
c := &ProjectsLocationsCatalogsUpdateAttributesConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9498,8 +9498,8 @@ type ProjectsLocationsCatalogsUpdateCompletionConfigCall struct {
// UpdateCompletionConfig: Updates the CompletionConfigs.
//
-// - name: Immutable. Fully qualified name
-// `projects/*/locations/*/catalogs/*/completionConfig`.
+// - name: Immutable. Fully qualified name
+// `projects/*/locations/*/catalogs/*/completionConfig`.
func (r *ProjectsLocationsCatalogsService) UpdateCompletionConfig(name string, googlecloudretailv2alphacompletionconfig *GoogleCloudRetailV2alphaCompletionConfig) *ProjectsLocationsCatalogsUpdateCompletionConfigCall {
c := &ProjectsLocationsCatalogsUpdateCompletionConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9662,9 +9662,9 @@ type ProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeCall struct {
// AttributesConfig. If the CatalogAttribute to add already exists, an
// ALREADY_EXISTS error is returned.
//
-// - attributesConfig: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) AddCatalogAttribute(attributesConfig string, googlecloudretailv2alphaaddcatalogattributerequest *GoogleCloudRetailV2alphaAddCatalogAttributeRequest) *ProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeCall {
c := &ProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -9809,10 +9809,10 @@ type ProjectsLocationsCatalogsAttributesConfigBatchRemoveCatalogAttributesCall s
// BatchRemoveCatalogAttributes: Removes all specified CatalogAttributes
// from the AttributesConfig.
//
-// - attributesConfig: The attributes config resource shared by all
-// catalog attributes being deleted. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: The attributes config resource shared by all
+// catalog attributes being deleted. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) BatchRemoveCatalogAttributes(attributesConfig string, googlecloudretailv2alphabatchremovecatalogattributesrequest *GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest) *ProjectsLocationsCatalogsAttributesConfigBatchRemoveCatalogAttributesCall {
c := &ProjectsLocationsCatalogsAttributesConfigBatchRemoveCatalogAttributesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -9959,9 +9959,9 @@ type ProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeCall struct
// the AttributesConfig. If the CatalogAttribute to remove does not
// exist, a NOT_FOUND error is returned.
//
-// - attributesConfig: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) RemoveCatalogAttribute(attributesConfig string, googlecloudretailv2alpharemovecatalogattributerequest *GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest) *ProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeCall {
c := &ProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -10108,9 +10108,9 @@ type ProjectsLocationsCatalogsAttributesConfigReplaceCatalogAttributeCall struct
// CatalogAttribute.key. If the CatalogAttribute to replace does not
// exist, a NOT_FOUND error is returned.
//
-// - attributesConfig: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) ReplaceCatalogAttribute(attributesConfig string, googlecloudretailv2alphareplacecatalogattributerequest *GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest) *ProjectsLocationsCatalogsAttributesConfigReplaceCatalogAttributeCall {
c := &ProjectsLocationsCatalogsAttributesConfigReplaceCatalogAttributeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -10411,11 +10411,11 @@ type ProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesCall struct {
// enabled. Please enable Retail Search on Cloud Console before using
// this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) AddFulfillmentPlaces(product string, googlecloudretailv2alphaaddfulfillmentplacesrequest *GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest) *ProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesCall {
c := &ProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -10569,11 +10569,11 @@ type ProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesCall struct {
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) AddLocalInventories(product string, googlecloudretailv2alphaaddlocalinventoriesrequest *GoogleCloudRetailV2alphaAddLocalInventoriesRequest) *ProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesCall {
c := &ProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -10715,9 +10715,9 @@ type ProjectsLocationsCatalogsBranchesProductsCreateCall struct {
// Create: Creates a Product.
//
-// - parent: The parent catalog resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch`.
+// - parent: The parent catalog resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Create(parent string, googlecloudretailv2alphaproduct *GoogleCloudRetailV2alphaProduct) *ProjectsLocationsCatalogsBranchesProductsCreateCall {
c := &ProjectsLocationsCatalogsBranchesProductsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10876,16 +10876,16 @@ type ProjectsLocationsCatalogsBranchesProductsDeleteCall struct {
// Delete: Deletes a Product.
//
-// - name: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to delete the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned. If the Product to
-// delete does not exist, a NOT_FOUND error is returned. The Product
-// to delete can neither be a Product.Type.COLLECTION Product member
-// nor a Product.Type.PRIMARY Product with more than one variants.
-// Otherwise, an INVALID_ARGUMENT error is returned. All inventory
-// information for the named Product will be deleted.
+// - name: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to delete the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned. If the Product to
+// delete does not exist, a NOT_FOUND error is returned. The Product
+// to delete can neither be a Product.Type.COLLECTION Product member
+// nor a Product.Type.PRIMARY Product with more than one variants.
+// Otherwise, an INVALID_ARGUMENT error is returned. All inventory
+// information for the named Product will be deleted.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Delete(name string) *ProjectsLocationsCatalogsBranchesProductsDeleteCall {
c := &ProjectsLocationsCatalogsBranchesProductsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11018,12 +11018,12 @@ type ProjectsLocationsCatalogsBranchesProductsGetCall struct {
// Get: Gets a Product.
//
-// - name: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned. If the requested
-// Product does not exist, a NOT_FOUND error is returned.
+// - name: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned. If the requested
+// Product does not exist, a NOT_FOUND error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Get(name string) *ProjectsLocationsCatalogsBranchesProductsGetCall {
c := &ProjectsLocationsCatalogsBranchesProductsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11171,11 +11171,11 @@ type ProjectsLocationsCatalogsBranchesProductsImportCall struct {
// synchronous. Non-existing items are created. Note that it is possible
// for a subset of the Products to be successfully updated.
//
-// - parent:
-// `projects/1234/locations/global/catalogs/default_catalog/branches/de
-// fault_branch` If no updateMask is specified, requires
-// products.create permission. If updateMask is specified, requires
-// products.update permission.
+// - parent:
+// `projects/1234/locations/global/catalogs/default_catalog/branches/de
+// fault_branch` If no updateMask is specified, requires
+// products.create permission. If updateMask is specified, requires
+// products.update permission.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Import(parent string, googlecloudretailv2alphaimportproductsrequest *GoogleCloudRetailV2alphaImportProductsRequest) *ProjectsLocationsCatalogsBranchesProductsImportCall {
c := &ProjectsLocationsCatalogsBranchesProductsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11317,12 +11317,12 @@ type ProjectsLocationsCatalogsBranchesProductsListCall struct {
// List: Gets a list of Products.
//
-// - parent: The parent branch resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/0`.
-// Use `default_branch` as the branch ID, to list products under the
-// default branch. If the caller does not have permission to list
-// Products under this branch, regardless of whether or not this
-// branch exists, a PERMISSION_DENIED error is returned.
+// - parent: The parent branch resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/0`.
+// Use `default_branch` as the branch ID, to list products under the
+// default branch. If the caller does not have permission to list
+// Products under this branch, regardless of whether or not this
+// branch exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) List(parent string) *ProjectsLocationsCatalogsBranchesProductsListCall {
c := &ProjectsLocationsCatalogsBranchesProductsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11577,9 +11577,9 @@ type ProjectsLocationsCatalogsBranchesProductsPatchCall struct {
// Patch: Updates a Product.
//
-// - name: Immutable. Full resource name of the product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/product_id`.
+// - name: Immutable. Full resource name of the product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/product_id`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Patch(name string, googlecloudretailv2alphaproduct *GoogleCloudRetailV2alphaProduct) *ProjectsLocationsCatalogsBranchesProductsPatchCall {
c := &ProjectsLocationsCatalogsBranchesProductsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11762,10 +11762,10 @@ type ProjectsLocationsCatalogsBranchesProductsPurgeCall struct {
// complete. To get a sample of Products that would be deleted, set
// PurgeProductsRequest.force to false.
//
-// - parent: The resource name of the branch under which the products
-// are created. The format is
-// `projects/${projectId}/locations/global/catalogs/${catalogId}/branch
-// es/${branchId}`.
+// - parent: The resource name of the branch under which the products
+// are created. The format is
+// `projects/${projectId}/locations/global/catalogs/${catalogId}/branch
+// es/${branchId}`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Purge(parent string, googlecloudretailv2alphapurgeproductsrequest *GoogleCloudRetailV2alphaPurgeProductsRequest) *ProjectsLocationsCatalogsBranchesProductsPurgeCall {
c := &ProjectsLocationsCatalogsBranchesProductsPurgeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11916,11 +11916,11 @@ type ProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesCall struct
// enabled. Please enable Retail Search on Cloud Console before using
// this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) RemoveFulfillmentPlaces(product string, googlecloudretailv2alpharemovefulfillmentplacesrequest *GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest) *ProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesCall {
c := &ProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -12072,11 +12072,11 @@ type ProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesCall struct
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) RemoveLocalInventories(product string, googlecloudretailv2alpharemovelocalinventoriesrequest *GoogleCloudRetailV2alphaRemoveLocalInventoriesRequest) *ProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesCall {
c := &ProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -12240,9 +12240,9 @@ type ProjectsLocationsCatalogsBranchesProductsSetInventoryCall struct {
// available for users who have Retail Search enabled. Please enable
// Retail Search on Cloud Console before using this feature.
//
-// - name: Immutable. Full resource name of the product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/product_id`.
+// - name: Immutable. Full resource name of the product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/product_id`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) SetInventory(name string, googlecloudretailv2alphasetinventoryrequest *GoogleCloudRetailV2alphaSetInventoryRequest) *ProjectsLocationsCatalogsBranchesProductsSetInventoryCall {
c := &ProjectsLocationsCatalogsBranchesProductsSetInventoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12390,8 +12390,8 @@ type ProjectsLocationsCatalogsCompletionDataImportCall struct {
// have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - parent: The catalog which the suggestions dataset belongs to.
-// Format: `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The catalog which the suggestions dataset belongs to.
+// Format: `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsCompletionDataService) Import(parent string, googlecloudretailv2alphaimportcompletiondatarequest *GoogleCloudRetailV2alphaImportCompletionDataRequest) *ProjectsLocationsCatalogsCompletionDataImportCall {
c := &ProjectsLocationsCatalogsCompletionDataImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12534,9 +12534,9 @@ type ProjectsLocationsCatalogsControlsCreateCall struct {
// Create: Creates a Control. If the Control to create already exists,
// an ALREADY_EXISTS error is returned.
//
-// - parent: Full resource name of parent catalog. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}`.
+// - parent: Full resource name of parent catalog. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}`.
func (r *ProjectsLocationsCatalogsControlsService) Create(parent string, googlecloudretailv2alphacontrol *GoogleCloudRetailV2alphaControl) *ProjectsLocationsCatalogsControlsCreateCall {
c := &ProjectsLocationsCatalogsControlsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12692,9 +12692,9 @@ type ProjectsLocationsCatalogsControlsDeleteCall struct {
// Delete: Deletes a Control. If the Control to delete does not exist, a
// NOT_FOUND error is returned.
//
-// - name: The resource name of the Control to delete. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/controls/{control_id}`.
+// - name: The resource name of the Control to delete. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/controls/{control_id}`.
func (r *ProjectsLocationsCatalogsControlsService) Delete(name string) *ProjectsLocationsCatalogsControlsDeleteCall {
c := &ProjectsLocationsCatalogsControlsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12827,9 +12827,9 @@ type ProjectsLocationsCatalogsControlsGetCall struct {
// Get: Gets a Control.
//
-// - name: The resource name of the Control to delete. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/controls/{control_id}`.
+// - name: The resource name of the Control to delete. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/controls/{control_id}`.
func (r *ProjectsLocationsCatalogsControlsService) Get(name string) *ProjectsLocationsCatalogsControlsGetCall {
c := &ProjectsLocationsCatalogsControlsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12975,9 +12975,9 @@ type ProjectsLocationsCatalogsControlsListCall struct {
// List: Lists all Controls linked to this catalog.
//
-// - parent: The catalog resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}`.
+// - parent: The catalog resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}`.
func (r *ProjectsLocationsCatalogsControlsService) List(parent string) *ProjectsLocationsCatalogsControlsListCall {
c := &ProjectsLocationsCatalogsControlsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13189,8 +13189,8 @@ type ProjectsLocationsCatalogsControlsPatchCall struct {
// field, if so an INVALID_ARGUMENT is returned. If the Control to
// delete does not exist, a NOT_FOUND error is returned.
//
-// - name: Immutable. Fully qualified name
-// `projects/*/locations/global/catalogs/*/controls/*`.
+// - name: Immutable. Fully qualified name
+// `projects/*/locations/global/catalogs/*/controls/*`.
func (r *ProjectsLocationsCatalogsControlsService) Patch(name string, googlecloudretailv2alphacontrol *GoogleCloudRetailV2alphaControl) *ProjectsLocationsCatalogsControlsPatchCall {
c := &ProjectsLocationsCatalogsControlsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13347,10 +13347,10 @@ type ProjectsLocationsCatalogsModelsCreateCall struct {
// Create: Creates a new model.
//
-// - parent: The parent resource under which to create the model.
-// Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}.
+// - parent: The parent resource under which to create the model.
+// Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}.
func (r *ProjectsLocationsCatalogsModelsService) Create(parent string, googlecloudretailv2alphamodel *GoogleCloudRetailV2alphaModel) *ProjectsLocationsCatalogsModelsCreateCall {
c := &ProjectsLocationsCatalogsModelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13503,9 +13503,9 @@ type ProjectsLocationsCatalogsModelsDeleteCall struct {
// Delete: Deletes an existing model.
//
-// - name: The resource name of the [Model] to delete. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/models/{model_id}.
+// - name: The resource name of the [Model] to delete. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/models/{model_id}.
func (r *ProjectsLocationsCatalogsModelsService) Delete(name string) *ProjectsLocationsCatalogsModelsDeleteCall {
c := &ProjectsLocationsCatalogsModelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13638,9 +13638,9 @@ type ProjectsLocationsCatalogsModelsListCall struct {
// List: Lists all the models linked to this event store.
//
-// - parent: The parent for which to list models. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}.
+// - parent: The parent for which to list models. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}.
func (r *ProjectsLocationsCatalogsModelsService) List(parent string) *ProjectsLocationsCatalogsModelsListCall {
c := &ProjectsLocationsCatalogsModelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13838,10 +13838,10 @@ type ProjectsLocationsCatalogsModelsPatchCall struct {
// updated are: filtering_option, periodic_tuning_state. If other values
// are provided, this API method will ignore them.
//
-// - name: The fully qualified resource name of the model. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/models/{model_id} catalog_id has char limit of 50.
-// recommendation_model_id has char limit of 40.
+// - name: The fully qualified resource name of the model. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/models/{model_id} catalog_id has char limit of 50.
+// recommendation_model_id has char limit of 40.
func (r *ProjectsLocationsCatalogsModelsService) Patch(name string, googlecloudretailv2alphamodel *GoogleCloudRetailV2alphaModel) *ProjectsLocationsCatalogsModelsPatchCall {
c := &ProjectsLocationsCatalogsModelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13997,9 +13997,9 @@ type ProjectsLocationsCatalogsModelsPauseCall struct {
// Pause: Pauses the training of an existing model.
//
-// - name: The name of the model to pause. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/models/{model_id}.
+// - name: The name of the model to pause. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/models/{model_id}.
func (r *ProjectsLocationsCatalogsModelsService) Pause(name string, googlecloudretailv2alphapausemodelrequest *GoogleCloudRetailV2alphaPauseModelRequest) *ProjectsLocationsCatalogsModelsPauseCall {
c := &ProjectsLocationsCatalogsModelsPauseCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14141,9 +14141,9 @@ type ProjectsLocationsCatalogsModelsResumeCall struct {
// Resume: Resumes the training of an existing model.
//
-// - name: The name of the model to resume. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/models/{model_id}.
+// - name: The name of the model to resume. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/models/{model_id}.
func (r *ProjectsLocationsCatalogsModelsService) Resume(name string, googlecloudretailv2alpharesumemodelrequest *GoogleCloudRetailV2alphaResumeModelRequest) *ProjectsLocationsCatalogsModelsResumeCall {
c := &ProjectsLocationsCatalogsModelsResumeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14285,9 +14285,9 @@ type ProjectsLocationsCatalogsModelsTuneCall struct {
// Tune: Tunes an existing model.
//
-// - name: The resource name of the model to tune. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/models/{model_id}.
+// - name: The resource name of the model to tune. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/models/{model_id}.
func (r *ProjectsLocationsCatalogsModelsService) Tune(name string, googlecloudretailv2alphatunemodelrequest *GoogleCloudRetailV2alphaTuneModelRequest) *ProjectsLocationsCatalogsModelsTuneCall {
c := &ProjectsLocationsCatalogsModelsTuneCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14791,19 +14791,19 @@ type ProjectsLocationsCatalogsPlacementsPredictCall struct {
// Predict: Makes a recommendation prediction.
//
-// - placement: Full resource name of the format:
-// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
-// vingConfigs/*}` or
-// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
-// cements/*}`. We recommend using the `servingConfigs` resource.
-// `placements` is a legacy resource. The ID of the Recommendations AI
-// serving config or placement. Before you can request predictions
-// from your model, you must create at least one serving config or
-// placement for it. For more information, see [Managing serving
-// configurations]
-// (https://cloud.google.com/retail/docs/manage-configs). The full
-// list of available serving configs can be seen at
-// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
+// - placement: Full resource name of the format:
+// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
+// vingConfigs/*}` or
+// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
+// cements/*}`. We recommend using the `servingConfigs` resource.
+// `placements` is a legacy resource. The ID of the Recommendations AI
+// serving config or placement. Before you can request predictions
+// from your model, you must create at least one serving config or
+// placement for it. For more information, see [Managing serving
+// configurations]
+// (https://cloud.google.com/retail/docs/manage-configs). The full
+// list of available serving configs can be seen at
+// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
func (r *ProjectsLocationsCatalogsPlacementsService) Predict(placement string, googlecloudretailv2alphapredictrequest *GoogleCloudRetailV2alphaPredictRequest) *ProjectsLocationsCatalogsPlacementsPredictCall {
c := &ProjectsLocationsCatalogsPlacementsPredictCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -14948,15 +14948,15 @@ type ProjectsLocationsCatalogsPlacementsSearchCall struct {
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - placement: The resource name of the Retail Search serving config,
-// such as
-// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
-// /default_serving_config` or the name of the legacy placement
-// resource, such as
-// `projects/*/locations/global/catalogs/default_catalog/placements/def
-// ault_search`. This field is used to identify the serving
-// configuration name and the set of models that will be used to make
-// the search.
+// - placement: The resource name of the Retail Search serving config,
+// such as
+// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
+// /default_serving_config` or the name of the legacy placement
+// resource, such as
+// `projects/*/locations/global/catalogs/default_catalog/placements/def
+// ault_search`. This field is used to identify the serving
+// configuration name and the set of models that will be used to make
+// the search.
func (r *ProjectsLocationsCatalogsPlacementsService) Search(placement string, googlecloudretailv2alphasearchrequest *GoogleCloudRetailV2alphaSearchRequest) *ProjectsLocationsCatalogsPlacementsSearchCall {
c := &ProjectsLocationsCatalogsPlacementsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -15126,9 +15126,9 @@ type ProjectsLocationsCatalogsServingConfigsAddControlCall struct {
// a FAILED_PRECONDITION error if the addition could exceed maximum
// number of control allowed for that type of control.
//
-// - servingConfig: The source ServingConfig resource name . Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/servingConfigs/{serving_config_id}.
+// - servingConfig: The source ServingConfig resource name . Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/servingConfigs/{serving_config_id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) AddControl(servingConfig string, googlecloudretailv2alphaaddcontrolrequest *GoogleCloudRetailV2alphaAddControlRequest) *ProjectsLocationsCatalogsServingConfigsAddControlCall {
c := &ProjectsLocationsCatalogsServingConfigsAddControlCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.servingConfig = servingConfig
@@ -15273,9 +15273,9 @@ type ProjectsLocationsCatalogsServingConfigsCreateCall struct {
// allowed in a Catalog, otherwise a FAILED_PRECONDITION error is
// returned.
//
-// - parent: Full resource name of parent. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}`.
+// - parent: Full resource name of parent. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}`.
func (r *ProjectsLocationsCatalogsServingConfigsService) Create(parent string, googlecloudretailv2alphaservingconfig *GoogleCloudRetailV2alphaServingConfig) *ProjectsLocationsCatalogsServingConfigsCreateCall {
c := &ProjectsLocationsCatalogsServingConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15432,9 +15432,9 @@ type ProjectsLocationsCatalogsServingConfigsDeleteCall struct {
// Delete: Deletes a ServingConfig. Returns a NotFound error if the
// ServingConfig does not exist.
//
-// - name: The resource name of the ServingConfig to delete. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/servingConfigs/{serving_config_id}.
+// - name: The resource name of the ServingConfig to delete. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/servingConfigs/{serving_config_id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) Delete(name string) *ProjectsLocationsCatalogsServingConfigsDeleteCall {
c := &ProjectsLocationsCatalogsServingConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15568,9 +15568,9 @@ type ProjectsLocationsCatalogsServingConfigsGetCall struct {
// Get: Gets a ServingConfig. Returns a NotFound error if the
// ServingConfig does not exist.
//
-// - name: The resource name of the ServingConfig to get. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/servingConfigs/{serving_config_id}.
+// - name: The resource name of the ServingConfig to get. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/servingConfigs/{serving_config_id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) Get(name string) *ProjectsLocationsCatalogsServingConfigsGetCall {
c := &ProjectsLocationsCatalogsServingConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15717,9 +15717,9 @@ type ProjectsLocationsCatalogsServingConfigsListCall struct {
// List: Lists all ServingConfigs linked to this catalog.
//
-// - parent: The catalog resource name. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}.
+// - parent: The catalog resource name. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) List(parent string) *ProjectsLocationsCatalogsServingConfigsListCall {
c := &ProjectsLocationsCatalogsServingConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15915,8 +15915,8 @@ type ProjectsLocationsCatalogsServingConfigsPatchCall struct {
// Patch: Updates a ServingConfig.
//
-// - name: Immutable. Fully qualified name
-// `projects/*/locations/global/catalogs/*/servingConfig/*`.
+// - name: Immutable. Fully qualified name
+// `projects/*/locations/global/catalogs/*/servingConfig/*`.
func (r *ProjectsLocationsCatalogsServingConfigsService) Patch(name string, googlecloudretailv2alphaservingconfig *GoogleCloudRetailV2alphaServingConfig) *ProjectsLocationsCatalogsServingConfigsPatchCall {
c := &ProjectsLocationsCatalogsServingConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16074,19 +16074,19 @@ type ProjectsLocationsCatalogsServingConfigsPredictCall struct {
// Predict: Makes a recommendation prediction.
//
-// - placement: Full resource name of the format:
-// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
-// vingConfigs/*}` or
-// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
-// cements/*}`. We recommend using the `servingConfigs` resource.
-// `placements` is a legacy resource. The ID of the Recommendations AI
-// serving config or placement. Before you can request predictions
-// from your model, you must create at least one serving config or
-// placement for it. For more information, see [Managing serving
-// configurations]
-// (https://cloud.google.com/retail/docs/manage-configs). The full
-// list of available serving configs can be seen at
-// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
+// - placement: Full resource name of the format:
+// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
+// vingConfigs/*}` or
+// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
+// cements/*}`. We recommend using the `servingConfigs` resource.
+// `placements` is a legacy resource. The ID of the Recommendations AI
+// serving config or placement. Before you can request predictions
+// from your model, you must create at least one serving config or
+// placement for it. For more information, see [Managing serving
+// configurations]
+// (https://cloud.google.com/retail/docs/manage-configs). The full
+// list of available serving configs can be seen at
+// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
func (r *ProjectsLocationsCatalogsServingConfigsService) Predict(placement string, googlecloudretailv2alphapredictrequest *GoogleCloudRetailV2alphaPredictRequest) *ProjectsLocationsCatalogsServingConfigsPredictCall {
c := &ProjectsLocationsCatalogsServingConfigsPredictCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -16231,9 +16231,9 @@ type ProjectsLocationsCatalogsServingConfigsRemoveControlCall struct {
// control is removed from the ServingConfig. Returns a NOT_FOUND error
// if the Control is not enabled for the ServingConfig.
//
-// - servingConfig: The source ServingConfig resource name . Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/servingConfigs/{serving_config_id}.
+// - servingConfig: The source ServingConfig resource name . Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/servingConfigs/{serving_config_id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) RemoveControl(servingConfig string, googlecloudretailv2alpharemovecontrolrequest *GoogleCloudRetailV2alphaRemoveControlRequest) *ProjectsLocationsCatalogsServingConfigsRemoveControlCall {
c := &ProjectsLocationsCatalogsServingConfigsRemoveControlCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.servingConfig = servingConfig
@@ -16378,15 +16378,15 @@ type ProjectsLocationsCatalogsServingConfigsSearchCall struct {
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - placement: The resource name of the Retail Search serving config,
-// such as
-// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
-// /default_serving_config` or the name of the legacy placement
-// resource, such as
-// `projects/*/locations/global/catalogs/default_catalog/placements/def
-// ault_search`. This field is used to identify the serving
-// configuration name and the set of models that will be used to make
-// the search.
+// - placement: The resource name of the Retail Search serving config,
+// such as
+// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
+// /default_serving_config` or the name of the legacy placement
+// resource, such as
+// `projects/*/locations/global/catalogs/default_catalog/placements/def
+// ault_search`. This field is used to identify the serving
+// configuration name and the set of models that will be used to make
+// the search.
func (r *ProjectsLocationsCatalogsServingConfigsService) Search(placement string, googlecloudretailv2alphasearchrequest *GoogleCloudRetailV2alphaSearchRequest) *ProjectsLocationsCatalogsServingConfigsSearchCall {
c := &ProjectsLocationsCatalogsServingConfigsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -16553,8 +16553,8 @@ type ProjectsLocationsCatalogsUserEventsCollectCall struct {
// domain. This method is used only by the Retail API JavaScript pixel
// and Google Tag Manager. Users should not call this method directly.
//
-// - parent: The parent catalog name, such as
-// `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog name, such as
+// `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsUserEventsService) Collect(parent string) *ProjectsLocationsCatalogsUserEventsCollectCall {
c := &ProjectsLocationsCatalogsUserEventsCollectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16890,9 +16890,9 @@ type ProjectsLocationsCatalogsUserEventsPurgeCall struct {
// this operation could take hours or days to complete. To test a
// filter, use the list command first.
//
-// - parent: The resource name of the catalog under which the events are
-// created. The format is
-// `projects/${projectId}/locations/global/catalogs/${catalogId}`.
+// - parent: The resource name of the catalog under which the events are
+// created. The format is
+// `projects/${projectId}/locations/global/catalogs/${catalogId}`.
func (r *ProjectsLocationsCatalogsUserEventsService) Purge(parent string, googlecloudretailv2alphapurgeusereventsrequest *GoogleCloudRetailV2alphaPurgeUserEventsRequest) *ProjectsLocationsCatalogsUserEventsPurgeCall {
c := &ProjectsLocationsCatalogsUserEventsPurgeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17042,8 +17042,8 @@ type ProjectsLocationsCatalogsUserEventsRejoinCall struct {
// joined with the wrong product catalog. A rejoin operation can take
// hours or days to complete.
//
-// - parent: The parent catalog resource name, such as
-// `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog resource name, such as
+// `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsUserEventsService) Rejoin(parent string, googlecloudretailv2alpharejoinusereventsrequest *GoogleCloudRetailV2alphaRejoinUserEventsRequest) *ProjectsLocationsCatalogsUserEventsRejoinCall {
c := &ProjectsLocationsCatalogsUserEventsRejoinCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17185,8 +17185,8 @@ type ProjectsLocationsCatalogsUserEventsWriteCall struct {
// Write: Writes a single user event.
//
-// - parent: The parent catalog resource name, such as
-// `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog resource name, such as
+// `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsUserEventsService) Write(parent string, googlecloudretailv2alphauserevent *GoogleCloudRetailV2alphaUserEvent) *ProjectsLocationsCatalogsUserEventsWriteCall {
c := &ProjectsLocationsCatalogsUserEventsWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go
index f3746faff7d..6a1a16ff588 100644
--- a/retail/v2beta/retail-gen.go
+++ b/retail/v2beta/retail-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/recommendations
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/retail/v2beta"
-// ...
-// ctx := context.Background()
-// retailService, err := retail.NewService(ctx)
+// import "google.golang.org/api/retail/v2beta"
+// ...
+// ctx := context.Background()
+// retailService, err := retail.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// retailService, err := retail.NewService(ctx, option.WithAPIKey("AIza..."))
+// retailService, err := retail.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// retailService, err := retail.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// retailService, err := retail.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package retail // import "google.golang.org/api/retail/v2beta"
@@ -7955,9 +7955,9 @@ type ProjectsLocationsCatalogsCompleteQueryCall struct {
// Search enabled. Please enable Retail Search on Cloud Console before
// using this feature.
//
-// - catalog: Catalog for which the completion is performed. Full
-// resource name of catalog, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - catalog: Catalog for which the completion is performed. Full
+// resource name of catalog, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsService) CompleteQuery(catalog string) *ProjectsLocationsCatalogsCompleteQueryCall {
c := &ProjectsLocationsCatalogsCompleteQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.catalog = catalog
@@ -8206,9 +8206,9 @@ type ProjectsLocationsCatalogsGetAttributesConfigCall struct {
// GetAttributesConfig: Gets an AttributesConfig.
//
-// - name: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - name: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsService) GetAttributesConfig(name string) *ProjectsLocationsCatalogsGetAttributesConfigCall {
c := &ProjectsLocationsCatalogsGetAttributesConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8355,9 +8355,9 @@ type ProjectsLocationsCatalogsGetCompletionConfigCall struct {
// GetCompletionConfig: Gets a CompletionConfig.
//
-// - name: Full CompletionConfig resource name. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/completionConfig.
+// - name: Full CompletionConfig resource name. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/completionConfig.
func (r *ProjectsLocationsCatalogsService) GetCompletionConfig(name string) *ProjectsLocationsCatalogsGetCompletionConfigCall {
c := &ProjectsLocationsCatalogsGetCompletionConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8506,8 +8506,8 @@ type ProjectsLocationsCatalogsGetDefaultBranchCall struct {
// CatalogService.SetDefaultBranch method under a specified parent
// catalog.
//
-// - catalog: The parent catalog resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - catalog: The parent catalog resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsService) GetDefaultBranch(catalog string) *ProjectsLocationsCatalogsGetDefaultBranchCall {
c := &ProjectsLocationsCatalogsGetDefaultBranchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.catalog = catalog
@@ -8580,7 +8580,9 @@ func (c *ProjectsLocationsCatalogsGetDefaultBranchCall) doRequest(alt string) (*
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudRetailV2betaGetDefaultBranchResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -8655,10 +8657,10 @@ type ProjectsLocationsCatalogsListCall struct {
// List: Lists all the Catalogs associated with the project.
//
-// - parent: The account resource name with an associated location. If
-// the caller does not have permission to list Catalogs under this
-// location, regardless of whether or not this location exists, a
-// PERMISSION_DENIED error is returned.
+// - parent: The account resource name with an associated location. If
+// the caller does not have permission to list Catalogs under this
+// location, regardless of whether or not this location exists, a
+// PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsService) List(parent string) *ProjectsLocationsCatalogsListCall {
c := &ProjectsLocationsCatalogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9034,8 +9036,8 @@ type ProjectsLocationsCatalogsSetDefaultBranchCall struct {
// {newBranch} (if branch is not explicitly set). * UserEventService
// will only join events with products from branch {newBranch}.
//
-// - catalog: Full resource name of the catalog, such as
-// `projects/*/locations/global/catalogs/default_catalog`.
+// - catalog: Full resource name of the catalog, such as
+// `projects/*/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsService) SetDefaultBranch(catalog string, googlecloudretailv2betasetdefaultbranchrequest *GoogleCloudRetailV2betaSetDefaultBranchRequest) *ProjectsLocationsCatalogsSetDefaultBranchCall {
c := &ProjectsLocationsCatalogsSetDefaultBranchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.catalog = catalog
@@ -9184,9 +9186,9 @@ type ProjectsLocationsCatalogsUpdateAttributesConfigCall struct {
// missing catalog attribute fields, e.g., searchable and dynamic
// facetable options.
//
-// - name: Immutable. The fully qualified resource name of the attribute
-// config. Format:
-// `projects/*/locations/*/catalogs/*/attributesConfig`.
+// - name: Immutable. The fully qualified resource name of the attribute
+// config. Format:
+// `projects/*/locations/*/catalogs/*/attributesConfig`.
func (r *ProjectsLocationsCatalogsService) UpdateAttributesConfig(name string, googlecloudretailv2betaattributesconfig *GoogleCloudRetailV2betaAttributesConfig) *ProjectsLocationsCatalogsUpdateAttributesConfigCall {
c := &ProjectsLocationsCatalogsUpdateAttributesConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9344,8 +9346,8 @@ type ProjectsLocationsCatalogsUpdateCompletionConfigCall struct {
// UpdateCompletionConfig: Updates the CompletionConfigs.
//
-// - name: Immutable. Fully qualified name
-// `projects/*/locations/*/catalogs/*/completionConfig`.
+// - name: Immutable. Fully qualified name
+// `projects/*/locations/*/catalogs/*/completionConfig`.
func (r *ProjectsLocationsCatalogsService) UpdateCompletionConfig(name string, googlecloudretailv2betacompletionconfig *GoogleCloudRetailV2betaCompletionConfig) *ProjectsLocationsCatalogsUpdateCompletionConfigCall {
c := &ProjectsLocationsCatalogsUpdateCompletionConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9507,9 +9509,9 @@ type ProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeCall struct {
// AttributesConfig. If the CatalogAttribute to add already exists, an
// ALREADY_EXISTS error is returned.
//
-// - attributesConfig: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) AddCatalogAttribute(attributesConfig string, googlecloudretailv2betaaddcatalogattributerequest *GoogleCloudRetailV2betaAddCatalogAttributeRequest) *ProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeCall {
c := &ProjectsLocationsCatalogsAttributesConfigAddCatalogAttributeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -9653,10 +9655,10 @@ type ProjectsLocationsCatalogsAttributesConfigBatchRemoveCatalogAttributesCall s
// BatchRemoveCatalogAttributes: Removes all specified CatalogAttributes
// from the AttributesConfig.
//
-// - attributesConfig: The attributes config resource shared by all
-// catalog attributes being deleted. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: The attributes config resource shared by all
+// catalog attributes being deleted. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) BatchRemoveCatalogAttributes(attributesConfig string, googlecloudretailv2betabatchremovecatalogattributesrequest *GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest) *ProjectsLocationsCatalogsAttributesConfigBatchRemoveCatalogAttributesCall {
c := &ProjectsLocationsCatalogsAttributesConfigBatchRemoveCatalogAttributesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -9803,9 +9805,9 @@ type ProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeCall struct
// the AttributesConfig. If the CatalogAttribute to remove does not
// exist, a NOT_FOUND error is returned.
//
-// - attributesConfig: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) RemoveCatalogAttribute(attributesConfig string, googlecloudretailv2betaremovecatalogattributerequest *GoogleCloudRetailV2betaRemoveCatalogAttributeRequest) *ProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeCall {
c := &ProjectsLocationsCatalogsAttributesConfigRemoveCatalogAttributeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -9951,9 +9953,9 @@ type ProjectsLocationsCatalogsAttributesConfigReplaceCatalogAttributeCall struct
// CatalogAttribute.key. If the CatalogAttribute to replace does not
// exist, a NOT_FOUND error is returned.
//
-// - attributesConfig: Full AttributesConfig resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/attributesConfig`.
+// - attributesConfig: Full AttributesConfig resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/attributesConfig`.
func (r *ProjectsLocationsCatalogsAttributesConfigService) ReplaceCatalogAttribute(attributesConfig string, googlecloudretailv2betareplacecatalogattributerequest *GoogleCloudRetailV2betaReplaceCatalogAttributeRequest) *ProjectsLocationsCatalogsAttributesConfigReplaceCatalogAttributeCall {
c := &ProjectsLocationsCatalogsAttributesConfigReplaceCatalogAttributeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.attributesConfig = attributesConfig
@@ -10253,11 +10255,11 @@ type ProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesCall struct {
// enabled. Please enable Retail Search on Cloud Console before using
// this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) AddFulfillmentPlaces(product string, googlecloudretailv2betaaddfulfillmentplacesrequest *GoogleCloudRetailV2betaAddFulfillmentPlacesRequest) *ProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesCall {
c := &ProjectsLocationsCatalogsBranchesProductsAddFulfillmentPlacesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -10411,11 +10413,11 @@ type ProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesCall struct {
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) AddLocalInventories(product string, googlecloudretailv2betaaddlocalinventoriesrequest *GoogleCloudRetailV2betaAddLocalInventoriesRequest) *ProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesCall {
c := &ProjectsLocationsCatalogsBranchesProductsAddLocalInventoriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -10557,9 +10559,9 @@ type ProjectsLocationsCatalogsBranchesProductsCreateCall struct {
// Create: Creates a Product.
//
-// - parent: The parent catalog resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch`.
+// - parent: The parent catalog resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Create(parent string, googlecloudretailv2betaproduct *GoogleCloudRetailV2betaProduct) *ProjectsLocationsCatalogsBranchesProductsCreateCall {
c := &ProjectsLocationsCatalogsBranchesProductsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10718,16 +10720,16 @@ type ProjectsLocationsCatalogsBranchesProductsDeleteCall struct {
// Delete: Deletes a Product.
//
-// - name: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to delete the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned. If the Product to
-// delete does not exist, a NOT_FOUND error is returned. The Product
-// to delete can neither be a Product.Type.COLLECTION Product member
-// nor a Product.Type.PRIMARY Product with more than one variants.
-// Otherwise, an INVALID_ARGUMENT error is returned. All inventory
-// information for the named Product will be deleted.
+// - name: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to delete the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned. If the Product to
+// delete does not exist, a NOT_FOUND error is returned. The Product
+// to delete can neither be a Product.Type.COLLECTION Product member
+// nor a Product.Type.PRIMARY Product with more than one variants.
+// Otherwise, an INVALID_ARGUMENT error is returned. All inventory
+// information for the named Product will be deleted.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Delete(name string) *ProjectsLocationsCatalogsBranchesProductsDeleteCall {
c := &ProjectsLocationsCatalogsBranchesProductsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10860,12 +10862,12 @@ type ProjectsLocationsCatalogsBranchesProductsGetCall struct {
// Get: Gets a Product.
//
-// - name: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned. If the requested
-// Product does not exist, a NOT_FOUND error is returned.
+// - name: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned. If the requested
+// Product does not exist, a NOT_FOUND error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Get(name string) *ProjectsLocationsCatalogsBranchesProductsGetCall {
c := &ProjectsLocationsCatalogsBranchesProductsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11013,11 +11015,11 @@ type ProjectsLocationsCatalogsBranchesProductsImportCall struct {
// synchronous. Non-existing items are created. Note that it is possible
// for a subset of the Products to be successfully updated.
//
-// - parent:
-// `projects/1234/locations/global/catalogs/default_catalog/branches/de
-// fault_branch` If no updateMask is specified, requires
-// products.create permission. If updateMask is specified, requires
-// products.update permission.
+// - parent:
+// `projects/1234/locations/global/catalogs/default_catalog/branches/de
+// fault_branch` If no updateMask is specified, requires
+// products.create permission. If updateMask is specified, requires
+// products.update permission.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Import(parent string, googlecloudretailv2betaimportproductsrequest *GoogleCloudRetailV2betaImportProductsRequest) *ProjectsLocationsCatalogsBranchesProductsImportCall {
c := &ProjectsLocationsCatalogsBranchesProductsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11159,12 +11161,12 @@ type ProjectsLocationsCatalogsBranchesProductsListCall struct {
// List: Gets a list of Products.
//
-// - parent: The parent branch resource name, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/0`.
-// Use `default_branch` as the branch ID, to list products under the
-// default branch. If the caller does not have permission to list
-// Products under this branch, regardless of whether or not this
-// branch exists, a PERMISSION_DENIED error is returned.
+// - parent: The parent branch resource name, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/0`.
+// Use `default_branch` as the branch ID, to list products under the
+// default branch. If the caller does not have permission to list
+// Products under this branch, regardless of whether or not this
+// branch exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) List(parent string) *ProjectsLocationsCatalogsBranchesProductsListCall {
c := &ProjectsLocationsCatalogsBranchesProductsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11405,9 +11407,9 @@ type ProjectsLocationsCatalogsBranchesProductsPatchCall struct {
// Patch: Updates a Product.
//
-// - name: Immutable. Full resource name of the product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/product_id`.
+// - name: Immutable. Full resource name of the product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/product_id`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) Patch(name string, googlecloudretailv2betaproduct *GoogleCloudRetailV2betaProduct) *ProjectsLocationsCatalogsBranchesProductsPatchCall {
c := &ProjectsLocationsCatalogsBranchesProductsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11591,11 +11593,11 @@ type ProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesCall struct
// enabled. Please enable Retail Search on Cloud Console before using
// this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) RemoveFulfillmentPlaces(product string, googlecloudretailv2betaremovefulfillmentplacesrequest *GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest) *ProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesCall {
c := &ProjectsLocationsCatalogsBranchesProductsRemoveFulfillmentPlacesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -11747,11 +11749,11 @@ type ProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesCall struct
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - product: Full resource name of Product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/some_product_id`. If the caller does not have
-// permission to access the Product, regardless of whether or not it
-// exists, a PERMISSION_DENIED error is returned.
+// - product: Full resource name of Product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/some_product_id`. If the caller does not have
+// permission to access the Product, regardless of whether or not it
+// exists, a PERMISSION_DENIED error is returned.
func (r *ProjectsLocationsCatalogsBranchesProductsService) RemoveLocalInventories(product string, googlecloudretailv2betaremovelocalinventoriesrequest *GoogleCloudRetailV2betaRemoveLocalInventoriesRequest) *ProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesCall {
c := &ProjectsLocationsCatalogsBranchesProductsRemoveLocalInventoriesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.product = product
@@ -11915,9 +11917,9 @@ type ProjectsLocationsCatalogsBranchesProductsSetInventoryCall struct {
// available for users who have Retail Search enabled. Please enable
// Retail Search on Cloud Console before using this feature.
//
-// - name: Immutable. Full resource name of the product, such as
-// `projects/*/locations/global/catalogs/default_catalog/branches/defau
-// lt_branch/products/product_id`.
+// - name: Immutable. Full resource name of the product, such as
+// `projects/*/locations/global/catalogs/default_catalog/branches/defau
+// lt_branch/products/product_id`.
func (r *ProjectsLocationsCatalogsBranchesProductsService) SetInventory(name string, googlecloudretailv2betasetinventoryrequest *GoogleCloudRetailV2betaSetInventoryRequest) *ProjectsLocationsCatalogsBranchesProductsSetInventoryCall {
c := &ProjectsLocationsCatalogsBranchesProductsSetInventoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12065,8 +12067,8 @@ type ProjectsLocationsCatalogsCompletionDataImportCall struct {
// have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - parent: The catalog which the suggestions dataset belongs to.
-// Format: `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The catalog which the suggestions dataset belongs to.
+// Format: `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsCompletionDataService) Import(parent string, googlecloudretailv2betaimportcompletiondatarequest *GoogleCloudRetailV2betaImportCompletionDataRequest) *ProjectsLocationsCatalogsCompletionDataImportCall {
c := &ProjectsLocationsCatalogsCompletionDataImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12209,9 +12211,9 @@ type ProjectsLocationsCatalogsControlsCreateCall struct {
// Create: Creates a Control. If the Control to create already exists,
// an ALREADY_EXISTS error is returned.
//
-// - parent: Full resource name of parent catalog. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}`.
+// - parent: Full resource name of parent catalog. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}`.
func (r *ProjectsLocationsCatalogsControlsService) Create(parent string, googlecloudretailv2betacontrol *GoogleCloudRetailV2betaControl) *ProjectsLocationsCatalogsControlsCreateCall {
c := &ProjectsLocationsCatalogsControlsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12367,9 +12369,9 @@ type ProjectsLocationsCatalogsControlsDeleteCall struct {
// Delete: Deletes a Control. If the Control to delete does not exist, a
// NOT_FOUND error is returned.
//
-// - name: The resource name of the Control to delete. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/controls/{control_id}`.
+// - name: The resource name of the Control to delete. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/controls/{control_id}`.
func (r *ProjectsLocationsCatalogsControlsService) Delete(name string) *ProjectsLocationsCatalogsControlsDeleteCall {
c := &ProjectsLocationsCatalogsControlsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12502,9 +12504,9 @@ type ProjectsLocationsCatalogsControlsGetCall struct {
// Get: Gets a Control.
//
-// - name: The resource name of the Control to delete. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}/controls/{control_id}`.
+// - name: The resource name of the Control to delete. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}/controls/{control_id}`.
func (r *ProjectsLocationsCatalogsControlsService) Get(name string) *ProjectsLocationsCatalogsControlsGetCall {
c := &ProjectsLocationsCatalogsControlsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12650,9 +12652,9 @@ type ProjectsLocationsCatalogsControlsListCall struct {
// List: Lists all Controls linked to this catalog.
//
-// - parent: The catalog resource name. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}`.
+// - parent: The catalog resource name. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}`.
func (r *ProjectsLocationsCatalogsControlsService) List(parent string) *ProjectsLocationsCatalogsControlsListCall {
c := &ProjectsLocationsCatalogsControlsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12864,8 +12866,8 @@ type ProjectsLocationsCatalogsControlsPatchCall struct {
// field, if so an INVALID_ARGUMENT is returned. If the Control to
// delete does not exist, a NOT_FOUND error is returned.
//
-// - name: Immutable. Fully qualified name
-// `projects/*/locations/global/catalogs/*/controls/*`.
+// - name: Immutable. Fully qualified name
+// `projects/*/locations/global/catalogs/*/controls/*`.
func (r *ProjectsLocationsCatalogsControlsService) Patch(name string, googlecloudretailv2betacontrol *GoogleCloudRetailV2betaControl) *ProjectsLocationsCatalogsControlsPatchCall {
c := &ProjectsLocationsCatalogsControlsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13384,19 +13386,19 @@ type ProjectsLocationsCatalogsPlacementsPredictCall struct {
// Predict: Makes a recommendation prediction.
//
-// - placement: Full resource name of the format:
-// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
-// vingConfigs/*}` or
-// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
-// cements/*}`. We recommend using the `servingConfigs` resource.
-// `placements` is a legacy resource. The ID of the Recommendations AI
-// serving config or placement. Before you can request predictions
-// from your model, you must create at least one serving config or
-// placement for it. For more information, see [Managing serving
-// configurations]
-// (https://cloud.google.com/retail/docs/manage-configs). The full
-// list of available serving configs can be seen at
-// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
+// - placement: Full resource name of the format:
+// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
+// vingConfigs/*}` or
+// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
+// cements/*}`. We recommend using the `servingConfigs` resource.
+// `placements` is a legacy resource. The ID of the Recommendations AI
+// serving config or placement. Before you can request predictions
+// from your model, you must create at least one serving config or
+// placement for it. For more information, see [Managing serving
+// configurations]
+// (https://cloud.google.com/retail/docs/manage-configs). The full
+// list of available serving configs can be seen at
+// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
func (r *ProjectsLocationsCatalogsPlacementsService) Predict(placement string, googlecloudretailv2betapredictrequest *GoogleCloudRetailV2betaPredictRequest) *ProjectsLocationsCatalogsPlacementsPredictCall {
c := &ProjectsLocationsCatalogsPlacementsPredictCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -13541,15 +13543,15 @@ type ProjectsLocationsCatalogsPlacementsSearchCall struct {
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - placement: The resource name of the Retail Search serving config,
-// such as
-// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
-// /default_serving_config` or the name of the legacy placement
-// resource, such as
-// `projects/*/locations/global/catalogs/default_catalog/placements/def
-// ault_search`. This field is used to identify the serving
-// configuration name and the set of models that will be used to make
-// the search.
+// - placement: The resource name of the Retail Search serving config,
+// such as
+// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
+// /default_serving_config` or the name of the legacy placement
+// resource, such as
+// `projects/*/locations/global/catalogs/default_catalog/placements/def
+// ault_search`. This field is used to identify the serving
+// configuration name and the set of models that will be used to make
+// the search.
func (r *ProjectsLocationsCatalogsPlacementsService) Search(placement string, googlecloudretailv2betasearchrequest *GoogleCloudRetailV2betaSearchRequest) *ProjectsLocationsCatalogsPlacementsSearchCall {
c := &ProjectsLocationsCatalogsPlacementsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -13719,9 +13721,9 @@ type ProjectsLocationsCatalogsServingConfigsAddControlCall struct {
// a FAILED_PRECONDITION error if the addition could exceed maximum
// number of control allowed for that type of control.
//
-// - servingConfig: The source ServingConfig resource name . Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/servingConfigs/{serving_config_id}.
+// - servingConfig: The source ServingConfig resource name . Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/servingConfigs/{serving_config_id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) AddControl(servingConfig string, googlecloudretailv2betaaddcontrolrequest *GoogleCloudRetailV2betaAddControlRequest) *ProjectsLocationsCatalogsServingConfigsAddControlCall {
c := &ProjectsLocationsCatalogsServingConfigsAddControlCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.servingConfig = servingConfig
@@ -13866,9 +13868,9 @@ type ProjectsLocationsCatalogsServingConfigsCreateCall struct {
// allowed in a Catalog, otherwise a FAILED_PRECONDITION error is
// returned.
//
-// - parent: Full resource name of parent. Format:
-// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
-// _id}`.
+// - parent: Full resource name of parent. Format:
+// `projects/{project_number}/locations/{location_id}/catalogs/{catalog
+// _id}`.
func (r *ProjectsLocationsCatalogsServingConfigsService) Create(parent string, googlecloudretailv2betaservingconfig *GoogleCloudRetailV2betaServingConfig) *ProjectsLocationsCatalogsServingConfigsCreateCall {
c := &ProjectsLocationsCatalogsServingConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14025,9 +14027,9 @@ type ProjectsLocationsCatalogsServingConfigsDeleteCall struct {
// Delete: Deletes a ServingConfig. Returns a NotFound error if the
// ServingConfig does not exist.
//
-// - name: The resource name of the ServingConfig to delete. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/servingConfigs/{serving_config_id}.
+// - name: The resource name of the ServingConfig to delete. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/servingConfigs/{serving_config_id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) Delete(name string) *ProjectsLocationsCatalogsServingConfigsDeleteCall {
c := &ProjectsLocationsCatalogsServingConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14161,9 +14163,9 @@ type ProjectsLocationsCatalogsServingConfigsGetCall struct {
// Get: Gets a ServingConfig. Returns a NotFound error if the
// ServingConfig does not exist.
//
-// - name: The resource name of the ServingConfig to get. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/servingConfigs/{serving_config_id}.
+// - name: The resource name of the ServingConfig to get. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/servingConfigs/{serving_config_id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) Get(name string) *ProjectsLocationsCatalogsServingConfigsGetCall {
c := &ProjectsLocationsCatalogsServingConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14310,9 +14312,9 @@ type ProjectsLocationsCatalogsServingConfigsListCall struct {
// List: Lists all ServingConfigs linked to this catalog.
//
-// - parent: The catalog resource name. Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}.
+// - parent: The catalog resource name. Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) List(parent string) *ProjectsLocationsCatalogsServingConfigsListCall {
c := &ProjectsLocationsCatalogsServingConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14508,8 +14510,8 @@ type ProjectsLocationsCatalogsServingConfigsPatchCall struct {
// Patch: Updates a ServingConfig.
//
-// - name: Immutable. Fully qualified name
-// `projects/*/locations/global/catalogs/*/servingConfig/*`.
+// - name: Immutable. Fully qualified name
+// `projects/*/locations/global/catalogs/*/servingConfig/*`.
func (r *ProjectsLocationsCatalogsServingConfigsService) Patch(name string, googlecloudretailv2betaservingconfig *GoogleCloudRetailV2betaServingConfig) *ProjectsLocationsCatalogsServingConfigsPatchCall {
c := &ProjectsLocationsCatalogsServingConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14667,19 +14669,19 @@ type ProjectsLocationsCatalogsServingConfigsPredictCall struct {
// Predict: Makes a recommendation prediction.
//
-// - placement: Full resource name of the format:
-// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
-// vingConfigs/*}` or
-// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
-// cements/*}`. We recommend using the `servingConfigs` resource.
-// `placements` is a legacy resource. The ID of the Recommendations AI
-// serving config or placement. Before you can request predictions
-// from your model, you must create at least one serving config or
-// placement for it. For more information, see [Managing serving
-// configurations]
-// (https://cloud.google.com/retail/docs/manage-configs). The full
-// list of available serving configs can be seen at
-// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
+// - placement: Full resource name of the format:
+// `{placement=projects/*/locations/global/catalogs/default_catalog/ser
+// vingConfigs/*}` or
+// `{placement=projects/*/locations/global/catalogs/default_catalog/pla
+// cements/*}`. We recommend using the `servingConfigs` resource.
+// `placements` is a legacy resource. The ID of the Recommendations AI
+// serving config or placement. Before you can request predictions
+// from your model, you must create at least one serving config or
+// placement for it. For more information, see [Managing serving
+// configurations]
+// (https://cloud.google.com/retail/docs/manage-configs). The full
+// list of available serving configs can be seen at
+// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs.
func (r *ProjectsLocationsCatalogsServingConfigsService) Predict(placement string, googlecloudretailv2betapredictrequest *GoogleCloudRetailV2betaPredictRequest) *ProjectsLocationsCatalogsServingConfigsPredictCall {
c := &ProjectsLocationsCatalogsServingConfigsPredictCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -14824,9 +14826,9 @@ type ProjectsLocationsCatalogsServingConfigsRemoveControlCall struct {
// control is removed from the ServingConfig. Returns a NOT_FOUND error
// if the Control is not enabled for the ServingConfig.
//
-// - servingConfig: The source ServingConfig resource name . Format:
-// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
-// id}/servingConfigs/{serving_config_id}.
+// - servingConfig: The source ServingConfig resource name . Format:
+// projects/{project_number}/locations/{location_id}/catalogs/{catalog_
+// id}/servingConfigs/{serving_config_id}.
func (r *ProjectsLocationsCatalogsServingConfigsService) RemoveControl(servingConfig string, googlecloudretailv2betaremovecontrolrequest *GoogleCloudRetailV2betaRemoveControlRequest) *ProjectsLocationsCatalogsServingConfigsRemoveControlCall {
c := &ProjectsLocationsCatalogsServingConfigsRemoveControlCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.servingConfig = servingConfig
@@ -14971,15 +14973,15 @@ type ProjectsLocationsCatalogsServingConfigsSearchCall struct {
// who have Retail Search enabled. Please enable Retail Search on Cloud
// Console before using this feature.
//
-// - placement: The resource name of the Retail Search serving config,
-// such as
-// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
-// /default_serving_config` or the name of the legacy placement
-// resource, such as
-// `projects/*/locations/global/catalogs/default_catalog/placements/def
-// ault_search`. This field is used to identify the serving
-// configuration name and the set of models that will be used to make
-// the search.
+// - placement: The resource name of the Retail Search serving config,
+// such as
+// `projects/*/locations/global/catalogs/default_catalog/servingConfigs
+// /default_serving_config` or the name of the legacy placement
+// resource, such as
+// `projects/*/locations/global/catalogs/default_catalog/placements/def
+// ault_search`. This field is used to identify the serving
+// configuration name and the set of models that will be used to make
+// the search.
func (r *ProjectsLocationsCatalogsServingConfigsService) Search(placement string, googlecloudretailv2betasearchrequest *GoogleCloudRetailV2betaSearchRequest) *ProjectsLocationsCatalogsServingConfigsSearchCall {
c := &ProjectsLocationsCatalogsServingConfigsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.placement = placement
@@ -15146,8 +15148,8 @@ type ProjectsLocationsCatalogsUserEventsCollectCall struct {
// domain. This method is used only by the Retail API JavaScript pixel
// and Google Tag Manager. Users should not call this method directly.
//
-// - parent: The parent catalog name, such as
-// `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog name, such as
+// `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsUserEventsService) Collect(parent string) *ProjectsLocationsCatalogsUserEventsCollectCall {
c := &ProjectsLocationsCatalogsUserEventsCollectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15483,9 +15485,9 @@ type ProjectsLocationsCatalogsUserEventsPurgeCall struct {
// this operation could take hours or days to complete. To test a
// filter, use the list command first.
//
-// - parent: The resource name of the catalog under which the events are
-// created. The format is
-// `projects/${projectId}/locations/global/catalogs/${catalogId}`.
+// - parent: The resource name of the catalog under which the events are
+// created. The format is
+// `projects/${projectId}/locations/global/catalogs/${catalogId}`.
func (r *ProjectsLocationsCatalogsUserEventsService) Purge(parent string, googlecloudretailv2betapurgeusereventsrequest *GoogleCloudRetailV2betaPurgeUserEventsRequest) *ProjectsLocationsCatalogsUserEventsPurgeCall {
c := &ProjectsLocationsCatalogsUserEventsPurgeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15635,8 +15637,8 @@ type ProjectsLocationsCatalogsUserEventsRejoinCall struct {
// joined with the wrong product catalog. A rejoin operation can take
// hours or days to complete.
//
-// - parent: The parent catalog resource name, such as
-// `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog resource name, such as
+// `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsUserEventsService) Rejoin(parent string, googlecloudretailv2betarejoinusereventsrequest *GoogleCloudRetailV2betaRejoinUserEventsRequest) *ProjectsLocationsCatalogsUserEventsRejoinCall {
c := &ProjectsLocationsCatalogsUserEventsRejoinCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15778,8 +15780,8 @@ type ProjectsLocationsCatalogsUserEventsWriteCall struct {
// Write: Writes a single user event.
//
-// - parent: The parent catalog resource name, such as
-// `projects/1234/locations/global/catalogs/default_catalog`.
+// - parent: The parent catalog resource name, such as
+// `projects/1234/locations/global/catalogs/default_catalog`.
func (r *ProjectsLocationsCatalogsUserEventsService) Write(parent string, googlecloudretailv2betauserevent *GoogleCloudRetailV2betaUserEvent) *ProjectsLocationsCatalogsUserEventsWriteCall {
c := &ProjectsLocationsCatalogsUserEventsWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go
index 2e03abe3c75..32e2a135181 100644
--- a/run/v1/run-gen.go
+++ b/run/v1/run-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/run/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/run/v1"
-// ...
-// ctx := context.Background()
-// runService, err := run.NewService(ctx)
+// import "google.golang.org/api/run/v1"
+// ...
+// ctx := context.Background()
+// runService, err := run.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// runService, err := run.NewService(ctx, option.WithAPIKey("AIza..."))
+// runService, err := run.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package run // import "google.golang.org/api/run/v1"
@@ -4547,8 +4547,8 @@ type NamespacesAuthorizeddomainsListCall struct {
// List: List authorized domains.
//
-// - parent: Name of the parent Project resource. Example:
-// `projects/myproject`.
+// - parent: Name of the parent Project resource. Example:
+// `projects/myproject`.
func (r *NamespacesAuthorizeddomainsService) List(parent string) *NamespacesAuthorizeddomainsListCall {
c := &NamespacesAuthorizeddomainsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4740,9 +4740,9 @@ type NamespacesConfigurationsGetCall struct {
// Get: Get information about a configuration.
//
-// - name: The name of the configuration to retrieve. For Cloud Run
-// (fully managed), replace {namespace_id} with the project ID or
-// number.
+// - name: The name of the configuration to retrieve. For Cloud Run
+// (fully managed), replace {namespace_id} with the project ID or
+// number.
func (r *NamespacesConfigurationsService) Get(name string) *NamespacesConfigurationsGetCall {
c := &NamespacesConfigurationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4888,9 +4888,9 @@ type NamespacesConfigurationsListCall struct {
// List: List configurations.
//
-// - parent: The namespace from which the configurations should be
-// listed. For Cloud Run (fully managed), replace {namespace_id} with
-// the project ID or number.
+// - parent: The namespace from which the configurations should be
+// listed. For Cloud Run (fully managed), replace {namespace_id} with
+// the project ID or number.
func (r *NamespacesConfigurationsService) List(parent string) *NamespacesConfigurationsListCall {
c := &NamespacesConfigurationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5126,10 +5126,10 @@ type NamespacesDomainmappingsCreateCall struct {
// Create: Create a new domain mapping.
//
-// - parent: The namespace in which the domain mapping should be
-// created. For Cloud Run (fully managed), replace {namespace} with
-// the project ID or number. It takes the form namespaces/{namespace}.
-// For example: namespaces/PROJECT_ID.
+// - parent: The namespace in which the domain mapping should be
+// created. For Cloud Run (fully managed), replace {namespace} with
+// the project ID or number. It takes the form namespaces/{namespace}.
+// For example: namespaces/PROJECT_ID.
func (r *NamespacesDomainmappingsService) Create(parent string, domainmapping *DomainMapping) *NamespacesDomainmappingsCreateCall {
c := &NamespacesDomainmappingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5283,10 +5283,10 @@ type NamespacesDomainmappingsDeleteCall struct {
// Delete: Delete a domain mapping.
//
-// - name: The name of the domain mapping to delete. For Cloud Run
-// (fully managed), replace {namespace} with the project ID or number.
-// It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the domain mapping to delete. For Cloud Run
+// (fully managed), replace {namespace} with the project ID or number.
+// It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesDomainmappingsService) Delete(name string) *NamespacesDomainmappingsDeleteCall {
c := &NamespacesDomainmappingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5471,10 +5471,10 @@ type NamespacesDomainmappingsGetCall struct {
// Get: Get information about a domain mapping.
//
-// - name: The name of the domain mapping to retrieve. For Cloud Run
-// (fully managed), replace {namespace} with the project ID or number.
-// It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the domain mapping to retrieve. For Cloud Run
+// (fully managed), replace {namespace} with the project ID or number.
+// It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesDomainmappingsService) Get(name string) *NamespacesDomainmappingsGetCall {
c := &NamespacesDomainmappingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5620,10 +5620,10 @@ type NamespacesDomainmappingsListCall struct {
// List: List domain mappings.
//
-// - parent: The namespace from which the domain mappings should be
-// listed. For Cloud Run (fully managed), replace {namespace} with the
-// project ID or number. It takes the form namespaces/{namespace}. For
-// example: namespaces/PROJECT_ID.
+// - parent: The namespace from which the domain mappings should be
+// listed. For Cloud Run (fully managed), replace {namespace} with the
+// project ID or number. It takes the form namespaces/{namespace}. For
+// example: namespaces/PROJECT_ID.
func (r *NamespacesDomainmappingsService) List(parent string) *NamespacesDomainmappingsListCall {
c := &NamespacesDomainmappingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5858,9 +5858,9 @@ type NamespacesExecutionsDeleteCall struct {
// Delete: Delete an execution.
//
-// - name: The name of the execution to delete. Replace {namespace} with
-// the project ID or number. It takes the form namespaces/{namespace}.
-// For example: namespaces/PROJECT_ID.
+// - name: The name of the execution to delete. Replace {namespace} with
+// the project ID or number. It takes the form namespaces/{namespace}.
+// For example: namespaces/PROJECT_ID.
func (r *NamespacesExecutionsService) Delete(name string) *NamespacesExecutionsDeleteCall {
c := &NamespacesExecutionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6032,9 +6032,9 @@ type NamespacesExecutionsGetCall struct {
// Get: Get information about an execution.
//
-// - name: The name of the execution to retrieve. Replace {namespace}
-// with the project ID or number. It takes the form
-// namespaces/{namespace}. For example: namespaces/PROJECT_ID.
+// - name: The name of the execution to retrieve. Replace {namespace}
+// with the project ID or number. It takes the form
+// namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (r *NamespacesExecutionsService) Get(name string) *NamespacesExecutionsGetCall {
c := &NamespacesExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6180,9 +6180,9 @@ type NamespacesExecutionsListCall struct {
// List: List executions.
//
-// - parent: The namespace from which the executions should be listed.
-// Replace {namespace} with the project ID or number. It takes the
-// form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
+// - parent: The namespace from which the executions should be listed.
+// Replace {namespace} with the project ID or number. It takes the
+// form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (r *NamespacesExecutionsService) List(parent string) *NamespacesExecutionsListCall {
c := &NamespacesExecutionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6418,9 +6418,9 @@ type NamespacesJobsCreateCall struct {
// Create: Create a job.
//
-// - parent: The namespace in which the job should be created. Replace
-// {namespace} with the project ID or number. It takes the form
-// namespaces/{namespace}. For example: namespaces/PROJECT_ID.
+// - parent: The namespace in which the job should be created. Replace
+// {namespace} with the project ID or number. It takes the form
+// namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (r *NamespacesJobsService) Create(parent string, job *Job) *NamespacesJobsCreateCall {
c := &NamespacesJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6561,9 +6561,9 @@ type NamespacesJobsDeleteCall struct {
// Delete: Delete a job.
//
-// - name: The name of the job to delete. Replace {namespace} with the
-// project ID or number. It takes the form namespaces/{namespace}. For
-// example: namespaces/PROJECT_ID.
+// - name: The name of the job to delete. Replace {namespace} with the
+// project ID or number. It takes the form namespaces/{namespace}. For
+// example: namespaces/PROJECT_ID.
func (r *NamespacesJobsService) Delete(name string) *NamespacesJobsDeleteCall {
c := &NamespacesJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6735,9 +6735,9 @@ type NamespacesJobsGetCall struct {
// Get: Get information about a job.
//
-// - name: The name of the job to retrieve. Replace {namespace} with the
-// project ID or number. It takes the form namespaces/{namespace}. For
-// example: namespaces/PROJECT_ID.
+// - name: The name of the job to retrieve. Replace {namespace} with the
+// project ID or number. It takes the form namespaces/{namespace}. For
+// example: namespaces/PROJECT_ID.
func (r *NamespacesJobsService) Get(name string) *NamespacesJobsGetCall {
c := &NamespacesJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6883,9 +6883,9 @@ type NamespacesJobsListCall struct {
// List: List jobs.
//
-// - parent: The namespace from which the jobs should be listed. Replace
-// {namespace} with the project ID or number. It takes the form
-// namespaces/{namespace}. For example: namespaces/PROJECT_ID.
+// - parent: The namespace from which the jobs should be listed. Replace
+// {namespace} with the project ID or number. It takes the form
+// namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (r *NamespacesJobsService) List(parent string) *NamespacesJobsListCall {
c := &NamespacesJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7125,9 +7125,9 @@ type NamespacesJobsReplaceJobCall struct {
// metadata.resourceVersion to enforce update from last read for
// optimistic concurrency control.
//
-// - name: The name of the service being replaced. Replace {namespace}
-// with the project ID or number. It takes the form
-// namespaces/{namespace}. For example: namespaces/PROJECT_ID.
+// - name: The name of the service being replaced. Replace {namespace}
+// with the project ID or number. It takes the form
+// namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (r *NamespacesJobsService) ReplaceJob(name string, job *Job) *NamespacesJobsReplaceJobCall {
c := &NamespacesJobsReplaceJobCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7269,9 +7269,9 @@ type NamespacesJobsRunCall struct {
// Run: Trigger creation of a new execution of this job.
//
-// - name: The name of the job to run. Replace {namespace} with the
-// project ID or number. It takes the form namespaces/{namespace}. For
-// example: namespaces/PROJECT_ID.
+// - name: The name of the job to run. Replace {namespace} with the
+// project ID or number. It takes the form namespaces/{namespace}. For
+// example: namespaces/PROJECT_ID.
func (r *NamespacesJobsService) Run(name string, runjobrequest *RunJobRequest) *NamespacesJobsRunCall {
c := &NamespacesJobsRunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7412,10 +7412,10 @@ type NamespacesRevisionsDeleteCall struct {
// Delete: Delete a revision.
//
-// - name: The name of the revision to delete. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the revision to delete. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesRevisionsService) Delete(name string) *NamespacesRevisionsDeleteCall {
c := &NamespacesRevisionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7600,10 +7600,10 @@ type NamespacesRevisionsGetCall struct {
// Get: Get information about a revision.
//
-// - name: The name of the revision to retrieve. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the revision to retrieve. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesRevisionsService) Get(name string) *NamespacesRevisionsGetCall {
c := &NamespacesRevisionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7749,10 +7749,10 @@ type NamespacesRevisionsListCall struct {
// List: List revisions.
//
-// - parent: The namespace from which the revisions should be listed.
-// For Cloud Run (fully managed), replace {namespace} with the project
-// ID or number. It takes the form namespaces/{namespace}. For
-// example: namespaces/PROJECT_ID.
+// - parent: The namespace from which the revisions should be listed.
+// For Cloud Run (fully managed), replace {namespace} with the project
+// ID or number. It takes the form namespaces/{namespace}. For
+// example: namespaces/PROJECT_ID.
func (r *NamespacesRevisionsService) List(parent string) *NamespacesRevisionsListCall {
c := &NamespacesRevisionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7988,10 +7988,10 @@ type NamespacesRoutesGetCall struct {
// Get: Get information about a route.
//
-// - name: The name of the route to retrieve. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the route to retrieve. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesRoutesService) Get(name string) *NamespacesRoutesGetCall {
c := &NamespacesRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8137,10 +8137,10 @@ type NamespacesRoutesListCall struct {
// List: List routes.
//
-// - parent: The namespace from which the routes should be listed. For
-// Cloud Run (fully managed), replace {namespace} with the project ID
-// or number. It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - parent: The namespace from which the routes should be listed. For
+// Cloud Run (fully managed), replace {namespace} with the project ID
+// or number. It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesRoutesService) List(parent string) *NamespacesRoutesListCall {
c := &NamespacesRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8376,10 +8376,10 @@ type NamespacesServicesCreateCall struct {
// Create: Create a service.
//
-// - parent: The namespace in which the service should be created. For
-// Cloud Run (fully managed), replace {namespace} with the project ID
-// or number. It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - parent: The namespace in which the service should be created. For
+// Cloud Run (fully managed), replace {namespace} with the project ID
+// or number. It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesServicesService) Create(parent string, service *Service) *NamespacesServicesCreateCall {
c := &NamespacesServicesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8535,10 +8535,10 @@ type NamespacesServicesDeleteCall struct {
// traffic and will delete the child entities like Routes,
// Configurations and Revisions.
//
-// - name: The name of the service to delete. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the service to delete. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesServicesService) Delete(name string) *NamespacesServicesDeleteCall {
c := &NamespacesServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8723,10 +8723,10 @@ type NamespacesServicesGetCall struct {
// Get: Get information about a service.
//
-// - name: The name of the service to retrieve. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the service to retrieve. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesServicesService) Get(name string) *NamespacesServicesGetCall {
c := &NamespacesServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8872,10 +8872,10 @@ type NamespacesServicesListCall struct {
// List: List services.
//
-// - parent: The namespace from which the services should be listed. For
-// Cloud Run (fully managed), replace {namespace} with the project ID
-// or number. It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - parent: The namespace from which the services should be listed. For
+// Cloud Run (fully managed), replace {namespace} with the project ID
+// or number. It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesServicesService) List(parent string) *NamespacesServicesListCall {
c := &NamespacesServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9115,10 +9115,10 @@ type NamespacesServicesReplaceServiceCall struct {
// provide metadata.resourceVersion to enforce update from last read for
// optimistic concurrency control.
//
-// - name: The name of the service being replaced. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the service being replaced. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *NamespacesServicesService) ReplaceService(name string, service *Service) *NamespacesServicesReplaceServiceCall {
c := &NamespacesServicesReplaceServiceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9273,9 +9273,9 @@ type NamespacesTasksGetCall struct {
// Get: Get information about a task.
//
-// - name: The name of the task to retrieve. Replace {namespace} with
-// the project ID or number. It takes the form namespaces/{namespace}.
-// For example: namespaces/PROJECT_ID.
+// - name: The name of the task to retrieve. Replace {namespace} with
+// the project ID or number. It takes the form namespaces/{namespace}.
+// For example: namespaces/PROJECT_ID.
func (r *NamespacesTasksService) Get(name string) *NamespacesTasksGetCall {
c := &NamespacesTasksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9421,9 +9421,9 @@ type NamespacesTasksListCall struct {
// List: List tasks.
//
-// - parent: The namespace from which the tasks should be listed.
-// Replace {namespace} with the project ID or number. It takes the
-// form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
+// - parent: The namespace from which the tasks should be listed.
+// Replace {namespace} with the project ID or number. It takes the
+// form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (r *NamespacesTasksService) List(parent string) *NamespacesTasksListCall {
c := &NamespacesTasksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9659,8 +9659,8 @@ type ProjectsAuthorizeddomainsListCall struct {
// List: List authorized domains.
//
-// - parent: Name of the parent Project resource. Example:
-// `projects/myproject`.
+// - parent: Name of the parent Project resource. Example:
+// `projects/myproject`.
func (r *ProjectsAuthorizeddomainsService) List(parent string) *ProjectsAuthorizeddomainsListCall {
c := &ProjectsAuthorizeddomainsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9853,8 +9853,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10061,8 +10061,8 @@ type ProjectsLocationsAuthorizeddomainsListCall struct {
// List: List authorized domains.
//
-// - parent: Name of the parent Project resource. Example:
-// `projects/myproject`.
+// - parent: Name of the parent Project resource. Example:
+// `projects/myproject`.
func (r *ProjectsLocationsAuthorizeddomainsService) List(parent string) *ProjectsLocationsAuthorizeddomainsListCall {
c := &ProjectsLocationsAuthorizeddomainsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10254,9 +10254,9 @@ type ProjectsLocationsConfigurationsGetCall struct {
// Get: Get information about a configuration.
//
-// - name: The name of the configuration to retrieve. For Cloud Run
-// (fully managed), replace {namespace_id} with the project ID or
-// number.
+// - name: The name of the configuration to retrieve. For Cloud Run
+// (fully managed), replace {namespace_id} with the project ID or
+// number.
func (r *ProjectsLocationsConfigurationsService) Get(name string) *ProjectsLocationsConfigurationsGetCall {
c := &ProjectsLocationsConfigurationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10402,9 +10402,9 @@ type ProjectsLocationsConfigurationsListCall struct {
// List: List configurations.
//
-// - parent: The namespace from which the configurations should be
-// listed. For Cloud Run (fully managed), replace {namespace_id} with
-// the project ID or number.
+// - parent: The namespace from which the configurations should be
+// listed. For Cloud Run (fully managed), replace {namespace_id} with
+// the project ID or number.
func (r *ProjectsLocationsConfigurationsService) List(parent string) *ProjectsLocationsConfigurationsListCall {
c := &ProjectsLocationsConfigurationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10640,10 +10640,10 @@ type ProjectsLocationsDomainmappingsCreateCall struct {
// Create: Create a new domain mapping.
//
-// - parent: The namespace in which the domain mapping should be
-// created. For Cloud Run (fully managed), replace {namespace} with
-// the project ID or number. It takes the form namespaces/{namespace}.
-// For example: namespaces/PROJECT_ID.
+// - parent: The namespace in which the domain mapping should be
+// created. For Cloud Run (fully managed), replace {namespace} with
+// the project ID or number. It takes the form namespaces/{namespace}.
+// For example: namespaces/PROJECT_ID.
func (r *ProjectsLocationsDomainmappingsService) Create(parent string, domainmapping *DomainMapping) *ProjectsLocationsDomainmappingsCreateCall {
c := &ProjectsLocationsDomainmappingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10797,10 +10797,10 @@ type ProjectsLocationsDomainmappingsDeleteCall struct {
// Delete: Delete a domain mapping.
//
-// - name: The name of the domain mapping to delete. For Cloud Run
-// (fully managed), replace {namespace} with the project ID or number.
-// It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the domain mapping to delete. For Cloud Run
+// (fully managed), replace {namespace} with the project ID or number.
+// It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsDomainmappingsService) Delete(name string) *ProjectsLocationsDomainmappingsDeleteCall {
c := &ProjectsLocationsDomainmappingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10985,10 +10985,10 @@ type ProjectsLocationsDomainmappingsGetCall struct {
// Get: Get information about a domain mapping.
//
-// - name: The name of the domain mapping to retrieve. For Cloud Run
-// (fully managed), replace {namespace} with the project ID or number.
-// It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the domain mapping to retrieve. For Cloud Run
+// (fully managed), replace {namespace} with the project ID or number.
+// It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsDomainmappingsService) Get(name string) *ProjectsLocationsDomainmappingsGetCall {
c := &ProjectsLocationsDomainmappingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11134,10 +11134,10 @@ type ProjectsLocationsDomainmappingsListCall struct {
// List: List domain mappings.
//
-// - parent: The namespace from which the domain mappings should be
-// listed. For Cloud Run (fully managed), replace {namespace} with the
-// project ID or number. It takes the form namespaces/{namespace}. For
-// example: namespaces/PROJECT_ID.
+// - parent: The namespace from which the domain mappings should be
+// listed. For Cloud Run (fully managed), replace {namespace} with the
+// project ID or number. It takes the form namespaces/{namespace}. For
+// example: namespaces/PROJECT_ID.
func (r *ProjectsLocationsDomainmappingsService) List(parent string) *ProjectsLocationsDomainmappingsListCall {
c := &ProjectsLocationsDomainmappingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11375,10 +11375,10 @@ type ProjectsLocationsJobsGetIamPolicyCall struct {
// for the given job. This result does not include any inherited
// policies.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsJobsService) GetIamPolicy(resource string) *ProjectsLocationsJobsGetIamPolicyCall {
c := &ProjectsLocationsJobsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11549,10 +11549,10 @@ type ProjectsLocationsJobsSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Access control policy for the specified
// job. Overwrites any existing policy.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsJobsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsJobsSetIamPolicyCall {
c := &ProjectsLocationsJobsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11696,10 +11696,10 @@ type ProjectsLocationsJobsTestIamPermissionsCall struct {
// specified job. There are no permissions required for making this API
// call.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsJobsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsJobsTestIamPermissionsCall {
c := &ProjectsLocationsJobsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11840,10 +11840,10 @@ type ProjectsLocationsRevisionsDeleteCall struct {
// Delete: Delete a revision.
//
-// - name: The name of the revision to delete. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the revision to delete. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsRevisionsService) Delete(name string) *ProjectsLocationsRevisionsDeleteCall {
c := &ProjectsLocationsRevisionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12028,10 +12028,10 @@ type ProjectsLocationsRevisionsGetCall struct {
// Get: Get information about a revision.
//
-// - name: The name of the revision to retrieve. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the revision to retrieve. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsRevisionsService) Get(name string) *ProjectsLocationsRevisionsGetCall {
c := &ProjectsLocationsRevisionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12177,10 +12177,10 @@ type ProjectsLocationsRevisionsListCall struct {
// List: List revisions.
//
-// - parent: The namespace from which the revisions should be listed.
-// For Cloud Run (fully managed), replace {namespace} with the project
-// ID or number. It takes the form namespaces/{namespace}. For
-// example: namespaces/PROJECT_ID.
+// - parent: The namespace from which the revisions should be listed.
+// For Cloud Run (fully managed), replace {namespace} with the project
+// ID or number. It takes the form namespaces/{namespace}. For
+// example: namespaces/PROJECT_ID.
func (r *ProjectsLocationsRevisionsService) List(parent string) *ProjectsLocationsRevisionsListCall {
c := &ProjectsLocationsRevisionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12416,10 +12416,10 @@ type ProjectsLocationsRoutesGetCall struct {
// Get: Get information about a route.
//
-// - name: The name of the route to retrieve. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the route to retrieve. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsRoutesService) Get(name string) *ProjectsLocationsRoutesGetCall {
c := &ProjectsLocationsRoutesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12565,10 +12565,10 @@ type ProjectsLocationsRoutesListCall struct {
// List: List routes.
//
-// - parent: The namespace from which the routes should be listed. For
-// Cloud Run (fully managed), replace {namespace} with the project ID
-// or number. It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - parent: The namespace from which the routes should be listed. For
+// Cloud Run (fully managed), replace {namespace} with the project ID
+// or number. It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsRoutesService) List(parent string) *ProjectsLocationsRoutesListCall {
c := &ProjectsLocationsRoutesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12804,10 +12804,10 @@ type ProjectsLocationsServicesCreateCall struct {
// Create: Create a service.
//
-// - parent: The namespace in which the service should be created. For
-// Cloud Run (fully managed), replace {namespace} with the project ID
-// or number. It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - parent: The namespace in which the service should be created. For
+// Cloud Run (fully managed), replace {namespace} with the project ID
+// or number. It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsServicesService) Create(parent string, service *Service) *ProjectsLocationsServicesCreateCall {
c := &ProjectsLocationsServicesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12963,10 +12963,10 @@ type ProjectsLocationsServicesDeleteCall struct {
// traffic and will delete the child entities like Routes,
// Configurations and Revisions.
//
-// - name: The name of the service to delete. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the service to delete. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsServicesService) Delete(name string) *ProjectsLocationsServicesDeleteCall {
c := &ProjectsLocationsServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13151,10 +13151,10 @@ type ProjectsLocationsServicesGetCall struct {
// Get: Get information about a service.
//
-// - name: The name of the service to retrieve. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the service to retrieve. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsServicesService) Get(name string) *ProjectsLocationsServicesGetCall {
c := &ProjectsLocationsServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13302,10 +13302,10 @@ type ProjectsLocationsServicesGetIamPolicyCall struct {
// for the given Cloud Run service. This result does not include any
// inherited policies.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) GetIamPolicy(resource string) *ProjectsLocationsServicesGetIamPolicyCall {
c := &ProjectsLocationsServicesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13475,10 +13475,10 @@ type ProjectsLocationsServicesListCall struct {
// List: List services.
//
-// - parent: The namespace from which the services should be listed. For
-// Cloud Run (fully managed), replace {namespace} with the project ID
-// or number. It takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - parent: The namespace from which the services should be listed. For
+// Cloud Run (fully managed), replace {namespace} with the project ID
+// or number. It takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall {
c := &ProjectsLocationsServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13718,10 +13718,10 @@ type ProjectsLocationsServicesReplaceServiceCall struct {
// provide metadata.resourceVersion to enforce update from last read for
// optimistic concurrency control.
//
-// - name: The name of the service being replaced. For Cloud Run (fully
-// managed), replace {namespace} with the project ID or number. It
-// takes the form namespaces/{namespace}. For example:
-// namespaces/PROJECT_ID.
+// - name: The name of the service being replaced. For Cloud Run (fully
+// managed), replace {namespace} with the project ID or number. It
+// takes the form namespaces/{namespace}. For example:
+// namespaces/PROJECT_ID.
func (r *ProjectsLocationsServicesService) ReplaceService(name string, service *Service) *ProjectsLocationsServicesReplaceServiceCall {
c := &ProjectsLocationsServicesReplaceServiceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13877,10 +13877,10 @@ type ProjectsLocationsServicesSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Access control policy for the specified
// Service. Overwrites any existing policy.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesSetIamPolicyCall {
c := &ProjectsLocationsServicesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -14024,10 +14024,10 @@ type ProjectsLocationsServicesTestIamPermissionsCall struct {
// specified Project. There are no permissions required for making this
// API call.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesTestIamPermissionsCall {
c := &ProjectsLocationsServicesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/run/v1alpha1/run-gen.go b/run/v1alpha1/run-gen.go
index ea57c1bead1..32cd79e05c9 100644
--- a/run/v1alpha1/run-gen.go
+++ b/run/v1alpha1/run-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/run/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/run/v1alpha1"
-// ...
-// ctx := context.Background()
-// runService, err := run.NewService(ctx)
+// import "google.golang.org/api/run/v1alpha1"
+// ...
+// ctx := context.Background()
+// runService, err := run.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// runService, err := run.NewService(ctx, option.WithAPIKey("AIza..."))
+// runService, err := run.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package run // import "google.golang.org/api/run/v1alpha1"
@@ -2068,8 +2068,8 @@ type NamespacesJobsCreateCall struct {
// Create: Create a job.
//
-// - parent: The namespace in which the job should be created. Replace
-// {namespace_id} with the project ID or number.
+// - parent: The namespace in which the job should be created. Replace
+// {namespace_id} with the project ID or number.
func (r *NamespacesJobsService) Create(parent string, job *Job) *NamespacesJobsCreateCall {
c := &NamespacesJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2210,8 +2210,8 @@ type NamespacesJobsDeleteCall struct {
// Delete: Delete a job.
//
-// - name: The name of the job to delete. For Cloud Run (fully managed),
-// replace {namespace_id} with the project ID or number.
+// - name: The name of the job to delete. For Cloud Run (fully managed),
+// replace {namespace_id} with the project ID or number.
func (r *NamespacesJobsService) Delete(name string) *NamespacesJobsDeleteCall {
c := &NamespacesJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2383,8 +2383,8 @@ type NamespacesJobsGetCall struct {
// Get: Get information about a job.
//
-// - name: The name of the job to retrieve. For Cloud Run (fully
-// managed), replace {namespace_id} with the project ID or number.
+// - name: The name of the job to retrieve. For Cloud Run (fully
+// managed), replace {namespace_id} with the project ID or number.
func (r *NamespacesJobsService) Get(name string) *NamespacesJobsGetCall {
c := &NamespacesJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2530,8 +2530,8 @@ type NamespacesJobsListCall struct {
// List: List jobs.
//
-// - parent: The namespace from which the jobs should be listed. Replace
-// {namespace_id} with the project ID or number.
+// - parent: The namespace from which the jobs should be listed. Replace
+// {namespace_id} with the project ID or number.
func (r *NamespacesJobsService) List(parent string) *NamespacesJobsListCall {
c := &NamespacesJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/run/v1beta1/run-gen.go b/run/v1beta1/run-gen.go
index 87f5388f448..28401abcaec 100644
--- a/run/v1beta1/run-gen.go
+++ b/run/v1beta1/run-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/run/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/run/v1beta1"
-// ...
-// ctx := context.Background()
-// runService, err := run.NewService(ctx)
+// import "google.golang.org/api/run/v1beta1"
+// ...
+// ctx := context.Background()
+// runService, err := run.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// runService, err := run.NewService(ctx, option.WithAPIKey("AIza..."))
+// runService, err := run.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package run // import "google.golang.org/api/run/v1beta1"
@@ -1410,8 +1410,8 @@ type NamespacesCustomresourcedefinitionsGetCall struct {
// Get: Rpc to get information about a CustomResourceDefinition.
//
-// - name: The name of the CustomResourceDefinition being retrieved. If
-// needed, replace {namespace_id} with the project ID.
+// - name: The name of the CustomResourceDefinition being retrieved. If
+// needed, replace {namespace_id} with the project ID.
func (r *NamespacesCustomresourcedefinitionsService) Get(name string) *NamespacesCustomresourcedefinitionsGetCall {
c := &NamespacesCustomresourcedefinitionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1557,8 +1557,8 @@ type ProjectsLocationsCustomresourcedefinitionsGetCall struct {
// Get: Rpc to get information about a CustomResourceDefinition.
//
-// - name: The name of the CustomResourceDefinition being retrieved. If
-// needed, replace {namespace_id} with the project ID.
+// - name: The name of the CustomResourceDefinition being retrieved. If
+// needed, replace {namespace_id} with the project ID.
func (r *ProjectsLocationsCustomresourcedefinitionsService) Get(name string) *ProjectsLocationsCustomresourcedefinitionsGetCall {
c := &ProjectsLocationsCustomresourcedefinitionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1704,8 +1704,8 @@ type ProjectsLocationsCustomresourcedefinitionsListCall struct {
// List: Rpc to list custom resource definitions.
//
-// - parent: The project ID or project number from which the storages
-// should be listed.
+// - parent: The project ID or project number from which the storages
+// should be listed.
func (r *ProjectsLocationsCustomresourcedefinitionsService) List(parent string) *ProjectsLocationsCustomresourcedefinitionsListCall {
c := &ProjectsLocationsCustomresourcedefinitionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go
index 9842c49e907..a2647cb706f 100644
--- a/run/v2/run-gen.go
+++ b/run/v2/run-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/run/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/run/v2"
-// ...
-// ctx := context.Background()
-// runService, err := run.NewService(ctx)
+// import "google.golang.org/api/run/v2"
+// ...
+// ctx := context.Background()
+// runService, err := run.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// runService, err := run.NewService(ctx, option.WithAPIKey("AIza..."))
+// runService, err := run.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package run // import "google.golang.org/api/run/v2"
@@ -3146,8 +3146,8 @@ type ProjectsLocationsJobsCreateCall struct {
// Create: Create a Job.
//
-// - parent: The location and project in which this Job should be
-// created. Format: projects/{projectnumber}/locations/{location}.
+// - parent: The location and project in which this Job should be
+// created. Format: projects/{projectnumber}/locations/{location}.
func (r *ProjectsLocationsJobsService) Create(parent string, googlecloudrunv2job *GoogleCloudRunV2Job) *ProjectsLocationsJobsCreateCall {
c := &ProjectsLocationsJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3314,8 +3314,8 @@ type ProjectsLocationsJobsDeleteCall struct {
// Delete: Deletes a Job.
//
-// - name: The full name of the Job. Format:
-// projects/{projectnumber}/locations/{location}/jobs/{job}.
+// - name: The full name of the Job. Format:
+// projects/{projectnumber}/locations/{location}/jobs/{job}.
func (r *ProjectsLocationsJobsService) Delete(name string) *ProjectsLocationsJobsDeleteCall {
c := &ProjectsLocationsJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3489,8 +3489,8 @@ type ProjectsLocationsJobsGetCall struct {
// Get: Gets information about a Job.
//
-// - name: The full name of the Job. Format:
-// projects/{projectnumber}/locations/{location}/jobs/{job}.
+// - name: The full name of the Job. Format:
+// projects/{projectnumber}/locations/{location}/jobs/{job}.
func (r *ProjectsLocationsJobsService) Get(name string) *ProjectsLocationsJobsGetCall {
c := &ProjectsLocationsJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3638,10 +3638,10 @@ type ProjectsLocationsJobsGetIamPolicyCall struct {
// for the given Job. This result does not include any inherited
// policies.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsJobsService) GetIamPolicy(resource string) *ProjectsLocationsJobsGetIamPolicyCall {
c := &ProjectsLocationsJobsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3811,8 +3811,8 @@ type ProjectsLocationsJobsListCall struct {
// List: List Jobs.
//
-// - parent: The location and project to list resources on. Format:
-// projects/{projectnumber}/locations/{location}.
+// - parent: The location and project to list resources on. Format:
+// projects/{projectnumber}/locations/{location}.
func (r *ProjectsLocationsJobsService) List(parent string) *ProjectsLocationsJobsListCall {
c := &ProjectsLocationsJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4017,8 +4017,8 @@ type ProjectsLocationsJobsPatchCall struct {
// Patch: Updates a Job.
//
-// - name: The fully qualified name of this Job. Format:
-// projects/{project}/locations/{location}/jobs/{job}.
+// - name: The fully qualified name of this Job. Format:
+// projects/{project}/locations/{location}/jobs/{job}.
func (r *ProjectsLocationsJobsService) Patch(name string, googlecloudrunv2job *GoogleCloudRunV2Job) *ProjectsLocationsJobsPatchCall {
c := &ProjectsLocationsJobsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4187,8 +4187,8 @@ type ProjectsLocationsJobsRunCall struct {
// Run: Triggers creation of a new Execution of this Job.
//
-// - name: The full name of the Job. Format:
-// projects/{projectnumber}/locations/{location}/jobs/{job}.
+// - name: The full name of the Job. Format:
+// projects/{projectnumber}/locations/{location}/jobs/{job}.
func (r *ProjectsLocationsJobsService) Run(name string, googlecloudrunv2runjobrequest *GoogleCloudRunV2RunJobRequest) *ProjectsLocationsJobsRunCall {
c := &ProjectsLocationsJobsRunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4331,10 +4331,10 @@ type ProjectsLocationsJobsSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Access control policy for the specified
// Job. Overwrites any existing policy.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsJobsService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsJobsSetIamPolicyCall {
c := &ProjectsLocationsJobsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4478,10 +4478,10 @@ type ProjectsLocationsJobsTestIamPermissionsCall struct {
// specified Project. There are no permissions required for making this
// API call.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsJobsService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsJobsTestIamPermissionsCall {
c := &ProjectsLocationsJobsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4623,9 +4623,9 @@ type ProjectsLocationsJobsExecutionsDeleteCall struct {
// Delete: Delete an Execution.
//
-// - name: The name of the Execution to delete. Format:
-// projects/{project}/locations/{location}/jobs/{job}/executions/{execu
-// tion}.
+// - name: The name of the Execution to delete. Format:
+// projects/{project}/locations/{location}/jobs/{job}/executions/{execu
+// tion}.
func (r *ProjectsLocationsJobsExecutionsService) Delete(name string) *ProjectsLocationsJobsExecutionsDeleteCall {
c := &ProjectsLocationsJobsExecutionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4784,9 +4784,9 @@ type ProjectsLocationsJobsExecutionsGetCall struct {
// Get: Gets information about a Execution.
//
-// - name: The full name of the Execution. Format:
-// projects/{project}/locations/{location}/jobs/{job}/executions/{execu
-// tion}.
+// - name: The full name of the Execution. Format:
+// projects/{project}/locations/{location}/jobs/{job}/executions/{execu
+// tion}.
func (r *ProjectsLocationsJobsExecutionsService) Get(name string) *ProjectsLocationsJobsExecutionsGetCall {
c := &ProjectsLocationsJobsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4932,9 +4932,9 @@ type ProjectsLocationsJobsExecutionsListCall struct {
// List: List Executions from a Job.
//
-// - parent: The Execution from which the Executions should be listed.
-// To list all Executions across Jobs, use "-" instead of Job name.
-// Format: projects/{project}/locations/{location}/jobs/{job}.
+// - parent: The Execution from which the Executions should be listed.
+// To list all Executions across Jobs, use "-" instead of Job name.
+// Format: projects/{project}/locations/{location}/jobs/{job}.
func (r *ProjectsLocationsJobsExecutionsService) List(parent string) *ProjectsLocationsJobsExecutionsListCall {
c := &ProjectsLocationsJobsExecutionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5140,9 +5140,9 @@ type ProjectsLocationsJobsExecutionsTasksGetCall struct {
// Get: Gets information about a Task.
//
-// - name: The full name of the Task. Format:
-// projects/{project}/locations/{location}/jobs/{job}/executions/{execu
-// tion}/tasks/{task}.
+// - name: The full name of the Task. Format:
+// projects/{project}/locations/{location}/jobs/{job}/executions/{execu
+// tion}/tasks/{task}.
func (r *ProjectsLocationsJobsExecutionsTasksService) Get(name string) *ProjectsLocationsJobsExecutionsTasksGetCall {
c := &ProjectsLocationsJobsExecutionsTasksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5288,12 +5288,12 @@ type ProjectsLocationsJobsExecutionsTasksListCall struct {
// List: List Tasks from an Execution of a Job.
//
-// - parent: The Execution from which the Tasks should be listed. To
-// list all Tasks across Executions of a Job, use "-" instead of
-// Execution name. To list all Tasks across Jobs, use "-" instead of
-// Job name. Format:
-// projects/{project}/locations/{location}/jobs/{job}/executions/{execu
-// tion}.
+// - parent: The Execution from which the Tasks should be listed. To
+// list all Tasks across Executions of a Job, use "-" instead of
+// Execution name. To list all Tasks across Jobs, use "-" instead of
+// Job name. Format:
+// projects/{project}/locations/{location}/jobs/{job}/executions/{execu
+// tion}.
func (r *ProjectsLocationsJobsExecutionsTasksService) List(parent string) *ProjectsLocationsJobsExecutionsTasksListCall {
c := &ProjectsLocationsJobsExecutionsTasksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6002,10 +6002,10 @@ type ProjectsLocationsServicesCreateCall struct {
// Create: Creates a new Service in a given project and location.
//
-// - parent: The location and project in which this service should be
-// created. Format: projects/{projectnumber}/locations/{location} Only
-// lowercase, digits, and hyphens; must begin with letter, and may not
-// end with hyphen; must contain fewer than 50 characters.
+// - parent: The location and project in which this service should be
+// created. Format: projects/{projectnumber}/locations/{location} Only
+// lowercase, digits, and hyphens; must begin with letter, and may not
+// end with hyphen; must contain fewer than 50 characters.
func (r *ProjectsLocationsServicesService) Create(parent string, googlecloudrunv2service *GoogleCloudRunV2Service) *ProjectsLocationsServicesCreateCall {
c := &ProjectsLocationsServicesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6173,8 +6173,8 @@ type ProjectsLocationsServicesDeleteCall struct {
// Delete: Deletes a Service. This will cause the Service to stop
// serving traffic and will delete all revisions.
//
-// - name: The full name of the Service. Format:
-// projects/{projectnumber}/locations/{location}/services/{service}.
+// - name: The full name of the Service. Format:
+// projects/{projectnumber}/locations/{location}/services/{service}.
func (r *ProjectsLocationsServicesService) Delete(name string) *ProjectsLocationsServicesDeleteCall {
c := &ProjectsLocationsServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6333,8 +6333,8 @@ type ProjectsLocationsServicesGetCall struct {
// Get: Gets information about a Service.
//
-// - name: The full name of the Service. Format:
-// projects/{projectnumber}/locations/{location}/services/{service}.
+// - name: The full name of the Service. Format:
+// projects/{projectnumber}/locations/{location}/services/{service}.
func (r *ProjectsLocationsServicesService) Get(name string) *ProjectsLocationsServicesGetCall {
c := &ProjectsLocationsServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6482,10 +6482,10 @@ type ProjectsLocationsServicesGetIamPolicyCall struct {
// for the given Cloud Run Service. This result does not include any
// inherited policies.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) GetIamPolicy(resource string) *ProjectsLocationsServicesGetIamPolicyCall {
c := &ProjectsLocationsServicesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6655,9 +6655,9 @@ type ProjectsLocationsServicesListCall struct {
// List: List Services.
//
-// - parent: The location and project to list resources on. Location
-// must be a valid GCP region, and may not be the "-" wildcard.
-// Format: projects/{projectnumber}/locations/{location}.
+// - parent: The location and project to list resources on. Location
+// must be a valid GCP region, and may not be the "-" wildcard.
+// Format: projects/{projectnumber}/locations/{location}.
func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall {
c := &ProjectsLocationsServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6863,11 +6863,11 @@ type ProjectsLocationsServicesPatchCall struct {
// Patch: Updates a Service.
//
-// - name: The fully qualified name of this Service. In
-// CreateServiceRequest, this field is ignored, and instead composed
-// from CreateServiceRequest.parent and
-// CreateServiceRequest.service_id. Format:
-// projects/{project}/locations/{location}/services/{service_id}.
+// - name: The fully qualified name of this Service. In
+// CreateServiceRequest, this field is ignored, and instead composed
+// from CreateServiceRequest.parent and
+// CreateServiceRequest.service_id. Format:
+// projects/{project}/locations/{location}/services/{service_id}.
func (r *ProjectsLocationsServicesService) Patch(name string, googlecloudrunv2service *GoogleCloudRunV2Service) *ProjectsLocationsServicesPatchCall {
c := &ProjectsLocationsServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7037,10 +7037,10 @@ type ProjectsLocationsServicesSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Access control policy for the specified
// Service. Overwrites any existing policy.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *ProjectsLocationsServicesSetIamPolicyCall {
c := &ProjectsLocationsServicesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7184,10 +7184,10 @@ type ProjectsLocationsServicesTestIamPermissionsCall struct {
// specified Project. There are no permissions required for making this
// API call.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsServicesService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *ProjectsLocationsServicesTestIamPermissionsCall {
c := &ProjectsLocationsServicesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7329,9 +7329,9 @@ type ProjectsLocationsServicesRevisionsDeleteCall struct {
// Delete: Delete a Revision.
//
-// - name: The name of the Revision to delete. Format:
-// projects/{project}/locations/{location}/services/{service}/revisions
-// /{revision}.
+// - name: The name of the Revision to delete. Format:
+// projects/{project}/locations/{location}/services/{service}/revisions
+// /{revision}.
func (r *ProjectsLocationsServicesRevisionsService) Delete(name string) *ProjectsLocationsServicesRevisionsDeleteCall {
c := &ProjectsLocationsServicesRevisionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7490,9 +7490,9 @@ type ProjectsLocationsServicesRevisionsGetCall struct {
// Get: Gets information about a Revision.
//
-// - name: The full name of the Revision. Format:
-// projects/{project}/locations/{location}/services/{service}/revisions
-// /{revision}.
+// - name: The full name of the Revision. Format:
+// projects/{project}/locations/{location}/services/{service}/revisions
+// /{revision}.
func (r *ProjectsLocationsServicesRevisionsService) Get(name string) *ProjectsLocationsServicesRevisionsGetCall {
c := &ProjectsLocationsServicesRevisionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7638,10 +7638,10 @@ type ProjectsLocationsServicesRevisionsListCall struct {
// List: List Revisions from a given Service, or from a given location.
//
-// - parent: The Service from which the Revisions should be listed. To
-// list all Revisions across Services, use "-" instead of Service
-// name. Format:
-// projects/{project}/locations/{location}/services/{service}.
+// - parent: The Service from which the Revisions should be listed. To
+// list all Revisions across Services, use "-" instead of Service
+// name. Format:
+// projects/{project}/locations/{location}/services/{service}.
func (r *ProjectsLocationsServicesRevisionsService) List(parent string) *ProjectsLocationsServicesRevisionsListCall {
c := &ProjectsLocationsServicesRevisionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/runtimeconfig/v1/runtimeconfig-gen.go b/runtimeconfig/v1/runtimeconfig-gen.go
index 046f32815e0..f52ddc5540f 100644
--- a/runtimeconfig/v1/runtimeconfig-gen.go
+++ b/runtimeconfig/v1/runtimeconfig-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/deployment-manager/runtime-configurator/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/runtimeconfig/v1"
-// ...
-// ctx := context.Background()
-// runtimeconfigService, err := runtimeconfig.NewService(ctx)
+// import "google.golang.org/api/runtimeconfig/v1"
+// ...
+// ctx := context.Background()
+// runtimeconfigService, err := runtimeconfig.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithScopes(runtimeconfig.CloudruntimeconfigScope))
+// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithScopes(runtimeconfig.CloudruntimeconfigScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithAPIKey("AIza..."))
+// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package runtimeconfig // import "google.golang.org/api/runtimeconfig/v1"
diff --git a/runtimeconfig/v1beta1/runtimeconfig-gen.go b/runtimeconfig/v1beta1/runtimeconfig-gen.go
index 500efc15e3a..edaeac2bd80 100644
--- a/runtimeconfig/v1beta1/runtimeconfig-gen.go
+++ b/runtimeconfig/v1beta1/runtimeconfig-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/deployment-manager/runtime-configurator/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/runtimeconfig/v1beta1"
-// ...
-// ctx := context.Background()
-// runtimeconfigService, err := runtimeconfig.NewService(ctx)
+// import "google.golang.org/api/runtimeconfig/v1beta1"
+// ...
+// ctx := context.Background()
+// runtimeconfigService, err := runtimeconfig.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithScopes(runtimeconfig.CloudruntimeconfigScope))
+// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithScopes(runtimeconfig.CloudruntimeconfigScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithAPIKey("AIza..."))
+// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// runtimeconfigService, err := runtimeconfig.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package runtimeconfig // import "google.golang.org/api/runtimeconfig/v1beta1"
@@ -1104,9 +1104,9 @@ type ProjectsConfigsCreateCall struct {
// Create: Creates a new RuntimeConfig resource. The configuration name
// must be unique within project.
//
-// - parent: The project ID
-// (https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)
-// for this request, in the format `projects/[PROJECT_ID]`.
+// - parent: The project ID
+// (https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)
+// for this request, in the format `projects/[PROJECT_ID]`.
func (r *ProjectsConfigsService) Create(parent string, runtimeconfig *RuntimeConfig) *ProjectsConfigsCreateCall {
c := &ProjectsConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1265,8 +1265,8 @@ type ProjectsConfigsDeleteCall struct {
// Delete: Deletes a RuntimeConfig resource.
//
-// - name: The RuntimeConfig resource to delete, in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
+// - name: The RuntimeConfig resource to delete, in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
func (r *ProjectsConfigsService) Delete(name string) *ProjectsConfigsDeleteCall {
c := &ProjectsConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1400,8 +1400,8 @@ type ProjectsConfigsGetCall struct {
// Get: Gets information about a RuntimeConfig resource.
//
-// - name: The name of the RuntimeConfig resource to retrieve, in the
-// format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
+// - name: The name of the RuntimeConfig resource to retrieve, in the
+// format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
func (r *ProjectsConfigsService) Get(name string) *ProjectsConfigsGetCall {
c := &ProjectsConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1550,10 +1550,10 @@ type ProjectsConfigsGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsConfigsService) GetIamPolicy(resource string) *ProjectsConfigsGetIamPolicyCall {
c := &ProjectsConfigsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1724,9 +1724,9 @@ type ProjectsConfigsListCall struct {
// List: Lists all the RuntimeConfig resources within project.
//
-// - parent: The project ID
-// (https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)
-// for this request, in the format `projects/[PROJECT_ID]`.
+// - parent: The project ID
+// (https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)
+// for this request, in the format `projects/[PROJECT_ID]`.
func (r *ProjectsConfigsService) List(parent string) *ProjectsConfigsListCall {
c := &ProjectsConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1923,10 +1923,10 @@ type ProjectsConfigsSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsConfigsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsConfigsSetIamPolicyCall {
c := &ProjectsConfigsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2074,10 +2074,10 @@ type ProjectsConfigsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsConfigsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsConfigsTestIamPermissionsCall {
c := &ProjectsConfigsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2221,8 +2221,8 @@ type ProjectsConfigsUpdateCall struct {
// Update: Updates a RuntimeConfig resource. The configuration must
// exist beforehand.
//
-// - name: The name of the RuntimeConfig resource to update, in the
-// format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
+// - name: The name of the RuntimeConfig resource to update, in the
+// format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
func (r *ProjectsConfigsService) Update(name string, runtimeconfig *RuntimeConfig) *ProjectsConfigsUpdateCall {
c := &ProjectsConfigsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2519,10 +2519,10 @@ type ProjectsConfigsOperationsTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsConfigsOperationsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsConfigsOperationsTestIamPermissionsCall {
c := &ProjectsConfigsOperationsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2671,10 +2671,10 @@ type ProjectsConfigsVariablesCreateCall struct {
// (/deployment-manager/runtime-configurator/set-and-get-variables)
// documentation.
//
-// - parent: The path to the RutimeConfig resource that this variable
-// should belong to. The configuration must exist beforehand; the path
-// must be in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
+// - parent: The path to the RutimeConfig resource that this variable
+// should belong to. The configuration must exist beforehand; the path
+// must be in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
func (r *ProjectsConfigsVariablesService) Create(parent string, variable *Variable) *ProjectsConfigsVariablesCreateCall {
c := &ProjectsConfigsVariablesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2837,9 +2837,9 @@ type ProjectsConfigsVariablesDeleteCall struct {
// deleted. You must set a `recursive` to true if you delete variables
// by prefix.
//
-// - name: The name of the variable to delete, in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAM
-// E]`.
+// - name: The name of the variable to delete, in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAM
+// E]`.
func (r *ProjectsConfigsVariablesService) Delete(name string) *ProjectsConfigsVariablesDeleteCall {
c := &ProjectsConfigsVariablesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2985,9 +2985,9 @@ type ProjectsConfigsVariablesGetCall struct {
// Get: Gets information about a single variable.
//
-// - name: The name of the variable to return, in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME
-// ]`.
+// - name: The name of the variable to return, in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME
+// ]`.
func (r *ProjectsConfigsVariablesService) Get(name string) *ProjectsConfigsVariablesGetCall {
c := &ProjectsConfigsVariablesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3137,10 +3137,10 @@ type ProjectsConfigsVariablesListCall struct {
// unless `return_values` is true, in which case only variables that
// user has IAM permission to GetVariable will be returned.
//
-// - parent: The path to the RuntimeConfig resource for which you want
-// to list variables. The configuration must exist beforehand; the
-// path must be in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
+// - parent: The path to the RuntimeConfig resource for which you want
+// to list variables. The configuration must exist beforehand; the
+// path must be in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
func (r *ProjectsConfigsVariablesService) List(parent string) *ProjectsConfigsVariablesListCall {
c := &ProjectsConfigsVariablesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3368,10 +3368,10 @@ type ProjectsConfigsVariablesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsConfigsVariablesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsConfigsVariablesTestIamPermissionsCall {
c := &ProjectsConfigsVariablesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3514,9 +3514,9 @@ type ProjectsConfigsVariablesUpdateCall struct {
// Update: Updates an existing variable with a new value.
//
-// - name: The name of the variable to update, in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAM
-// E]`.
+// - name: The name of the variable to update, in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAM
+// E]`.
func (r *ProjectsConfigsVariablesService) Update(name string, variable *Variable) *ProjectsConfigsVariablesUpdateCall {
c := &ProjectsConfigsVariablesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3669,8 +3669,8 @@ type ProjectsConfigsVariablesWatchCall struct {
// (/deployment-manager/runtime-configurator/watching-a-variable)
// documentation.
//
-// - name: The name of the variable to watch, in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
+// - name: The name of the variable to watch, in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
func (r *ProjectsConfigsVariablesService) Watch(name string, watchvariablerequest *WatchVariableRequest) *ProjectsConfigsVariablesWatchCall {
c := &ProjectsConfigsVariablesWatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3818,9 +3818,9 @@ type ProjectsConfigsWaitersCreateCall struct {
// the failed Waiter resource will still exist and must be deleted prior
// to subsequent creation attempts.
//
-// - parent: The path to the configuration that will own the waiter. The
-// configuration must exist beforehand; the path must be in the
-// format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
+// - parent: The path to the configuration that will own the waiter. The
+// configuration must exist beforehand; the path must be in the
+// format: `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
func (r *ProjectsConfigsWaitersService) Create(parent string, waiter *Waiter) *ProjectsConfigsWaitersCreateCall {
c := &ProjectsConfigsWaitersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3979,8 +3979,8 @@ type ProjectsConfigsWaitersDeleteCall struct {
// Delete: Deletes the waiter with the specified name.
//
-// - name: The Waiter resource to delete, in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`.
+// - name: The Waiter resource to delete, in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`.
func (r *ProjectsConfigsWaitersService) Delete(name string) *ProjectsConfigsWaitersDeleteCall {
c := &ProjectsConfigsWaitersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4114,9 +4114,9 @@ type ProjectsConfigsWaitersGetCall struct {
// Get: Gets information about a single waiter.
//
-// - name: The fully-qualified name of the Waiter resource object to
-// retrieve, in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`.
+// - name: The fully-qualified name of the Waiter resource object to
+// retrieve, in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`.
func (r *ProjectsConfigsWaitersService) Get(name string) *ProjectsConfigsWaitersGetCall {
c := &ProjectsConfigsWaitersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4263,10 +4263,10 @@ type ProjectsConfigsWaitersListCall struct {
// List: List waiters within the given configuration.
//
-// - parent: The path to the configuration for which you want to get a
-// list of waiters. The configuration must exist beforehand; the path
-// must be in the format:
-// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
+// - parent: The path to the configuration for which you want to get a
+// list of waiters. The configuration must exist beforehand; the path
+// must be in the format:
+// `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.
func (r *ProjectsConfigsWaitersService) List(parent string) *ProjectsConfigsWaitersListCall {
c := &ProjectsConfigsWaitersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4466,10 +4466,10 @@ type ProjectsConfigsWaitersTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsConfigsWaitersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsConfigsWaitersTestIamPermissionsCall {
c := &ProjectsConfigsWaitersTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/safebrowsing/v4/safebrowsing-gen.go b/safebrowsing/v4/safebrowsing-gen.go
index d9afe7dfa4f..a1b5b915808 100644
--- a/safebrowsing/v4/safebrowsing-gen.go
+++ b/safebrowsing/v4/safebrowsing-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/safe-browsing/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/safebrowsing/v4"
-// ...
-// ctx := context.Background()
-// safebrowsingService, err := safebrowsing.NewService(ctx)
+// import "google.golang.org/api/safebrowsing/v4"
+// ...
+// ctx := context.Background()
+// safebrowsingService, err := safebrowsing.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// safebrowsingService, err := safebrowsing.NewService(ctx, option.WithAPIKey("AIza..."))
+// safebrowsingService, err := safebrowsing.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// safebrowsingService, err := safebrowsing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// safebrowsingService, err := safebrowsing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package safebrowsing // import "google.golang.org/api/safebrowsing/v4"
diff --git a/sasportal/v1alpha1/sasportal-gen.go b/sasportal/v1alpha1/sasportal-gen.go
index 0eee996f249..90aead59349 100644
--- a/sasportal/v1alpha1/sasportal-gen.go
+++ b/sasportal/v1alpha1/sasportal-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/spectrum-access-system/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/sasportal/v1alpha1"
-// ...
-// ctx := context.Background()
-// sasportalService, err := sasportal.NewService(ctx)
+// import "google.golang.org/api/sasportal/v1alpha1"
+// ...
+// ctx := context.Background()
+// sasportalService, err := sasportal.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// sasportalService, err := sasportal.NewService(ctx, option.WithScopes(sasportal.UserinfoEmailScope))
+// sasportalService, err := sasportal.NewService(ctx, option.WithScopes(sasportal.UserinfoEmailScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// sasportalService, err := sasportal.NewService(ctx, option.WithAPIKey("AIza..."))
+// sasportalService, err := sasportal.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// sasportalService, err := sasportal.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// sasportalService, err := sasportal.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package sasportal // import "google.golang.org/api/sasportal/v1alpha1"
@@ -2425,8 +2425,8 @@ type CustomersDeploymentsCreateCall struct {
// Create: Creates a new deployment.
//
-// - parent: The parent resource name where the deployment is to be
-// created.
+// - parent: The parent resource name where the deployment is to be
+// created.
func (r *CustomersDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *CustomersDeploymentsCreateCall {
c := &CustomersDeploymentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2849,8 +2849,8 @@ type CustomersDeploymentsListCall struct {
// List: Lists deployments.
//
-// - parent: The parent resource name, for example, "nodes/1",
-// customer/1/nodes/2.
+// - parent: The parent resource name, for example, "nodes/1",
+// customer/1/nodes/2.
func (r *CustomersDeploymentsService) List(parent string) *CustomersDeploymentsListCall {
c := &CustomersDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6142,8 +6142,8 @@ type CustomersNodesDeploymentsCreateCall struct {
// Create: Creates a new deployment.
//
-// - parent: The parent resource name where the deployment is to be
-// created.
+// - parent: The parent resource name where the deployment is to be
+// created.
func (r *CustomersNodesDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *CustomersNodesDeploymentsCreateCall {
c := &CustomersNodesDeploymentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6286,8 +6286,8 @@ type CustomersNodesDeploymentsListCall struct {
// List: Lists deployments.
//
-// - parent: The parent resource name, for example, "nodes/1",
-// customer/1/nodes/2.
+// - parent: The parent resource name, for example, "nodes/1",
+// customer/1/nodes/2.
func (r *CustomersNodesDeploymentsService) List(parent string) *CustomersNodesDeploymentsListCall {
c := &CustomersNodesDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9035,8 +9035,8 @@ type NodesDeploymentsListCall struct {
// List: Lists deployments.
//
-// - parent: The parent resource name, for example, "nodes/1",
-// customer/1/nodes/2.
+// - parent: The parent resource name, for example, "nodes/1",
+// customer/1/nodes/2.
func (r *NodesDeploymentsService) List(parent string) *NodesDeploymentsListCall {
c := &NodesDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12328,8 +12328,8 @@ type NodesNodesDeploymentsCreateCall struct {
// Create: Creates a new deployment.
//
-// - parent: The parent resource name where the deployment is to be
-// created.
+// - parent: The parent resource name where the deployment is to be
+// created.
func (r *NodesNodesDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *NodesNodesDeploymentsCreateCall {
c := &NodesNodesDeploymentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12472,8 +12472,8 @@ type NodesNodesDeploymentsListCall struct {
// List: Lists deployments.
//
-// - parent: The parent resource name, for example, "nodes/1",
-// customer/1/nodes/2.
+// - parent: The parent resource name, for example, "nodes/1",
+// customer/1/nodes/2.
func (r *NodesNodesDeploymentsService) List(parent string) *NodesNodesDeploymentsListCall {
c := &NodesNodesDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/script/v1/script-gen.go b/script/v1/script-gen.go
index 2423825b4aa..5d997fc768b 100644
--- a/script/v1/script-gen.go
+++ b/script/v1/script-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/apps-script/api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/script/v1"
-// ...
-// ctx := context.Background()
-// scriptService, err := script.NewService(ctx)
+// import "google.golang.org/api/script/v1"
+// ...
+// ctx := context.Background()
+// scriptService, err := script.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// scriptService, err := script.NewService(ctx, option.WithScopes(script.UserinfoEmailScope))
+// scriptService, err := script.NewService(ctx, option.WithScopes(script.UserinfoEmailScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// scriptService, err := script.NewService(ctx, option.WithAPIKey("AIza..."))
+// scriptService, err := script.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// scriptService, err := script.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// scriptService, err := script.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package script // import "google.golang.org/api/script/v1"
@@ -1822,15 +1822,16 @@ func (c *ProcessesListCall) UserProcessFilterStartTime(userProcessFilterStartTim
// processes to those having one of the specified process statuses.
//
// Possible values:
-// "PROCESS_STATUS_UNSPECIFIED" - Unspecified status.
-// "RUNNING" - The process is currently running.
-// "PAUSED" - The process has paused.
-// "COMPLETED" - The process has completed.
-// "CANCELED" - The process was cancelled.
-// "FAILED" - The process failed.
-// "TIMED_OUT" - The process timed out.
-// "UNKNOWN" - Process status unknown.
-// "DELAYED" - The process is delayed, waiting for quota.
+//
+// "PROCESS_STATUS_UNSPECIFIED" - Unspecified status.
+// "RUNNING" - The process is currently running.
+// "PAUSED" - The process has paused.
+// "COMPLETED" - The process has completed.
+// "CANCELED" - The process was cancelled.
+// "FAILED" - The process failed.
+// "TIMED_OUT" - The process timed out.
+// "UNKNOWN" - Process status unknown.
+// "DELAYED" - The process is delayed, waiting for quota.
func (c *ProcessesListCall) UserProcessFilterStatuses(userProcessFilterStatuses ...string) *ProcessesListCall {
c.urlParams_.SetMulti("userProcessFilter.statuses", append([]string{}, userProcessFilterStatuses...))
return c
@@ -1841,18 +1842,23 @@ func (c *ProcessesListCall) UserProcessFilterStatuses(userProcessFilterStatuses
// processes to those having one of the specified process types.
//
// Possible values:
-// "PROCESS_TYPE_UNSPECIFIED" - Unspecified type.
-// "ADD_ON" - The process was started from an add-on entry point.
-// "EXECUTION_API" - The process was started using the Apps Script
+//
+// "PROCESS_TYPE_UNSPECIFIED" - Unspecified type.
+// "ADD_ON" - The process was started from an add-on entry point.
+// "EXECUTION_API" - The process was started using the Apps Script
+//
// API.
-// "TIME_DRIVEN" - The process was started from a time-based trigger.
-// "TRIGGER" - The process was started from an event-based trigger.
-// "WEBAPP" - The process was started from a web app entry point.
-// "EDITOR" - The process was started using the Apps Script IDE.
-// "SIMPLE_TRIGGER" - The process was started from a G Suite simple
+//
+// "TIME_DRIVEN" - The process was started from a time-based trigger.
+// "TRIGGER" - The process was started from an event-based trigger.
+// "WEBAPP" - The process was started from a web app entry point.
+// "EDITOR" - The process was started using the Apps Script IDE.
+// "SIMPLE_TRIGGER" - The process was started from a G Suite simple
+//
// trigger.
-// "MENU" - The process was started from a G Suite menu item.
-// "BATCH_TASK" - The process was started as a task in a batch job.
+//
+// "MENU" - The process was started from a G Suite menu item.
+// "BATCH_TASK" - The process was started as a task in a batch job.
func (c *ProcessesListCall) UserProcessFilterTypes(userProcessFilterTypes ...string) *ProcessesListCall {
c.urlParams_.SetMulti("userProcessFilter.types", append([]string{}, userProcessFilterTypes...))
return c
@@ -1864,11 +1870,12 @@ func (c *ProcessesListCall) UserProcessFilterTypes(userProcessFilterTypes ...str
// levels.
//
// Possible values:
-// "USER_ACCESS_LEVEL_UNSPECIFIED" - User access level unspecified
-// "NONE" - The user has no access.
-// "READ" - The user has read-only access.
-// "WRITE" - The user has write access.
-// "OWNER" - The user is an owner.
+//
+// "USER_ACCESS_LEVEL_UNSPECIFIED" - User access level unspecified
+// "NONE" - The user has no access.
+// "READ" - The user has read-only access.
+// "WRITE" - The user has write access.
+// "OWNER" - The user is an owner.
func (c *ProcessesListCall) UserProcessFilterUserAccessLevels(userProcessFilterUserAccessLevels ...string) *ProcessesListCall {
c.urlParams_.SetMulti("userProcessFilter.userAccessLevels", append([]string{}, userProcessFilterUserAccessLevels...))
return c
@@ -2209,15 +2216,16 @@ func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterStartTime(scriptPr
// processes to those having one of the specified process statuses.
//
// Possible values:
-// "PROCESS_STATUS_UNSPECIFIED" - Unspecified status.
-// "RUNNING" - The process is currently running.
-// "PAUSED" - The process has paused.
-// "COMPLETED" - The process has completed.
-// "CANCELED" - The process was cancelled.
-// "FAILED" - The process failed.
-// "TIMED_OUT" - The process timed out.
-// "UNKNOWN" - Process status unknown.
-// "DELAYED" - The process is delayed, waiting for quota.
+//
+// "PROCESS_STATUS_UNSPECIFIED" - Unspecified status.
+// "RUNNING" - The process is currently running.
+// "PAUSED" - The process has paused.
+// "COMPLETED" - The process has completed.
+// "CANCELED" - The process was cancelled.
+// "FAILED" - The process failed.
+// "TIMED_OUT" - The process timed out.
+// "UNKNOWN" - Process status unknown.
+// "DELAYED" - The process is delayed, waiting for quota.
func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterStatuses(scriptProcessFilterStatuses ...string) *ProcessesListScriptProcessesCall {
c.urlParams_.SetMulti("scriptProcessFilter.statuses", append([]string{}, scriptProcessFilterStatuses...))
return c
@@ -2228,18 +2236,23 @@ func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterStatuses(scriptPro
// processes to those having one of the specified process types.
//
// Possible values:
-// "PROCESS_TYPE_UNSPECIFIED" - Unspecified type.
-// "ADD_ON" - The process was started from an add-on entry point.
-// "EXECUTION_API" - The process was started using the Apps Script
+//
+// "PROCESS_TYPE_UNSPECIFIED" - Unspecified type.
+// "ADD_ON" - The process was started from an add-on entry point.
+// "EXECUTION_API" - The process was started using the Apps Script
+//
// API.
-// "TIME_DRIVEN" - The process was started from a time-based trigger.
-// "TRIGGER" - The process was started from an event-based trigger.
-// "WEBAPP" - The process was started from a web app entry point.
-// "EDITOR" - The process was started using the Apps Script IDE.
-// "SIMPLE_TRIGGER" - The process was started from a G Suite simple
+//
+// "TIME_DRIVEN" - The process was started from a time-based trigger.
+// "TRIGGER" - The process was started from an event-based trigger.
+// "WEBAPP" - The process was started from a web app entry point.
+// "EDITOR" - The process was started using the Apps Script IDE.
+// "SIMPLE_TRIGGER" - The process was started from a G Suite simple
+//
// trigger.
-// "MENU" - The process was started from a G Suite menu item.
-// "BATCH_TASK" - The process was started as a task in a batch job.
+//
+// "MENU" - The process was started from a G Suite menu item.
+// "BATCH_TASK" - The process was started as a task in a batch job.
func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterTypes(scriptProcessFilterTypes ...string) *ProcessesListScriptProcessesCall {
c.urlParams_.SetMulti("scriptProcessFilter.types", append([]string{}, scriptProcessFilterTypes...))
return c
@@ -2251,11 +2264,12 @@ func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterTypes(scriptProces
// levels.
//
// Possible values:
-// "USER_ACCESS_LEVEL_UNSPECIFIED" - User access level unspecified
-// "NONE" - The user has no access.
-// "READ" - The user has read-only access.
-// "WRITE" - The user has write access.
-// "OWNER" - The user is an owner.
+//
+// "USER_ACCESS_LEVEL_UNSPECIFIED" - User access level unspecified
+// "NONE" - The user has no access.
+// "READ" - The user has read-only access.
+// "WRITE" - The user has write access.
+// "OWNER" - The user is an owner.
func (c *ProcessesListScriptProcessesCall) ScriptProcessFilterUserAccessLevels(scriptProcessFilterUserAccessLevels ...string) *ProcessesListScriptProcessesCall {
c.urlParams_.SetMulti("scriptProcessFilter.userAccessLevels", append([]string{}, scriptProcessFilterUserAccessLevels...))
return c
@@ -2978,10 +2992,13 @@ func (c *ProjectsGetMetricsCall) MetricsFilterDeploymentId(metricsFilterDeployme
// Required field indicating what granularity of metrics are returned.
//
// Possible values:
-// "UNSPECIFIED_GRANULARITY" - Default metric granularity used to
+//
+// "UNSPECIFIED_GRANULARITY" - Default metric granularity used to
+//
// query no metrics.
-// "WEEKLY" - Represents weekly metrics.
-// "DAILY" - Represents daily metrics over a period of 7 days.
+//
+// "WEEKLY" - Represents weekly metrics.
+// "DAILY" - Represents daily metrics over a period of 7 days.
func (c *ProjectsGetMetricsCall) MetricsGranularity(metricsGranularity string) *ProjectsGetMetricsCall {
c.urlParams_.Set("metricsGranularity", metricsGranularity)
return c
@@ -4579,8 +4596,8 @@ type ScriptsRunCall struct {
// that the Cloud Platform project used to authorize the request is not
// the same as the one used by the script.
//
-// - scriptId: The script ID of the script to be executed. Find the
-// script ID on the **Project settings** page under "IDs.".
+// - scriptId: The script ID of the script to be executed. Find the
+// script ID on the **Project settings** page under "IDs.".
func (r *ScriptsService) Run(scriptId string, executionrequest *ExecutionRequest) *ScriptsRunCall {
c := &ScriptsRunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.scriptId = scriptId
diff --git a/searchconsole/v1/searchconsole-gen.go b/searchconsole/v1/searchconsole-gen.go
index 37e878f82f4..6996d743ba1 100644
--- a/searchconsole/v1/searchconsole-gen.go
+++ b/searchconsole/v1/searchconsole-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/webmaster-tools/search-console-api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/searchconsole/v1"
-// ...
-// ctx := context.Background()
-// searchconsoleService, err := searchconsole.NewService(ctx)
+// import "google.golang.org/api/searchconsole/v1"
+// ...
+// ctx := context.Background()
+// searchconsoleService, err := searchconsole.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// searchconsoleService, err := searchconsole.NewService(ctx, option.WithScopes(searchconsole.WebmastersReadonlyScope))
+// searchconsoleService, err := searchconsole.NewService(ctx, option.WithScopes(searchconsole.WebmastersReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// searchconsoleService, err := searchconsole.NewService(ctx, option.WithAPIKey("AIza..."))
+// searchconsoleService, err := searchconsole.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// searchconsoleService, err := searchconsole.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// searchconsoleService, err := searchconsole.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package searchconsole // import "google.golang.org/api/searchconsole/v1"
@@ -1690,8 +1690,8 @@ type SearchanalyticsQueryCall struct {
// date range query grouped by date for any metric, and see which day
// rows are returned.
//
-// - siteUrl: The site's URL, including protocol. For example:
-// `http://www.example.com/`.
+// - siteUrl: The site's URL, including protocol. For example:
+// `http://www.example.com/`.
func (r *SearchanalyticsService) Query(siteUrl string, searchanalyticsqueryrequest *SearchAnalyticsQueryRequest) *SearchanalyticsQueryCall {
c := &SearchanalyticsQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -1835,10 +1835,10 @@ type SitemapsDeleteCall struct {
// Google from crawling this sitemap or the URLs that were previously
// crawled in the deleted sitemap.
//
-// - feedpath: The URL of the actual sitemap. For example:
-// `http://www.example.com/sitemap.xml`.
-// - siteUrl: The site's URL, including protocol. For example:
-// `http://www.example.com/`.
+// - feedpath: The URL of the actual sitemap. For example:
+// `http://www.example.com/sitemap.xml`.
+// - siteUrl: The site's URL, including protocol. For example:
+// `http://www.example.com/`.
func (r *SitemapsService) Delete(siteUrl string, feedpath string) *SitemapsDeleteCall {
c := &SitemapsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -1952,10 +1952,10 @@ type SitemapsGetCall struct {
// Get: Retrieves information about a specific sitemap.
//
-// - feedpath: The URL of the actual sitemap. For example:
-// `http://www.example.com/sitemap.xml`.
-// - siteUrl: The site's URL, including protocol. For example:
-// `http://www.example.com/`.
+// - feedpath: The URL of the actual sitemap. For example:
+// `http://www.example.com/sitemap.xml`.
+// - siteUrl: The site's URL, including protocol. For example:
+// `http://www.example.com/`.
func (r *SitemapsService) Get(siteUrl string, feedpath string) *SitemapsGetCall {
c := &SitemapsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -2112,8 +2112,8 @@ type SitemapsListCall struct {
// submitted for this site, or included in the sitemap index file (if
// `sitemapIndex` is specified in the request).
//
-// - siteUrl: The site's URL, including protocol. For example:
-// `http://www.example.com/`.
+// - siteUrl: The site's URL, including protocol. For example:
+// `http://www.example.com/`.
func (r *SitemapsService) List(siteUrl string) *SitemapsListCall {
c := &SitemapsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -2272,10 +2272,10 @@ type SitemapsSubmitCall struct {
// Submit: Submits a sitemap for a site.
//
-// - feedpath: The URL of the actual sitemap. For example:
-// `http://www.example.com/sitemap.xml`.
-// - siteUrl: The site's URL, including protocol. For example:
-// `http://www.example.com/`.
+// - feedpath: The URL of the actual sitemap. For example:
+// `http://www.example.com/sitemap.xml`.
+// - siteUrl: The site's URL, including protocol. For example:
+// `http://www.example.com/`.
func (r *SitemapsService) Submit(siteUrl string, feedpath string) *SitemapsSubmitCall {
c := &SitemapsSubmitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -2491,8 +2491,8 @@ type SitesDeleteCall struct {
// Delete: Removes a site from the set of the user's Search Console
// sites.
//
-// - siteUrl: The URI of the property as defined in Search Console.
-// **Examples:** `http://www.example.com/` or `sc-domain:example.com`.
+// - siteUrl: The URI of the property as defined in Search Console.
+// **Examples:** `http://www.example.com/` or `sc-domain:example.com`.
func (r *SitesService) Delete(siteUrl string) *SitesDeleteCall {
c := &SitesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -2596,8 +2596,8 @@ type SitesGetCall struct {
// Get: Retrieves information about specific site.
//
-// - siteUrl: The URI of the property as defined in Search Console.
-// **Examples:** `http://www.example.com/` or `sc-domain:example.com`.
+// - siteUrl: The URI of the property as defined in Search Console.
+// **Examples:** `http://www.example.com/` or `sc-domain:example.com`.
func (r *SitesService) Get(siteUrl string) *SitesGetCall {
c := &SitesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
diff --git a/secretmanager/v1/secretmanager-gen.go b/secretmanager/v1/secretmanager-gen.go
index d0a43a91081..aa76c6bda31 100644
--- a/secretmanager/v1/secretmanager-gen.go
+++ b/secretmanager/v1/secretmanager-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/secret-manager/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/secretmanager/v1"
-// ...
-// ctx := context.Background()
-// secretmanagerService, err := secretmanager.NewService(ctx)
+// import "google.golang.org/api/secretmanager/v1"
+// ...
+// ctx := context.Background()
+// secretmanagerService, err := secretmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// secretmanagerService, err := secretmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// secretmanagerService, err := secretmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// secretmanagerService, err := secretmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// secretmanagerService, err := secretmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package secretmanager // import "google.golang.org/api/secretmanager/v1"
@@ -1741,8 +1741,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1950,8 +1950,8 @@ type ProjectsSecretsAddVersionCall struct {
// AddVersion: Creates a new SecretVersion containing secret data and
// attaches it to an existing Secret.
//
-// - parent: The resource name of the Secret to associate with the
-// SecretVersion in the format `projects/*/secrets/*`.
+// - parent: The resource name of the Secret to associate with the
+// SecretVersion in the format `projects/*/secrets/*`.
func (r *ProjectsSecretsService) AddVersion(parent string, addsecretversionrequest *AddSecretVersionRequest) *ProjectsSecretsAddVersionCall {
c := &ProjectsSecretsAddVersionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2093,8 +2093,8 @@ type ProjectsSecretsCreateCall struct {
// Create: Creates a new Secret containing no SecretVersions.
//
-// - parent: The resource name of the project to associate with the
-// Secret, in the format `projects/*`.
+// - parent: The resource name of the project to associate with the
+// Secret, in the format `projects/*`.
func (r *ProjectsSecretsService) Create(parent string, secret *Secret) *ProjectsSecretsCreateCall {
c := &ProjectsSecretsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2250,8 +2250,8 @@ type ProjectsSecretsDeleteCall struct {
// Delete: Deletes a Secret.
//
-// - name: The resource name of the Secret to delete in the format
-// `projects/*/secrets/*`.
+// - name: The resource name of the Secret to delete in the format
+// `projects/*/secrets/*`.
func (r *ProjectsSecretsService) Delete(name string) *ProjectsSecretsDeleteCall {
c := &ProjectsSecretsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2397,8 +2397,8 @@ type ProjectsSecretsGetCall struct {
// Get: Gets metadata for a given Secret.
//
-// - name: The resource name of the Secret, in the format
-// `projects/*/secrets/*`.
+// - name: The resource name of the Secret, in the format
+// `projects/*/secrets/*`.
func (r *ProjectsSecretsService) Get(name string) *ProjectsSecretsGetCall {
c := &ProjectsSecretsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2545,10 +2545,10 @@ type ProjectsSecretsGetIamPolicyCall struct {
// GetIamPolicy: Gets the access control policy for a secret. Returns
// empty policy if the secret exists and does not have a policy set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSecretsService) GetIamPolicy(resource string) *ProjectsSecretsGetIamPolicyCall {
c := &ProjectsSecretsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2718,8 +2718,8 @@ type ProjectsSecretsListCall struct {
// List: Lists Secrets.
//
-// - parent: The resource name of the project associated with the
-// Secrets, in the format `projects/*`.
+// - parent: The resource name of the project associated with the
+// Secrets, in the format `projects/*`.
func (r *ProjectsSecretsService) List(parent string) *ProjectsSecretsListCall {
c := &ProjectsSecretsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2928,8 +2928,8 @@ type ProjectsSecretsPatchCall struct {
// Patch: Updates metadata of an existing Secret.
//
-// - name: Output only. The resource name of the Secret in the format
-// `projects/*/secrets/*`.
+// - name: Output only. The resource name of the Secret in the format
+// `projects/*/secrets/*`.
func (r *ProjectsSecretsService) Patch(name string, secret *Secret) *ProjectsSecretsPatchCall {
c := &ProjectsSecretsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3086,10 +3086,10 @@ type ProjectsSecretsSetIamPolicyCall struct {
// Replaces any existing policy. Permissions on SecretVersions are
// enforced according to the policy set on the associated Secret.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSecretsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsSecretsSetIamPolicyCall {
c := &ProjectsSecretsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3236,10 +3236,10 @@ type ProjectsSecretsTestIamPermissionsCall struct {
// command-line tools, not for authorization checking. This operation
// may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSecretsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsSecretsTestIamPermissionsCall {
c := &ProjectsSecretsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3383,10 +3383,10 @@ type ProjectsSecretsVersionsAccessCall struct {
// `projects/*/secrets/*/versions/latest` is an alias to the most
// recently created SecretVersion.
//
-// - name: The resource name of the SecretVersion in the format
-// `projects/*/secrets/*/versions/*`.
-// `projects/*/secrets/*/versions/latest` is an alias to the most
-// recently created SecretVersion.
+// - name: The resource name of the SecretVersion in the format
+// `projects/*/secrets/*/versions/*`.
+// `projects/*/secrets/*/versions/latest` is an alias to the most
+// recently created SecretVersion.
func (r *ProjectsSecretsVersionsService) Access(name string) *ProjectsSecretsVersionsAccessCall {
c := &ProjectsSecretsVersionsAccessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3533,8 +3533,8 @@ type ProjectsSecretsVersionsDestroyCall struct {
// Destroy: Destroys a SecretVersion. Sets the state of the
// SecretVersion to DESTROYED and irrevocably destroys the secret data.
//
-// - name: The resource name of the SecretVersion to destroy in the
-// format `projects/*/secrets/*/versions/*`.
+// - name: The resource name of the SecretVersion to destroy in the
+// format `projects/*/secrets/*/versions/*`.
func (r *ProjectsSecretsVersionsService) Destroy(name string, destroysecretversionrequest *DestroySecretVersionRequest) *ProjectsSecretsVersionsDestroyCall {
c := &ProjectsSecretsVersionsDestroyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3677,8 +3677,8 @@ type ProjectsSecretsVersionsDisableCall struct {
// Disable: Disables a SecretVersion. Sets the state of the
// SecretVersion to DISABLED.
//
-// - name: The resource name of the SecretVersion to disable in the
-// format `projects/*/secrets/*/versions/*`.
+// - name: The resource name of the SecretVersion to disable in the
+// format `projects/*/secrets/*/versions/*`.
func (r *ProjectsSecretsVersionsService) Disable(name string, disablesecretversionrequest *DisableSecretVersionRequest) *ProjectsSecretsVersionsDisableCall {
c := &ProjectsSecretsVersionsDisableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3821,8 +3821,8 @@ type ProjectsSecretsVersionsEnableCall struct {
// Enable: Enables a SecretVersion. Sets the state of the SecretVersion
// to ENABLED.
//
-// - name: The resource name of the SecretVersion to enable in the
-// format `projects/*/secrets/*/versions/*`.
+// - name: The resource name of the SecretVersion to enable in the
+// format `projects/*/secrets/*/versions/*`.
func (r *ProjectsSecretsVersionsService) Enable(name string, enablesecretversionrequest *EnableSecretVersionRequest) *ProjectsSecretsVersionsEnableCall {
c := &ProjectsSecretsVersionsEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3966,10 +3966,10 @@ type ProjectsSecretsVersionsGetCall struct {
// `projects/*/secrets/*/versions/latest` is an alias to the most
// recently created SecretVersion.
//
-// - name: The resource name of the SecretVersion in the format
-// `projects/*/secrets/*/versions/*`.
-// `projects/*/secrets/*/versions/latest` is an alias to the most
-// recently created SecretVersion.
+// - name: The resource name of the SecretVersion in the format
+// `projects/*/secrets/*/versions/*`.
+// `projects/*/secrets/*/versions/latest` is an alias to the most
+// recently created SecretVersion.
func (r *ProjectsSecretsVersionsService) Get(name string) *ProjectsSecretsVersionsGetCall {
c := &ProjectsSecretsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4115,8 +4115,8 @@ type ProjectsSecretsVersionsListCall struct {
// List: Lists SecretVersions. This call does not return secret data.
//
-// - parent: The resource name of the Secret associated with the
-// SecretVersions to list, in the format `projects/*/secrets/*`.
+// - parent: The resource name of the Secret associated with the
+// SecretVersions to list, in the format `projects/*/secrets/*`.
func (r *ProjectsSecretsVersionsService) List(parent string) *ProjectsSecretsVersionsListCall {
c := &ProjectsSecretsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/secretmanager/v1beta1/secretmanager-gen.go b/secretmanager/v1beta1/secretmanager-gen.go
index ba3fa07c97b..64a3c6cbcb0 100644
--- a/secretmanager/v1beta1/secretmanager-gen.go
+++ b/secretmanager/v1beta1/secretmanager-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/secret-manager/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/secretmanager/v1beta1"
-// ...
-// ctx := context.Background()
-// secretmanagerService, err := secretmanager.NewService(ctx)
+// import "google.golang.org/api/secretmanager/v1beta1"
+// ...
+// ctx := context.Background()
+// secretmanagerService, err := secretmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// secretmanagerService, err := secretmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// secretmanagerService, err := secretmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// secretmanagerService, err := secretmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// secretmanagerService, err := secretmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package secretmanager // import "google.golang.org/api/secretmanager/v1beta1"
@@ -1285,8 +1285,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1494,8 +1494,8 @@ type ProjectsSecretsAddVersionCall struct {
// AddVersion: Creates a new SecretVersion containing secret data and
// attaches it to an existing Secret.
//
-// - parent: The resource name of the Secret to associate with the
-// SecretVersion in the format `projects/*/secrets/*`.
+// - parent: The resource name of the Secret to associate with the
+// SecretVersion in the format `projects/*/secrets/*`.
func (r *ProjectsSecretsService) AddVersion(parent string, addsecretversionrequest *AddSecretVersionRequest) *ProjectsSecretsAddVersionCall {
c := &ProjectsSecretsAddVersionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1637,8 +1637,8 @@ type ProjectsSecretsCreateCall struct {
// Create: Creates a new Secret containing no SecretVersions.
//
-// - parent: The resource name of the project to associate with the
-// Secret, in the format `projects/*`.
+// - parent: The resource name of the project to associate with the
+// Secret, in the format `projects/*`.
func (r *ProjectsSecretsService) Create(parent string, secret *Secret) *ProjectsSecretsCreateCall {
c := &ProjectsSecretsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1794,8 +1794,8 @@ type ProjectsSecretsDeleteCall struct {
// Delete: Deletes a Secret.
//
-// - name: The resource name of the Secret to delete in the format
-// `projects/*/secrets/*`.
+// - name: The resource name of the Secret to delete in the format
+// `projects/*/secrets/*`.
func (r *ProjectsSecretsService) Delete(name string) *ProjectsSecretsDeleteCall {
c := &ProjectsSecretsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1928,8 +1928,8 @@ type ProjectsSecretsGetCall struct {
// Get: Gets metadata for a given Secret.
//
-// - name: The resource name of the Secret, in the format
-// `projects/*/secrets/*`.
+// - name: The resource name of the Secret, in the format
+// `projects/*/secrets/*`.
func (r *ProjectsSecretsService) Get(name string) *ProjectsSecretsGetCall {
c := &ProjectsSecretsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2076,10 +2076,10 @@ type ProjectsSecretsGetIamPolicyCall struct {
// GetIamPolicy: Gets the access control policy for a secret. Returns
// empty policy if the secret exists and does not have a policy set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSecretsService) GetIamPolicy(resource string) *ProjectsSecretsGetIamPolicyCall {
c := &ProjectsSecretsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2249,8 +2249,8 @@ type ProjectsSecretsListCall struct {
// List: Lists Secrets.
//
-// - parent: The resource name of the project associated with the
-// Secrets, in the format `projects/*`.
+// - parent: The resource name of the project associated with the
+// Secrets, in the format `projects/*`.
func (r *ProjectsSecretsService) List(parent string) *ProjectsSecretsListCall {
c := &ProjectsSecretsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2444,8 +2444,8 @@ type ProjectsSecretsPatchCall struct {
// Patch: Updates metadata of an existing Secret.
//
-// - name: Output only. The resource name of the Secret in the format
-// `projects/*/secrets/*`.
+// - name: Output only. The resource name of the Secret in the format
+// `projects/*/secrets/*`.
func (r *ProjectsSecretsService) Patch(name string, secret *Secret) *ProjectsSecretsPatchCall {
c := &ProjectsSecretsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2602,10 +2602,10 @@ type ProjectsSecretsSetIamPolicyCall struct {
// Replaces any existing policy. Permissions on SecretVersions are
// enforced according to the policy set on the associated Secret.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSecretsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsSecretsSetIamPolicyCall {
c := &ProjectsSecretsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2752,10 +2752,10 @@ type ProjectsSecretsTestIamPermissionsCall struct {
// command-line tools, not for authorization checking. This operation
// may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsSecretsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsSecretsTestIamPermissionsCall {
c := &ProjectsSecretsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2899,8 +2899,8 @@ type ProjectsSecretsVersionsAccessCall struct {
// `projects/*/secrets/*/versions/latest` is an alias to the `latest`
// SecretVersion.
//
-// - name: The resource name of the SecretVersion in the format
-// `projects/*/secrets/*/versions/*`.
+// - name: The resource name of the SecretVersion in the format
+// `projects/*/secrets/*/versions/*`.
func (r *ProjectsSecretsVersionsService) Access(name string) *ProjectsSecretsVersionsAccessCall {
c := &ProjectsSecretsVersionsAccessCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3047,8 +3047,8 @@ type ProjectsSecretsVersionsDestroyCall struct {
// Destroy: Destroys a SecretVersion. Sets the state of the
// SecretVersion to DESTROYED and irrevocably destroys the secret data.
//
-// - name: The resource name of the SecretVersion to destroy in the
-// format `projects/*/secrets/*/versions/*`.
+// - name: The resource name of the SecretVersion to destroy in the
+// format `projects/*/secrets/*/versions/*`.
func (r *ProjectsSecretsVersionsService) Destroy(name string, destroysecretversionrequest *DestroySecretVersionRequest) *ProjectsSecretsVersionsDestroyCall {
c := &ProjectsSecretsVersionsDestroyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3191,8 +3191,8 @@ type ProjectsSecretsVersionsDisableCall struct {
// Disable: Disables a SecretVersion. Sets the state of the
// SecretVersion to DISABLED.
//
-// - name: The resource name of the SecretVersion to disable in the
-// format `projects/*/secrets/*/versions/*`.
+// - name: The resource name of the SecretVersion to disable in the
+// format `projects/*/secrets/*/versions/*`.
func (r *ProjectsSecretsVersionsService) Disable(name string, disablesecretversionrequest *DisableSecretVersionRequest) *ProjectsSecretsVersionsDisableCall {
c := &ProjectsSecretsVersionsDisableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3335,8 +3335,8 @@ type ProjectsSecretsVersionsEnableCall struct {
// Enable: Enables a SecretVersion. Sets the state of the SecretVersion
// to ENABLED.
//
-// - name: The resource name of the SecretVersion to enable in the
-// format `projects/*/secrets/*/versions/*`.
+// - name: The resource name of the SecretVersion to enable in the
+// format `projects/*/secrets/*/versions/*`.
func (r *ProjectsSecretsVersionsService) Enable(name string, enablesecretversionrequest *EnableSecretVersionRequest) *ProjectsSecretsVersionsEnableCall {
c := &ProjectsSecretsVersionsEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3480,10 +3480,10 @@ type ProjectsSecretsVersionsGetCall struct {
// `projects/*/secrets/*/versions/latest` is an alias to the `latest`
// SecretVersion.
//
-// - name: The resource name of the SecretVersion in the format
-// `projects/*/secrets/*/versions/*`.
-// `projects/*/secrets/*/versions/latest` is an alias to the `latest`
-// SecretVersion.
+// - name: The resource name of the SecretVersion in the format
+// `projects/*/secrets/*/versions/*`.
+// `projects/*/secrets/*/versions/latest` is an alias to the `latest`
+// SecretVersion.
func (r *ProjectsSecretsVersionsService) Get(name string) *ProjectsSecretsVersionsGetCall {
c := &ProjectsSecretsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3629,8 +3629,8 @@ type ProjectsSecretsVersionsListCall struct {
// List: Lists SecretVersions. This call does not return secret data.
//
-// - parent: The resource name of the Secret associated with the
-// SecretVersions to list, in the format `projects/*/secrets/*`.
+// - parent: The resource name of the Secret associated with the
+// SecretVersions to list, in the format `projects/*/secrets/*`.
func (r *ProjectsSecretsVersionsService) List(parent string) *ProjectsSecretsVersionsListCall {
c := &ProjectsSecretsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go
index fcbfb063e38..99a832d89ea 100644
--- a/securitycenter/v1/securitycenter-gen.go
+++ b/securitycenter/v1/securitycenter-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/security-command-center
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/securitycenter/v1"
-// ...
-// ctx := context.Background()
-// securitycenterService, err := securitycenter.NewService(ctx)
+// import "google.golang.org/api/securitycenter/v1"
+// ...
+// ctx := context.Background()
+// securitycenterService, err := securitycenter.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package securitycenter // import "google.golang.org/api/securitycenter/v1"
@@ -4991,9 +4991,9 @@ type FoldersAssetsGroupCall struct {
// Group: Filters an organization's assets and groups them by their
// specified properties.
//
-// - parent: Name of the organization to groupBy. Its format is
-// "organizations/[organization_id], folders/[folder_id], or
-// projects/[project_id]".
+// - parent: Name of the organization to groupBy. Its format is
+// "organizations/[organization_id], folders/[folder_id], or
+// projects/[project_id]".
func (r *FoldersAssetsService) Group(parent string, groupassetsrequest *GroupAssetsRequest) *FoldersAssetsGroupCall {
c := &FoldersAssetsGroupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5156,9 +5156,9 @@ type FoldersAssetsListCall struct {
// List: Lists an organization's assets.
//
-// - parent: Name of the organization assets should belong to. Its
-// format is "organizations/[organization_id], folders/[folder_id], or
-// projects/[project_id]".
+// - parent: Name of the organization assets should belong to. Its
+// format is "organizations/[organization_id], folders/[folder_id], or
+// projects/[project_id]".
func (r *FoldersAssetsService) List(parent string) *FoldersAssetsListCall {
c := &FoldersAssetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5487,12 +5487,12 @@ type FoldersAssetsUpdateSecurityMarksCall struct {
// UpdateSecurityMarks: Updates security marks.
//
-// - name: The relative resource name of the SecurityMarks. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Examples:
-// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}/securityMarks".
+// - name: The relative resource name of the SecurityMarks. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Examples:
+// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}/securityMarks".
func (r *FoldersAssetsService) UpdateSecurityMarks(name string, securitymarks *SecurityMarks) *FoldersAssetsUpdateSecurityMarksCall {
c := &FoldersAssetsUpdateSecurityMarksCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5665,9 +5665,9 @@ type FoldersBigQueryExportsCreateCall struct {
// Create: Creates a big query export.
//
-// - parent: Resource name of the new big query export's parent. Its
-// format is "organizations/[organization_id]", "folders/[folder_id]",
-// or "projects/[project_id]".
+// - parent: Resource name of the new big query export's parent. Its
+// format is "organizations/[organization_id]", "folders/[folder_id]",
+// or "projects/[project_id]".
func (r *FoldersBigQueryExportsService) Create(parent string, googlecloudsecuritycenterv1bigqueryexport *GoogleCloudSecuritycenterV1BigQueryExport) *FoldersBigQueryExportsCreateCall {
c := &FoldersBigQueryExportsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5825,10 +5825,10 @@ type FoldersBigQueryExportsDeleteCall struct {
// Delete: Deletes an existing big query export.
//
-// - name: Name of the big query export to delete. Its format is
-// organizations/{organization}/bigQueryExports/{export_id},
-// folders/{folder}/bigQueryExports/{export_id}, or
-// projects/{project}/bigQueryExports/{export_id}.
+// - name: Name of the big query export to delete. Its format is
+// organizations/{organization}/bigQueryExports/{export_id},
+// folders/{folder}/bigQueryExports/{export_id}, or
+// projects/{project}/bigQueryExports/{export_id}.
func (r *FoldersBigQueryExportsService) Delete(name string) *FoldersBigQueryExportsDeleteCall {
c := &FoldersBigQueryExportsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5961,10 +5961,10 @@ type FoldersBigQueryExportsGetCall struct {
// Get: Gets a big query export.
//
-// - name: Name of the big query export to retrieve. Its format is
-// organizations/{organization}/bigQueryExports/{export_id},
-// folders/{folder}/bigQueryExports/{export_id}, or
-// projects/{project}/bigQueryExports/{export_id}.
+// - name: Name of the big query export to retrieve. Its format is
+// organizations/{organization}/bigQueryExports/{export_id},
+// folders/{folder}/bigQueryExports/{export_id}, or
+// projects/{project}/bigQueryExports/{export_id}.
func (r *FoldersBigQueryExportsService) Get(name string) *FoldersBigQueryExportsGetCall {
c := &FoldersBigQueryExportsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6116,9 +6116,9 @@ type FoldersBigQueryExportsListCall struct {
// BigQuery exports immediately under the folder plus the ones created
// under the projects within the folder are returned.
//
-// - parent: The parent, which owns the collection of BigQuery exports.
-// Its format is "organizations/[organization_id]",
-// "folders/[folder_id]", "projects/[project_id]".
+// - parent: The parent, which owns the collection of BigQuery exports.
+// Its format is "organizations/[organization_id]",
+// "folders/[folder_id]", "projects/[project_id]".
func (r *FoldersBigQueryExportsService) List(parent string) *FoldersBigQueryExportsListCall {
c := &FoldersBigQueryExportsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6315,14 +6315,14 @@ type FoldersBigQueryExportsPatchCall struct {
// Patch: Updates a BigQuery export.
//
-// - name: The relative resource name of this export. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name.
-// Example format:
-// "organizations/{organization_id}/bigQueryExports/{export_id}"
-// Example format: "folders/{folder_id}/bigQueryExports/{export_id}"
-// Example format: "projects/{project_id}/bigQueryExports/{export_id}"
-// This field is provided in responses, and is ignored when provided
-// in create requests.
+// - name: The relative resource name of this export. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name.
+// Example format:
+// "organizations/{organization_id}/bigQueryExports/{export_id}"
+// Example format: "folders/{folder_id}/bigQueryExports/{export_id}"
+// Example format: "projects/{project_id}/bigQueryExports/{export_id}"
+// This field is provided in responses, and is ignored when provided
+// in create requests.
func (r *FoldersBigQueryExportsService) Patch(name string, googlecloudsecuritycenterv1bigqueryexport *GoogleCloudSecuritycenterV1BigQueryExport) *FoldersBigQueryExportsPatchCall {
c := &FoldersBigQueryExportsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6482,9 +6482,9 @@ type FoldersFindingsBulkMuteCall struct {
// project. The findings matched by the filter will be muted after the
// LRO is done.
//
-// - parent: The parent, at which bulk action needs to be applied. Its
-// format is "organizations/[organization_id]", "folders/[folder_id]",
-// "projects/[project_id]".
+// - parent: The parent, at which bulk action needs to be applied. Its
+// format is "organizations/[organization_id]", "folders/[folder_id]",
+// "projects/[project_id]".
func (r *FoldersFindingsService) BulkMute(parent string, bulkmutefindingsrequest *BulkMuteFindingsRequest) *FoldersFindingsBulkMuteCall {
c := &FoldersFindingsBulkMuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6626,9 +6626,9 @@ type FoldersMuteConfigsCreateCall struct {
// Create: Creates a mute config.
//
-// - parent: Resource name of the new mute configs's parent. Its format
-// is "organizations/[organization_id]", "folders/[folder_id]", or
-// "projects/[project_id]".
+// - parent: Resource name of the new mute configs's parent. Its format
+// is "organizations/[organization_id]", "folders/[folder_id]", or
+// "projects/[project_id]".
func (r *FoldersMuteConfigsService) Create(parent string, googlecloudsecuritycenterv1muteconfig *GoogleCloudSecuritycenterV1MuteConfig) *FoldersMuteConfigsCreateCall {
c := &FoldersMuteConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6785,10 +6785,10 @@ type FoldersMuteConfigsDeleteCall struct {
// Delete: Deletes an existing mute config.
//
-// - name: Name of the mute config to delete. Its format is
-// organizations/{organization}/muteConfigs/{config_id},
-// folders/{folder}/muteConfigs/{config_id}, or
-// projects/{project}/muteConfigs/{config_id}.
+// - name: Name of the mute config to delete. Its format is
+// organizations/{organization}/muteConfigs/{config_id},
+// folders/{folder}/muteConfigs/{config_id}, or
+// projects/{project}/muteConfigs/{config_id}.
func (r *FoldersMuteConfigsService) Delete(name string) *FoldersMuteConfigsDeleteCall {
c := &FoldersMuteConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6921,10 +6921,10 @@ type FoldersMuteConfigsGetCall struct {
// Get: Gets a mute config.
//
-// - name: Name of the mute config to retrieve. Its format is
-// organizations/{organization}/muteConfigs/{config_id},
-// folders/{folder}/muteConfigs/{config_id}, or
-// projects/{project}/muteConfigs/{config_id}.
+// - name: Name of the mute config to retrieve. Its format is
+// organizations/{organization}/muteConfigs/{config_id},
+// folders/{folder}/muteConfigs/{config_id}, or
+// projects/{project}/muteConfigs/{config_id}.
func (r *FoldersMuteConfigsService) Get(name string) *FoldersMuteConfigsGetCall {
c := &FoldersMuteConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7071,9 +7071,9 @@ type FoldersMuteConfigsListCall struct {
// List: Lists mute configs.
//
-// - parent: The parent, which owns the collection of mute configs. Its
-// format is "organizations/[organization_id]", "folders/[folder_id]",
-// "projects/[project_id]".
+// - parent: The parent, which owns the collection of mute configs. Its
+// format is "organizations/[organization_id]", "folders/[folder_id]",
+// "projects/[project_id]".
func (r *FoldersMuteConfigsService) List(parent string) *FoldersMuteConfigsListCall {
c := &FoldersMuteConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7270,10 +7270,10 @@ type FoldersMuteConfigsPatchCall struct {
// Patch: Updates a mute config.
//
-// - name: This field will be ignored if provided on config creation.
-// Format "organizations/{organization}/muteConfigs/{mute_config}"
-// "folders/{folder}/muteConfigs/{mute_config}"
-// "projects/{project}/muteConfigs/{mute_config}".
+// - name: This field will be ignored if provided on config creation.
+// Format "organizations/{organization}/muteConfigs/{mute_config}"
+// "folders/{folder}/muteConfigs/{mute_config}"
+// "projects/{project}/muteConfigs/{mute_config}".
func (r *FoldersMuteConfigsService) Patch(name string, googlecloudsecuritycenterv1muteconfig *GoogleCloudSecuritycenterV1MuteConfig) *FoldersMuteConfigsPatchCall {
c := &FoldersMuteConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7429,9 +7429,9 @@ type FoldersSourcesListCall struct {
// List: Lists all sources belonging to an organization.
//
-// - parent: Resource name of the parent of sources to list. Its format
-// should be "organizations/[organization_id], folders/[folder_id], or
-// projects/[project_id]".
+// - parent: Resource name of the parent of sources to list. Its format
+// should be "organizations/[organization_id], folders/[folder_id], or
+// projects/[project_id]".
func (r *FoldersSourcesService) List(parent string) *FoldersSourcesListCall {
c := &FoldersSourcesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7631,13 +7631,13 @@ type FoldersSourcesFindingsGroupCall struct {
// /v1/folders/{folder_id}/sources/-/findings,
// /v1/projects/{project_id}/sources/-/findings
//
-// - parent: Name of the source to groupBy. Its format is
-// "organizations/[organization_id]/sources/[source_id]",
-// folders/[folder_id]/sources/[source_id], or
-// projects/[project_id]/sources/[source_id]. To groupBy across all
-// sources provide a source_id of `-`. For example:
-// organizations/{organization_id}/sources/-,
-// folders/{folder_id}/sources/-, or projects/{project_id}/sources/-.
+// - parent: Name of the source to groupBy. Its format is
+// "organizations/[organization_id]/sources/[source_id]",
+// folders/[folder_id]/sources/[source_id], or
+// projects/[project_id]/sources/[source_id]. To groupBy across all
+// sources provide a source_id of `-`. For example:
+// organizations/{organization_id}/sources/-,
+// folders/{folder_id}/sources/-, or projects/{project_id}/sources/-.
func (r *FoldersSourcesFindingsService) Group(parent string, groupfindingsrequest *GroupFindingsRequest) *FoldersSourcesFindingsGroupCall {
c := &FoldersSourcesFindingsGroupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7802,13 +7802,13 @@ type FoldersSourcesFindingsListCall struct {
// sources provide a `-` as the source id. Example:
// /v1/organizations/{organization_id}/sources/-/findings
//
-// - parent: Name of the source the findings belong to. Its format is
-// "organizations/[organization_id]/sources/[source_id],
-// folders/[folder_id]/sources/[source_id], or
-// projects/[project_id]/sources/[source_id]". To list across all
-// sources provide a source_id of `-`. For example:
-// organizations/{organization_id}/sources/-,
-// folders/{folder_id}/sources/- or projects/{projects_id}/sources/-.
+// - parent: Name of the source the findings belong to. Its format is
+// "organizations/[organization_id]/sources/[source_id],
+// folders/[folder_id]/sources/[source_id], or
+// projects/[project_id]/sources/[source_id]". To list across all
+// sources provide a source_id of `-`. For example:
+// organizations/{organization_id}/sources/-,
+// folders/{folder_id}/sources/- or projects/{projects_id}/sources/-.
func (r *FoldersSourcesFindingsService) List(parent string) *FoldersSourcesFindingsListCall {
c := &FoldersSourcesFindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8129,11 +8129,11 @@ type FoldersSourcesFindingsPatchCall struct {
// Patch: Creates or updates a finding. The corresponding source must
// exist for a finding creation to succeed.
//
-// - name: The relative resource name of this finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}".
+// - name: The relative resource name of this finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}".
func (r *FoldersSourcesFindingsService) Patch(name string, finding *Finding) *FoldersSourcesFindingsPatchCall {
c := &FoldersSourcesFindingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8292,13 +8292,13 @@ type FoldersSourcesFindingsSetMuteCall struct {
// SetMute: Updates the mute state of a finding.
//
-// - name: The relative resource name of the finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/finding/{findin
-// g_id}",
-// "folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
-// "projects/{project_id}/sources/{source_id}/finding/{finding_id}".
+// - name: The relative resource name of the finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/finding/{findin
+// g_id}",
+// "folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
+// "projects/{project_id}/sources/{source_id}/finding/{finding_id}".
func (r *FoldersSourcesFindingsService) SetMute(name string, setmuterequest *SetMuteRequest) *FoldersSourcesFindingsSetMuteCall {
c := &FoldersSourcesFindingsSetMuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8440,11 +8440,11 @@ type FoldersSourcesFindingsSetStateCall struct {
// SetState: Updates the state of a finding.
//
-// - name: The relative resource name of the finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/finding/{findin
-// g_id}".
+// - name: The relative resource name of the finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/finding/{findin
+// g_id}".
func (r *FoldersSourcesFindingsService) SetState(name string, setfindingstaterequest *SetFindingStateRequest) *FoldersSourcesFindingsSetStateCall {
c := &FoldersSourcesFindingsSetStateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8586,12 +8586,12 @@ type FoldersSourcesFindingsUpdateSecurityMarksCall struct {
// UpdateSecurityMarks: Updates security marks.
//
-// - name: The relative resource name of the SecurityMarks. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Examples:
-// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}/securityMarks".
+// - name: The relative resource name of the SecurityMarks. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Examples:
+// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}/securityMarks".
func (r *FoldersSourcesFindingsService) UpdateSecurityMarks(name string, securitymarks *SecurityMarks) *FoldersSourcesFindingsUpdateSecurityMarksCall {
c := &FoldersSourcesFindingsUpdateSecurityMarksCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8764,10 +8764,10 @@ type FoldersSourcesFindingsExternalSystemsPatchCall struct {
// Patch: Updates external system. This is for a given finding.
//
-// - name: External System Name e.g. jira, demisto, etc. e.g.:
-// `organizations/1234/sources/5678/findings/123456/externalSystems/jir
-// a` `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-// `projects/1234/sources/5678/findings/123456/externalSystems/jira`.
+// - name: External System Name e.g. jira, demisto, etc. e.g.:
+// `organizations/1234/sources/5678/findings/123456/externalSystems/jir
+// a` `folders/1234/sources/5678/findings/123456/externalSystems/jira`
+// `projects/1234/sources/5678/findings/123456/externalSystems/jira`.
func (r *FoldersSourcesFindingsExternalSystemsService) Patch(name string, googlecloudsecuritycenterv1externalsystem *GoogleCloudSecuritycenterV1ExternalSystem) *FoldersSourcesFindingsExternalSystemsPatchCall {
c := &FoldersSourcesFindingsExternalSystemsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8925,9 +8925,9 @@ type OrganizationsGetOrganizationSettingsCall struct {
// GetOrganizationSettings: Gets the settings for an organization.
//
-// - name: Name of the organization to get organization settings for.
-// Its format is
-// "organizations/[organization_id]/organizationSettings".
+// - name: Name of the organization to get organization settings for.
+// Its format is
+// "organizations/[organization_id]/organizationSettings".
func (r *OrganizationsService) GetOrganizationSettings(name string) *OrganizationsGetOrganizationSettingsCall {
c := &OrganizationsGetOrganizationSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9073,9 +9073,9 @@ type OrganizationsUpdateOrganizationSettingsCall struct {
// UpdateOrganizationSettings: Updates an organization's settings.
//
-// - name: The relative resource name of the settings. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example: "organizations/{organization_id}/organizationSettings".
+// - name: The relative resource name of the settings. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example: "organizations/{organization_id}/organizationSettings".
func (r *OrganizationsService) UpdateOrganizationSettings(name string, organizationsettings *OrganizationSettings) *OrganizationsUpdateOrganizationSettingsCall {
c := &OrganizationsUpdateOrganizationSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9232,9 +9232,9 @@ type OrganizationsAssetsGroupCall struct {
// Group: Filters an organization's assets and groups them by their
// specified properties.
//
-// - parent: Name of the organization to groupBy. Its format is
-// "organizations/[organization_id], folders/[folder_id], or
-// projects/[project_id]".
+// - parent: Name of the organization to groupBy. Its format is
+// "organizations/[organization_id], folders/[folder_id], or
+// projects/[project_id]".
func (r *OrganizationsAssetsService) Group(parent string, groupassetsrequest *GroupAssetsRequest) *OrganizationsAssetsGroupCall {
c := &OrganizationsAssetsGroupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9397,9 +9397,9 @@ type OrganizationsAssetsListCall struct {
// List: Lists an organization's assets.
//
-// - parent: Name of the organization assets should belong to. Its
-// format is "organizations/[organization_id], folders/[folder_id], or
-// projects/[project_id]".
+// - parent: Name of the organization assets should belong to. Its
+// format is "organizations/[organization_id], folders/[folder_id], or
+// projects/[project_id]".
func (r *OrganizationsAssetsService) List(parent string) *OrganizationsAssetsListCall {
c := &OrganizationsAssetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9731,8 +9731,8 @@ type OrganizationsAssetsRunDiscoveryCall struct {
// frequency for an organization. If it is called too frequently the
// caller will receive a TOO_MANY_REQUESTS error.
//
-// - parent: Name of the organization to run asset discovery for. Its
-// format is "organizations/[organization_id]".
+// - parent: Name of the organization to run asset discovery for. Its
+// format is "organizations/[organization_id]".
func (r *OrganizationsAssetsService) RunDiscovery(parent string, runassetdiscoveryrequest *RunAssetDiscoveryRequest) *OrganizationsAssetsRunDiscoveryCall {
c := &OrganizationsAssetsRunDiscoveryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9874,12 +9874,12 @@ type OrganizationsAssetsUpdateSecurityMarksCall struct {
// UpdateSecurityMarks: Updates security marks.
//
-// - name: The relative resource name of the SecurityMarks. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Examples:
-// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}/securityMarks".
+// - name: The relative resource name of the SecurityMarks. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Examples:
+// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}/securityMarks".
func (r *OrganizationsAssetsService) UpdateSecurityMarks(name string, securitymarks *SecurityMarks) *OrganizationsAssetsUpdateSecurityMarksCall {
c := &OrganizationsAssetsUpdateSecurityMarksCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10052,9 +10052,9 @@ type OrganizationsBigQueryExportsCreateCall struct {
// Create: Creates a big query export.
//
-// - parent: Resource name of the new big query export's parent. Its
-// format is "organizations/[organization_id]", "folders/[folder_id]",
-// or "projects/[project_id]".
+// - parent: Resource name of the new big query export's parent. Its
+// format is "organizations/[organization_id]", "folders/[folder_id]",
+// or "projects/[project_id]".
func (r *OrganizationsBigQueryExportsService) Create(parent string, googlecloudsecuritycenterv1bigqueryexport *GoogleCloudSecuritycenterV1BigQueryExport) *OrganizationsBigQueryExportsCreateCall {
c := &OrganizationsBigQueryExportsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10212,10 +10212,10 @@ type OrganizationsBigQueryExportsDeleteCall struct {
// Delete: Deletes an existing big query export.
//
-// - name: Name of the big query export to delete. Its format is
-// organizations/{organization}/bigQueryExports/{export_id},
-// folders/{folder}/bigQueryExports/{export_id}, or
-// projects/{project}/bigQueryExports/{export_id}.
+// - name: Name of the big query export to delete. Its format is
+// organizations/{organization}/bigQueryExports/{export_id},
+// folders/{folder}/bigQueryExports/{export_id}, or
+// projects/{project}/bigQueryExports/{export_id}.
func (r *OrganizationsBigQueryExportsService) Delete(name string) *OrganizationsBigQueryExportsDeleteCall {
c := &OrganizationsBigQueryExportsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10348,10 +10348,10 @@ type OrganizationsBigQueryExportsGetCall struct {
// Get: Gets a big query export.
//
-// - name: Name of the big query export to retrieve. Its format is
-// organizations/{organization}/bigQueryExports/{export_id},
-// folders/{folder}/bigQueryExports/{export_id}, or
-// projects/{project}/bigQueryExports/{export_id}.
+// - name: Name of the big query export to retrieve. Its format is
+// organizations/{organization}/bigQueryExports/{export_id},
+// folders/{folder}/bigQueryExports/{export_id}, or
+// projects/{project}/bigQueryExports/{export_id}.
func (r *OrganizationsBigQueryExportsService) Get(name string) *OrganizationsBigQueryExportsGetCall {
c := &OrganizationsBigQueryExportsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10503,9 +10503,9 @@ type OrganizationsBigQueryExportsListCall struct {
// BigQuery exports immediately under the folder plus the ones created
// under the projects within the folder are returned.
//
-// - parent: The parent, which owns the collection of BigQuery exports.
-// Its format is "organizations/[organization_id]",
-// "folders/[folder_id]", "projects/[project_id]".
+// - parent: The parent, which owns the collection of BigQuery exports.
+// Its format is "organizations/[organization_id]",
+// "folders/[folder_id]", "projects/[project_id]".
func (r *OrganizationsBigQueryExportsService) List(parent string) *OrganizationsBigQueryExportsListCall {
c := &OrganizationsBigQueryExportsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10702,14 +10702,14 @@ type OrganizationsBigQueryExportsPatchCall struct {
// Patch: Updates a BigQuery export.
//
-// - name: The relative resource name of this export. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name.
-// Example format:
-// "organizations/{organization_id}/bigQueryExports/{export_id}"
-// Example format: "folders/{folder_id}/bigQueryExports/{export_id}"
-// Example format: "projects/{project_id}/bigQueryExports/{export_id}"
-// This field is provided in responses, and is ignored when provided
-// in create requests.
+// - name: The relative resource name of this export. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name.
+// Example format:
+// "organizations/{organization_id}/bigQueryExports/{export_id}"
+// Example format: "folders/{folder_id}/bigQueryExports/{export_id}"
+// Example format: "projects/{project_id}/bigQueryExports/{export_id}"
+// This field is provided in responses, and is ignored when provided
+// in create requests.
func (r *OrganizationsBigQueryExportsService) Patch(name string, googlecloudsecuritycenterv1bigqueryexport *GoogleCloudSecuritycenterV1BigQueryExport) *OrganizationsBigQueryExportsPatchCall {
c := &OrganizationsBigQueryExportsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10869,9 +10869,9 @@ type OrganizationsFindingsBulkMuteCall struct {
// project. The findings matched by the filter will be muted after the
// LRO is done.
//
-// - parent: The parent, at which bulk action needs to be applied. Its
-// format is "organizations/[organization_id]", "folders/[folder_id]",
-// "projects/[project_id]".
+// - parent: The parent, at which bulk action needs to be applied. Its
+// format is "organizations/[organization_id]", "folders/[folder_id]",
+// "projects/[project_id]".
func (r *OrganizationsFindingsService) BulkMute(parent string, bulkmutefindingsrequest *BulkMuteFindingsRequest) *OrganizationsFindingsBulkMuteCall {
c := &OrganizationsFindingsBulkMuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11013,9 +11013,9 @@ type OrganizationsMuteConfigsCreateCall struct {
// Create: Creates a mute config.
//
-// - parent: Resource name of the new mute configs's parent. Its format
-// is "organizations/[organization_id]", "folders/[folder_id]", or
-// "projects/[project_id]".
+// - parent: Resource name of the new mute configs's parent. Its format
+// is "organizations/[organization_id]", "folders/[folder_id]", or
+// "projects/[project_id]".
func (r *OrganizationsMuteConfigsService) Create(parent string, googlecloudsecuritycenterv1muteconfig *GoogleCloudSecuritycenterV1MuteConfig) *OrganizationsMuteConfigsCreateCall {
c := &OrganizationsMuteConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11172,10 +11172,10 @@ type OrganizationsMuteConfigsDeleteCall struct {
// Delete: Deletes an existing mute config.
//
-// - name: Name of the mute config to delete. Its format is
-// organizations/{organization}/muteConfigs/{config_id},
-// folders/{folder}/muteConfigs/{config_id}, or
-// projects/{project}/muteConfigs/{config_id}.
+// - name: Name of the mute config to delete. Its format is
+// organizations/{organization}/muteConfigs/{config_id},
+// folders/{folder}/muteConfigs/{config_id}, or
+// projects/{project}/muteConfigs/{config_id}.
func (r *OrganizationsMuteConfigsService) Delete(name string) *OrganizationsMuteConfigsDeleteCall {
c := &OrganizationsMuteConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11308,10 +11308,10 @@ type OrganizationsMuteConfigsGetCall struct {
// Get: Gets a mute config.
//
-// - name: Name of the mute config to retrieve. Its format is
-// organizations/{organization}/muteConfigs/{config_id},
-// folders/{folder}/muteConfigs/{config_id}, or
-// projects/{project}/muteConfigs/{config_id}.
+// - name: Name of the mute config to retrieve. Its format is
+// organizations/{organization}/muteConfigs/{config_id},
+// folders/{folder}/muteConfigs/{config_id}, or
+// projects/{project}/muteConfigs/{config_id}.
func (r *OrganizationsMuteConfigsService) Get(name string) *OrganizationsMuteConfigsGetCall {
c := &OrganizationsMuteConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11458,9 +11458,9 @@ type OrganizationsMuteConfigsListCall struct {
// List: Lists mute configs.
//
-// - parent: The parent, which owns the collection of mute configs. Its
-// format is "organizations/[organization_id]", "folders/[folder_id]",
-// "projects/[project_id]".
+// - parent: The parent, which owns the collection of mute configs. Its
+// format is "organizations/[organization_id]", "folders/[folder_id]",
+// "projects/[project_id]".
func (r *OrganizationsMuteConfigsService) List(parent string) *OrganizationsMuteConfigsListCall {
c := &OrganizationsMuteConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11657,10 +11657,10 @@ type OrganizationsMuteConfigsPatchCall struct {
// Patch: Updates a mute config.
//
-// - name: This field will be ignored if provided on config creation.
-// Format "organizations/{organization}/muteConfigs/{mute_config}"
-// "folders/{folder}/muteConfigs/{mute_config}"
-// "projects/{project}/muteConfigs/{mute_config}".
+// - name: This field will be ignored if provided on config creation.
+// Format "organizations/{organization}/muteConfigs/{mute_config}"
+// "folders/{folder}/muteConfigs/{mute_config}"
+// "projects/{project}/muteConfigs/{mute_config}".
func (r *OrganizationsMuteConfigsService) Patch(name string, googlecloudsecuritycenterv1muteconfig *GoogleCloudSecuritycenterV1MuteConfig) *OrganizationsMuteConfigsPatchCall {
c := &OrganizationsMuteConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11816,9 +11816,9 @@ type OrganizationsNotificationConfigsCreateCall struct {
// Create: Creates a notification config.
//
-// - parent: Resource name of the new notification config's parent. Its
-// format is "organizations/[organization_id]" or
-// "projects/[project_id]".
+// - parent: Resource name of the new notification config's parent. Its
+// format is "organizations/[organization_id]" or
+// "projects/[project_id]".
func (r *OrganizationsNotificationConfigsService) Create(parent string, notificationconfig *NotificationConfig) *OrganizationsNotificationConfigsCreateCall {
c := &OrganizationsNotificationConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11973,8 +11973,8 @@ type OrganizationsNotificationConfigsDeleteCall struct {
// Delete: Deletes a notification config.
//
-// - name: Name of the notification config to delete. Its format is
-// "organizations/[organization_id]/notificationConfigs/[config_id]".
+// - name: Name of the notification config to delete. Its format is
+// "organizations/[organization_id]/notificationConfigs/[config_id]".
func (r *OrganizationsNotificationConfigsService) Delete(name string) *OrganizationsNotificationConfigsDeleteCall {
c := &OrganizationsNotificationConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12107,8 +12107,8 @@ type OrganizationsNotificationConfigsGetCall struct {
// Get: Gets a notification config.
//
-// - name: Name of the notification config to get. Its format is
-// "organizations/[organization_id]/notificationConfigs/[config_id]".
+// - name: Name of the notification config to get. Its format is
+// "organizations/[organization_id]/notificationConfigs/[config_id]".
func (r *OrganizationsNotificationConfigsService) Get(name string) *OrganizationsNotificationConfigsGetCall {
c := &OrganizationsNotificationConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12254,9 +12254,9 @@ type OrganizationsNotificationConfigsListCall struct {
// List: Lists notification configs.
//
-// - parent: Name of the organization to list notification configs. Its
-// format is "organizations/[organization_id]" or
-// "projects/[project_id]".
+// - parent: Name of the organization to list notification configs. Its
+// format is "organizations/[organization_id]" or
+// "projects/[project_id]".
func (r *OrganizationsNotificationConfigsService) List(parent string) *OrganizationsNotificationConfigsListCall {
c := &OrganizationsNotificationConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12452,11 +12452,11 @@ type OrganizationsNotificationConfigsPatchCall struct {
// Patch: Updates a notification config. The following update fields
// are allowed: description, pubsub_topic, streaming_config.filter
//
-// - name: The relative resource name of this notification config. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/notificationConfigs/notify_public_b
-// ucket".
+// - name: The relative resource name of this notification config. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/notificationConfigs/notify_public_b
+// ucket".
func (r *OrganizationsNotificationConfigsService) Patch(name string, notificationconfig *NotificationConfig) *OrganizationsNotificationConfigsPatchCall {
c := &OrganizationsNotificationConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13249,8 +13249,8 @@ type OrganizationsSourcesCreateCall struct {
// Create: Creates a source.
//
-// - parent: Resource name of the new source's parent. Its format should
-// be "organizations/[organization_id]".
+// - parent: Resource name of the new source's parent. Its format should
+// be "organizations/[organization_id]".
func (r *OrganizationsSourcesService) Create(parent string, source *Source) *OrganizationsSourcesCreateCall {
c := &OrganizationsSourcesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13392,8 +13392,8 @@ type OrganizationsSourcesGetCall struct {
// Get: Gets a source.
//
-// - name: Relative resource name of the source. Its format is
-// "organizations/[organization_id]/source/[source_id]".
+// - name: Relative resource name of the source. Its format is
+// "organizations/[organization_id]/source/[source_id]".
func (r *OrganizationsSourcesService) Get(name string) *OrganizationsSourcesGetCall {
c := &OrganizationsSourcesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13539,10 +13539,10 @@ type OrganizationsSourcesGetIamPolicyCall struct {
// GetIamPolicy: Gets the access control policy on the specified Source.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *OrganizationsSourcesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *OrganizationsSourcesGetIamPolicyCall {
c := &OrganizationsSourcesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13684,9 +13684,9 @@ type OrganizationsSourcesListCall struct {
// List: Lists all sources belonging to an organization.
//
-// - parent: Resource name of the parent of sources to list. Its format
-// should be "organizations/[organization_id], folders/[folder_id], or
-// projects/[project_id]".
+// - parent: Resource name of the parent of sources to list. Its format
+// should be "organizations/[organization_id], folders/[folder_id], or
+// projects/[project_id]".
func (r *OrganizationsSourcesService) List(parent string) *OrganizationsSourcesListCall {
c := &OrganizationsSourcesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13881,9 +13881,9 @@ type OrganizationsSourcesPatchCall struct {
// Patch: Updates a source.
//
-// - name: The relative resource name of this source. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example: "organizations/{organization_id}/sources/{source_id}".
+// - name: The relative resource name of this source. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example: "organizations/{organization_id}/sources/{source_id}".
func (r *OrganizationsSourcesService) Patch(name string, source *Source) *OrganizationsSourcesPatchCall {
c := &OrganizationsSourcesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -14039,10 +14039,10 @@ type OrganizationsSourcesSetIamPolicyCall struct {
// SetIamPolicy: Sets the access control policy on the specified Source.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *OrganizationsSourcesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *OrganizationsSourcesSetIamPolicyCall {
c := &OrganizationsSourcesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -14185,10 +14185,10 @@ type OrganizationsSourcesTestIamPermissionsCall struct {
// TestIamPermissions: Returns the permissions that a caller has on the
// specified source.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *OrganizationsSourcesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *OrganizationsSourcesTestIamPermissionsCall {
c := &OrganizationsSourcesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -14331,8 +14331,8 @@ type OrganizationsSourcesFindingsCreateCall struct {
// Create: Creates a finding. The corresponding source must exist for
// finding creation to succeed.
//
-// - parent: Resource name of the new finding's parent. Its format
-// should be "organizations/[organization_id]/sources/[source_id]".
+// - parent: Resource name of the new finding's parent. Its format
+// should be "organizations/[organization_id]/sources/[source_id]".
func (r *OrganizationsSourcesFindingsService) Create(parent string, finding *Finding) *OrganizationsSourcesFindingsCreateCall {
c := &OrganizationsSourcesFindingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14493,13 +14493,13 @@ type OrganizationsSourcesFindingsGroupCall struct {
// /v1/folders/{folder_id}/sources/-/findings,
// /v1/projects/{project_id}/sources/-/findings
//
-// - parent: Name of the source to groupBy. Its format is
-// "organizations/[organization_id]/sources/[source_id]",
-// folders/[folder_id]/sources/[source_id], or
-// projects/[project_id]/sources/[source_id]. To groupBy across all
-// sources provide a source_id of `-`. For example:
-// organizations/{organization_id}/sources/-,
-// folders/{folder_id}/sources/-, or projects/{project_id}/sources/-.
+// - parent: Name of the source to groupBy. Its format is
+// "organizations/[organization_id]/sources/[source_id]",
+// folders/[folder_id]/sources/[source_id], or
+// projects/[project_id]/sources/[source_id]. To groupBy across all
+// sources provide a source_id of `-`. For example:
+// organizations/{organization_id}/sources/-,
+// folders/{folder_id}/sources/-, or projects/{project_id}/sources/-.
func (r *OrganizationsSourcesFindingsService) Group(parent string, groupfindingsrequest *GroupFindingsRequest) *OrganizationsSourcesFindingsGroupCall {
c := &OrganizationsSourcesFindingsGroupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14664,13 +14664,13 @@ type OrganizationsSourcesFindingsListCall struct {
// sources provide a `-` as the source id. Example:
// /v1/organizations/{organization_id}/sources/-/findings
//
-// - parent: Name of the source the findings belong to. Its format is
-// "organizations/[organization_id]/sources/[source_id],
-// folders/[folder_id]/sources/[source_id], or
-// projects/[project_id]/sources/[source_id]". To list across all
-// sources provide a source_id of `-`. For example:
-// organizations/{organization_id}/sources/-,
-// folders/{folder_id}/sources/- or projects/{projects_id}/sources/-.
+// - parent: Name of the source the findings belong to. Its format is
+// "organizations/[organization_id]/sources/[source_id],
+// folders/[folder_id]/sources/[source_id], or
+// projects/[project_id]/sources/[source_id]". To list across all
+// sources provide a source_id of `-`. For example:
+// organizations/{organization_id}/sources/-,
+// folders/{folder_id}/sources/- or projects/{projects_id}/sources/-.
func (r *OrganizationsSourcesFindingsService) List(parent string) *OrganizationsSourcesFindingsListCall {
c := &OrganizationsSourcesFindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14991,11 +14991,11 @@ type OrganizationsSourcesFindingsPatchCall struct {
// Patch: Creates or updates a finding. The corresponding source must
// exist for a finding creation to succeed.
//
-// - name: The relative resource name of this finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}".
+// - name: The relative resource name of this finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}".
func (r *OrganizationsSourcesFindingsService) Patch(name string, finding *Finding) *OrganizationsSourcesFindingsPatchCall {
c := &OrganizationsSourcesFindingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15154,13 +15154,13 @@ type OrganizationsSourcesFindingsSetMuteCall struct {
// SetMute: Updates the mute state of a finding.
//
-// - name: The relative resource name of the finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/finding/{findin
-// g_id}",
-// "folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
-// "projects/{project_id}/sources/{source_id}/finding/{finding_id}".
+// - name: The relative resource name of the finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/finding/{findin
+// g_id}",
+// "folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
+// "projects/{project_id}/sources/{source_id}/finding/{finding_id}".
func (r *OrganizationsSourcesFindingsService) SetMute(name string, setmuterequest *SetMuteRequest) *OrganizationsSourcesFindingsSetMuteCall {
c := &OrganizationsSourcesFindingsSetMuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15302,11 +15302,11 @@ type OrganizationsSourcesFindingsSetStateCall struct {
// SetState: Updates the state of a finding.
//
-// - name: The relative resource name of the finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/finding/{findin
-// g_id}".
+// - name: The relative resource name of the finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/finding/{findin
+// g_id}".
func (r *OrganizationsSourcesFindingsService) SetState(name string, setfindingstaterequest *SetFindingStateRequest) *OrganizationsSourcesFindingsSetStateCall {
c := &OrganizationsSourcesFindingsSetStateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15448,12 +15448,12 @@ type OrganizationsSourcesFindingsUpdateSecurityMarksCall struct {
// UpdateSecurityMarks: Updates security marks.
//
-// - name: The relative resource name of the SecurityMarks. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Examples:
-// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}/securityMarks".
+// - name: The relative resource name of the SecurityMarks. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Examples:
+// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}/securityMarks".
func (r *OrganizationsSourcesFindingsService) UpdateSecurityMarks(name string, securitymarks *SecurityMarks) *OrganizationsSourcesFindingsUpdateSecurityMarksCall {
c := &OrganizationsSourcesFindingsUpdateSecurityMarksCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15626,10 +15626,10 @@ type OrganizationsSourcesFindingsExternalSystemsPatchCall struct {
// Patch: Updates external system. This is for a given finding.
//
-// - name: External System Name e.g. jira, demisto, etc. e.g.:
-// `organizations/1234/sources/5678/findings/123456/externalSystems/jir
-// a` `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-// `projects/1234/sources/5678/findings/123456/externalSystems/jira`.
+// - name: External System Name e.g. jira, demisto, etc. e.g.:
+// `organizations/1234/sources/5678/findings/123456/externalSystems/jir
+// a` `folders/1234/sources/5678/findings/123456/externalSystems/jira`
+// `projects/1234/sources/5678/findings/123456/externalSystems/jira`.
func (r *OrganizationsSourcesFindingsExternalSystemsService) Patch(name string, googlecloudsecuritycenterv1externalsystem *GoogleCloudSecuritycenterV1ExternalSystem) *OrganizationsSourcesFindingsExternalSystemsPatchCall {
c := &OrganizationsSourcesFindingsExternalSystemsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -15788,9 +15788,9 @@ type ProjectsAssetsGroupCall struct {
// Group: Filters an organization's assets and groups them by their
// specified properties.
//
-// - parent: Name of the organization to groupBy. Its format is
-// "organizations/[organization_id], folders/[folder_id], or
-// projects/[project_id]".
+// - parent: Name of the organization to groupBy. Its format is
+// "organizations/[organization_id], folders/[folder_id], or
+// projects/[project_id]".
func (r *ProjectsAssetsService) Group(parent string, groupassetsrequest *GroupAssetsRequest) *ProjectsAssetsGroupCall {
c := &ProjectsAssetsGroupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15953,9 +15953,9 @@ type ProjectsAssetsListCall struct {
// List: Lists an organization's assets.
//
-// - parent: Name of the organization assets should belong to. Its
-// format is "organizations/[organization_id], folders/[folder_id], or
-// projects/[project_id]".
+// - parent: Name of the organization assets should belong to. Its
+// format is "organizations/[organization_id], folders/[folder_id], or
+// projects/[project_id]".
func (r *ProjectsAssetsService) List(parent string) *ProjectsAssetsListCall {
c := &ProjectsAssetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16284,12 +16284,12 @@ type ProjectsAssetsUpdateSecurityMarksCall struct {
// UpdateSecurityMarks: Updates security marks.
//
-// - name: The relative resource name of the SecurityMarks. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Examples:
-// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}/securityMarks".
+// - name: The relative resource name of the SecurityMarks. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Examples:
+// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}/securityMarks".
func (r *ProjectsAssetsService) UpdateSecurityMarks(name string, securitymarks *SecurityMarks) *ProjectsAssetsUpdateSecurityMarksCall {
c := &ProjectsAssetsUpdateSecurityMarksCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16462,9 +16462,9 @@ type ProjectsBigQueryExportsCreateCall struct {
// Create: Creates a big query export.
//
-// - parent: Resource name of the new big query export's parent. Its
-// format is "organizations/[organization_id]", "folders/[folder_id]",
-// or "projects/[project_id]".
+// - parent: Resource name of the new big query export's parent. Its
+// format is "organizations/[organization_id]", "folders/[folder_id]",
+// or "projects/[project_id]".
func (r *ProjectsBigQueryExportsService) Create(parent string, googlecloudsecuritycenterv1bigqueryexport *GoogleCloudSecuritycenterV1BigQueryExport) *ProjectsBigQueryExportsCreateCall {
c := &ProjectsBigQueryExportsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16622,10 +16622,10 @@ type ProjectsBigQueryExportsDeleteCall struct {
// Delete: Deletes an existing big query export.
//
-// - name: Name of the big query export to delete. Its format is
-// organizations/{organization}/bigQueryExports/{export_id},
-// folders/{folder}/bigQueryExports/{export_id}, or
-// projects/{project}/bigQueryExports/{export_id}.
+// - name: Name of the big query export to delete. Its format is
+// organizations/{organization}/bigQueryExports/{export_id},
+// folders/{folder}/bigQueryExports/{export_id}, or
+// projects/{project}/bigQueryExports/{export_id}.
func (r *ProjectsBigQueryExportsService) Delete(name string) *ProjectsBigQueryExportsDeleteCall {
c := &ProjectsBigQueryExportsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16758,10 +16758,10 @@ type ProjectsBigQueryExportsGetCall struct {
// Get: Gets a big query export.
//
-// - name: Name of the big query export to retrieve. Its format is
-// organizations/{organization}/bigQueryExports/{export_id},
-// folders/{folder}/bigQueryExports/{export_id}, or
-// projects/{project}/bigQueryExports/{export_id}.
+// - name: Name of the big query export to retrieve. Its format is
+// organizations/{organization}/bigQueryExports/{export_id},
+// folders/{folder}/bigQueryExports/{export_id}, or
+// projects/{project}/bigQueryExports/{export_id}.
func (r *ProjectsBigQueryExportsService) Get(name string) *ProjectsBigQueryExportsGetCall {
c := &ProjectsBigQueryExportsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16913,9 +16913,9 @@ type ProjectsBigQueryExportsListCall struct {
// BigQuery exports immediately under the folder plus the ones created
// under the projects within the folder are returned.
//
-// - parent: The parent, which owns the collection of BigQuery exports.
-// Its format is "organizations/[organization_id]",
-// "folders/[folder_id]", "projects/[project_id]".
+// - parent: The parent, which owns the collection of BigQuery exports.
+// Its format is "organizations/[organization_id]",
+// "folders/[folder_id]", "projects/[project_id]".
func (r *ProjectsBigQueryExportsService) List(parent string) *ProjectsBigQueryExportsListCall {
c := &ProjectsBigQueryExportsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17112,14 +17112,14 @@ type ProjectsBigQueryExportsPatchCall struct {
// Patch: Updates a BigQuery export.
//
-// - name: The relative resource name of this export. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name.
-// Example format:
-// "organizations/{organization_id}/bigQueryExports/{export_id}"
-// Example format: "folders/{folder_id}/bigQueryExports/{export_id}"
-// Example format: "projects/{project_id}/bigQueryExports/{export_id}"
-// This field is provided in responses, and is ignored when provided
-// in create requests.
+// - name: The relative resource name of this export. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name.
+// Example format:
+// "organizations/{organization_id}/bigQueryExports/{export_id}"
+// Example format: "folders/{folder_id}/bigQueryExports/{export_id}"
+// Example format: "projects/{project_id}/bigQueryExports/{export_id}"
+// This field is provided in responses, and is ignored when provided
+// in create requests.
func (r *ProjectsBigQueryExportsService) Patch(name string, googlecloudsecuritycenterv1bigqueryexport *GoogleCloudSecuritycenterV1BigQueryExport) *ProjectsBigQueryExportsPatchCall {
c := &ProjectsBigQueryExportsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17279,9 +17279,9 @@ type ProjectsFindingsBulkMuteCall struct {
// project. The findings matched by the filter will be muted after the
// LRO is done.
//
-// - parent: The parent, at which bulk action needs to be applied. Its
-// format is "organizations/[organization_id]", "folders/[folder_id]",
-// "projects/[project_id]".
+// - parent: The parent, at which bulk action needs to be applied. Its
+// format is "organizations/[organization_id]", "folders/[folder_id]",
+// "projects/[project_id]".
func (r *ProjectsFindingsService) BulkMute(parent string, bulkmutefindingsrequest *BulkMuteFindingsRequest) *ProjectsFindingsBulkMuteCall {
c := &ProjectsFindingsBulkMuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17423,9 +17423,9 @@ type ProjectsMuteConfigsCreateCall struct {
// Create: Creates a mute config.
//
-// - parent: Resource name of the new mute configs's parent. Its format
-// is "organizations/[organization_id]", "folders/[folder_id]", or
-// "projects/[project_id]".
+// - parent: Resource name of the new mute configs's parent. Its format
+// is "organizations/[organization_id]", "folders/[folder_id]", or
+// "projects/[project_id]".
func (r *ProjectsMuteConfigsService) Create(parent string, googlecloudsecuritycenterv1muteconfig *GoogleCloudSecuritycenterV1MuteConfig) *ProjectsMuteConfigsCreateCall {
c := &ProjectsMuteConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17582,10 +17582,10 @@ type ProjectsMuteConfigsDeleteCall struct {
// Delete: Deletes an existing mute config.
//
-// - name: Name of the mute config to delete. Its format is
-// organizations/{organization}/muteConfigs/{config_id},
-// folders/{folder}/muteConfigs/{config_id}, or
-// projects/{project}/muteConfigs/{config_id}.
+// - name: Name of the mute config to delete. Its format is
+// organizations/{organization}/muteConfigs/{config_id},
+// folders/{folder}/muteConfigs/{config_id}, or
+// projects/{project}/muteConfigs/{config_id}.
func (r *ProjectsMuteConfigsService) Delete(name string) *ProjectsMuteConfigsDeleteCall {
c := &ProjectsMuteConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17718,10 +17718,10 @@ type ProjectsMuteConfigsGetCall struct {
// Get: Gets a mute config.
//
-// - name: Name of the mute config to retrieve. Its format is
-// organizations/{organization}/muteConfigs/{config_id},
-// folders/{folder}/muteConfigs/{config_id}, or
-// projects/{project}/muteConfigs/{config_id}.
+// - name: Name of the mute config to retrieve. Its format is
+// organizations/{organization}/muteConfigs/{config_id},
+// folders/{folder}/muteConfigs/{config_id}, or
+// projects/{project}/muteConfigs/{config_id}.
func (r *ProjectsMuteConfigsService) Get(name string) *ProjectsMuteConfigsGetCall {
c := &ProjectsMuteConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17868,9 +17868,9 @@ type ProjectsMuteConfigsListCall struct {
// List: Lists mute configs.
//
-// - parent: The parent, which owns the collection of mute configs. Its
-// format is "organizations/[organization_id]", "folders/[folder_id]",
-// "projects/[project_id]".
+// - parent: The parent, which owns the collection of mute configs. Its
+// format is "organizations/[organization_id]", "folders/[folder_id]",
+// "projects/[project_id]".
func (r *ProjectsMuteConfigsService) List(parent string) *ProjectsMuteConfigsListCall {
c := &ProjectsMuteConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -18067,10 +18067,10 @@ type ProjectsMuteConfigsPatchCall struct {
// Patch: Updates a mute config.
//
-// - name: This field will be ignored if provided on config creation.
-// Format "organizations/{organization}/muteConfigs/{mute_config}"
-// "folders/{folder}/muteConfigs/{mute_config}"
-// "projects/{project}/muteConfigs/{mute_config}".
+// - name: This field will be ignored if provided on config creation.
+// Format "organizations/{organization}/muteConfigs/{mute_config}"
+// "folders/{folder}/muteConfigs/{mute_config}"
+// "projects/{project}/muteConfigs/{mute_config}".
func (r *ProjectsMuteConfigsService) Patch(name string, googlecloudsecuritycenterv1muteconfig *GoogleCloudSecuritycenterV1MuteConfig) *ProjectsMuteConfigsPatchCall {
c := &ProjectsMuteConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18226,9 +18226,9 @@ type ProjectsSourcesListCall struct {
// List: Lists all sources belonging to an organization.
//
-// - parent: Resource name of the parent of sources to list. Its format
-// should be "organizations/[organization_id], folders/[folder_id], or
-// projects/[project_id]".
+// - parent: Resource name of the parent of sources to list. Its format
+// should be "organizations/[organization_id], folders/[folder_id], or
+// projects/[project_id]".
func (r *ProjectsSourcesService) List(parent string) *ProjectsSourcesListCall {
c := &ProjectsSourcesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -18428,13 +18428,13 @@ type ProjectsSourcesFindingsGroupCall struct {
// /v1/folders/{folder_id}/sources/-/findings,
// /v1/projects/{project_id}/sources/-/findings
//
-// - parent: Name of the source to groupBy. Its format is
-// "organizations/[organization_id]/sources/[source_id]",
-// folders/[folder_id]/sources/[source_id], or
-// projects/[project_id]/sources/[source_id]. To groupBy across all
-// sources provide a source_id of `-`. For example:
-// organizations/{organization_id}/sources/-,
-// folders/{folder_id}/sources/-, or projects/{project_id}/sources/-.
+// - parent: Name of the source to groupBy. Its format is
+// "organizations/[organization_id]/sources/[source_id]",
+// folders/[folder_id]/sources/[source_id], or
+// projects/[project_id]/sources/[source_id]. To groupBy across all
+// sources provide a source_id of `-`. For example:
+// organizations/{organization_id}/sources/-,
+// folders/{folder_id}/sources/-, or projects/{project_id}/sources/-.
func (r *ProjectsSourcesFindingsService) Group(parent string, groupfindingsrequest *GroupFindingsRequest) *ProjectsSourcesFindingsGroupCall {
c := &ProjectsSourcesFindingsGroupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -18599,13 +18599,13 @@ type ProjectsSourcesFindingsListCall struct {
// sources provide a `-` as the source id. Example:
// /v1/organizations/{organization_id}/sources/-/findings
//
-// - parent: Name of the source the findings belong to. Its format is
-// "organizations/[organization_id]/sources/[source_id],
-// folders/[folder_id]/sources/[source_id], or
-// projects/[project_id]/sources/[source_id]". To list across all
-// sources provide a source_id of `-`. For example:
-// organizations/{organization_id}/sources/-,
-// folders/{folder_id}/sources/- or projects/{projects_id}/sources/-.
+// - parent: Name of the source the findings belong to. Its format is
+// "organizations/[organization_id]/sources/[source_id],
+// folders/[folder_id]/sources/[source_id], or
+// projects/[project_id]/sources/[source_id]". To list across all
+// sources provide a source_id of `-`. For example:
+// organizations/{organization_id}/sources/-,
+// folders/{folder_id}/sources/- or projects/{projects_id}/sources/-.
func (r *ProjectsSourcesFindingsService) List(parent string) *ProjectsSourcesFindingsListCall {
c := &ProjectsSourcesFindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -18926,11 +18926,11 @@ type ProjectsSourcesFindingsPatchCall struct {
// Patch: Creates or updates a finding. The corresponding source must
// exist for a finding creation to succeed.
//
-// - name: The relative resource name of this finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}".
+// - name: The relative resource name of this finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}".
func (r *ProjectsSourcesFindingsService) Patch(name string, finding *Finding) *ProjectsSourcesFindingsPatchCall {
c := &ProjectsSourcesFindingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19089,13 +19089,13 @@ type ProjectsSourcesFindingsSetMuteCall struct {
// SetMute: Updates the mute state of a finding.
//
-// - name: The relative resource name of the finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/finding/{findin
-// g_id}",
-// "folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
-// "projects/{project_id}/sources/{source_id}/finding/{finding_id}".
+// - name: The relative resource name of the finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/finding/{findin
+// g_id}",
+// "folders/{folder_id}/sources/{source_id}/finding/{finding_id}",
+// "projects/{project_id}/sources/{source_id}/finding/{finding_id}".
func (r *ProjectsSourcesFindingsService) SetMute(name string, setmuterequest *SetMuteRequest) *ProjectsSourcesFindingsSetMuteCall {
c := &ProjectsSourcesFindingsSetMuteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19237,11 +19237,11 @@ type ProjectsSourcesFindingsSetStateCall struct {
// SetState: Updates the state of a finding.
//
-// - name: The relative resource name of the finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/finding/{findin
-// g_id}".
+// - name: The relative resource name of the finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/finding/{findin
+// g_id}".
func (r *ProjectsSourcesFindingsService) SetState(name string, setfindingstaterequest *SetFindingStateRequest) *ProjectsSourcesFindingsSetStateCall {
c := &ProjectsSourcesFindingsSetStateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19383,12 +19383,12 @@ type ProjectsSourcesFindingsUpdateSecurityMarksCall struct {
// UpdateSecurityMarks: Updates security marks.
//
-// - name: The relative resource name of the SecurityMarks. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Examples:
-// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}/securityMarks".
+// - name: The relative resource name of the SecurityMarks. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Examples:
+// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}/securityMarks".
func (r *ProjectsSourcesFindingsService) UpdateSecurityMarks(name string, securitymarks *SecurityMarks) *ProjectsSourcesFindingsUpdateSecurityMarksCall {
c := &ProjectsSourcesFindingsUpdateSecurityMarksCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19561,10 +19561,10 @@ type ProjectsSourcesFindingsExternalSystemsPatchCall struct {
// Patch: Updates external system. This is for a given finding.
//
-// - name: External System Name e.g. jira, demisto, etc. e.g.:
-// `organizations/1234/sources/5678/findings/123456/externalSystems/jir
-// a` `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-// `projects/1234/sources/5678/findings/123456/externalSystems/jira`.
+// - name: External System Name e.g. jira, demisto, etc. e.g.:
+// `organizations/1234/sources/5678/findings/123456/externalSystems/jir
+// a` `folders/1234/sources/5678/findings/123456/externalSystems/jira`
+// `projects/1234/sources/5678/findings/123456/externalSystems/jira`.
func (r *ProjectsSourcesFindingsExternalSystemsService) Patch(name string, googlecloudsecuritycenterv1externalsystem *GoogleCloudSecuritycenterV1ExternalSystem) *ProjectsSourcesFindingsExternalSystemsPatchCall {
c := &ProjectsSourcesFindingsExternalSystemsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go
index 441449620d6..e718aff37b2 100644
--- a/securitycenter/v1beta1/securitycenter-gen.go
+++ b/securitycenter/v1beta1/securitycenter-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/security-command-center
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/securitycenter/v1beta1"
-// ...
-// ctx := context.Background()
-// securitycenterService, err := securitycenter.NewService(ctx)
+// import "google.golang.org/api/securitycenter/v1beta1"
+// ...
+// ctx := context.Background()
+// securitycenterService, err := securitycenter.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package securitycenter // import "google.golang.org/api/securitycenter/v1beta1"
@@ -4334,9 +4334,9 @@ type OrganizationsGetOrganizationSettingsCall struct {
// GetOrganizationSettings: Gets the settings for an organization.
//
-// - name: Name of the organization to get organization settings for.
-// Its format is
-// "organizations/[organization_id]/organizationSettings".
+// - name: Name of the organization to get organization settings for.
+// Its format is
+// "organizations/[organization_id]/organizationSettings".
func (r *OrganizationsService) GetOrganizationSettings(name string) *OrganizationsGetOrganizationSettingsCall {
c := &OrganizationsGetOrganizationSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4482,9 +4482,9 @@ type OrganizationsUpdateOrganizationSettingsCall struct {
// UpdateOrganizationSettings: Updates an organization's settings.
//
-// - name: The relative resource name of the settings. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example: "organizations/{organization_id}/organizationSettings".
+// - name: The relative resource name of the settings. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example: "organizations/{organization_id}/organizationSettings".
func (r *OrganizationsService) UpdateOrganizationSettings(name string, organizationsettings *OrganizationSettings) *OrganizationsUpdateOrganizationSettingsCall {
c := &OrganizationsUpdateOrganizationSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4640,8 +4640,8 @@ type OrganizationsAssetsGroupCall struct {
// Group: Filters an organization's assets and groups them by their
// specified properties.
//
-// - parent: Name of the organization to groupBy. Its format is
-// "organizations/[organization_id]".
+// - parent: Name of the organization to groupBy. Its format is
+// "organizations/[organization_id]".
func (r *OrganizationsAssetsService) Group(parent string, groupassetsrequest *GroupAssetsRequest) *OrganizationsAssetsGroupCall {
c := &OrganizationsAssetsGroupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4804,8 +4804,8 @@ type OrganizationsAssetsListCall struct {
// List: Lists an organization's assets.
//
-// - parent: Name of the organization assets should belong to. Its
-// format is "organizations/[organization_id]".
+// - parent: Name of the organization assets should belong to. Its
+// format is "organizations/[organization_id]".
func (r *OrganizationsAssetsService) List(parent string) *OrganizationsAssetsListCall {
c := &OrganizationsAssetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5107,8 +5107,8 @@ type OrganizationsAssetsRunDiscoveryCall struct {
// frequency for an organization. If it is called too frequently the
// caller will receive a TOO_MANY_REQUESTS error.
//
-// - parent: Name of the organization to run asset discovery for. Its
-// format is "organizations/[organization_id]".
+// - parent: Name of the organization to run asset discovery for. Its
+// format is "organizations/[organization_id]".
func (r *OrganizationsAssetsService) RunDiscovery(parent string, runassetdiscoveryrequest *RunAssetDiscoveryRequest) *OrganizationsAssetsRunDiscoveryCall {
c := &OrganizationsAssetsRunDiscoveryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5250,12 +5250,12 @@ type OrganizationsAssetsUpdateSecurityMarksCall struct {
// UpdateSecurityMarks: Updates security marks.
//
-// - name: The relative resource name of the SecurityMarks. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Examples:
-// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}/securityMarks".
+// - name: The relative resource name of the SecurityMarks. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Examples:
+// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}/securityMarks".
func (r *OrganizationsAssetsService) UpdateSecurityMarks(name string, googlecloudsecuritycenterv1beta1securitymarks *GoogleCloudSecuritycenterV1beta1SecurityMarks) *OrganizationsAssetsUpdateSecurityMarksCall {
c := &OrganizationsAssetsUpdateSecurityMarksCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6072,8 +6072,8 @@ type OrganizationsSourcesCreateCall struct {
// Create: Creates a source.
//
-// - parent: Resource name of the new source's parent. Its format should
-// be "organizations/[organization_id]".
+// - parent: Resource name of the new source's parent. Its format should
+// be "organizations/[organization_id]".
func (r *OrganizationsSourcesService) Create(parent string, source *Source) *OrganizationsSourcesCreateCall {
c := &OrganizationsSourcesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6215,8 +6215,8 @@ type OrganizationsSourcesGetCall struct {
// Get: Gets a source.
//
-// - name: Relative resource name of the source. Its format is
-// "organizations/[organization_id]/source/[source_id]".
+// - name: Relative resource name of the source. Its format is
+// "organizations/[organization_id]/source/[source_id]".
func (r *OrganizationsSourcesService) Get(name string) *OrganizationsSourcesGetCall {
c := &OrganizationsSourcesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6362,10 +6362,10 @@ type OrganizationsSourcesGetIamPolicyCall struct {
// GetIamPolicy: Gets the access control policy on the specified Source.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *OrganizationsSourcesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *OrganizationsSourcesGetIamPolicyCall {
c := &OrganizationsSourcesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6507,8 +6507,8 @@ type OrganizationsSourcesListCall struct {
// List: Lists all sources belonging to an organization.
//
-// - parent: Resource name of the parent of sources to list. Its format
-// should be "organizations/[organization_id]".
+// - parent: Resource name of the parent of sources to list. Its format
+// should be "organizations/[organization_id]".
func (r *OrganizationsSourcesService) List(parent string) *OrganizationsSourcesListCall {
c := &OrganizationsSourcesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6703,9 +6703,9 @@ type OrganizationsSourcesPatchCall struct {
// Patch: Updates a source.
//
-// - name: The relative resource name of this source. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example: "organizations/{organization_id}/sources/{source_id}".
+// - name: The relative resource name of this source. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example: "organizations/{organization_id}/sources/{source_id}".
func (r *OrganizationsSourcesService) Patch(name string, source *Source) *OrganizationsSourcesPatchCall {
c := &OrganizationsSourcesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6860,10 +6860,10 @@ type OrganizationsSourcesSetIamPolicyCall struct {
// SetIamPolicy: Sets the access control policy on the specified Source.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *OrganizationsSourcesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *OrganizationsSourcesSetIamPolicyCall {
c := &OrganizationsSourcesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7006,10 +7006,10 @@ type OrganizationsSourcesTestIamPermissionsCall struct {
// TestIamPermissions: Returns the permissions that a caller has on the
// specified source.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *OrganizationsSourcesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *OrganizationsSourcesTestIamPermissionsCall {
c := &OrganizationsSourcesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7152,8 +7152,8 @@ type OrganizationsSourcesFindingsCreateCall struct {
// Create: Creates a finding. The corresponding source must exist for
// finding creation to succeed.
//
-// - parent: Resource name of the new finding's parent. Its format
-// should be "organizations/[organization_id]/sources/[source_id]".
+// - parent: Resource name of the new finding's parent. Its format
+// should be "organizations/[organization_id]/sources/[source_id]".
func (r *OrganizationsSourcesFindingsService) Create(parent string, googlecloudsecuritycenterv1beta1finding *GoogleCloudSecuritycenterV1beta1Finding) *OrganizationsSourcesFindingsCreateCall {
c := &OrganizationsSourcesFindingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7313,10 +7313,10 @@ type OrganizationsSourcesFindingsGroupCall struct {
// `-` as the source id. Example:
// /v1beta1/organizations/{organization_id}/sources/-/findings
//
-// - parent: Name of the source to groupBy. Its format is
-// "organizations/[organization_id]/sources/[source_id]". To groupBy
-// across all sources provide a source_id of `-`. For example:
-// organizations/{organization_id}/sources/-.
+// - parent: Name of the source to groupBy. Its format is
+// "organizations/[organization_id]/sources/[source_id]". To groupBy
+// across all sources provide a source_id of `-`. For example:
+// organizations/{organization_id}/sources/-.
func (r *OrganizationsSourcesFindingsService) Group(parent string, groupfindingsrequest *GroupFindingsRequest) *OrganizationsSourcesFindingsGroupCall {
c := &OrganizationsSourcesFindingsGroupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7481,10 +7481,10 @@ type OrganizationsSourcesFindingsListCall struct {
// sources provide a `-` as the source id. Example:
// /v1beta1/organizations/{organization_id}/sources/-/findings
//
-// - parent: Name of the source the findings belong to. Its format is
-// "organizations/[organization_id]/sources/[source_id]". To list
-// across all sources provide a source_id of `-`. For example:
-// organizations/{organization_id}/sources/-.
+// - parent: Name of the source the findings belong to. Its format is
+// "organizations/[organization_id]/sources/[source_id]". To list
+// across all sources provide a source_id of `-`. For example:
+// organizations/{organization_id}/sources/-.
func (r *OrganizationsSourcesFindingsService) List(parent string) *OrganizationsSourcesFindingsListCall {
c := &OrganizationsSourcesFindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7752,11 +7752,11 @@ type OrganizationsSourcesFindingsPatchCall struct {
// Patch: Creates or updates a finding. The corresponding source must
// exist for a finding creation to succeed.
//
-// - name: The relative resource name of this finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}".
+// - name: The relative resource name of this finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}".
func (r *OrganizationsSourcesFindingsService) Patch(name string, googlecloudsecuritycenterv1beta1finding *GoogleCloudSecuritycenterV1beta1Finding) *OrganizationsSourcesFindingsPatchCall {
c := &OrganizationsSourcesFindingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7913,11 +7913,11 @@ type OrganizationsSourcesFindingsSetStateCall struct {
// SetState: Updates the state of a finding.
//
-// - name: The relative resource name of the finding. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Example:
-// "organizations/{organization_id}/sources/{source_id}/finding/{findin
-// g_id}".
+// - name: The relative resource name of the finding. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Example:
+// "organizations/{organization_id}/sources/{source_id}/finding/{findin
+// g_id}".
func (r *OrganizationsSourcesFindingsService) SetState(name string, setfindingstaterequest *SetFindingStateRequest) *OrganizationsSourcesFindingsSetStateCall {
c := &OrganizationsSourcesFindingsSetStateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8060,12 +8060,12 @@ type OrganizationsSourcesFindingsUpdateSecurityMarksCall struct {
// UpdateSecurityMarks: Updates security marks.
//
-// - name: The relative resource name of the SecurityMarks. See:
-// https://cloud.google.com/apis/design/resource_names#relative_resource_name
-// Examples:
-// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
-// "organizations/{organization_id}/sources/{source_id}/findings/{findi
-// ng_id}/securityMarks".
+// - name: The relative resource name of the SecurityMarks. See:
+// https://cloud.google.com/apis/design/resource_names#relative_resource_name
+// Examples:
+// "organizations/{organization_id}/assets/{asset_id}/securityMarks"
+// "organizations/{organization_id}/sources/{source_id}/findings/{findi
+// ng_id}/securityMarks".
func (r *OrganizationsSourcesFindingsService) UpdateSecurityMarks(name string, googlecloudsecuritycenterv1beta1securitymarks *GoogleCloudSecuritycenterV1beta1SecurityMarks) *OrganizationsSourcesFindingsUpdateSecurityMarksCall {
c := &OrganizationsSourcesFindingsUpdateSecurityMarksCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go
index aa70840d468..20d41edbebc 100644
--- a/securitycenter/v1beta2/securitycenter-gen.go
+++ b/securitycenter/v1beta2/securitycenter-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/security-command-center
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/securitycenter/v1beta2"
-// ...
-// ctx := context.Background()
-// securitycenterService, err := securitycenter.NewService(ctx)
+// import "google.golang.org/api/securitycenter/v1beta2"
+// ...
+// ctx := context.Background()
+// securitycenterService, err := securitycenter.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package securitycenter // import "google.golang.org/api/securitycenter/v1beta2"
@@ -3612,13 +3612,13 @@ type FoldersGetContainerThreatDetectionSettingsCall struct {
// GetContainerThreatDetectionSettings: Get the
// ContainerThreatDetectionSettings resource.
//
-// - name: The name of the ContainerThreatDetectionSettings to retrieve.
-// Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The name of the ContainerThreatDetectionSettings to retrieve.
+// Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *FoldersService) GetContainerThreatDetectionSettings(name string) *FoldersGetContainerThreatDetectionSettingsCall {
c := &FoldersGetContainerThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3765,11 +3765,11 @@ type FoldersGetEventThreatDetectionSettingsCall struct {
// GetEventThreatDetectionSettings: Get the EventThreatDetectionSettings
// resource.
//
-// - name: The name of the EventThreatDetectionSettings to retrieve.
-// Formats: *
-// organizations/{organization}/eventThreatDetectionSettings *
-// folders/{folder}/eventThreatDetectionSettings *
-// projects/{project}/eventThreatDetectionSettings.
+// - name: The name of the EventThreatDetectionSettings to retrieve.
+// Formats: *
+// organizations/{organization}/eventThreatDetectionSettings *
+// folders/{folder}/eventThreatDetectionSettings *
+// projects/{project}/eventThreatDetectionSettings.
func (r *FoldersService) GetEventThreatDetectionSettings(name string) *FoldersGetEventThreatDetectionSettingsCall {
c := &FoldersGetEventThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3915,10 +3915,10 @@ type FoldersGetOnboardingStateCall struct {
// GetOnboardingState: Retrieve the OnboardingState of a resource.
//
-// - name: The name of the OnboardingState to retrieve. Formats: *
-// organizations/{organization}/onboardingState *
-// folders/{folder}/onboardingState *
-// projects/{project}/onboardingState.
+// - name: The name of the OnboardingState to retrieve. Formats: *
+// organizations/{organization}/onboardingState *
+// folders/{folder}/onboardingState *
+// projects/{project}/onboardingState.
func (r *FoldersService) GetOnboardingState(name string) *FoldersGetOnboardingStateCall {
c := &FoldersGetOnboardingStateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4065,11 +4065,11 @@ type FoldersGetRapidVulnerabilityDetectionSettingsCall struct {
// GetRapidVulnerabilityDetectionSettings: Get the
// RapidVulnerabilityDetectionSettings resource.
//
-// - name: The name of the RapidVulnerabilityDetectionSettings to
-// retrieve. Formats: *
-// organizations/{organization}/rapidVulnerabilityDetectionSettings *
-// folders/{folder}/rapidVulnerabilityDetectionSettings *
-// projects/{project}/rapidVulnerabilityDetectionSettings.
+// - name: The name of the RapidVulnerabilityDetectionSettings to
+// retrieve. Formats: *
+// organizations/{organization}/rapidVulnerabilityDetectionSettings *
+// folders/{folder}/rapidVulnerabilityDetectionSettings *
+// projects/{project}/rapidVulnerabilityDetectionSettings.
func (r *FoldersService) GetRapidVulnerabilityDetectionSettings(name string) *FoldersGetRapidVulnerabilityDetectionSettingsCall {
c := &FoldersGetRapidVulnerabilityDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4216,10 +4216,10 @@ type FoldersGetSecurityCenterSettingsCall struct {
// GetSecurityCenterSettings: Get the SecurityCenterSettings resource.
//
-// - name: The name of the SecurityCenterSettings to retrieve. Format:
-// organizations/{organization}/securityCenterSettings Format:
-// folders/{folder}/securityCenterSettings Format:
-// projects/{project}/securityCenterSettings.
+// - name: The name of the SecurityCenterSettings to retrieve. Format:
+// organizations/{organization}/securityCenterSettings Format:
+// folders/{folder}/securityCenterSettings Format:
+// projects/{project}/securityCenterSettings.
func (r *FoldersService) GetSecurityCenterSettings(name string) *FoldersGetSecurityCenterSettingsCall {
c := &FoldersGetSecurityCenterSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4366,11 +4366,11 @@ type FoldersGetSecurityHealthAnalyticsSettingsCall struct {
// GetSecurityHealthAnalyticsSettings: Get the
// SecurityHealthAnalyticsSettings resource.
//
-// - name: The name of the SecurityHealthAnalyticsSettings to retrieve.
-// Formats: *
-// organizations/{organization}/securityHealthAnalyticsSettings *
-// folders/{folder}/securityHealthAnalyticsSettings *
-// projects/{project}/securityHealthAnalyticsSettings.
+// - name: The name of the SecurityHealthAnalyticsSettings to retrieve.
+// Formats: *
+// organizations/{organization}/securityHealthAnalyticsSettings *
+// folders/{folder}/securityHealthAnalyticsSettings *
+// projects/{project}/securityHealthAnalyticsSettings.
func (r *FoldersService) GetSecurityHealthAnalyticsSettings(name string) *FoldersGetSecurityHealthAnalyticsSettingsCall {
c := &FoldersGetSecurityHealthAnalyticsSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4517,11 +4517,11 @@ type FoldersGetVirtualMachineThreatDetectionSettingsCall struct {
// GetVirtualMachineThreatDetectionSettings: Get the
// VirtualMachineThreatDetectionSettings resource.
//
-// - name: The name of the VirtualMachineThreatDetectionSettings to
-// retrieve. Formats: *
-// organizations/{organization}/virtualMachineThreatDetectionSettings
-// * folders/{folder}/virtualMachineThreatDetectionSettings *
-// projects/{project}/virtualMachineThreatDetectionSettings.
+// - name: The name of the VirtualMachineThreatDetectionSettings to
+// retrieve. Formats: *
+// organizations/{organization}/virtualMachineThreatDetectionSettings
+// - folders/{folder}/virtualMachineThreatDetectionSettings *
+// projects/{project}/virtualMachineThreatDetectionSettings.
func (r *FoldersService) GetVirtualMachineThreatDetectionSettings(name string) *FoldersGetVirtualMachineThreatDetectionSettingsCall {
c := &FoldersGetVirtualMachineThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4669,10 +4669,10 @@ type FoldersGetWebSecurityScannerSettingsCall struct {
// GetWebSecurityScannerSettings: Get the WebSecurityScannerSettings
// resource.
//
-// - name: The name of the WebSecurityScannerSettings to retrieve.
-// Formats: * organizations/{organization}/webSecurityScannerSettings
-// * folders/{folder}/webSecurityScannerSettings *
-// projects/{project}/webSecurityScannerSettings.
+// - name: The name of the WebSecurityScannerSettings to retrieve.
+// Formats: * organizations/{organization}/webSecurityScannerSettings
+// - folders/{folder}/webSecurityScannerSettings *
+// projects/{project}/webSecurityScannerSettings.
func (r *FoldersService) GetWebSecurityScannerSettings(name string) *FoldersGetWebSecurityScannerSettingsCall {
c := &FoldersGetWebSecurityScannerSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4819,13 +4819,13 @@ type FoldersUpdateContainerThreatDetectionSettingsCall struct {
// UpdateContainerThreatDetectionSettings: Update the
// ContainerThreatDetectionSettings resource.
//
-// - name: The resource name of the ContainerThreatDetectionSettings.
-// Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The resource name of the ContainerThreatDetectionSettings.
+// Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *FoldersService) UpdateContainerThreatDetectionSettings(name string, containerthreatdetectionsettings *ContainerThreatDetectionSettings) *FoldersUpdateContainerThreatDetectionSettingsCall {
c := &FoldersUpdateContainerThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4981,11 +4981,11 @@ type FoldersUpdateEventThreatDetectionSettingsCall struct {
// UpdateEventThreatDetectionSettings: Update the
// EventThreatDetectionSettings resource.
//
-// - name: The resource name of the EventThreatDetectionSettings.
-// Formats: *
-// organizations/{organization}/eventThreatDetectionSettings *
-// folders/{folder}/eventThreatDetectionSettings *
-// projects/{project}/eventThreatDetectionSettings.
+// - name: The resource name of the EventThreatDetectionSettings.
+// Formats: *
+// organizations/{organization}/eventThreatDetectionSettings *
+// folders/{folder}/eventThreatDetectionSettings *
+// projects/{project}/eventThreatDetectionSettings.
func (r *FoldersService) UpdateEventThreatDetectionSettings(name string, eventthreatdetectionsettings *EventThreatDetectionSettings) *FoldersUpdateEventThreatDetectionSettingsCall {
c := &FoldersUpdateEventThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5141,11 +5141,11 @@ type FoldersUpdateRapidVulnerabilityDetectionSettingsCall struct {
// UpdateRapidVulnerabilityDetectionSettings: Update the
// RapidVulnerabilityDetectionSettings resource.
//
-// - name: The resource name of the RapidVulnerabilityDetectionSettings.
-// Formats: *
-// organizations/{organization}/rapidVulnerabilityDetectionSettings *
-// folders/{folder}/rapidVulnerabilityDetectionSettings *
-// projects/{project}/rapidVulnerabilityDetectionSettings.
+// - name: The resource name of the RapidVulnerabilityDetectionSettings.
+// Formats: *
+// organizations/{organization}/rapidVulnerabilityDetectionSettings *
+// folders/{folder}/rapidVulnerabilityDetectionSettings *
+// projects/{project}/rapidVulnerabilityDetectionSettings.
func (r *FoldersService) UpdateRapidVulnerabilityDetectionSettings(name string, rapidvulnerabilitydetectionsettings *RapidVulnerabilityDetectionSettings) *FoldersUpdateRapidVulnerabilityDetectionSettingsCall {
c := &FoldersUpdateRapidVulnerabilityDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5302,11 +5302,11 @@ type FoldersUpdateSecurityHealthAnalyticsSettingsCall struct {
// UpdateSecurityHealthAnalyticsSettings: Update the
// SecurityHealthAnalyticsSettings resource.
//
-// - name: The resource name of the SecurityHealthAnalyticsSettings.
-// Formats: *
-// organizations/{organization}/securityHealthAnalyticsSettings *
-// folders/{folder}/securityHealthAnalyticsSettings *
-// projects/{project}/securityHealthAnalyticsSettings.
+// - name: The resource name of the SecurityHealthAnalyticsSettings.
+// Formats: *
+// organizations/{organization}/securityHealthAnalyticsSettings *
+// folders/{folder}/securityHealthAnalyticsSettings *
+// projects/{project}/securityHealthAnalyticsSettings.
func (r *FoldersService) UpdateSecurityHealthAnalyticsSettings(name string, securityhealthanalyticssettings *SecurityHealthAnalyticsSettings) *FoldersUpdateSecurityHealthAnalyticsSettingsCall {
c := &FoldersUpdateSecurityHealthAnalyticsSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5462,11 +5462,11 @@ type FoldersUpdateVirtualMachineThreatDetectionSettingsCall struct {
// UpdateVirtualMachineThreatDetectionSettings: Update the
// VirtualMachineThreatDetectionSettings resource.
//
-// - name: The resource name of the
-// VirtualMachineThreatDetectionSettings. Formats: *
-// organizations/{organization}/virtualMachineThreatDetectionSettings
-// * folders/{folder}/virtualMachineThreatDetectionSettings *
-// projects/{project}/virtualMachineThreatDetectionSettings.
+// - name: The resource name of the
+// VirtualMachineThreatDetectionSettings. Formats: *
+// organizations/{organization}/virtualMachineThreatDetectionSettings
+// - folders/{folder}/virtualMachineThreatDetectionSettings *
+// projects/{project}/virtualMachineThreatDetectionSettings.
func (r *FoldersService) UpdateVirtualMachineThreatDetectionSettings(name string, virtualmachinethreatdetectionsettings *VirtualMachineThreatDetectionSettings) *FoldersUpdateVirtualMachineThreatDetectionSettingsCall {
c := &FoldersUpdateVirtualMachineThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5624,9 +5624,9 @@ type FoldersUpdateWebSecurityScannerSettingsCall struct {
// WebSecurityScannerSettings resource.
//
// - name: The resource name of the WebSecurityScannerSettings. Formats:
-// * organizations/{organization}/webSecurityScannerSettings *
-// folders/{folder}/webSecurityScannerSettings *
-// projects/{project}/webSecurityScannerSettings.
+// - organizations/{organization}/webSecurityScannerSettings *
+// folders/{folder}/webSecurityScannerSettings *
+// projects/{project}/webSecurityScannerSettings.
func (r *FoldersService) UpdateWebSecurityScannerSettings(name string, websecurityscannersettings *WebSecurityScannerSettings) *FoldersUpdateWebSecurityScannerSettingsCall {
c := &FoldersUpdateWebSecurityScannerSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5782,13 +5782,13 @@ type FoldersContainerThreatDetectionSettingsCalculateCall struct {
// Calculate: Calculates the effective ContainerThreatDetectionSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the ContainerThreatDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The name of the ContainerThreatDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *FoldersContainerThreatDetectionSettingsService) Calculate(name string) *FoldersContainerThreatDetectionSettingsCalculateCall {
c := &FoldersContainerThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5935,11 +5935,11 @@ type FoldersEventThreatDetectionSettingsCalculateCall struct {
// Calculate: Calculates the effective EventThreatDetectionSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the EventThreatDetectionSettings to calculate.
-// Formats: *
-// organizations/{organization}/eventThreatDetectionSettings *
-// folders/{folder}/eventThreatDetectionSettings *
-// projects/{project}/eventThreatDetectionSettings.
+// - name: The name of the EventThreatDetectionSettings to calculate.
+// Formats: *
+// organizations/{organization}/eventThreatDetectionSettings *
+// folders/{folder}/eventThreatDetectionSettings *
+// projects/{project}/eventThreatDetectionSettings.
func (r *FoldersEventThreatDetectionSettingsService) Calculate(name string) *FoldersEventThreatDetectionSettingsCalculateCall {
c := &FoldersEventThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6087,11 +6087,11 @@ type FoldersRapidVulnerabilityDetectionSettingsCalculateCall struct {
// RapidVulnerabilityDetectionSettings based on its level in the
// resource hierarchy and its settings.
//
-// - name: The name of the RapidVulnerabilityDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/rapidVulnerabilityDetectionSettings *
-// folders/{folder}/rapidVulnerabilityDetectionSettings *
-// projects/{project}/rapidVulnerabilityDetectionSettings.
+// - name: The name of the RapidVulnerabilityDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/rapidVulnerabilityDetectionSettings *
+// folders/{folder}/rapidVulnerabilityDetectionSettings *
+// projects/{project}/rapidVulnerabilityDetectionSettings.
func (r *FoldersRapidVulnerabilityDetectionSettingsService) Calculate(name string) *FoldersRapidVulnerabilityDetectionSettingsCalculateCall {
c := &FoldersRapidVulnerabilityDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6239,11 +6239,11 @@ type FoldersSecurityHealthAnalyticsSettingsCalculateCall struct {
// Calculate: Calculates the effective SecurityHealthAnalyticsSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the SecurityHealthAnalyticsSettings to calculate.
-// Formats: *
-// organizations/{organization}/securityHealthAnalyticsSettings *
-// folders/{folder}/securityHealthAnalyticsSettings *
-// projects/{project}/securityHealthAnalyticsSettings.
+// - name: The name of the SecurityHealthAnalyticsSettings to calculate.
+// Formats: *
+// organizations/{organization}/securityHealthAnalyticsSettings *
+// folders/{folder}/securityHealthAnalyticsSettings *
+// projects/{project}/securityHealthAnalyticsSettings.
func (r *FoldersSecurityHealthAnalyticsSettingsService) Calculate(name string) *FoldersSecurityHealthAnalyticsSettingsCalculateCall {
c := &FoldersSecurityHealthAnalyticsSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6391,11 +6391,11 @@ type FoldersVirtualMachineThreatDetectionSettingsCalculateCall struct {
// VirtualMachineThreatDetectionSettings based on its level in the
// resource hierarchy and its settings.
//
-// - name: The name of the VirtualMachineThreatDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/virtualMachineThreatDetectionSettings
-// * folders/{folder}/virtualMachineThreatDetectionSettings *
-// projects/{project}/virtualMachineThreatDetectionSettings.
+// - name: The name of the VirtualMachineThreatDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/virtualMachineThreatDetectionSettings
+// - folders/{folder}/virtualMachineThreatDetectionSettings *
+// projects/{project}/virtualMachineThreatDetectionSettings.
func (r *FoldersVirtualMachineThreatDetectionSettingsService) Calculate(name string) *FoldersVirtualMachineThreatDetectionSettingsCalculateCall {
c := &FoldersVirtualMachineThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6543,10 +6543,10 @@ type FoldersWebSecurityScannerSettingsCalculateCall struct {
// Calculate: Calculates the effective WebSecurityScannerSettings based
// on its level in the resource hierarchy and its settings.
//
-// - name: The name of the WebSecurityScannerSettings to calculate.
-// Formats: * organizations/{organization}/webSecurityScannerSettings
-// * folders/{folder}/webSecurityScannerSettings *
-// projects/{project}/webSecurityScannerSettings.
+// - name: The name of the WebSecurityScannerSettings to calculate.
+// Formats: * organizations/{organization}/webSecurityScannerSettings
+// - folders/{folder}/webSecurityScannerSettings *
+// projects/{project}/webSecurityScannerSettings.
func (r *FoldersWebSecurityScannerSettingsService) Calculate(name string) *FoldersWebSecurityScannerSettingsCalculateCall {
c := &FoldersWebSecurityScannerSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6693,13 +6693,13 @@ type OrganizationsGetContainerThreatDetectionSettingsCall struct {
// GetContainerThreatDetectionSettings: Get the
// ContainerThreatDetectionSettings resource.
//
-// - name: The name of the ContainerThreatDetectionSettings to retrieve.
-// Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The name of the ContainerThreatDetectionSettings to retrieve.
+// Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *OrganizationsService) GetContainerThreatDetectionSettings(name string) *OrganizationsGetContainerThreatDetectionSettingsCall {
c := &OrganizationsGetContainerThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6846,11 +6846,11 @@ type OrganizationsGetEventThreatDetectionSettingsCall struct {
// GetEventThreatDetectionSettings: Get the EventThreatDetectionSettings
// resource.
//
-// - name: The name of the EventThreatDetectionSettings to retrieve.
-// Formats: *
-// organizations/{organization}/eventThreatDetectionSettings *
-// folders/{folder}/eventThreatDetectionSettings *
-// projects/{project}/eventThreatDetectionSettings.
+// - name: The name of the EventThreatDetectionSettings to retrieve.
+// Formats: *
+// organizations/{organization}/eventThreatDetectionSettings *
+// folders/{folder}/eventThreatDetectionSettings *
+// projects/{project}/eventThreatDetectionSettings.
func (r *OrganizationsService) GetEventThreatDetectionSettings(name string) *OrganizationsGetEventThreatDetectionSettingsCall {
c := &OrganizationsGetEventThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6996,10 +6996,10 @@ type OrganizationsGetOnboardingStateCall struct {
// GetOnboardingState: Retrieve the OnboardingState of a resource.
//
-// - name: The name of the OnboardingState to retrieve. Formats: *
-// organizations/{organization}/onboardingState *
-// folders/{folder}/onboardingState *
-// projects/{project}/onboardingState.
+// - name: The name of the OnboardingState to retrieve. Formats: *
+// organizations/{organization}/onboardingState *
+// folders/{folder}/onboardingState *
+// projects/{project}/onboardingState.
func (r *OrganizationsService) GetOnboardingState(name string) *OrganizationsGetOnboardingStateCall {
c := &OrganizationsGetOnboardingStateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7146,11 +7146,11 @@ type OrganizationsGetRapidVulnerabilityDetectionSettingsCall struct {
// GetRapidVulnerabilityDetectionSettings: Get the
// RapidVulnerabilityDetectionSettings resource.
//
-// - name: The name of the RapidVulnerabilityDetectionSettings to
-// retrieve. Formats: *
-// organizations/{organization}/rapidVulnerabilityDetectionSettings *
-// folders/{folder}/rapidVulnerabilityDetectionSettings *
-// projects/{project}/rapidVulnerabilityDetectionSettings.
+// - name: The name of the RapidVulnerabilityDetectionSettings to
+// retrieve. Formats: *
+// organizations/{organization}/rapidVulnerabilityDetectionSettings *
+// folders/{folder}/rapidVulnerabilityDetectionSettings *
+// projects/{project}/rapidVulnerabilityDetectionSettings.
func (r *OrganizationsService) GetRapidVulnerabilityDetectionSettings(name string) *OrganizationsGetRapidVulnerabilityDetectionSettingsCall {
c := &OrganizationsGetRapidVulnerabilityDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7297,10 +7297,10 @@ type OrganizationsGetSecurityCenterSettingsCall struct {
// GetSecurityCenterSettings: Get the SecurityCenterSettings resource.
//
-// - name: The name of the SecurityCenterSettings to retrieve. Format:
-// organizations/{organization}/securityCenterSettings Format:
-// folders/{folder}/securityCenterSettings Format:
-// projects/{project}/securityCenterSettings.
+// - name: The name of the SecurityCenterSettings to retrieve. Format:
+// organizations/{organization}/securityCenterSettings Format:
+// folders/{folder}/securityCenterSettings Format:
+// projects/{project}/securityCenterSettings.
func (r *OrganizationsService) GetSecurityCenterSettings(name string) *OrganizationsGetSecurityCenterSettingsCall {
c := &OrganizationsGetSecurityCenterSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7447,11 +7447,11 @@ type OrganizationsGetSecurityHealthAnalyticsSettingsCall struct {
// GetSecurityHealthAnalyticsSettings: Get the
// SecurityHealthAnalyticsSettings resource.
//
-// - name: The name of the SecurityHealthAnalyticsSettings to retrieve.
-// Formats: *
-// organizations/{organization}/securityHealthAnalyticsSettings *
-// folders/{folder}/securityHealthAnalyticsSettings *
-// projects/{project}/securityHealthAnalyticsSettings.
+// - name: The name of the SecurityHealthAnalyticsSettings to retrieve.
+// Formats: *
+// organizations/{organization}/securityHealthAnalyticsSettings *
+// folders/{folder}/securityHealthAnalyticsSettings *
+// projects/{project}/securityHealthAnalyticsSettings.
func (r *OrganizationsService) GetSecurityHealthAnalyticsSettings(name string) *OrganizationsGetSecurityHealthAnalyticsSettingsCall {
c := &OrganizationsGetSecurityHealthAnalyticsSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7597,8 +7597,8 @@ type OrganizationsGetSubscriptionCall struct {
// GetSubscription: Get the Subscription resource.
//
-// - name: The name of the subscription to retrieve. Format:
-// organizations/{organization}/subscription.
+// - name: The name of the subscription to retrieve. Format:
+// organizations/{organization}/subscription.
func (r *OrganizationsService) GetSubscription(name string) *OrganizationsGetSubscriptionCall {
c := &OrganizationsGetSubscriptionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7745,11 +7745,11 @@ type OrganizationsGetVirtualMachineThreatDetectionSettingsCall struct {
// GetVirtualMachineThreatDetectionSettings: Get the
// VirtualMachineThreatDetectionSettings resource.
//
-// - name: The name of the VirtualMachineThreatDetectionSettings to
-// retrieve. Formats: *
-// organizations/{organization}/virtualMachineThreatDetectionSettings
-// * folders/{folder}/virtualMachineThreatDetectionSettings *
-// projects/{project}/virtualMachineThreatDetectionSettings.
+// - name: The name of the VirtualMachineThreatDetectionSettings to
+// retrieve. Formats: *
+// organizations/{organization}/virtualMachineThreatDetectionSettings
+// - folders/{folder}/virtualMachineThreatDetectionSettings *
+// projects/{project}/virtualMachineThreatDetectionSettings.
func (r *OrganizationsService) GetVirtualMachineThreatDetectionSettings(name string) *OrganizationsGetVirtualMachineThreatDetectionSettingsCall {
c := &OrganizationsGetVirtualMachineThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7897,10 +7897,10 @@ type OrganizationsGetWebSecurityScannerSettingsCall struct {
// GetWebSecurityScannerSettings: Get the WebSecurityScannerSettings
// resource.
//
-// - name: The name of the WebSecurityScannerSettings to retrieve.
-// Formats: * organizations/{organization}/webSecurityScannerSettings
-// * folders/{folder}/webSecurityScannerSettings *
-// projects/{project}/webSecurityScannerSettings.
+// - name: The name of the WebSecurityScannerSettings to retrieve.
+// Formats: * organizations/{organization}/webSecurityScannerSettings
+// - folders/{folder}/webSecurityScannerSettings *
+// projects/{project}/webSecurityScannerSettings.
func (r *OrganizationsService) GetWebSecurityScannerSettings(name string) *OrganizationsGetWebSecurityScannerSettingsCall {
c := &OrganizationsGetWebSecurityScannerSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8047,13 +8047,13 @@ type OrganizationsUpdateContainerThreatDetectionSettingsCall struct {
// UpdateContainerThreatDetectionSettings: Update the
// ContainerThreatDetectionSettings resource.
//
-// - name: The resource name of the ContainerThreatDetectionSettings.
-// Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The resource name of the ContainerThreatDetectionSettings.
+// Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *OrganizationsService) UpdateContainerThreatDetectionSettings(name string, containerthreatdetectionsettings *ContainerThreatDetectionSettings) *OrganizationsUpdateContainerThreatDetectionSettingsCall {
c := &OrganizationsUpdateContainerThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8209,11 +8209,11 @@ type OrganizationsUpdateEventThreatDetectionSettingsCall struct {
// UpdateEventThreatDetectionSettings: Update the
// EventThreatDetectionSettings resource.
//
-// - name: The resource name of the EventThreatDetectionSettings.
-// Formats: *
-// organizations/{organization}/eventThreatDetectionSettings *
-// folders/{folder}/eventThreatDetectionSettings *
-// projects/{project}/eventThreatDetectionSettings.
+// - name: The resource name of the EventThreatDetectionSettings.
+// Formats: *
+// organizations/{organization}/eventThreatDetectionSettings *
+// folders/{folder}/eventThreatDetectionSettings *
+// projects/{project}/eventThreatDetectionSettings.
func (r *OrganizationsService) UpdateEventThreatDetectionSettings(name string, eventthreatdetectionsettings *EventThreatDetectionSettings) *OrganizationsUpdateEventThreatDetectionSettingsCall {
c := &OrganizationsUpdateEventThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8369,11 +8369,11 @@ type OrganizationsUpdateRapidVulnerabilityDetectionSettingsCall struct {
// UpdateRapidVulnerabilityDetectionSettings: Update the
// RapidVulnerabilityDetectionSettings resource.
//
-// - name: The resource name of the RapidVulnerabilityDetectionSettings.
-// Formats: *
-// organizations/{organization}/rapidVulnerabilityDetectionSettings *
-// folders/{folder}/rapidVulnerabilityDetectionSettings *
-// projects/{project}/rapidVulnerabilityDetectionSettings.
+// - name: The resource name of the RapidVulnerabilityDetectionSettings.
+// Formats: *
+// organizations/{organization}/rapidVulnerabilityDetectionSettings *
+// folders/{folder}/rapidVulnerabilityDetectionSettings *
+// projects/{project}/rapidVulnerabilityDetectionSettings.
func (r *OrganizationsService) UpdateRapidVulnerabilityDetectionSettings(name string, rapidvulnerabilitydetectionsettings *RapidVulnerabilityDetectionSettings) *OrganizationsUpdateRapidVulnerabilityDetectionSettingsCall {
c := &OrganizationsUpdateRapidVulnerabilityDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8530,11 +8530,11 @@ type OrganizationsUpdateSecurityHealthAnalyticsSettingsCall struct {
// UpdateSecurityHealthAnalyticsSettings: Update the
// SecurityHealthAnalyticsSettings resource.
//
-// - name: The resource name of the SecurityHealthAnalyticsSettings.
-// Formats: *
-// organizations/{organization}/securityHealthAnalyticsSettings *
-// folders/{folder}/securityHealthAnalyticsSettings *
-// projects/{project}/securityHealthAnalyticsSettings.
+// - name: The resource name of the SecurityHealthAnalyticsSettings.
+// Formats: *
+// organizations/{organization}/securityHealthAnalyticsSettings *
+// folders/{folder}/securityHealthAnalyticsSettings *
+// projects/{project}/securityHealthAnalyticsSettings.
func (r *OrganizationsService) UpdateSecurityHealthAnalyticsSettings(name string, securityhealthanalyticssettings *SecurityHealthAnalyticsSettings) *OrganizationsUpdateSecurityHealthAnalyticsSettingsCall {
c := &OrganizationsUpdateSecurityHealthAnalyticsSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8690,11 +8690,11 @@ type OrganizationsUpdateVirtualMachineThreatDetectionSettingsCall struct {
// UpdateVirtualMachineThreatDetectionSettings: Update the
// VirtualMachineThreatDetectionSettings resource.
//
-// - name: The resource name of the
-// VirtualMachineThreatDetectionSettings. Formats: *
-// organizations/{organization}/virtualMachineThreatDetectionSettings
-// * folders/{folder}/virtualMachineThreatDetectionSettings *
-// projects/{project}/virtualMachineThreatDetectionSettings.
+// - name: The resource name of the
+// VirtualMachineThreatDetectionSettings. Formats: *
+// organizations/{organization}/virtualMachineThreatDetectionSettings
+// - folders/{folder}/virtualMachineThreatDetectionSettings *
+// projects/{project}/virtualMachineThreatDetectionSettings.
func (r *OrganizationsService) UpdateVirtualMachineThreatDetectionSettings(name string, virtualmachinethreatdetectionsettings *VirtualMachineThreatDetectionSettings) *OrganizationsUpdateVirtualMachineThreatDetectionSettingsCall {
c := &OrganizationsUpdateVirtualMachineThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8852,9 +8852,9 @@ type OrganizationsUpdateWebSecurityScannerSettingsCall struct {
// WebSecurityScannerSettings resource.
//
// - name: The resource name of the WebSecurityScannerSettings. Formats:
-// * organizations/{organization}/webSecurityScannerSettings *
-// folders/{folder}/webSecurityScannerSettings *
-// projects/{project}/webSecurityScannerSettings.
+// - organizations/{organization}/webSecurityScannerSettings *
+// folders/{folder}/webSecurityScannerSettings *
+// projects/{project}/webSecurityScannerSettings.
func (r *OrganizationsService) UpdateWebSecurityScannerSettings(name string, websecurityscannersettings *WebSecurityScannerSettings) *OrganizationsUpdateWebSecurityScannerSettingsCall {
c := &OrganizationsUpdateWebSecurityScannerSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9010,13 +9010,13 @@ type OrganizationsContainerThreatDetectionSettingsCalculateCall struct {
// Calculate: Calculates the effective ContainerThreatDetectionSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the ContainerThreatDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The name of the ContainerThreatDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *OrganizationsContainerThreatDetectionSettingsService) Calculate(name string) *OrganizationsContainerThreatDetectionSettingsCalculateCall {
c := &OrganizationsContainerThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9163,11 +9163,11 @@ type OrganizationsEventThreatDetectionSettingsCalculateCall struct {
// Calculate: Calculates the effective EventThreatDetectionSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the EventThreatDetectionSettings to calculate.
-// Formats: *
-// organizations/{organization}/eventThreatDetectionSettings *
-// folders/{folder}/eventThreatDetectionSettings *
-// projects/{project}/eventThreatDetectionSettings.
+// - name: The name of the EventThreatDetectionSettings to calculate.
+// Formats: *
+// organizations/{organization}/eventThreatDetectionSettings *
+// folders/{folder}/eventThreatDetectionSettings *
+// projects/{project}/eventThreatDetectionSettings.
func (r *OrganizationsEventThreatDetectionSettingsService) Calculate(name string) *OrganizationsEventThreatDetectionSettingsCalculateCall {
c := &OrganizationsEventThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9315,11 +9315,11 @@ type OrganizationsRapidVulnerabilityDetectionSettingsCalculateCall struct {
// RapidVulnerabilityDetectionSettings based on its level in the
// resource hierarchy and its settings.
//
-// - name: The name of the RapidVulnerabilityDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/rapidVulnerabilityDetectionSettings *
-// folders/{folder}/rapidVulnerabilityDetectionSettings *
-// projects/{project}/rapidVulnerabilityDetectionSettings.
+// - name: The name of the RapidVulnerabilityDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/rapidVulnerabilityDetectionSettings *
+// folders/{folder}/rapidVulnerabilityDetectionSettings *
+// projects/{project}/rapidVulnerabilityDetectionSettings.
func (r *OrganizationsRapidVulnerabilityDetectionSettingsService) Calculate(name string) *OrganizationsRapidVulnerabilityDetectionSettingsCalculateCall {
c := &OrganizationsRapidVulnerabilityDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9467,11 +9467,11 @@ type OrganizationsSecurityHealthAnalyticsSettingsCalculateCall struct {
// Calculate: Calculates the effective SecurityHealthAnalyticsSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the SecurityHealthAnalyticsSettings to calculate.
-// Formats: *
-// organizations/{organization}/securityHealthAnalyticsSettings *
-// folders/{folder}/securityHealthAnalyticsSettings *
-// projects/{project}/securityHealthAnalyticsSettings.
+// - name: The name of the SecurityHealthAnalyticsSettings to calculate.
+// Formats: *
+// organizations/{organization}/securityHealthAnalyticsSettings *
+// folders/{folder}/securityHealthAnalyticsSettings *
+// projects/{project}/securityHealthAnalyticsSettings.
func (r *OrganizationsSecurityHealthAnalyticsSettingsService) Calculate(name string) *OrganizationsSecurityHealthAnalyticsSettingsCalculateCall {
c := &OrganizationsSecurityHealthAnalyticsSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9619,11 +9619,11 @@ type OrganizationsVirtualMachineThreatDetectionSettingsCalculateCall struct {
// VirtualMachineThreatDetectionSettings based on its level in the
// resource hierarchy and its settings.
//
-// - name: The name of the VirtualMachineThreatDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/virtualMachineThreatDetectionSettings
-// * folders/{folder}/virtualMachineThreatDetectionSettings *
-// projects/{project}/virtualMachineThreatDetectionSettings.
+// - name: The name of the VirtualMachineThreatDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/virtualMachineThreatDetectionSettings
+// - folders/{folder}/virtualMachineThreatDetectionSettings *
+// projects/{project}/virtualMachineThreatDetectionSettings.
func (r *OrganizationsVirtualMachineThreatDetectionSettingsService) Calculate(name string) *OrganizationsVirtualMachineThreatDetectionSettingsCalculateCall {
c := &OrganizationsVirtualMachineThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9771,10 +9771,10 @@ type OrganizationsWebSecurityScannerSettingsCalculateCall struct {
// Calculate: Calculates the effective WebSecurityScannerSettings based
// on its level in the resource hierarchy and its settings.
//
-// - name: The name of the WebSecurityScannerSettings to calculate.
-// Formats: * organizations/{organization}/webSecurityScannerSettings
-// * folders/{folder}/webSecurityScannerSettings *
-// projects/{project}/webSecurityScannerSettings.
+// - name: The name of the WebSecurityScannerSettings to calculate.
+// Formats: * organizations/{organization}/webSecurityScannerSettings
+// - folders/{folder}/webSecurityScannerSettings *
+// projects/{project}/webSecurityScannerSettings.
func (r *OrganizationsWebSecurityScannerSettingsService) Calculate(name string) *OrganizationsWebSecurityScannerSettingsCalculateCall {
c := &OrganizationsWebSecurityScannerSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -9921,13 +9921,13 @@ type ProjectsGetContainerThreatDetectionSettingsCall struct {
// GetContainerThreatDetectionSettings: Get the
// ContainerThreatDetectionSettings resource.
//
-// - name: The name of the ContainerThreatDetectionSettings to retrieve.
-// Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The name of the ContainerThreatDetectionSettings to retrieve.
+// Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *ProjectsService) GetContainerThreatDetectionSettings(name string) *ProjectsGetContainerThreatDetectionSettingsCall {
c := &ProjectsGetContainerThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10074,11 +10074,11 @@ type ProjectsGetEventThreatDetectionSettingsCall struct {
// GetEventThreatDetectionSettings: Get the EventThreatDetectionSettings
// resource.
//
-// - name: The name of the EventThreatDetectionSettings to retrieve.
-// Formats: *
-// organizations/{organization}/eventThreatDetectionSettings *
-// folders/{folder}/eventThreatDetectionSettings *
-// projects/{project}/eventThreatDetectionSettings.
+// - name: The name of the EventThreatDetectionSettings to retrieve.
+// Formats: *
+// organizations/{organization}/eventThreatDetectionSettings *
+// folders/{folder}/eventThreatDetectionSettings *
+// projects/{project}/eventThreatDetectionSettings.
func (r *ProjectsService) GetEventThreatDetectionSettings(name string) *ProjectsGetEventThreatDetectionSettingsCall {
c := &ProjectsGetEventThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10224,10 +10224,10 @@ type ProjectsGetOnboardingStateCall struct {
// GetOnboardingState: Retrieve the OnboardingState of a resource.
//
-// - name: The name of the OnboardingState to retrieve. Formats: *
-// organizations/{organization}/onboardingState *
-// folders/{folder}/onboardingState *
-// projects/{project}/onboardingState.
+// - name: The name of the OnboardingState to retrieve. Formats: *
+// organizations/{organization}/onboardingState *
+// folders/{folder}/onboardingState *
+// projects/{project}/onboardingState.
func (r *ProjectsService) GetOnboardingState(name string) *ProjectsGetOnboardingStateCall {
c := &ProjectsGetOnboardingStateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10374,11 +10374,11 @@ type ProjectsGetRapidVulnerabilityDetectionSettingsCall struct {
// GetRapidVulnerabilityDetectionSettings: Get the
// RapidVulnerabilityDetectionSettings resource.
//
-// - name: The name of the RapidVulnerabilityDetectionSettings to
-// retrieve. Formats: *
-// organizations/{organization}/rapidVulnerabilityDetectionSettings *
-// folders/{folder}/rapidVulnerabilityDetectionSettings *
-// projects/{project}/rapidVulnerabilityDetectionSettings.
+// - name: The name of the RapidVulnerabilityDetectionSettings to
+// retrieve. Formats: *
+// organizations/{organization}/rapidVulnerabilityDetectionSettings *
+// folders/{folder}/rapidVulnerabilityDetectionSettings *
+// projects/{project}/rapidVulnerabilityDetectionSettings.
func (r *ProjectsService) GetRapidVulnerabilityDetectionSettings(name string) *ProjectsGetRapidVulnerabilityDetectionSettingsCall {
c := &ProjectsGetRapidVulnerabilityDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10525,10 +10525,10 @@ type ProjectsGetSecurityCenterSettingsCall struct {
// GetSecurityCenterSettings: Get the SecurityCenterSettings resource.
//
-// - name: The name of the SecurityCenterSettings to retrieve. Format:
-// organizations/{organization}/securityCenterSettings Format:
-// folders/{folder}/securityCenterSettings Format:
-// projects/{project}/securityCenterSettings.
+// - name: The name of the SecurityCenterSettings to retrieve. Format:
+// organizations/{organization}/securityCenterSettings Format:
+// folders/{folder}/securityCenterSettings Format:
+// projects/{project}/securityCenterSettings.
func (r *ProjectsService) GetSecurityCenterSettings(name string) *ProjectsGetSecurityCenterSettingsCall {
c := &ProjectsGetSecurityCenterSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10675,11 +10675,11 @@ type ProjectsGetSecurityHealthAnalyticsSettingsCall struct {
// GetSecurityHealthAnalyticsSettings: Get the
// SecurityHealthAnalyticsSettings resource.
//
-// - name: The name of the SecurityHealthAnalyticsSettings to retrieve.
-// Formats: *
-// organizations/{organization}/securityHealthAnalyticsSettings *
-// folders/{folder}/securityHealthAnalyticsSettings *
-// projects/{project}/securityHealthAnalyticsSettings.
+// - name: The name of the SecurityHealthAnalyticsSettings to retrieve.
+// Formats: *
+// organizations/{organization}/securityHealthAnalyticsSettings *
+// folders/{folder}/securityHealthAnalyticsSettings *
+// projects/{project}/securityHealthAnalyticsSettings.
func (r *ProjectsService) GetSecurityHealthAnalyticsSettings(name string) *ProjectsGetSecurityHealthAnalyticsSettingsCall {
c := &ProjectsGetSecurityHealthAnalyticsSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10826,11 +10826,11 @@ type ProjectsGetVirtualMachineThreatDetectionSettingsCall struct {
// GetVirtualMachineThreatDetectionSettings: Get the
// VirtualMachineThreatDetectionSettings resource.
//
-// - name: The name of the VirtualMachineThreatDetectionSettings to
-// retrieve. Formats: *
-// organizations/{organization}/virtualMachineThreatDetectionSettings
-// * folders/{folder}/virtualMachineThreatDetectionSettings *
-// projects/{project}/virtualMachineThreatDetectionSettings.
+// - name: The name of the VirtualMachineThreatDetectionSettings to
+// retrieve. Formats: *
+// organizations/{organization}/virtualMachineThreatDetectionSettings
+// - folders/{folder}/virtualMachineThreatDetectionSettings *
+// projects/{project}/virtualMachineThreatDetectionSettings.
func (r *ProjectsService) GetVirtualMachineThreatDetectionSettings(name string) *ProjectsGetVirtualMachineThreatDetectionSettingsCall {
c := &ProjectsGetVirtualMachineThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -10978,10 +10978,10 @@ type ProjectsGetWebSecurityScannerSettingsCall struct {
// GetWebSecurityScannerSettings: Get the WebSecurityScannerSettings
// resource.
//
-// - name: The name of the WebSecurityScannerSettings to retrieve.
-// Formats: * organizations/{organization}/webSecurityScannerSettings
-// * folders/{folder}/webSecurityScannerSettings *
-// projects/{project}/webSecurityScannerSettings.
+// - name: The name of the WebSecurityScannerSettings to retrieve.
+// Formats: * organizations/{organization}/webSecurityScannerSettings
+// - folders/{folder}/webSecurityScannerSettings *
+// projects/{project}/webSecurityScannerSettings.
func (r *ProjectsService) GetWebSecurityScannerSettings(name string) *ProjectsGetWebSecurityScannerSettingsCall {
c := &ProjectsGetWebSecurityScannerSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11128,13 +11128,13 @@ type ProjectsUpdateContainerThreatDetectionSettingsCall struct {
// UpdateContainerThreatDetectionSettings: Update the
// ContainerThreatDetectionSettings resource.
//
-// - name: The resource name of the ContainerThreatDetectionSettings.
-// Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The resource name of the ContainerThreatDetectionSettings.
+// Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *ProjectsService) UpdateContainerThreatDetectionSettings(name string, containerthreatdetectionsettings *ContainerThreatDetectionSettings) *ProjectsUpdateContainerThreatDetectionSettingsCall {
c := &ProjectsUpdateContainerThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11290,11 +11290,11 @@ type ProjectsUpdateEventThreatDetectionSettingsCall struct {
// UpdateEventThreatDetectionSettings: Update the
// EventThreatDetectionSettings resource.
//
-// - name: The resource name of the EventThreatDetectionSettings.
-// Formats: *
-// organizations/{organization}/eventThreatDetectionSettings *
-// folders/{folder}/eventThreatDetectionSettings *
-// projects/{project}/eventThreatDetectionSettings.
+// - name: The resource name of the EventThreatDetectionSettings.
+// Formats: *
+// organizations/{organization}/eventThreatDetectionSettings *
+// folders/{folder}/eventThreatDetectionSettings *
+// projects/{project}/eventThreatDetectionSettings.
func (r *ProjectsService) UpdateEventThreatDetectionSettings(name string, eventthreatdetectionsettings *EventThreatDetectionSettings) *ProjectsUpdateEventThreatDetectionSettingsCall {
c := &ProjectsUpdateEventThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11450,11 +11450,11 @@ type ProjectsUpdateRapidVulnerabilityDetectionSettingsCall struct {
// UpdateRapidVulnerabilityDetectionSettings: Update the
// RapidVulnerabilityDetectionSettings resource.
//
-// - name: The resource name of the RapidVulnerabilityDetectionSettings.
-// Formats: *
-// organizations/{organization}/rapidVulnerabilityDetectionSettings *
-// folders/{folder}/rapidVulnerabilityDetectionSettings *
-// projects/{project}/rapidVulnerabilityDetectionSettings.
+// - name: The resource name of the RapidVulnerabilityDetectionSettings.
+// Formats: *
+// organizations/{organization}/rapidVulnerabilityDetectionSettings *
+// folders/{folder}/rapidVulnerabilityDetectionSettings *
+// projects/{project}/rapidVulnerabilityDetectionSettings.
func (r *ProjectsService) UpdateRapidVulnerabilityDetectionSettings(name string, rapidvulnerabilitydetectionsettings *RapidVulnerabilityDetectionSettings) *ProjectsUpdateRapidVulnerabilityDetectionSettingsCall {
c := &ProjectsUpdateRapidVulnerabilityDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11611,11 +11611,11 @@ type ProjectsUpdateSecurityHealthAnalyticsSettingsCall struct {
// UpdateSecurityHealthAnalyticsSettings: Update the
// SecurityHealthAnalyticsSettings resource.
//
-// - name: The resource name of the SecurityHealthAnalyticsSettings.
-// Formats: *
-// organizations/{organization}/securityHealthAnalyticsSettings *
-// folders/{folder}/securityHealthAnalyticsSettings *
-// projects/{project}/securityHealthAnalyticsSettings.
+// - name: The resource name of the SecurityHealthAnalyticsSettings.
+// Formats: *
+// organizations/{organization}/securityHealthAnalyticsSettings *
+// folders/{folder}/securityHealthAnalyticsSettings *
+// projects/{project}/securityHealthAnalyticsSettings.
func (r *ProjectsService) UpdateSecurityHealthAnalyticsSettings(name string, securityhealthanalyticssettings *SecurityHealthAnalyticsSettings) *ProjectsUpdateSecurityHealthAnalyticsSettingsCall {
c := &ProjectsUpdateSecurityHealthAnalyticsSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11771,11 +11771,11 @@ type ProjectsUpdateVirtualMachineThreatDetectionSettingsCall struct {
// UpdateVirtualMachineThreatDetectionSettings: Update the
// VirtualMachineThreatDetectionSettings resource.
//
-// - name: The resource name of the
-// VirtualMachineThreatDetectionSettings. Formats: *
-// organizations/{organization}/virtualMachineThreatDetectionSettings
-// * folders/{folder}/virtualMachineThreatDetectionSettings *
-// projects/{project}/virtualMachineThreatDetectionSettings.
+// - name: The resource name of the
+// VirtualMachineThreatDetectionSettings. Formats: *
+// organizations/{organization}/virtualMachineThreatDetectionSettings
+// - folders/{folder}/virtualMachineThreatDetectionSettings *
+// projects/{project}/virtualMachineThreatDetectionSettings.
func (r *ProjectsService) UpdateVirtualMachineThreatDetectionSettings(name string, virtualmachinethreatdetectionsettings *VirtualMachineThreatDetectionSettings) *ProjectsUpdateVirtualMachineThreatDetectionSettingsCall {
c := &ProjectsUpdateVirtualMachineThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11933,9 +11933,9 @@ type ProjectsUpdateWebSecurityScannerSettingsCall struct {
// WebSecurityScannerSettings resource.
//
// - name: The resource name of the WebSecurityScannerSettings. Formats:
-// * organizations/{organization}/webSecurityScannerSettings *
-// folders/{folder}/webSecurityScannerSettings *
-// projects/{project}/webSecurityScannerSettings.
+// - organizations/{organization}/webSecurityScannerSettings *
+// folders/{folder}/webSecurityScannerSettings *
+// projects/{project}/webSecurityScannerSettings.
func (r *ProjectsService) UpdateWebSecurityScannerSettings(name string, websecurityscannersettings *WebSecurityScannerSettings) *ProjectsUpdateWebSecurityScannerSettingsCall {
c := &ProjectsUpdateWebSecurityScannerSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12091,13 +12091,13 @@ type ProjectsContainerThreatDetectionSettingsCalculateCall struct {
// Calculate: Calculates the effective ContainerThreatDetectionSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the ContainerThreatDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The name of the ContainerThreatDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *ProjectsContainerThreatDetectionSettingsService) Calculate(name string) *ProjectsContainerThreatDetectionSettingsCalculateCall {
c := &ProjectsContainerThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12244,11 +12244,11 @@ type ProjectsEventThreatDetectionSettingsCalculateCall struct {
// Calculate: Calculates the effective EventThreatDetectionSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the EventThreatDetectionSettings to calculate.
-// Formats: *
-// organizations/{organization}/eventThreatDetectionSettings *
-// folders/{folder}/eventThreatDetectionSettings *
-// projects/{project}/eventThreatDetectionSettings.
+// - name: The name of the EventThreatDetectionSettings to calculate.
+// Formats: *
+// organizations/{organization}/eventThreatDetectionSettings *
+// folders/{folder}/eventThreatDetectionSettings *
+// projects/{project}/eventThreatDetectionSettings.
func (r *ProjectsEventThreatDetectionSettingsService) Calculate(name string) *ProjectsEventThreatDetectionSettingsCalculateCall {
c := &ProjectsEventThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12395,13 +12395,13 @@ type ProjectsLocationsClustersGetContainerThreatDetectionSettingsCall struct {
// GetContainerThreatDetectionSettings: Get the
// ContainerThreatDetectionSettings resource.
//
-// - name: The name of the ContainerThreatDetectionSettings to retrieve.
-// Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The name of the ContainerThreatDetectionSettings to retrieve.
+// Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *ProjectsLocationsClustersService) GetContainerThreatDetectionSettings(name string) *ProjectsLocationsClustersGetContainerThreatDetectionSettingsCall {
c := &ProjectsLocationsClustersGetContainerThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12548,13 +12548,13 @@ type ProjectsLocationsClustersUpdateContainerThreatDetectionSettingsCall struct
// UpdateContainerThreatDetectionSettings: Update the
// ContainerThreatDetectionSettings resource.
//
-// - name: The resource name of the ContainerThreatDetectionSettings.
-// Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The resource name of the ContainerThreatDetectionSettings.
+// Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *ProjectsLocationsClustersService) UpdateContainerThreatDetectionSettings(name string, containerthreatdetectionsettings *ContainerThreatDetectionSettings) *ProjectsLocationsClustersUpdateContainerThreatDetectionSettingsCall {
c := &ProjectsLocationsClustersUpdateContainerThreatDetectionSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12710,13 +12710,13 @@ type ProjectsLocationsClustersContainerThreatDetectionSettingsCalculateCall stru
// Calculate: Calculates the effective ContainerThreatDetectionSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the ContainerThreatDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/containerThreatDetectionSettings *
-// folders/{folder}/containerThreatDetectionSettings *
-// projects/{project}/containerThreatDetectionSettings *
-// projects/{project}/locations/{location}/clusters/{cluster}/container
-// ThreatDetectionSettings.
+// - name: The name of the ContainerThreatDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/containerThreatDetectionSettings *
+// folders/{folder}/containerThreatDetectionSettings *
+// projects/{project}/containerThreatDetectionSettings *
+// projects/{project}/locations/{location}/clusters/{cluster}/container
+// ThreatDetectionSettings.
func (r *ProjectsLocationsClustersContainerThreatDetectionSettingsService) Calculate(name string) *ProjectsLocationsClustersContainerThreatDetectionSettingsCalculateCall {
c := &ProjectsLocationsClustersContainerThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -12864,11 +12864,11 @@ type ProjectsRapidVulnerabilityDetectionSettingsCalculateCall struct {
// RapidVulnerabilityDetectionSettings based on its level in the
// resource hierarchy and its settings.
//
-// - name: The name of the RapidVulnerabilityDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/rapidVulnerabilityDetectionSettings *
-// folders/{folder}/rapidVulnerabilityDetectionSettings *
-// projects/{project}/rapidVulnerabilityDetectionSettings.
+// - name: The name of the RapidVulnerabilityDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/rapidVulnerabilityDetectionSettings *
+// folders/{folder}/rapidVulnerabilityDetectionSettings *
+// projects/{project}/rapidVulnerabilityDetectionSettings.
func (r *ProjectsRapidVulnerabilityDetectionSettingsService) Calculate(name string) *ProjectsRapidVulnerabilityDetectionSettingsCalculateCall {
c := &ProjectsRapidVulnerabilityDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13016,11 +13016,11 @@ type ProjectsSecurityHealthAnalyticsSettingsCalculateCall struct {
// Calculate: Calculates the effective SecurityHealthAnalyticsSettings
// based on its level in the resource hierarchy and its settings.
//
-// - name: The name of the SecurityHealthAnalyticsSettings to calculate.
-// Formats: *
-// organizations/{organization}/securityHealthAnalyticsSettings *
-// folders/{folder}/securityHealthAnalyticsSettings *
-// projects/{project}/securityHealthAnalyticsSettings.
+// - name: The name of the SecurityHealthAnalyticsSettings to calculate.
+// Formats: *
+// organizations/{organization}/securityHealthAnalyticsSettings *
+// folders/{folder}/securityHealthAnalyticsSettings *
+// projects/{project}/securityHealthAnalyticsSettings.
func (r *ProjectsSecurityHealthAnalyticsSettingsService) Calculate(name string) *ProjectsSecurityHealthAnalyticsSettingsCalculateCall {
c := &ProjectsSecurityHealthAnalyticsSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13168,11 +13168,11 @@ type ProjectsVirtualMachineThreatDetectionSettingsCalculateCall struct {
// VirtualMachineThreatDetectionSettings based on its level in the
// resource hierarchy and its settings.
//
-// - name: The name of the VirtualMachineThreatDetectionSettings to
-// calculate. Formats: *
-// organizations/{organization}/virtualMachineThreatDetectionSettings
-// * folders/{folder}/virtualMachineThreatDetectionSettings *
-// projects/{project}/virtualMachineThreatDetectionSettings.
+// - name: The name of the VirtualMachineThreatDetectionSettings to
+// calculate. Formats: *
+// organizations/{organization}/virtualMachineThreatDetectionSettings
+// - folders/{folder}/virtualMachineThreatDetectionSettings *
+// projects/{project}/virtualMachineThreatDetectionSettings.
func (r *ProjectsVirtualMachineThreatDetectionSettingsService) Calculate(name string) *ProjectsVirtualMachineThreatDetectionSettingsCalculateCall {
c := &ProjectsVirtualMachineThreatDetectionSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -13320,10 +13320,10 @@ type ProjectsWebSecurityScannerSettingsCalculateCall struct {
// Calculate: Calculates the effective WebSecurityScannerSettings based
// on its level in the resource hierarchy and its settings.
//
-// - name: The name of the WebSecurityScannerSettings to calculate.
-// Formats: * organizations/{organization}/webSecurityScannerSettings
-// * folders/{folder}/webSecurityScannerSettings *
-// projects/{project}/webSecurityScannerSettings.
+// - name: The name of the WebSecurityScannerSettings to calculate.
+// Formats: * organizations/{organization}/webSecurityScannerSettings
+// - folders/{folder}/webSecurityScannerSettings *
+// projects/{project}/webSecurityScannerSettings.
func (r *ProjectsWebSecurityScannerSettingsService) Calculate(name string) *ProjectsWebSecurityScannerSettingsCalculateCall {
c := &ProjectsWebSecurityScannerSettingsCalculateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/securitycenter/v1p1alpha1/securitycenter-gen.go b/securitycenter/v1p1alpha1/securitycenter-gen.go
index 053cde96aa8..7fad0db56c6 100644
--- a/securitycenter/v1p1alpha1/securitycenter-gen.go
+++ b/securitycenter/v1p1alpha1/securitycenter-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/securitycenter/v1p1alpha1"
-// ...
-// ctx := context.Background()
-// securitycenterService, err := securitycenter.NewService(ctx)
+// import "google.golang.org/api/securitycenter/v1p1alpha1"
+// ...
+// ctx := context.Background()
+// securitycenterService, err := securitycenter.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package securitycenter // import "google.golang.org/api/securitycenter/v1p1alpha1"
diff --git a/securitycenter/v1p1beta1/securitycenter-gen.go b/securitycenter/v1p1beta1/securitycenter-gen.go
index 1a4a82f1d4a..dc5d8d16e98 100644
--- a/securitycenter/v1p1beta1/securitycenter-gen.go
+++ b/securitycenter/v1p1beta1/securitycenter-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/securitycenter/v1p1beta1"
-// ...
-// ctx := context.Background()
-// securitycenterService, err := securitycenter.NewService(ctx)
+// import "google.golang.org/api/securitycenter/v1p1beta1"
+// ...
+// ctx := context.Background()
+// securitycenterService, err := securitycenter.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// securitycenterService, err := securitycenter.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package securitycenter // import "google.golang.org/api/securitycenter/v1p1beta1"
@@ -3578,7 +3578,9 @@ func (c *OrganizationsAssetsUpdateSecurityMarksCall) doRequest(alt string) (*htt
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudSecuritycenterV1p1beta1SecurityMarks.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -7142,7 +7144,9 @@ func (c *OrganizationsSourcesFindingsUpdateSecurityMarksCall) doRequest(alt stri
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleCloudSecuritycenterV1p1beta1SecurityMarks.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
diff --git a/servicebroker/v1/servicebroker-gen.go b/servicebroker/v1/servicebroker-gen.go
index 063cefd0566..c818686d8a6 100644
--- a/servicebroker/v1/servicebroker-gen.go
+++ b/servicebroker/v1/servicebroker-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicebroker/v1"
-// ...
-// ctx := context.Background()
-// servicebrokerService, err := servicebroker.NewService(ctx)
+// import "google.golang.org/api/servicebroker/v1"
+// ...
+// ctx := context.Background()
+// servicebrokerService, err := servicebroker.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicebrokerService, err := servicebroker.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicebrokerService, err := servicebroker.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicebrokerService, err := servicebroker.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicebrokerService, err := servicebroker.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicebroker // import "google.golang.org/api/servicebroker/v1"
@@ -247,7 +247,6 @@ func (s *GoogleIamV1__Binding) MarshalJSON() ([]byte, error) {
// which specifies access
// controls for Google Cloud resources.
//
-//
// A `Policy` is a collection of `bindings`. A `binding` binds one or
// more
// `members` to a single `role`. Members can be user accounts, service
@@ -268,52 +267,56 @@ func (s *GoogleIamV1__Binding) MarshalJSON() ([]byte, error) {
//
// **JSON example:**
//
-// {
-// "bindings": [
-// {
-// "role": "roles/resourcemanager.organizationAdmin",
-// "members": [
-// "user:mike@example.com",
-// "group:admins@example.com",
-// "domain:google.com",
+// {
+// "bindings": [
+// {
+// "role": "roles/resourcemanager.organizationAdmin",
+// "members": [
+// "user:mike@example.com",
+// "group:admins@example.com",
+// "domain:google.com",
//
// "serviceAccount:my-project-id@appspot.gserviceaccount.com"
-// ]
-// },
-// {
-// "role": "roles/resourcemanager.organizationViewer",
-// "members": ["user:eve@example.com"],
-// "condition": {
-// "title": "expirable access",
-// "description": "Does not grant access after Sep 2020",
-// "expression": "request.time <
+//
+// ]
+// },
+// {
+// "role": "roles/resourcemanager.organizationViewer",
+// "members": ["user:eve@example.com"],
+// "condition": {
+// "title": "expirable access",
+// "description": "Does not grant access after Sep 2020",
+// "expression": "request.time <
+//
// timestamp('2020-10-01T00:00:00.000Z')",
-// }
-// }
-// ],
-// "etag": "BwWWja0YfJA=",
-// "version": 3
-// }
+//
+// }
+// }
+// ],
+// "etag": "BwWWja0YfJA=",
+// "version": 3
+// }
//
// **YAML example:**
//
-// bindings:
-// - members:
-// - user:mike@example.com
-// - group:admins@example.com
-// - domain:google.com
-// - serviceAccount:my-project-id@appspot.gserviceaccount.com
-// role: roles/resourcemanager.organizationAdmin
-// - members:
-// - user:eve@example.com
-// role: roles/resourcemanager.organizationViewer
-// condition:
-// title: expirable access
-// description: Does not grant access after Sep 2020
-// expression: request.time <
+// bindings:
+// - members:
+// - user:mike@example.com
+// - group:admins@example.com
+// - domain:google.com
+// - serviceAccount:my-project-id@appspot.gserviceaccount.com
+// role: roles/resourcemanager.organizationAdmin
+// - members:
+// - user:eve@example.com
+// role: roles/resourcemanager.organizationViewer
+// condition:
+// title: expirable access
+// description: Does not grant access after Sep 2020
+// expression: request.time <
+//
// timestamp('2020-10-01T00:00:00.000Z')
-// - etag: BwWWja0YfJA=
-// - version: 3
+// - etag: BwWWja0YfJA=
+// - version: 3
//
// For a description of IAM and its features, see the
// [IAM documentation](https://cloud.google.com/iam/docs/).
@@ -512,9 +515,9 @@ func (s *GoogleIamV1__TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
// GoogleType__Expr: Represents an expression text. Example:
//
-// title: "User account presence"
-// description: "Determines whether the request has a user account"
-// expression: "size(request.user) > 0"
+// title: "User account presence"
+// description: "Determines whether the request has a user account"
+// expression: "size(request.user) > 0"
type GoogleType__Expr struct {
// Description: An optional description of the expression. This is a
// longer text which
diff --git a/servicebroker/v1alpha1/servicebroker-gen.go b/servicebroker/v1alpha1/servicebroker-gen.go
index ae39381f430..1cd4add1721 100644
--- a/servicebroker/v1alpha1/servicebroker-gen.go
+++ b/servicebroker/v1alpha1/servicebroker-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicebroker/v1alpha1"
-// ...
-// ctx := context.Background()
-// servicebrokerService, err := servicebroker.NewService(ctx)
+// import "google.golang.org/api/servicebroker/v1alpha1"
+// ...
+// ctx := context.Background()
+// servicebrokerService, err := servicebroker.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicebrokerService, err := servicebroker.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicebrokerService, err := servicebroker.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicebrokerService, err := servicebroker.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicebrokerService, err := servicebroker.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicebroker // import "google.golang.org/api/servicebroker/v1alpha1"
@@ -1154,7 +1154,6 @@ func (s *GoogleIamV1__Binding) MarshalJSON() ([]byte, error) {
// which specifies access
// controls for Google Cloud resources.
//
-//
// A `Policy` is a collection of `bindings`. A `binding` binds one or
// more
// `members` to a single `role`. Members can be user accounts, service
@@ -1175,52 +1174,56 @@ func (s *GoogleIamV1__Binding) MarshalJSON() ([]byte, error) {
//
// **JSON example:**
//
-// {
-// "bindings": [
-// {
-// "role": "roles/resourcemanager.organizationAdmin",
-// "members": [
-// "user:mike@example.com",
-// "group:admins@example.com",
-// "domain:google.com",
+// {
+// "bindings": [
+// {
+// "role": "roles/resourcemanager.organizationAdmin",
+// "members": [
+// "user:mike@example.com",
+// "group:admins@example.com",
+// "domain:google.com",
//
// "serviceAccount:my-project-id@appspot.gserviceaccount.com"
-// ]
-// },
-// {
-// "role": "roles/resourcemanager.organizationViewer",
-// "members": ["user:eve@example.com"],
-// "condition": {
-// "title": "expirable access",
-// "description": "Does not grant access after Sep 2020",
-// "expression": "request.time <
+//
+// ]
+// },
+// {
+// "role": "roles/resourcemanager.organizationViewer",
+// "members": ["user:eve@example.com"],
+// "condition": {
+// "title": "expirable access",
+// "description": "Does not grant access after Sep 2020",
+// "expression": "request.time <
+//
// timestamp('2020-10-01T00:00:00.000Z')",
-// }
-// }
-// ],
-// "etag": "BwWWja0YfJA=",
-// "version": 3
-// }
+//
+// }
+// }
+// ],
+// "etag": "BwWWja0YfJA=",
+// "version": 3
+// }
//
// **YAML example:**
//
-// bindings:
-// - members:
-// - user:mike@example.com
-// - group:admins@example.com
-// - domain:google.com
-// - serviceAccount:my-project-id@appspot.gserviceaccount.com
-// role: roles/resourcemanager.organizationAdmin
-// - members:
-// - user:eve@example.com
-// role: roles/resourcemanager.organizationViewer
-// condition:
-// title: expirable access
-// description: Does not grant access after Sep 2020
-// expression: request.time <
+// bindings:
+// - members:
+// - user:mike@example.com
+// - group:admins@example.com
+// - domain:google.com
+// - serviceAccount:my-project-id@appspot.gserviceaccount.com
+// role: roles/resourcemanager.organizationAdmin
+// - members:
+// - user:eve@example.com
+// role: roles/resourcemanager.organizationViewer
+// condition:
+// title: expirable access
+// description: Does not grant access after Sep 2020
+// expression: request.time <
+//
// timestamp('2020-10-01T00:00:00.000Z')
-// - etag: BwWWja0YfJA=
-// - version: 3
+// - etag: BwWWja0YfJA=
+// - version: 3
//
// For a description of IAM and its features, see the
// [IAM documentation](https://cloud.google.com/iam/docs/).
@@ -1419,9 +1422,9 @@ func (s *GoogleIamV1__TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
// GoogleType__Expr: Represents an expression text. Example:
//
-// title: "User account presence"
-// description: "Determines whether the request has a user account"
-// expression: "size(request.user) > 0"
+// title: "User account presence"
+// description: "Determines whether the request has a user account"
+// expression: "size(request.user) > 0"
type GoogleType__Expr struct {
// Description: An optional description of the expression. This is a
// longer text which
@@ -1640,7 +1643,8 @@ func (r *ProjectsBrokersInstancesServiceBindingsService) List(parent string) *Pr
// PageSize sets the optional parameter "pageSize": Specifies the number
// of results to return per page. If there are fewer
// elements than the specified number, returns all elements.
-// If unset or 0, all the results will be returned.
+//
+// If unset or 0, all the results will be returned.
func (c *ProjectsBrokersInstancesServiceBindingsListCall) PageSize(pageSize int64) *ProjectsBrokersInstancesServiceBindingsListCall {
c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
return c
@@ -1838,7 +1842,8 @@ func (r *ProjectsBrokersServiceInstancesService) List(parent string) *ProjectsBr
// PageSize sets the optional parameter "pageSize": Specifies the number
// of results to return per page. If there are fewer
// elements than the specified number, returns all elements.
-// If unset or 0, all the results will be returned.
+//
+// If unset or 0, all the results will be returned.
func (c *ProjectsBrokersServiceInstancesListCall) PageSize(pageSize int64) *ProjectsBrokersServiceInstancesListCall {
c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
return c
@@ -2038,7 +2043,8 @@ func (r *ProjectsBrokersV2CatalogService) List(parent string) *ProjectsBrokersV2
// PageSize sets the optional parameter "pageSize": Specifies the number
// of results to return per page. If there are fewer
// elements than the specified number, returns all elements.
-// If unset or 0, all the results will be returned.
+//
+// If unset or 0, all the results will be returned.
func (c *ProjectsBrokersV2CatalogListCall) PageSize(pageSize int64) *ProjectsBrokersV2CatalogListCall {
c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
return c
diff --git a/servicebroker/v1beta1/servicebroker-gen.go b/servicebroker/v1beta1/servicebroker-gen.go
index df77bc6f8ee..ae3722f101a 100644
--- a/servicebroker/v1beta1/servicebroker-gen.go
+++ b/servicebroker/v1beta1/servicebroker-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicebroker/v1beta1"
-// ...
-// ctx := context.Background()
-// servicebrokerService, err := servicebroker.NewService(ctx)
+// import "google.golang.org/api/servicebroker/v1beta1"
+// ...
+// ctx := context.Background()
+// servicebrokerService, err := servicebroker.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicebrokerService, err := servicebroker.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicebrokerService, err := servicebroker.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicebrokerService, err := servicebroker.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicebrokerService, err := servicebroker.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicebroker // import "google.golang.org/api/servicebroker/v1beta1"
@@ -1270,7 +1270,6 @@ func (s *GoogleIamV1__Binding) MarshalJSON() ([]byte, error) {
// which specifies access
// controls for Google Cloud resources.
//
-//
// A `Policy` is a collection of `bindings`. A `binding` binds one or
// more
// `members` to a single `role`. Members can be user accounts, service
@@ -1291,52 +1290,56 @@ func (s *GoogleIamV1__Binding) MarshalJSON() ([]byte, error) {
//
// **JSON example:**
//
-// {
-// "bindings": [
-// {
-// "role": "roles/resourcemanager.organizationAdmin",
-// "members": [
-// "user:mike@example.com",
-// "group:admins@example.com",
-// "domain:google.com",
+// {
+// "bindings": [
+// {
+// "role": "roles/resourcemanager.organizationAdmin",
+// "members": [
+// "user:mike@example.com",
+// "group:admins@example.com",
+// "domain:google.com",
//
// "serviceAccount:my-project-id@appspot.gserviceaccount.com"
-// ]
-// },
-// {
-// "role": "roles/resourcemanager.organizationViewer",
-// "members": ["user:eve@example.com"],
-// "condition": {
-// "title": "expirable access",
-// "description": "Does not grant access after Sep 2020",
-// "expression": "request.time <
+//
+// ]
+// },
+// {
+// "role": "roles/resourcemanager.organizationViewer",
+// "members": ["user:eve@example.com"],
+// "condition": {
+// "title": "expirable access",
+// "description": "Does not grant access after Sep 2020",
+// "expression": "request.time <
+//
// timestamp('2020-10-01T00:00:00.000Z')",
-// }
-// }
-// ],
-// "etag": "BwWWja0YfJA=",
-// "version": 3
-// }
+//
+// }
+// }
+// ],
+// "etag": "BwWWja0YfJA=",
+// "version": 3
+// }
//
// **YAML example:**
//
-// bindings:
-// - members:
-// - user:mike@example.com
-// - group:admins@example.com
-// - domain:google.com
-// - serviceAccount:my-project-id@appspot.gserviceaccount.com
-// role: roles/resourcemanager.organizationAdmin
-// - members:
-// - user:eve@example.com
-// role: roles/resourcemanager.organizationViewer
-// condition:
-// title: expirable access
-// description: Does not grant access after Sep 2020
-// expression: request.time <
+// bindings:
+// - members:
+// - user:mike@example.com
+// - group:admins@example.com
+// - domain:google.com
+// - serviceAccount:my-project-id@appspot.gserviceaccount.com
+// role: roles/resourcemanager.organizationAdmin
+// - members:
+// - user:eve@example.com
+// role: roles/resourcemanager.organizationViewer
+// condition:
+// title: expirable access
+// description: Does not grant access after Sep 2020
+// expression: request.time <
+//
// timestamp('2020-10-01T00:00:00.000Z')
-// - etag: BwWWja0YfJA=
-// - version: 3
+// - etag: BwWWja0YfJA=
+// - version: 3
//
// For a description of IAM and its features, see the
// [IAM documentation](https://cloud.google.com/iam/docs/).
@@ -1539,10 +1542,12 @@ func (s *GoogleIamV1__TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
// request
// or the response type of an API method. For instance:
//
-// service Foo {
-// rpc Bar(google.protobuf.Empty) returns
+// service Foo {
+// rpc Bar(google.protobuf.Empty) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// The JSON representation for `Empty` is empty JSON object `{}`.
type GoogleProtobuf__Empty struct {
@@ -1553,9 +1558,9 @@ type GoogleProtobuf__Empty struct {
// GoogleType__Expr: Represents an expression text. Example:
//
-// title: "User account presence"
-// description: "Determines whether the request has a user account"
-// expression: "size(request.user) > 0"
+// title: "User account presence"
+// description: "Determines whether the request has a user account"
+// expression: "size(request.user) > 0"
type GoogleType__Expr struct {
// Description: An optional description of the expression. This is a
// longer text which
@@ -1897,7 +1902,8 @@ func (r *ProjectsBrokersService) List(parent string) *ProjectsBrokersListCall {
// PageSize sets the optional parameter "pageSize": Specifies the number
// of results to return per page. If there are fewer
// elements than the specified number, returns all elements.
-// Acceptable values are 0 to 200, inclusive. (Default: 100)
+//
+// Acceptable values are 0 to 200, inclusive. (Default: 100)
func (c *ProjectsBrokersListCall) PageSize(pageSize int64) *ProjectsBrokersListCall {
c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
return c
@@ -2087,7 +2093,9 @@ type ProjectsBrokersInstancesGetCall struct {
// API
// resource path.
// i.e. both `projects/*/brokers/*/instances/*`
-// and `projects/*/brokers/*/v2/service_instances/*` are acceptable
+//
+// and `projects/*/brokers/*/v2/service_instances/*` are acceptable
+//
// paths.
func (r *ProjectsBrokersInstancesService) Get(name string) *ProjectsBrokersInstancesGetCall {
c := &ProjectsBrokersInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
@@ -2429,7 +2437,8 @@ func (r *ProjectsBrokersInstancesService) List(parent string) *ProjectsBrokersIn
// PageSize sets the optional parameter "pageSize": Specifies the number
// of results to return per page. If there are fewer
// elements than the specified number, returns all elements.
-// Acceptable values are 0 to 200, inclusive. (Default: 100)
+//
+// Acceptable values are 0 to 200, inclusive. (Default: 100)
func (c *ProjectsBrokersInstancesListCall) PageSize(pageSize int64) *ProjectsBrokersInstancesListCall {
c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
return c
@@ -2808,7 +2817,8 @@ func (r *ProjectsBrokersInstancesBindingsService) List(parent string) *ProjectsB
// PageSize sets the optional parameter "pageSize": Specifies the number
// of results to return per page. If there are fewer
// elements than the specified number, returns all elements.
-// Acceptable values are 0 to 200, inclusive. (Default: 100)
+//
+// Acceptable values are 0 to 200, inclusive. (Default: 100)
func (c *ProjectsBrokersInstancesBindingsListCall) PageSize(pageSize int64) *ProjectsBrokersInstancesBindingsListCall {
c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
return c
@@ -3007,7 +3017,8 @@ func (r *ProjectsBrokersV2CatalogService) List(parent string) *ProjectsBrokersV2
// PageSize sets the optional parameter "pageSize": Specifies the number
// of results to return per page. If there are fewer
// elements than the specified number, returns all elements.
-// If unset or 0, all the results will be returned.
+//
+// If unset or 0, all the results will be returned.
func (c *ProjectsBrokersV2CatalogListCall) PageSize(pageSize int64) *ProjectsBrokersV2CatalogListCall {
c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
return c
@@ -3564,7 +3575,9 @@ type ProjectsBrokersV2ServiceInstancesGetCall struct {
// API
// resource path.
// i.e. both `projects/*/brokers/*/instances/*`
-// and `projects/*/brokers/*/v2/service_instances/*` are acceptable
+//
+// and `projects/*/brokers/*/v2/service_instances/*` are acceptable
+//
// paths.
func (r *ProjectsBrokersV2ServiceInstancesService) Get(name string) *ProjectsBrokersV2ServiceInstancesGetCall {
c := &ProjectsBrokersV2ServiceInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go
index 78e80a0d549..9d259150582 100644
--- a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go
+++ b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/service-consumer-management/docs/overview
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/serviceconsumermanagement/v1"
-// ...
-// ctx := context.Background()
-// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx)
+// import "google.golang.org/api/serviceconsumermanagement/v1"
+// ...
+// ctx := context.Background()
+// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx, option.WithAPIKey("AIza..."))
+// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package serviceconsumermanagement // import "google.golang.org/api/serviceconsumermanagement/v1"
@@ -5139,9 +5139,9 @@ type ServicesSearchCall struct {
// Search: Search tenancy units for a managed service.
//
-// - parent: Service for which search is performed. services/{service}
-// {service} the name of a service, for example
-// 'service.googleapis.com'.
+// - parent: Service for which search is performed. services/{service}
+// {service} the name of a service, for example
+// 'service.googleapis.com'.
func (r *ServicesService) Search(parent string) *ServicesSearchCall {
c := &ServicesSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5364,8 +5364,8 @@ type ServicesTenancyUnitsAddProjectCall struct {
// `RemoveTenantProject` first to resolve them before you can make
// another call to `AddTenantProject` with the same tag. Operation.
//
-// - parent: Name of the tenancy unit. Such as
-// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
+// - parent: Name of the tenancy unit. Such as
+// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
func (r *ServicesTenancyUnitsService) AddProject(parent string, addtenantprojectrequest *AddTenantProjectRequest) *ServicesTenancyUnitsAddProjectCall {
c := &ServicesTenancyUnitsAddProjectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5522,8 +5522,8 @@ type ServicesTenancyUnitsApplyProjectConfigCall struct {
// rollback of already applied configuration changes is attempted.
// Operation.
//
-// - name: Name of the tenancy unit. Such as
-// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
+// - name: Name of the tenancy unit. Such as
+// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
func (r *ServicesTenancyUnitsService) ApplyProjectConfig(name string, applytenantprojectconfigrequest *ApplyTenantProjectConfigRequest) *ServicesTenancyUnitsApplyProjectConfigCall {
c := &ServicesTenancyUnitsApplyProjectConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5674,9 +5674,9 @@ type ServicesTenancyUnitsAttachProjectCall struct {
// that project. These two requirements are already met if the project
// is reserved by calling `AddTenantProject`. Operation.
//
-// - name: Name of the tenancy unit that the project will be attached
-// to. Such as
-// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
+// - name: Name of the tenancy unit that the project will be attached
+// to. Such as
+// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
func (r *ServicesTenancyUnitsService) AttachProject(name string, attachtenantprojectrequest *AttachTenantProjectRequest) *ServicesTenancyUnitsAttachProjectCall {
c := &ServicesTenancyUnitsAttachProjectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5822,13 +5822,13 @@ type ServicesTenancyUnitsCreateCall struct {
// ListTenancyUnits has to be used to get a complete TenancyUnit with
// all fields populated.
//
-// - parent: services/{service}/{collection id}/{resource id}
-// {collection id} is the cloud resource collection type representing
-// the service consumer, for example 'projects', or 'organizations'.
-// {resource id} is the consumer numeric id, such as project number:
-// '123456'. {service} the name of a managed service, such as
-// 'service.googleapis.com'. Enables service binding using the new
-// tenancy unit.
+// - parent: services/{service}/{collection id}/{resource id}
+// {collection id} is the cloud resource collection type representing
+// the service consumer, for example 'projects', or 'organizations'.
+// {resource id} is the consumer numeric id, such as project number:
+// '123456'. {service} the name of a managed service, such as
+// 'service.googleapis.com'. Enables service binding using the new
+// tenancy unit.
func (r *ServicesTenancyUnitsService) Create(parent string, createtenancyunitrequest *CreateTenancyUnitRequest) *ServicesTenancyUnitsCreateCall {
c := &ServicesTenancyUnitsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6112,8 +6112,8 @@ type ServicesTenancyUnitsDeleteProjectCall struct {
// be added if there are existing resources in a DELETED state.
// Operation.
//
-// - name: Name of the tenancy unit. Such as
-// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
+// - name: Name of the tenancy unit. Such as
+// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
func (r *ServicesTenancyUnitsService) DeleteProject(name string, deletetenantprojectrequest *DeleteTenantProjectRequest) *ServicesTenancyUnitsDeleteProjectCall {
c := &ServicesTenancyUnitsDeleteProjectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6259,12 +6259,12 @@ type ServicesTenancyUnitsListCall struct {
// creating VMs. Service producers must persist the tenant project's
// information after the project is created.
//
-// - parent: Managed service and service consumer. Required.
-// services/{service}/{collection id}/{resource id} {collection id} is
-// the cloud resource collection type representing the service
-// consumer, for example 'projects', or 'organizations'. {resource id}
-// is the consumer numeric id, such as project number: '123456'.
-// {service} the name of a service, such as 'service.googleapis.com'.
+// - parent: Managed service and service consumer. Required.
+// services/{service}/{collection id}/{resource id} {collection id} is
+// the cloud resource collection type representing the service
+// consumer, for example 'projects', or 'organizations'. {resource id}
+// is the consumer numeric id, such as project number: '123456'.
+// {service} the name of a service, such as 'service.googleapis.com'.
func (r *ServicesTenancyUnitsService) List(parent string) *ServicesTenancyUnitsListCall {
c := &ServicesTenancyUnitsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6477,8 +6477,8 @@ type ServicesTenancyUnitsRemoveProjectCall struct {
// state, resource metadata is permanently removed from the tenancy
// unit. Operation.
//
-// - name: Name of the tenancy unit. Such as
-// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
+// - name: Name of the tenancy unit. Such as
+// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
func (r *ServicesTenancyUnitsService) RemoveProject(name string, removetenantprojectrequest *RemoveTenantProjectRequest) *ServicesTenancyUnitsRemoveProjectCall {
c := &ServicesTenancyUnitsRemoveProjectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6625,8 +6625,8 @@ type ServicesTenancyUnitsUndeleteProjectCall struct {
// update its configuration and then validate all managed service
// resources. Operation.
//
-// - name: Name of the tenancy unit. Such as
-// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
+// - name: Name of the tenancy unit. Such as
+// 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
func (r *ServicesTenancyUnitsService) UndeleteProject(name string, undeletetenantprojectrequest *UndeleteTenantProjectRequest) *ServicesTenancyUnitsUndeleteProjectCall {
c := &ServicesTenancyUnitsUndeleteProjectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go
index 5ad752dd484..0bd58298e37 100644
--- a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go
+++ b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/service-consumer-management/docs/overview
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/serviceconsumermanagement/v1beta1"
-// ...
-// ctx := context.Background()
-// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx)
+// import "google.golang.org/api/serviceconsumermanagement/v1beta1"
+// ...
+// ctx := context.Background()
+// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx, option.WithAPIKey("AIza..."))
+// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// serviceconsumermanagementService, err := serviceconsumermanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package serviceconsumermanagement // import "google.golang.org/api/serviceconsumermanagement/v1beta1"
@@ -4363,10 +4363,10 @@ type ServicesConsumerQuotaMetricsGetCall struct {
// Get: Retrieves a summary of quota information for a specific quota
// metric.
//
-// - name: The resource name of the quota metric, returned by a
-// ListConsumerQuotaMetrics call. An example name would be:
-// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus`.
+// - name: The resource name of the quota metric, returned by a
+// ListConsumerQuotaMetrics call. An example name would be:
+// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus`.
func (r *ServicesConsumerQuotaMetricsService) Get(name string) *ServicesConsumerQuotaMetricsGetCall {
c := &ServicesConsumerQuotaMetricsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4377,10 +4377,14 @@ func (r *ServicesConsumerQuotaMetricsService) Get(name string) *ServicesConsumer
// detail for quota information in the response.
//
// Possible values:
-// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
+// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
// do not specify a quota view will typically default to the BASIC view.
-// "BASIC" - Only buckets with overrides are shown in the response.
-// "FULL" - Include per-location buckets even if they do not have
+//
+// "BASIC" - Only buckets with overrides are shown in the response.
+// "FULL" - Include per-location buckets even if they do not have
+//
// overrides. When the view is FULL, and a limit has regional or zonal
// quota, the limit will include buckets for all regions or zones that
// could support overrides, even if none are currently present. In some
@@ -4548,8 +4552,8 @@ type ServicesConsumerQuotaMetricsImportProducerOverridesCall struct {
// or limits. The name field in the quota override message should not be
// set.
//
-// - parent: The resource name of the consumer. An example name would
-// be: `services/compute.googleapis.com/projects/123`.
+// - parent: The resource name of the consumer. An example name would
+// be: `services/compute.googleapis.com/projects/123`.
func (r *ServicesConsumerQuotaMetricsService) ImportProducerOverrides(parent string, v1beta1importproduceroverridesrequest *V1Beta1ImportProducerOverridesRequest) *ServicesConsumerQuotaMetricsImportProducerOverridesCall {
c := &ServicesConsumerQuotaMetricsImportProducerOverridesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4696,8 +4700,8 @@ type ServicesConsumerQuotaMetricsListCall struct {
// configuration (quota unit, preciseness, default value), the current
// effective limit value, and all of the overrides applied to the limit.
//
-// - parent: Parent of the quotas resource. An example parent would be:
-// `services/serviceconsumermanagement.googleapis.com/projects/123`.
+// - parent: Parent of the quotas resource. An example parent would be:
+// `services/serviceconsumermanagement.googleapis.com/projects/123`.
func (r *ServicesConsumerQuotaMetricsService) List(parent string) *ServicesConsumerQuotaMetricsListCall {
c := &ServicesConsumerQuotaMetricsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4722,10 +4726,14 @@ func (c *ServicesConsumerQuotaMetricsListCall) PageToken(pageToken string) *Serv
// detail for quota information in the response.
//
// Possible values:
-// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
+// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
// do not specify a quota view will typically default to the BASIC view.
-// "BASIC" - Only buckets with overrides are shown in the response.
-// "FULL" - Include per-location buckets even if they do not have
+//
+// "BASIC" - Only buckets with overrides are shown in the response.
+// "FULL" - Include per-location buckets even if they do not have
+//
// overrides. When the view is FULL, and a limit has regional or zonal
// quota, the limit will include buckets for all regions or zones that
// could support overrides, even if none are currently present. In some
@@ -4924,11 +4932,11 @@ type ServicesConsumerQuotaMetricsLimitsGetCall struct {
// Get: Retrieves a summary of quota information for a specific quota
// limit.
//
-// - name: The resource name of the quota limit, returned by a
-// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
-// name would be:
-// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
+// - name: The resource name of the quota limit, returned by a
+// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
+// name would be:
+// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
func (r *ServicesConsumerQuotaMetricsLimitsService) Get(name string) *ServicesConsumerQuotaMetricsLimitsGetCall {
c := &ServicesConsumerQuotaMetricsLimitsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4939,10 +4947,14 @@ func (r *ServicesConsumerQuotaMetricsLimitsService) Get(name string) *ServicesCo
// detail for quota information in the response.
//
// Possible values:
-// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
+// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
// do not specify a quota view will typically default to the BASIC view.
-// "BASIC" - Only buckets with overrides are shown in the response.
-// "FULL" - Include per-location buckets even if they do not have
+//
+// "BASIC" - Only buckets with overrides are shown in the response.
+// "FULL" - Include per-location buckets even if they do not have
+//
// overrides. When the view is FULL, and a limit has regional or zonal
// quota, the limit will include buckets for all regions or zones that
// could support overrides, even if none are currently present. In some
@@ -5114,11 +5126,11 @@ type ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall struct {
// already present ("upsert" semantics), use ImportProducerOverrides
// instead.
//
-// - parent: The resource name of the parent quota limit, returned by a
-// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
-// name would be:
-// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
+// - parent: The resource name of the parent quota limit, returned by a
+// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
+// name would be:
+// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
func (r *ServicesConsumerQuotaMetricsLimitsProducerOverridesService) Create(parent string, v1beta1quotaoverride *V1Beta1QuotaOverride) *ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall {
c := &ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5142,11 +5154,15 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall) Force(fo
// enforced. The 'force' and 'force_only' fields cannot both be set.
//
// Possible values:
-// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
-// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
+// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
+// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
// would not cause the consumer's effective limit to be lower than the
// consumer's quota usage.
-// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
+// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
// mutation would not cause the consumer's effective limit to decrease
// by more than 10 percent.
func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall) ForceOnly(forceOnly ...string) *ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall {
@@ -5308,11 +5324,11 @@ type ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall struct {
// Delete: Deletes a producer override.
//
-// - name: The resource name of the override to delete. An example name
-// would be:
-// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOver
-// rides/4a3f2c1d`.
+// - name: The resource name of the override to delete. An example name
+// would be:
+// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOver
+// rides/4a3f2c1d`.
func (r *ServicesConsumerQuotaMetricsLimitsProducerOverridesService) Delete(name string) *ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall {
c := &ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5335,11 +5351,15 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall) Force(fo
// enforced. The 'force' and 'force_only' fields cannot both be set.
//
// Possible values:
-// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
-// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
+// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
+// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
// would not cause the consumer's effective limit to be lower than the
// consumer's quota usage.
-// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
+// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
// mutation would not cause the consumer's effective limit to decrease
// by more than 10 percent.
func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall) ForceOnly(forceOnly ...string) *ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall {
@@ -5494,11 +5514,11 @@ type ServicesConsumerQuotaMetricsLimitsProducerOverridesListCall struct {
// List: Lists all producer overrides on this limit.
//
-// - parent: The resource name of the parent quota limit, returned by a
-// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
-// name would be:
-// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
+// - parent: The resource name of the parent quota limit, returned by a
+// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
+// name would be:
+// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
func (r *ServicesConsumerQuotaMetricsLimitsProducerOverridesService) List(parent string) *ServicesConsumerQuotaMetricsLimitsProducerOverridesListCall {
c := &ServicesConsumerQuotaMetricsLimitsProducerOverridesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5691,11 +5711,11 @@ type ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall struct {
// Patch: Updates a producer override.
//
-// - name: The resource name of the override to update. An example name
-// would be:
-// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOver
-// rides/4a3f2c1d`.
+// - name: The resource name of the override to update. An example name
+// would be:
+// `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOver
+// rides/4a3f2c1d`.
func (r *ServicesConsumerQuotaMetricsLimitsProducerOverridesService) Patch(name string, v1beta1quotaoverride *V1Beta1QuotaOverride) *ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall {
c := &ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5719,11 +5739,15 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall) Force(for
// enforced. The 'force' and 'force_only' fields cannot both be set.
//
// Possible values:
-// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
-// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
+// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
+// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
// would not cause the consumer's effective limit to be lower than the
// consumer's quota usage.
-// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
+// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
// mutation would not cause the consumer's effective limit to decrease
// by more than 10 percent.
func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall) ForceOnly(forceOnly ...string) *ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall {
diff --git a/servicecontrol/v1/servicecontrol-gen.go b/servicecontrol/v1/servicecontrol-gen.go
index ab3ffac3be9..114cb639d7b 100644
--- a/servicecontrol/v1/servicecontrol-gen.go
+++ b/servicecontrol/v1/servicecontrol-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/service-control/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicecontrol/v1"
-// ...
-// ctx := context.Background()
-// servicecontrolService, err := servicecontrol.NewService(ctx)
+// import "google.golang.org/api/servicecontrol/v1"
+// ...
+// ctx := context.Background()
+// servicecontrolService, err := servicecontrol.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithScopes(servicecontrol.ServicecontrolScope))
+// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithScopes(servicecontrol.ServicecontrolScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicecontrol // import "google.golang.org/api/servicecontrol/v1"
@@ -3288,9 +3288,9 @@ type ServicesAllocateQuotaCall struct {
// the server may inject these errors to prohibit any hard dependency on
// the quota functionality.
//
-// - serviceName: Name of the service as specified in the service
-// configuration. For example, "pubsub.googleapis.com". See
-// google.api.Service for the definition of a service name.
+// - serviceName: Name of the service as specified in the service
+// configuration. For example, "pubsub.googleapis.com". See
+// google.api.Service for the definition of a service name.
func (r *ServicesService) AllocateQuota(serviceName string, allocatequotarequest *AllocateQuotaRequest) *ServicesAllocateQuotaCall {
c := &ServicesAllocateQuotaCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -3444,11 +3444,11 @@ type ServicesCheckCall struct {
// service. For more information, see Cloud IAM
// (https://cloud.google.com/iam).
//
-// - serviceName: The service name as specified in its service
-// configuration. For example, "pubsub.googleapis.com". See
-// google.api.Service
-// (https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
-// for the definition of a service name.
+// - serviceName: The service name as specified in its service
+// configuration. For example, "pubsub.googleapis.com". See
+// google.api.Service
+// (https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
+// for the definition of a service name.
func (r *ServicesService) Check(serviceName string, checkrequest *CheckRequest) *ServicesCheckCall {
c := &ServicesCheckCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -3600,11 +3600,11 @@ type ServicesReportCall struct {
// the specified service. For more information, see Google Cloud IAM
// (https://cloud.google.com/iam).
//
-// - serviceName: The service name as specified in its service
-// configuration. For example, "pubsub.googleapis.com". See
-// google.api.Service
-// (https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
-// for the definition of a service name.
+// - serviceName: The service name as specified in its service
+// configuration. For example, "pubsub.googleapis.com". See
+// google.api.Service
+// (https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
+// for the definition of a service name.
func (r *ServicesService) Report(serviceName string, reportrequest *ReportRequest) *ServicesReportCall {
c := &ServicesReportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
diff --git a/servicecontrol/v2/servicecontrol-gen.go b/servicecontrol/v2/servicecontrol-gen.go
index a6ef6efd564..df627883dde 100644
--- a/servicecontrol/v2/servicecontrol-gen.go
+++ b/servicecontrol/v2/servicecontrol-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/service-control/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicecontrol/v2"
-// ...
-// ctx := context.Background()
-// servicecontrolService, err := servicecontrol.NewService(ctx)
+// import "google.golang.org/api/servicecontrol/v2"
+// ...
+// ctx := context.Background()
+// servicecontrolService, err := servicecontrol.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithScopes(servicecontrol.ServicecontrolScope))
+// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithScopes(servicecontrol.ServicecontrolScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicecontrolService, err := servicecontrol.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicecontrol // import "google.golang.org/api/servicecontrol/v2"
@@ -1731,11 +1731,11 @@ type ServicesCheckCall struct {
// Access Control
// (https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
//
-// - serviceName: The service name as specified in its service
-// configuration. For example, "pubsub.googleapis.com". See
-// google.api.Service
-// (https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
-// for the definition of a service name.
+// - serviceName: The service name as specified in its service
+// configuration. For example, "pubsub.googleapis.com". See
+// google.api.Service
+// (https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
+// for the definition of a service name.
func (r *ServicesService) Check(serviceName string, checkrequest *CheckRequest) *ServicesCheckCall {
c := &ServicesCheckCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -1890,11 +1890,11 @@ type ServicesReportCall struct {
// service. For more information, see Service Control API Access Control
// (https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
//
-// - serviceName: The service name as specified in its service
-// configuration. For example, "pubsub.googleapis.com". See
-// google.api.Service
-// (https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
-// for the definition of a service name.
+// - serviceName: The service name as specified in its service
+// configuration. For example, "pubsub.googleapis.com". See
+// google.api.Service
+// (https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
+// for the definition of a service name.
func (r *ServicesService) Report(serviceName string, reportrequest *ReportRequest) *ServicesReportCall {
c := &ServicesReportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
diff --git a/servicedirectory/v1/servicedirectory-gen.go b/servicedirectory/v1/servicedirectory-gen.go
index 83aa2492f50..78b75f23883 100644
--- a/servicedirectory/v1/servicedirectory-gen.go
+++ b/servicedirectory/v1/servicedirectory-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/service-directory
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicedirectory/v1"
-// ...
-// ctx := context.Background()
-// servicedirectoryService, err := servicedirectory.NewService(ctx)
+// import "google.golang.org/api/servicedirectory/v1"
+// ...
+// ctx := context.Background()
+// servicedirectoryService, err := servicedirectory.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicedirectoryService, err := servicedirectory.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicedirectoryService, err := servicedirectory.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicedirectoryService, err := servicedirectory.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicedirectoryService, err := servicedirectory.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicedirectory // import "google.golang.org/api/servicedirectory/v1"
@@ -1227,8 +1227,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1435,8 +1435,8 @@ type ProjectsLocationsNamespacesCreateCall struct {
// Create: Creates a namespace, and returns the new namespace.
//
-// - parent: The resource name of the project and location the namespace
-// will be created in.
+// - parent: The resource name of the project and location the namespace
+// will be created in.
func (r *ProjectsLocationsNamespacesService) Create(parent string, namespace *Namespace) *ProjectsLocationsNamespacesCreateCall {
c := &ProjectsLocationsNamespacesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1875,10 +1875,10 @@ type ProjectsLocationsNamespacesGetIamPolicyCall struct {
// GetIamPolicy: Gets the IAM Policy for a resource (namespace or
// service only).
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsNamespacesGetIamPolicyCall {
c := &ProjectsLocationsNamespacesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2020,8 +2020,8 @@ type ProjectsLocationsNamespacesListCall struct {
// List: Lists all namespaces.
//
-// - parent: The resource name of the project and location whose
-// namespaces you'd like to list.
+// - parent: The resource name of the project and location whose
+// namespaces you'd like to list.
func (r *ProjectsLocationsNamespacesService) List(parent string) *ProjectsLocationsNamespacesListCall {
c := &ProjectsLocationsNamespacesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2029,10 +2029,10 @@ func (r *ProjectsLocationsNamespacesService) List(parent string) *ProjectsLocati
}
// Filter sets the optional parameter "filter": The filter to list
-// results by. General `filter` string syntax: ` ()` * `` can be `name`
-// or `labels.` for map field * `` can be `<`, `>`, `<=`, `>=`, `!=`,
+// results by. General `filter` string syntax: ` ()` * “ can be `name`
+// or `labels.` for map field * “ can be `<`, `>`, `<=`, `>=`, `!=`,
// `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` *
-// `` must be the same data type as field * `` can be `AND`, `OR`, `NOT`
+// “ must be the same data type as field * “ can be `AND`, `OR`, `NOT`
// Examples of valid filters: * `labels.owner` returns namespaces that
// have a label with the key `owner`, this is the same as `labels:owner`
// * `labels.owner=sd` returns namespaces that have key/value `owner=sd`
@@ -2052,8 +2052,8 @@ func (c *ProjectsLocationsNamespacesListCall) Filter(filter string) *ProjectsLoc
}
// OrderBy sets the optional parameter "orderBy": The order to list
-// results by. General `order_by` string syntax: ` () (,)` * `` allows
-// value: `name` * `` ascending or descending order by ``. If this is
+// results by. General `order_by` string syntax: ` () (,)` * “ allows
+// value: `name` * “ ascending or descending order by “. If this is
// left blank, `asc` is used Note that an empty `order_by` string
// results in default order, which is order by `name` in ascending
// order.
@@ -2257,8 +2257,8 @@ type ProjectsLocationsNamespacesPatchCall struct {
// Patch: Updates a namespace.
//
-// - name: Immutable. The resource name for the namespace in the format
-// `projects/*/locations/*/namespaces/*`.
+// - name: Immutable. The resource name for the namespace in the format
+// `projects/*/locations/*/namespaces/*`.
func (r *ProjectsLocationsNamespacesService) Patch(name string, namespace *Namespace) *ProjectsLocationsNamespacesPatchCall {
c := &ProjectsLocationsNamespacesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2414,10 +2414,10 @@ type ProjectsLocationsNamespacesSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Policy for a resource (namespace or
// service only).
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsNamespacesSetIamPolicyCall {
c := &ProjectsLocationsNamespacesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2560,10 +2560,10 @@ type ProjectsLocationsNamespacesTestIamPermissionsCall struct {
// TestIamPermissions: Tests IAM permissions for a resource (namespace
// or service only).
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsNamespacesTestIamPermissionsCall {
c := &ProjectsLocationsNamespacesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2705,8 +2705,8 @@ type ProjectsLocationsNamespacesServicesCreateCall struct {
// Create: Creates a service, and returns the new service.
//
-// - parent: The resource name of the namespace this service will belong
-// to.
+// - parent: The resource name of the namespace this service will belong
+// to.
func (r *ProjectsLocationsNamespacesServicesService) Create(parent string, service *Service) *ProjectsLocationsNamespacesServicesCreateCall {
c := &ProjectsLocationsNamespacesServicesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3145,10 +3145,10 @@ type ProjectsLocationsNamespacesServicesGetIamPolicyCall struct {
// GetIamPolicy: Gets the IAM Policy for a resource (namespace or
// service only).
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesServicesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsNamespacesServicesGetIamPolicyCall {
c := &ProjectsLocationsNamespacesServicesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3290,8 +3290,8 @@ type ProjectsLocationsNamespacesServicesListCall struct {
// List: Lists all services belonging to a namespace.
//
-// - parent: The resource name of the namespace whose services you'd
-// like to list.
+// - parent: The resource name of the namespace whose services you'd
+// like to list.
func (r *ProjectsLocationsNamespacesServicesService) List(parent string) *ProjectsLocationsNamespacesServicesListCall {
c := &ProjectsLocationsNamespacesServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3299,10 +3299,10 @@ func (r *ProjectsLocationsNamespacesServicesService) List(parent string) *Projec
}
// Filter sets the optional parameter "filter": The filter to list
-// results by. General `filter` string syntax: ` ()` * `` can be `name`
-// or `annotations.` for map field * `` can be `<`, `>`, `<=`, `>=`,
+// results by. General `filter` string syntax: ` ()` * “ can be `name`
+// or `annotations.` for map field * “ can be `<`, `>`, `<=`, `>=`,
// `!=`, `=`, `:`. Of which `:` means `HAS`, and is roughly the same as
-// `=` * `` must be the same data type as field * `` can be `AND`, `OR`,
+// `=` * “ must be the same data type as field * “ can be `AND`, `OR`,
// `NOT` Examples of valid filters: * `annotations.owner` returns
// services that have a annotation with the key `owner`, this is the
// same as `annotations:owner` * `annotations.protocol=gRPC` returns
@@ -3323,8 +3323,8 @@ func (c *ProjectsLocationsNamespacesServicesListCall) Filter(filter string) *Pro
}
// OrderBy sets the optional parameter "orderBy": The order to list
-// results by. General `order_by` string syntax: ` () (,)` * `` allows
-// value: `name` * `` ascending or descending order by ``. If this is
+// results by. General `order_by` string syntax: ` () (,)` * “ allows
+// value: `name` * “ ascending or descending order by “. If this is
// left blank, `asc` is used Note that an empty `order_by` string
// results in default order, which is order by `name` in ascending
// order.
@@ -3528,8 +3528,8 @@ type ProjectsLocationsNamespacesServicesPatchCall struct {
// Patch: Updates a service.
//
-// - name: Immutable. The resource name for the service in the format
-// `projects/*/locations/*/namespaces/*/services/*`.
+// - name: Immutable. The resource name for the service in the format
+// `projects/*/locations/*/namespaces/*/services/*`.
func (r *ProjectsLocationsNamespacesServicesService) Patch(name string, service *Service) *ProjectsLocationsNamespacesServicesPatchCall {
c := &ProjectsLocationsNamespacesServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3828,10 +3828,10 @@ type ProjectsLocationsNamespacesServicesSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Policy for a resource (namespace or
// service only).
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsNamespacesServicesSetIamPolicyCall {
c := &ProjectsLocationsNamespacesServicesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3974,10 +3974,10 @@ type ProjectsLocationsNamespacesServicesTestIamPermissionsCall struct {
// TestIamPermissions: Tests IAM permissions for a resource (namespace
// or service only).
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsNamespacesServicesTestIamPermissionsCall {
c := &ProjectsLocationsNamespacesServicesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4119,8 +4119,8 @@ type ProjectsLocationsNamespacesServicesEndpointsCreateCall struct {
// Create: Creates an endpoint, and returns the new endpoint.
//
-// - parent: The resource name of the service that this endpoint
-// provides.
+// - parent: The resource name of the service that this endpoint
+// provides.
func (r *ProjectsLocationsNamespacesServicesEndpointsService) Create(parent string, endpoint *Endpoint) *ProjectsLocationsNamespacesServicesEndpointsCreateCall {
c := &ProjectsLocationsNamespacesServicesEndpointsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4557,8 +4557,8 @@ type ProjectsLocationsNamespacesServicesEndpointsListCall struct {
// List: Lists all endpoints.
//
-// - parent: The resource name of the service whose endpoints you'd like
-// to list.
+// - parent: The resource name of the service whose endpoints you'd like
+// to list.
func (r *ProjectsLocationsNamespacesServicesEndpointsService) List(parent string) *ProjectsLocationsNamespacesServicesEndpointsListCall {
c := &ProjectsLocationsNamespacesServicesEndpointsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4566,10 +4566,10 @@ func (r *ProjectsLocationsNamespacesServicesEndpointsService) List(parent string
}
// Filter sets the optional parameter "filter": The filter to list
-// results by. General `filter` string syntax: ` ()` * `` can be `name`,
-// `address`, `port`, or `annotations.` for map field * `` can be `<`,
+// results by. General `filter` string syntax: ` ()` * “ can be `name`,
+// `address`, `port`, or `annotations.` for map field * “ can be `<`,
// `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` means `HAS`, and is
-// roughly the same as `=` * `` must be the same data type as field * ``
+// roughly the same as `=` * “ must be the same data type as field * “
// can be `AND`, `OR`, `NOT` Examples of valid filters: *
// `annotations.owner` returns endpoints that have a annotation with the
// key `owner`, this is the same as `annotations:owner` *
@@ -4593,9 +4593,9 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) Filter(filter str
}
// OrderBy sets the optional parameter "orderBy": The order to list
-// results by. General `order_by` string syntax: ` () (,)` * `` allows
-// values: `name`, `address`, `port` * `` ascending or descending order
-// by ``. If this is left blank, `asc` is used Note that an empty
+// results by. General `order_by` string syntax: ` () (,)` * “ allows
+// values: `name`, `address`, `port` * “ ascending or descending order
+// by “. If this is left blank, `asc` is used Note that an empty
// `order_by` string results in default order, which is order by `name`
// in ascending order.
func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) OrderBy(orderBy string) *ProjectsLocationsNamespacesServicesEndpointsListCall {
@@ -4798,8 +4798,8 @@ type ProjectsLocationsNamespacesServicesEndpointsPatchCall struct {
// Patch: Updates an endpoint.
//
-// - name: Immutable. The resource name for the endpoint in the format
-// `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
+// - name: Immutable. The resource name for the endpoint in the format
+// `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
func (r *ProjectsLocationsNamespacesServicesEndpointsService) Patch(name string, endpoint *Endpoint) *ProjectsLocationsNamespacesServicesEndpointsPatchCall {
c := &ProjectsLocationsNamespacesServicesEndpointsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/servicedirectory/v1beta1/servicedirectory-gen.go b/servicedirectory/v1beta1/servicedirectory-gen.go
index b0592614833..af5a0836a92 100644
--- a/servicedirectory/v1beta1/servicedirectory-gen.go
+++ b/servicedirectory/v1beta1/servicedirectory-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/service-directory
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicedirectory/v1beta1"
-// ...
-// ctx := context.Background()
-// servicedirectoryService, err := servicedirectory.NewService(ctx)
+// import "google.golang.org/api/servicedirectory/v1beta1"
+// ...
+// ctx := context.Background()
+// servicedirectoryService, err := servicedirectory.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicedirectoryService, err := servicedirectory.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicedirectoryService, err := servicedirectory.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicedirectoryService, err := servicedirectory.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicedirectoryService, err := servicedirectory.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicedirectory // import "google.golang.org/api/servicedirectory/v1beta1"
@@ -1275,8 +1275,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1483,8 +1483,8 @@ type ProjectsLocationsNamespacesCreateCall struct {
// Create: Creates a namespace, and returns the new namespace.
//
-// - parent: The resource name of the project and location the namespace
-// will be created in.
+// - parent: The resource name of the project and location the namespace
+// will be created in.
func (r *ProjectsLocationsNamespacesService) Create(parent string, namespace *Namespace) *ProjectsLocationsNamespacesCreateCall {
c := &ProjectsLocationsNamespacesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1922,10 +1922,10 @@ type ProjectsLocationsNamespacesGetIamPolicyCall struct {
// GetIamPolicy: Gets the IAM Policy for a resource
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsNamespacesGetIamPolicyCall {
c := &ProjectsLocationsNamespacesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2067,8 +2067,8 @@ type ProjectsLocationsNamespacesListCall struct {
// List: Lists all namespaces.
//
-// - parent: The resource name of the project and location whose
-// namespaces you'd like to list.
+// - parent: The resource name of the project and location whose
+// namespaces you'd like to list.
func (r *ProjectsLocationsNamespacesService) List(parent string) *ProjectsLocationsNamespacesListCall {
c := &ProjectsLocationsNamespacesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2076,11 +2076,11 @@ func (r *ProjectsLocationsNamespacesService) List(parent string) *ProjectsLocati
}
// Filter sets the optional parameter "filter": The filter to list
-// results by. General `filter` string syntax: ` ()` * `` can be `name`,
-// `labels.` for map field, or `attributes.` for attributes field * ``
+// results by. General `filter` string syntax: ` ()` * “ can be `name`,
+// `labels.` for map field, or `attributes.` for attributes field * “
// can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` means
-// `HAS`, and is roughly the same as `=` * `` must be the same data type
-// as field * `` can be `AND`, `OR`, `NOT` Examples of valid filters: *
+// `HAS`, and is roughly the same as `=` * “ must be the same data type
+// as field * “ can be `AND`, `OR`, `NOT` Examples of valid filters: *
// `labels.owner` returns namespaces that have a label with the key
// `owner`, this is the same as `labels:owner` * `labels.owner=sd`
// returns namespaces that have key/value `owner=sd` *
@@ -2101,8 +2101,8 @@ func (c *ProjectsLocationsNamespacesListCall) Filter(filter string) *ProjectsLoc
}
// OrderBy sets the optional parameter "orderBy": The order to list
-// results by. General `order_by` string syntax: ` () (,)` * `` allows
-// value: `name` * `` ascending or descending order by ``. If this is
+// results by. General `order_by` string syntax: ` () (,)` * “ allows
+// value: `name` * “ ascending or descending order by “. If this is
// left blank, `asc` is used Note that an empty `order_by` string
// results in default order, which is order by `name` in ascending
// order.
@@ -2306,8 +2306,8 @@ type ProjectsLocationsNamespacesPatchCall struct {
// Patch: Updates a namespace.
//
-// - name: Immutable. The resource name for the namespace in the format
-// `projects/*/locations/*/namespaces/*`.
+// - name: Immutable. The resource name for the namespace in the format
+// `projects/*/locations/*/namespaces/*`.
func (r *ProjectsLocationsNamespacesService) Patch(name string, namespace *Namespace) *ProjectsLocationsNamespacesPatchCall {
c := &ProjectsLocationsNamespacesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2462,10 +2462,10 @@ type ProjectsLocationsNamespacesSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Policy for a resource
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsNamespacesSetIamPolicyCall {
c := &ProjectsLocationsNamespacesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2608,10 +2608,10 @@ type ProjectsLocationsNamespacesTestIamPermissionsCall struct {
// TestIamPermissions: Tests IAM permissions for a resource (namespace,
// service or service workload only).
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsNamespacesTestIamPermissionsCall {
c := &ProjectsLocationsNamespacesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2753,10 +2753,10 @@ type ProjectsLocationsNamespacesServiceWorkloadsGetIamPolicyCall struct {
// GetIamPolicy: Gets the IAM Policy for a resource
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesServiceWorkloadsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsNamespacesServiceWorkloadsGetIamPolicyCall {
c := &ProjectsLocationsNamespacesServiceWorkloadsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2898,10 +2898,10 @@ type ProjectsLocationsNamespacesServiceWorkloadsSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Policy for a resource
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesServiceWorkloadsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsNamespacesServiceWorkloadsSetIamPolicyCall {
c := &ProjectsLocationsNamespacesServiceWorkloadsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3044,10 +3044,10 @@ type ProjectsLocationsNamespacesServiceWorkloadsTestIamPermissionsCall struct {
// TestIamPermissions: Tests IAM permissions for a resource (namespace,
// service or service workload only).
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesServiceWorkloadsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsNamespacesServiceWorkloadsTestIamPermissionsCall {
c := &ProjectsLocationsNamespacesServiceWorkloadsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3189,8 +3189,8 @@ type ProjectsLocationsNamespacesServicesCreateCall struct {
// Create: Creates a service, and returns the new service.
//
-// - parent: The resource name of the namespace this service will belong
-// to.
+// - parent: The resource name of the namespace this service will belong
+// to.
func (r *ProjectsLocationsNamespacesServicesService) Create(parent string, service *Service) *ProjectsLocationsNamespacesServicesCreateCall {
c := &ProjectsLocationsNamespacesServicesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3628,10 +3628,10 @@ type ProjectsLocationsNamespacesServicesGetIamPolicyCall struct {
// GetIamPolicy: Gets the IAM Policy for a resource
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesServicesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsNamespacesServicesGetIamPolicyCall {
c := &ProjectsLocationsNamespacesServicesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -3773,8 +3773,8 @@ type ProjectsLocationsNamespacesServicesListCall struct {
// List: Lists all services belonging to a namespace.
//
-// - parent: The resource name of the namespace whose services you'd
-// like to list.
+// - parent: The resource name of the namespace whose services you'd
+// like to list.
func (r *ProjectsLocationsNamespacesServicesService) List(parent string) *ProjectsLocationsNamespacesServicesListCall {
c := &ProjectsLocationsNamespacesServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3782,10 +3782,10 @@ func (r *ProjectsLocationsNamespacesServicesService) List(parent string) *Projec
}
// Filter sets the optional parameter "filter": The filter to list
-// results by. General `filter` string syntax: ` ()` * `` can be `name`
-// or `metadata.` for map field * `` can be `<`, `>`, `<=`, `>=`, `!=`,
+// results by. General `filter` string syntax: ` ()` * “ can be `name`
+// or `metadata.` for map field * “ can be `<`, `>`, `<=`, `>=`, `!=`,
// `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` *
-// `` must be the same data type as field * `` can be `AND`, `OR`, `NOT`
+// “ must be the same data type as field * “ can be `AND`, `OR`, `NOT`
// Examples of valid filters: * `metadata.owner` returns services that
// have a metadata with the key `owner`, this is the same as
// `metadata:owner` * `metadata.protocol=gRPC` returns services that
@@ -3807,8 +3807,8 @@ func (c *ProjectsLocationsNamespacesServicesListCall) Filter(filter string) *Pro
}
// OrderBy sets the optional parameter "orderBy": The order to list
-// results by. General `order_by` string syntax: ` () (,)` * `` allows
-// value: `name` * `` ascending or descending order by ``. If this is
+// results by. General `order_by` string syntax: ` () (,)` * “ allows
+// value: `name` * “ ascending or descending order by “. If this is
// left blank, `asc` is used Note that an empty `order_by` string
// results in default order, which is order by `name` in ascending
// order.
@@ -4012,8 +4012,8 @@ type ProjectsLocationsNamespacesServicesPatchCall struct {
// Patch: Updates a service.
//
-// - name: Immutable. The resource name for the service in the format
-// `projects/*/locations/*/namespaces/*/services/*`.
+// - name: Immutable. The resource name for the service in the format
+// `projects/*/locations/*/namespaces/*/services/*`.
func (r *ProjectsLocationsNamespacesServicesService) Patch(name string, service *Service) *ProjectsLocationsNamespacesServicesPatchCall {
c := &ProjectsLocationsNamespacesServicesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4311,10 +4311,10 @@ type ProjectsLocationsNamespacesServicesSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Policy for a resource
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsNamespacesServicesSetIamPolicyCall {
c := &ProjectsLocationsNamespacesServicesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4457,10 +4457,10 @@ type ProjectsLocationsNamespacesServicesTestIamPermissionsCall struct {
// TestIamPermissions: Tests IAM permissions for a resource (namespace,
// service or service workload only).
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsNamespacesServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsNamespacesServicesTestIamPermissionsCall {
c := &ProjectsLocationsNamespacesServicesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -4602,8 +4602,8 @@ type ProjectsLocationsNamespacesServicesEndpointsCreateCall struct {
// Create: Creates an endpoint, and returns the new endpoint.
//
-// - parent: The resource name of the service that this endpoint
-// provides.
+// - parent: The resource name of the service that this endpoint
+// provides.
func (r *ProjectsLocationsNamespacesServicesEndpointsService) Create(parent string, endpoint *Endpoint) *ProjectsLocationsNamespacesServicesEndpointsCreateCall {
c := &ProjectsLocationsNamespacesServicesEndpointsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5040,8 +5040,8 @@ type ProjectsLocationsNamespacesServicesEndpointsListCall struct {
// List: Lists all endpoints.
//
-// - parent: The resource name of the service whose endpoints you'd like
-// to list.
+// - parent: The resource name of the service whose endpoints you'd like
+// to list.
func (r *ProjectsLocationsNamespacesServicesEndpointsService) List(parent string) *ProjectsLocationsNamespacesServicesEndpointsListCall {
c := &ProjectsLocationsNamespacesServicesEndpointsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5049,11 +5049,11 @@ func (r *ProjectsLocationsNamespacesServicesEndpointsService) List(parent string
}
// Filter sets the optional parameter "filter": The filter to list
-// results by. General `filter` string syntax: ` ()` * `` can be `name`,
+// results by. General `filter` string syntax: ` ()` * “ can be `name`,
// `address`, `port`, `metadata.` for map field, or `attributes.` for
-// attributes field * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of
-// which `:` means `HAS`, and is roughly the same as `=` * `` must be
-// the same data type as field * `` can be `AND`, `OR`, `NOT` Examples
+// attributes field * “ can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of
+// which `:` means `HAS`, and is roughly the same as `=` * “ must be
+// the same data type as field * “ can be `AND`, `OR`, `NOT` Examples
// of valid filters: * `metadata.owner` returns endpoints that have a
// metadata with the key `owner`, this is the same as `metadata:owner` *
// `metadata.protocol=gRPC` returns endpoints that have key/value
@@ -5070,7 +5070,9 @@ func (r *ProjectsLocationsNamespacesServicesEndpointsService) List(parent string
// doesn't have a field called "doesnotexist". Since the filter does not
// match any endpoints, it returns no results *
// `attributes.kubernetes_resource_type=KUBERNETES_RESOURCE_TYPE_CLUSTER_
-// IP` returns endpoints with the corresponding
+//
+// IP` returns endpoints with the corresponding
+//
// kubernetes_resource_type For more information about filtering, see
// API Filtering (https://aip.dev/160).
func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) Filter(filter string) *ProjectsLocationsNamespacesServicesEndpointsListCall {
@@ -5079,9 +5081,9 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) Filter(filter str
}
// OrderBy sets the optional parameter "orderBy": The order to list
-// results by. General `order_by` string syntax: ` () (,)` * `` allows
-// values: `name`, `address`, `port` * `` ascending or descending order
-// by ``. If this is left blank, `asc` is used Note that an empty
+// results by. General `order_by` string syntax: ` () (,)` * “ allows
+// values: `name`, `address`, `port` * “ ascending or descending order
+// by “. If this is left blank, `asc` is used Note that an empty
// `order_by` string results in default order, which is order by `name`
// in ascending order.
func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) OrderBy(orderBy string) *ProjectsLocationsNamespacesServicesEndpointsListCall {
@@ -5284,8 +5286,8 @@ type ProjectsLocationsNamespacesServicesEndpointsPatchCall struct {
// Patch: Updates an endpoint.
//
-// - name: Immutable. The resource name for the endpoint in the format
-// `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
+// - name: Immutable. The resource name for the endpoint in the format
+// `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
func (r *ProjectsLocationsNamespacesServicesEndpointsService) Patch(name string, endpoint *Endpoint) *ProjectsLocationsNamespacesServicesEndpointsPatchCall {
c := &ProjectsLocationsNamespacesServicesEndpointsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5440,10 +5442,10 @@ type ProjectsLocationsRegistrationPoliciesGetIamPolicyCall struct {
// GetIamPolicy: Gets the IAM Policy for a resource
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationPoliciesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsRegistrationPoliciesGetIamPolicyCall {
c := &ProjectsLocationsRegistrationPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5585,10 +5587,10 @@ type ProjectsLocationsRegistrationPoliciesSetIamPolicyCall struct {
// SetIamPolicy: Sets the IAM Policy for a resource
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRegistrationPoliciesSetIamPolicyCall {
c := &ProjectsLocationsRegistrationPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -5731,10 +5733,10 @@ type ProjectsLocationsRegistrationPoliciesTestIamPermissionsCall struct {
// TestIamPermissions: Tests IAM permissions for a resource (namespace,
// service or service workload only).
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsLocationsRegistrationPoliciesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRegistrationPoliciesTestIamPermissionsCall {
c := &ProjectsLocationsRegistrationPoliciesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/servicemanagement/v1/servicemanagement-gen.go b/servicemanagement/v1/servicemanagement-gen.go
index 3581f7b6a8d..ae1b4c20ff0 100644
--- a/servicemanagement/v1/servicemanagement-gen.go
+++ b/servicemanagement/v1/servicemanagement-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/service-management/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicemanagement/v1"
-// ...
-// ctx := context.Background()
-// servicemanagementService, err := servicemanagement.NewService(ctx)
+// import "google.golang.org/api/servicemanagement/v1"
+// ...
+// ctx := context.Background()
+// servicemanagementService, err := servicemanagement.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// servicemanagementService, err := servicemanagement.NewService(ctx, option.WithScopes(servicemanagement.ServiceManagementReadonlyScope))
+// servicemanagementService, err := servicemanagement.NewService(ctx, option.WithScopes(servicemanagement.ServiceManagementReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicemanagementService, err := servicemanagement.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicemanagementService, err := servicemanagement.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicemanagementService, err := servicemanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicemanagementService, err := servicemanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicemanagement // import "google.golang.org/api/servicemanagement/v1"
@@ -5302,9 +5302,9 @@ type ServicesDeleteCall struct {
// service producers may call UndeleteService to restore the service.
// After 30 days, the service will be permanently deleted. Operation
//
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesService) Delete(serviceName string) *ServicesDeleteCall {
c := &ServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -5573,9 +5573,9 @@ type ServicesGetCall struct {
// Get: Gets a managed service. Authentication is required unless the
// service is public.
//
-// - serviceName: The name of the service. See the `ServiceManager`
-// overview for naming requirements. For example:
-// `example.googleapis.com`.
+// - serviceName: The name of the service. See the `ServiceManager`
+// overview for naming requirements. For example:
+// `example.googleapis.com`.
func (r *ServicesService) Get(serviceName string) *ServicesGetCall {
c := &ServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -5724,9 +5724,9 @@ type ServicesGetConfigCall struct {
// GetConfig: Gets a service configuration (version) for a managed
// service.
//
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesService) GetConfig(serviceName string) *ServicesGetConfigCall {
c := &ServicesGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -5745,8 +5745,10 @@ func (c *ServicesGetConfigCall) ConfigId(configId string) *ServicesGetConfigCall
// Service Config should be returned in the response.
//
// Possible values:
-// "BASIC" - Server response includes all fields except SourceInfo.
-// "FULL" - Server response includes all fields including SourceInfo.
+//
+// "BASIC" - Server response includes all fields except SourceInfo.
+// "FULL" - Server response includes all fields including SourceInfo.
+//
// SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile'
// and are only available for configs created using the
// SubmitConfigSource method.
@@ -5916,10 +5918,10 @@ type ServicesGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ServicesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ServicesGetIamPolicyCall {
c := &ServicesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6273,10 +6275,10 @@ type ServicesSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ServicesSetIamPolicyCall {
c := &ServicesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6424,10 +6426,10 @@ type ServicesTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ServicesTestIamPermissionsCall {
c := &ServicesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -6574,9 +6576,9 @@ type ServicesUndeleteCall struct {
// was deleted. The target service must exist and must have been deleted
// within the last 30 days. Operation
//
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesService) Undelete(serviceName string) *ServicesUndeleteCall {
c := &ServicesUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -6714,9 +6716,9 @@ type ServicesConfigsCreateCall struct {
// and ones referenced by existing rollouts are kept for each service.
// The rest will be deleted eventually.
//
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesConfigsService) Create(serviceName string, service *Service) *ServicesConfigsCreateCall {
c := &ServicesConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -6859,12 +6861,12 @@ type ServicesConfigsGetCall struct {
// Get: Gets a service configuration (version) for a managed service.
//
-// - configId: The id of the service configuration resource. This field
-// must be specified for the server to return all fields, including
-// `SourceInfo`.
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - configId: The id of the service configuration resource. This field
+// must be specified for the server to return all fields, including
+// `SourceInfo`.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesConfigsService) Get(serviceName string, configId string) *ServicesConfigsGetCall {
c := &ServicesConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -6876,8 +6878,10 @@ func (r *ServicesConfigsService) Get(serviceName string, configId string) *Servi
// Service Config should be returned in the response.
//
// Possible values:
-// "BASIC" - Server response includes all fields except SourceInfo.
-// "FULL" - Server response includes all fields including SourceInfo.
+//
+// "BASIC" - Server response includes all fields except SourceInfo.
+// "FULL" - Server response includes all fields including SourceInfo.
+//
// SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile'
// and are only available for configs created using the
// SubmitConfigSource method.
@@ -7049,9 +7053,9 @@ type ServicesConfigsListCall struct {
// List: Lists the history of the service configuration for a managed
// service, from the newest to the oldest.
//
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesConfigsService) List(serviceName string) *ServicesConfigsListCall {
c := &ServicesConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -7253,9 +7257,9 @@ type ServicesConfigsSubmitCall struct {
// and ones referenced by existing service configurtions are kept for
// each service. The rest will be deleted eventually. Operation
//
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesConfigsService) Submit(serviceName string, submitconfigsourcerequest *SubmitConfigSourceRequest) *ServicesConfigsSubmitCall {
c := &ServicesConfigsSubmitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -7399,10 +7403,10 @@ type ServicesConsumersGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ServicesConsumersService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ServicesConsumersGetIamPolicyCall {
c := &ServicesConsumersGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7549,10 +7553,10 @@ type ServicesConsumersSetIamPolicyCall struct {
// resource. Replaces any existing policy. Can return `NOT_FOUND`,
// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ServicesConsumersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ServicesConsumersSetIamPolicyCall {
c := &ServicesConsumersSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7700,10 +7704,10 @@ type ServicesConsumersTestIamPermissionsCall struct {
// and command-line tools, not for authorization checking. This
// operation may "fail open" without warning.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ServicesConsumersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ServicesConsumersTestIamPermissionsCall {
c := &ServicesConsumersTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7857,9 +7861,9 @@ type ServicesRolloutsCreateCall struct {
// set of 100 most recent) rollouts are kept for each service. The rest
// will be deleted eventually. Operation
//
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesRolloutsService) Create(serviceName string, rollout *Rollout) *ServicesRolloutsCreateCall {
c := &ServicesRolloutsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -8002,10 +8006,10 @@ type ServicesRolloutsGetCall struct {
// Get: Gets a service configuration rollout.
//
-// - rolloutId: The id of the rollout resource.
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - rolloutId: The id of the rollout resource.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesRolloutsService) Get(serviceName string, rolloutId string) *ServicesRolloutsGetCall {
c := &ServicesRolloutsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
@@ -8163,9 +8167,9 @@ type ServicesRolloutsListCall struct {
// List: Lists the history of the service configuration rollouts for a
// managed service, from the newest to the oldest.
//
-// - serviceName: The name of the service. See the overview
-// (https://cloud.google.com/service-management/overview) for naming
-// requirements. For example: `example.googleapis.com`.
+// - serviceName: The name of the service. See the overview
+// (https://cloud.google.com/service-management/overview) for naming
+// requirements. For example: `example.googleapis.com`.
func (r *ServicesRolloutsService) List(serviceName string) *ServicesRolloutsListCall {
c := &ServicesRolloutsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.serviceName = serviceName
diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go
index 83274330c2a..fc1182223ff 100644
--- a/servicenetworking/v1/servicenetworking-gen.go
+++ b/servicenetworking/v1/servicenetworking-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicenetworking/v1"
-// ...
-// ctx := context.Background()
-// servicenetworkingService, err := servicenetworking.NewService(ctx)
+// import "google.golang.org/api/servicenetworking/v1"
+// ...
+// ctx := context.Background()
+// servicenetworkingService, err := servicenetworking.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithScopes(servicenetworking.ServiceManagementScope))
+// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithScopes(servicenetworking.ServiceManagementScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicenetworking // import "google.golang.org/api/servicenetworking/v1"
@@ -5702,14 +5702,14 @@ type ServicesAddSubnetworkCall struct {
// producer's tenant project to be a shared VPC service project as
// needed.
//
-// - parent: A tenant project in the service producer organization, in
-// the following format:
-// services/{service}/{collection-id}/{resource-id}. {collection-id}
-// is the cloud resource collection type that represents the tenant
-// project. Only `projects` are supported. {resource-id} is the tenant
-// project numeric id, such as `123456`. {service} the name of the
-// peering service, such as `service-peering.example.com`. This
-// service must already be enabled in the service consumer's project.
+// - parent: A tenant project in the service producer organization, in
+// the following format:
+// services/{service}/{collection-id}/{resource-id}. {collection-id}
+// is the cloud resource collection type that represents the tenant
+// project. Only `projects` are supported. {resource-id} is the tenant
+// project numeric id, such as `123456`. {service} the name of the
+// peering service, such as `service-peering.example.com`. This
+// service must already be enabled in the service consumer's project.
func (r *ServicesService) AddSubnetwork(parent string, addsubnetworkrequest *AddSubnetworkRequest) *ServicesAddSubnetworkCall {
c := &ServicesAddSubnetworkCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5853,10 +5853,10 @@ type ServicesDisableVpcServiceControlsCall struct {
// DisableVpcServiceControls: Disables VPC service controls for a
// connection.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesService) DisableVpcServiceControls(parent string, disablevpcservicecontrolsrequest *DisableVpcServiceControlsRequest) *ServicesDisableVpcServiceControlsCall {
c := &ServicesDisableVpcServiceControlsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6000,10 +6000,10 @@ type ServicesEnableVpcServiceControlsCall struct {
// EnableVpcServiceControls: Enables VPC service controls for a
// connection.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesService) EnableVpcServiceControls(parent string, enablevpcservicecontrolsrequest *EnableVpcServiceControlsRequest) *ServicesEnableVpcServiceControlsCall {
c := &ServicesEnableVpcServiceControlsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6151,9 +6151,9 @@ type ServicesSearchRangeCall struct {
// non-conflicting sub-range of requested size (expressed in number of
// leading bits of ipv4 network mask, as in CIDR range notation).
//
-// - parent: This is in a form services/{service}. {service} the name of
-// the private access management service, for example
-// 'service-peering.example.com'.
+// - parent: This is in a form services/{service}. {service} the name of
+// the private access management service, for example
+// 'service-peering.example.com'.
func (r *ServicesService) SearchRange(parent string, searchrangerequest *SearchRangeRequest) *ServicesSearchRangeCall {
c := &ServicesSearchRangeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6300,9 +6300,9 @@ type ServicesValidateCall struct {
// and not have to wait for AddSubnetwork operation completion to
// determine if user request is invalid.
//
-// - parent: This is in a form services/{service} where {service} is the
-// name of the private access management service. For example
-// 'service-peering.example.com'.
+// - parent: This is in a form services/{service} where {service} is the
+// name of the private access management service. For example
+// 'service-peering.example.com'.
func (r *ServicesService) Validate(parent string, validateconsumerconfigrequest *ValidateConsumerConfigRequest) *ServicesValidateCall {
c := &ServicesValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6452,10 +6452,10 @@ type ServicesConnectionsCreateCall struct {
// services in the service producer's organization, so it only needs to
// be invoked once.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesConnectionsService) Create(parent string, connection *Connection) *ServicesConnectionsCreateCall {
c := &ServicesConnectionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6598,13 +6598,13 @@ type ServicesConnectionsDeleteConnectionCall struct {
// DeleteConnection: Deletes a private service access connection.
//
-// - name: The private service connection that connects to a service
-// producer organization. The name includes both the private service
-// name and the VPC network peering name in the format of
-// `services/{peering_service_name}/connections/{vpc_peering_name}`.
-// For Google services that support this functionality, this is
-// `services/servicenetworking.googleapis.com/connections/servicenetwor
-// king-googleapis-com`.
+// - name: The private service connection that connects to a service
+// producer organization. The name includes both the private service
+// name and the VPC network peering name in the format of
+// `services/{peering_service_name}/connections/{vpc_peering_name}`.
+// For Google services that support this functionality, this is
+// `services/servicenetworking.googleapis.com/connections/servicenetwor
+// king-googleapis-com`.
func (r *ServicesConnectionsService) DeleteConnection(name string, deleteconnectionrequest *DeleteConnectionRequest) *ServicesConnectionsDeleteConnectionCall {
c := &ServicesConnectionsDeleteConnectionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6748,12 +6748,12 @@ type ServicesConnectionsListCall struct {
// List: List the private connections that are configured in a service
// consumer's VPC network.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`. If you specify
-// `services/-` as the parameter value, all configured peering
-// services are listed.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`. If you specify
+// `services/-` as the parameter value, all configured peering
+// services are listed.
func (r *ServicesConnectionsService) List(parent string) *ServicesConnectionsListCall {
c := &ServicesConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6918,13 +6918,13 @@ type ServicesConnectionsPatchCall struct {
// Patch: Updates the allocated ranges that are assigned to a
// connection.
//
-// - name: The private service connection that connects to a service
-// producer organization. The name includes both the private service
-// name and the VPC network peering name in the format of
-// `services/{peering_service_name}/connections/{vpc_peering_name}`.
-// For Google services that support this functionality, this is
-// `services/servicenetworking.googleapis.com/connections/servicenetwor
-// king-googleapis-com`.
+// - name: The private service connection that connects to a service
+// producer organization. The name includes both the private service
+// name and the VPC network peering name in the format of
+// `services/{peering_service_name}/connections/{vpc_peering_name}`.
+// For Google services that support this functionality, this is
+// `services/servicenetworking.googleapis.com/connections/servicenetwor
+// king-googleapis-com`.
func (r *ServicesConnectionsService) Patch(name string, connection *Connection) *ServicesConnectionsPatchCall {
c := &ServicesConnectionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7094,10 +7094,10 @@ type ServicesDnsRecordSetsAddCall struct {
// Add: Service producers can use this method to add DNS record sets to
// private DNS zones in the shared producer host project.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesDnsRecordSetsService) Add(parent string, adddnsrecordsetrequest *AddDnsRecordSetRequest) *ServicesDnsRecordSetsAddCall {
c := &ServicesDnsRecordSetsAddCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7241,10 +7241,10 @@ type ServicesDnsRecordSetsRemoveCall struct {
// Remove: Service producers can use this method to remove DNS record
// sets from private DNS zones in the shared producer host project.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesDnsRecordSetsService) Remove(parent string, removednsrecordsetrequest *RemoveDnsRecordSetRequest) *ServicesDnsRecordSetsRemoveCall {
c := &ServicesDnsRecordSetsRemoveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7388,10 +7388,10 @@ type ServicesDnsRecordSetsUpdateCall struct {
// Update: Service producers can use this method to update DNS record
// sets from private DNS zones in the shared producer host project.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesDnsRecordSetsService) Update(parent string, updatednsrecordsetrequest *UpdateDnsRecordSetRequest) *ServicesDnsRecordSetsUpdateCall {
c := &ServicesDnsRecordSetsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7536,10 +7536,10 @@ type ServicesDnsZonesAddCall struct {
// in the shared producer host project and matching peering zones in the
// consumer project.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesDnsZonesService) Add(parent string, adddnszonerequest *AddDnsZoneRequest) *ServicesDnsZonesAddCall {
c := &ServicesDnsZonesAddCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7684,10 +7684,10 @@ type ServicesDnsZonesRemoveCall struct {
// zones in the shared producer host project and matching peering zones
// in the consumer project.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesDnsZonesService) Remove(parent string, removednszonerequest *RemoveDnsZoneRequest) *ServicesDnsZonesRemoveCall {
c := &ServicesDnsZonesRemoveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7832,14 +7832,14 @@ type ServicesProjectsGlobalNetworksGetCall struct {
// their connection including the import/export of custom routes and
// subnetwork routes with public IP.
//
-// - name: Name of the consumer config to retrieve in the format:
-// `services/{service}/projects/{project}/global/networks/{network}`.
-// {service} is the peering service that is managing connectivity for
-// the service producer's organization. For Google services that
-// support this functionality, this value is
-// `servicenetworking.googleapis.com`. {project} is a project number
-// e.g. `12345` that contains the service consumer's VPC network.
-// {network} is the name of the service consumer's VPC network.
+// - name: Name of the consumer config to retrieve in the format:
+// `services/{service}/projects/{project}/global/networks/{network}`.
+// {service} is the peering service that is managing connectivity for
+// the service producer's organization. For Google services that
+// support this functionality, this value is
+// `servicenetworking.googleapis.com`. {project} is a project number
+// e.g. `12345` that contains the service consumer's VPC network.
+// {network} is the name of the service consumer's VPC network.
func (r *ServicesProjectsGlobalNetworksService) Get(name string) *ServicesProjectsGlobalNetworksGetCall {
c := &ServicesProjectsGlobalNetworksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8004,16 +8004,16 @@ type ServicesProjectsGlobalNetworksUpdateConsumerConfigCall struct {
// configuration of their connection including the import/export of
// custom routes and subnetwork routes with public IP.
//
-// - parent: Parent resource identifying the connection for which the
-// consumer config is being updated in the format:
-// `services/{service}/projects/{project}/global/networks/{network}`
-// {service} is the peering service that is managing connectivity for
-// the service producer's organization. For Google services that
-// support this functionality, this value is
-// `servicenetworking.googleapis.com`. {project} is the number of the
-// project that contains the service consumer's VPC network e.g.
-// `12345`. {network} is the name of the service consumer's VPC
-// network.
+// - parent: Parent resource identifying the connection for which the
+// consumer config is being updated in the format:
+// `services/{service}/projects/{project}/global/networks/{network}`
+// {service} is the peering service that is managing connectivity for
+// the service producer's organization. For Google services that
+// support this functionality, this value is
+// `servicenetworking.googleapis.com`. {project} is the number of the
+// project that contains the service consumer's VPC network e.g.
+// `12345`. {network} is the name of the service consumer's VPC
+// network.
func (r *ServicesProjectsGlobalNetworksService) UpdateConsumerConfig(parent string, updateconsumerconfigrequest *UpdateConsumerConfigRequest) *ServicesProjectsGlobalNetworksUpdateConsumerConfigCall {
c := &ServicesProjectsGlobalNetworksUpdateConsumerConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8158,16 +8158,16 @@ type ServicesProjectsGlobalNetworksPeeredDnsDomainsCreateCall struct {
// in given namespace originating in the service producer VPC network to
// the consumer VPC network to be resolved.
//
-// - parent: Parent resource identifying the connection for which the
-// peered DNS domain will be created in the format:
-// `services/{service}/projects/{project}/global/networks/{network}`
-// {service} is the peering service that is managing connectivity for
-// the service producer's organization. For Google services that
-// support this functionality, this value is
-// `servicenetworking.googleapis.com`. {project} is the number of the
-// project that contains the service consumer's VPC network e.g.
-// `12345`. {network} is the name of the service consumer's VPC
-// network.
+// - parent: Parent resource identifying the connection for which the
+// peered DNS domain will be created in the format:
+// `services/{service}/projects/{project}/global/networks/{network}`
+// {service} is the peering service that is managing connectivity for
+// the service producer's organization. For Google services that
+// support this functionality, this value is
+// `servicenetworking.googleapis.com`. {project} is the number of the
+// project that contains the service consumer's VPC network e.g.
+// `12345`. {network} is the name of the service consumer's VPC
+// network.
func (r *ServicesProjectsGlobalNetworksPeeredDnsDomainsService) Create(parent string, peereddnsdomain *PeeredDnsDomain) *ServicesProjectsGlobalNetworksPeeredDnsDomainsCreateCall {
c := &ServicesProjectsGlobalNetworksPeeredDnsDomainsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8309,15 +8309,15 @@ type ServicesProjectsGlobalNetworksPeeredDnsDomainsDeleteCall struct {
// Delete: Deletes a peered DNS domain.
//
-// - name: The name of the peered DNS domain to delete in the format:
-// `services/{service}/projects/{project}/global/networks/{network}/pee
-// redDnsDomains/{name}`. {service} is the peering service that is
-// managing connectivity for the service producer's organization. For
-// Google services that support this functionality, this value is
-// `servicenetworking.googleapis.com`. {project} is the number of the
-// project that contains the service consumer's VPC network e.g.
-// `12345`. {network} is the name of the service consumer's VPC
-// network. {name} is the name of the peered DNS domain.
+// - name: The name of the peered DNS domain to delete in the format:
+// `services/{service}/projects/{project}/global/networks/{network}/pee
+// redDnsDomains/{name}`. {service} is the peering service that is
+// managing connectivity for the service producer's organization. For
+// Google services that support this functionality, this value is
+// `servicenetworking.googleapis.com`. {project} is the number of the
+// project that contains the service consumer's VPC network e.g.
+// `12345`. {network} is the name of the service consumer's VPC
+// network. {name} is the name of the peered DNS domain.
func (r *ServicesProjectsGlobalNetworksPeeredDnsDomainsService) Delete(name string) *ServicesProjectsGlobalNetworksPeeredDnsDomainsDeleteCall {
c := &ServicesProjectsGlobalNetworksPeeredDnsDomainsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8451,15 +8451,15 @@ type ServicesProjectsGlobalNetworksPeeredDnsDomainsListCall struct {
// List: Lists peered DNS domains for a connection.
//
-// - parent: Parent resource identifying the connection which owns this
-// collection of peered DNS domains in the format:
-// `services/{service}/projects/{project}/global/networks/{network}`.
-// {service} is the peering service that is managing connectivity for
-// the service producer's organization. For Google services that
-// support this functionality, this value is
-// `servicenetworking.googleapis.com`. {project} is a project number
-// e.g. `12345` that contains the service consumer's VPC network.
-// {network} is the name of the service consumer's VPC network.
+// - parent: Parent resource identifying the connection which owns this
+// collection of peered DNS domains in the format:
+// `services/{service}/projects/{project}/global/networks/{network}`.
+// {service} is the peering service that is managing connectivity for
+// the service producer's organization. For Google services that
+// support this functionality, this value is
+// `servicenetworking.googleapis.com`. {project} is a project number
+// e.g. `12345` that contains the service consumer's VPC network.
+// {network} is the name of the service consumer's VPC network.
func (r *ServicesProjectsGlobalNetworksPeeredDnsDomainsService) List(parent string) *ServicesProjectsGlobalNetworksPeeredDnsDomainsListCall {
c := &ServicesProjectsGlobalNetworksPeeredDnsDomainsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8609,9 +8609,9 @@ type ServicesRolesAddCall struct {
// role must be selected from within an allowlisted set of roles. Each
// role is applied at only the granularity specified in the allowlist.
//
-// - parent: This is in a form services/{service} where {service} is the
-// name of the private access management service. For example
-// 'service-peering.example.com'.
+// - parent: This is in a form services/{service} where {service} is the
+// name of the private access management service. For example
+// 'service-peering.example.com'.
func (r *ServicesRolesService) Add(parent string, addrolesrequest *AddRolesRequest) *ServicesRolesAddCall {
c := &ServicesRolesAddCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/servicenetworking/v1beta/servicenetworking-gen.go b/servicenetworking/v1beta/servicenetworking-gen.go
index e1494fd2042..2f58e01d356 100644
--- a/servicenetworking/v1beta/servicenetworking-gen.go
+++ b/servicenetworking/v1beta/servicenetworking-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/servicenetworking/v1beta"
-// ...
-// ctx := context.Background()
-// servicenetworkingService, err := servicenetworking.NewService(ctx)
+// import "google.golang.org/api/servicenetworking/v1beta"
+// ...
+// ctx := context.Background()
+// servicenetworkingService, err := servicenetworking.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithScopes(servicenetworking.ServiceManagementScope))
+// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithScopes(servicenetworking.ServiceManagementScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithAPIKey("AIza..."))
+// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// servicenetworkingService, err := servicenetworking.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package servicenetworking // import "google.golang.org/api/servicenetworking/v1beta"
@@ -4323,14 +4323,14 @@ type ServicesAddSubnetworkCall struct {
// needed. The response from the `get` operation will be of type
// `Subnetwork` if the operation successfully completes.
//
-// - parent: A tenant project in the service producer organization, in
-// the following format:
-// services/{service}/{collection-id}/{resource-id}. {collection-id}
-// is the cloud resource collection type that represents the tenant
-// project. Only `projects` are supported. {resource-id} is the tenant
-// project numeric id, such as `123456`. {service} the name of the
-// peering service, such as `service-peering.example.com`. This
-// service must already be enabled in the service consumer's project.
+// - parent: A tenant project in the service producer organization, in
+// the following format:
+// services/{service}/{collection-id}/{resource-id}. {collection-id}
+// is the cloud resource collection type that represents the tenant
+// project. Only `projects` are supported. {resource-id} is the tenant
+// project numeric id, such as `123456`. {service} the name of the
+// peering service, such as `service-peering.example.com`. This
+// service must already be enabled in the service consumer's project.
func (r *ServicesService) AddSubnetwork(parent string, addsubnetworkrequest *AddSubnetworkRequest) *ServicesAddSubnetworkCall {
c := &ServicesAddSubnetworkCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4479,9 +4479,9 @@ type ServicesSearchRangeCall struct {
// leading bits of ipv4 network mask, as in CIDR range notation).
// Operation
//
-// - parent: This is in a form services/{service}. {service} the name of
-// the private access management service, for example
-// 'service-peering.example.com'.
+// - parent: This is in a form services/{service}. {service} the name of
+// the private access management service, for example
+// 'service-peering.example.com'.
func (r *ServicesService) SearchRange(parent string, searchrangerequest *SearchRangeRequest) *ServicesSearchRangeCall {
c := &ServicesSearchRangeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4626,10 +4626,10 @@ type ServicesUpdateConnectionsCall struct {
// a connection. The response from the `get` operation will be of type
// `Connection` if the operation successfully completes.
//
-// - name: The service producer peering service that is managing peering
-// connectivity for a service producer organization. For Google
-// services that support this functionality, this is
-// `services/servicenetworking.googleapis.com`.
+// - name: The service producer peering service that is managing peering
+// connectivity for a service producer organization. For Google
+// services that support this functionality, this is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesService) UpdateConnections(name string, googlecloudservicenetworkingv1betaconnection *GoogleCloudServicenetworkingV1betaConnection) *ServicesUpdateConnectionsCall {
c := &ServicesUpdateConnectionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -4806,10 +4806,10 @@ type ServicesConnectionsCreateCall struct {
// be invoked once. The response from the `get` operation will be of
// type `Connection` if the operation successfully completes.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`.
func (r *ServicesConnectionsService) Create(parent string, googlecloudservicenetworkingv1betaconnection *GoogleCloudServicenetworkingV1betaConnection) *ServicesConnectionsCreateCall {
c := &ServicesConnectionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4953,12 +4953,12 @@ type ServicesConnectionsListCall struct {
// List: List the private connections that are configured in a service
// consumer's VPC network.
//
-// - parent: The service that is managing peering connectivity for a
-// service producer's organization. For Google services that support
-// this functionality, this value is
-// `services/servicenetworking.googleapis.com`. If you specify `-` as
-// the parameter value, all configured public peering services are
-// listed.
+// - parent: The service that is managing peering connectivity for a
+// service producer's organization. For Google services that support
+// this functionality, this value is
+// `services/servicenetworking.googleapis.com`. If you specify `-` as
+// the parameter value, all configured public peering services are
+// listed.
func (r *ServicesConnectionsService) List(parent string) *ServicesConnectionsListCall {
c := &ServicesConnectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/serviceusage/v1/serviceusage-gen.go b/serviceusage/v1/serviceusage-gen.go
index 2f69383fdc9..5b7c24d8c33 100644
--- a/serviceusage/v1/serviceusage-gen.go
+++ b/serviceusage/v1/serviceusage-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/service-usage/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/serviceusage/v1"
-// ...
-// ctx := context.Background()
-// serviceusageService, err := serviceusage.NewService(ctx)
+// import "google.golang.org/api/serviceusage/v1"
+// ...
+// ctx := context.Background()
+// serviceusageService, err := serviceusage.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// serviceusageService, err := serviceusage.NewService(ctx, option.WithScopes(serviceusage.ServiceManagementScope))
+// serviceusageService, err := serviceusage.NewService(ctx, option.WithScopes(serviceusage.ServiceManagementScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// serviceusageService, err := serviceusage.NewService(ctx, option.WithAPIKey("AIza..."))
+// serviceusageService, err := serviceusage.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// serviceusageService, err := serviceusage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// serviceusageService, err := serviceusage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package serviceusage // import "google.golang.org/api/serviceusage/v1"
@@ -4918,9 +4918,9 @@ type ServicesBatchEnableCall struct {
// and no state changes occur. To enable a single service, use the
// `EnableService` method instead.
//
-// - parent: Parent to enable services on. An example name would be:
-// `projects/123` where `123` is the project number. The
-// `BatchEnableServices` method currently only supports projects.
+// - parent: Parent to enable services on. An example name would be:
+// `projects/123` where `123` is the project number. The
+// `BatchEnableServices` method currently only supports projects.
func (r *ServicesService) BatchEnable(parent string, batchenableservicesrequest *BatchEnableServicesRequest) *ServicesBatchEnableCall {
c := &ServicesBatchEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5064,11 +5064,11 @@ type ServicesBatchGetCall struct {
// BatchGet: Returns the service configurations and enabled states for a
// given list of services.
//
-// - parent: Parent to retrieve services from. If this is set, the
-// parent of all of the services specified in `names` must match this
-// field. An example name would be: `projects/123` where `123` is the
-// project number. The `BatchGetServices` method currently only
-// supports projects.
+// - parent: Parent to retrieve services from. If this is set, the
+// parent of all of the services specified in `names` must match this
+// field. An example name would be: `projects/123` where `123` is the
+// project number. The `BatchGetServices` method currently only
+// supports projects.
func (r *ServicesService) BatchGet(parent string) *ServicesBatchGetCall {
c := &ServicesBatchGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5236,11 +5236,11 @@ type ServicesDisableCall struct {
// will receive a `FAILED_PRECONDITION` status if the target service is
// not currently enabled.
//
-// - name: Name of the consumer and service to disable the service on.
-// The enable and disable methods currently only support projects. An
-// example name would be:
-// `projects/123/services/serviceusage.googleapis.com` where `123` is
-// the project number.
+// - name: Name of the consumer and service to disable the service on.
+// The enable and disable methods currently only support projects. An
+// example name would be:
+// `projects/123/services/serviceusage.googleapis.com` where `123` is
+// the project number.
func (r *ServicesService) Disable(name string, disableservicerequest *DisableServiceRequest) *ServicesDisableCall {
c := &ServicesDisableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5383,12 +5383,12 @@ type ServicesEnableCall struct {
// Enable: Enable a service so that it can be used with a project.
//
-// - name: Name of the consumer and service to enable the service on.
-// The `EnableService` and `DisableService` methods currently only
-// support projects. Enabling a service requires that the service is
-// public or is shared with the user enabling the service. An example
-// name would be: `projects/123/services/serviceusage.googleapis.com`
-// where `123` is the project number.
+// - name: Name of the consumer and service to enable the service on.
+// The `EnableService` and `DisableService` methods currently only
+// support projects. Enabling a service requires that the service is
+// public or is shared with the user enabling the service. An example
+// name would be: `projects/123/services/serviceusage.googleapis.com`
+// where `123` is the project number.
func (r *ServicesService) Enable(name string, enableservicerequest *EnableServiceRequest) *ServicesEnableCall {
c := &ServicesEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5532,10 +5532,10 @@ type ServicesGetCall struct {
// Get: Returns the service configuration and enabled state for a given
// service.
//
-// - name: Name of the consumer and service to get the `ConsumerState`
-// for. An example name would be:
-// `projects/123/services/serviceusage.googleapis.com` where `123` is
-// the project number.
+// - name: Name of the consumer and service to get the `ConsumerState`
+// for. An example name would be:
+// `projects/123/services/serviceusage.googleapis.com` where `123` is
+// the project number.
func (r *ServicesService) Get(name string) *ServicesGetCall {
c := &ServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5692,8 +5692,8 @@ type ServicesListCall struct {
// (https://cloud.google.com/asset-inventory/docs/apis), which provides
// higher throughput and richer filtering capability.
//
-// - parent: Parent to search for services on. An example name would be:
-// `projects/123` where `123` is the project number.
+// - parent: Parent to search for services on. An example name would be:
+// `projects/123` where `123` is the project number.
func (r *ServicesService) List(parent string) *ServicesListCall {
c := &ServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/serviceusage/v1beta1/serviceusage-gen.go b/serviceusage/v1beta1/serviceusage-gen.go
index 167237a9cdb..ae33f868ad9 100644
--- a/serviceusage/v1beta1/serviceusage-gen.go
+++ b/serviceusage/v1beta1/serviceusage-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/service-usage/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/serviceusage/v1beta1"
-// ...
-// ctx := context.Background()
-// serviceusageService, err := serviceusage.NewService(ctx)
+// import "google.golang.org/api/serviceusage/v1beta1"
+// ...
+// ctx := context.Background()
+// serviceusageService, err := serviceusage.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// serviceusageService, err := serviceusage.NewService(ctx, option.WithScopes(serviceusage.ServiceManagementScope))
+// serviceusageService, err := serviceusage.NewService(ctx, option.WithScopes(serviceusage.ServiceManagementScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// serviceusageService, err := serviceusage.NewService(ctx, option.WithAPIKey("AIza..."))
+// serviceusageService, err := serviceusage.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// serviceusageService, err := serviceusage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// serviceusageService, err := serviceusage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package serviceusage // import "google.golang.org/api/serviceusage/v1beta1"
@@ -5132,9 +5132,9 @@ type ServicesBatchEnableCall struct {
// and no state changes occur. Operation response type:
// `google.protobuf.Empty`
//
-// - parent: Parent to enable services on. An example name would be:
-// `projects/123` where `123` is the project number (not project ID).
-// The `BatchEnableServices` method currently only supports projects.
+// - parent: Parent to enable services on. An example name would be:
+// `projects/123` where `123` is the project number (not project ID).
+// The `BatchEnableServices` method currently only supports projects.
func (r *ServicesService) BatchEnable(parent string, batchenableservicesrequest *BatchEnableServicesRequest) *ServicesBatchEnableCall {
c := &ServicesBatchEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5283,11 +5283,11 @@ type ServicesDisableCall struct {
// not currently enabled. Operation response type:
// `google.protobuf.Empty`
//
-// - name: Name of the consumer and service to disable the service on.
-// The enable and disable methods currently only support projects. An
-// example name would be:
-// `projects/123/services/serviceusage.googleapis.com` where `123` is
-// the project number (not project ID).
+// - name: Name of the consumer and service to disable the service on.
+// The enable and disable methods currently only support projects. An
+// example name would be:
+// `projects/123/services/serviceusage.googleapis.com` where `123` is
+// the project number (not project ID).
func (r *ServicesService) Disable(name string, disableservicerequest *DisableServiceRequest) *ServicesDisableCall {
c := &ServicesDisableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5431,12 +5431,12 @@ type ServicesEnableCall struct {
// Enable: Enables a service so that it can be used with a project.
// Operation response type: `google.protobuf.Empty`
//
-// - name: Name of the consumer and service to enable the service on.
-// The `EnableService` and `DisableService` methods currently only
-// support projects. Enabling a service requires that the service is
-// public or is shared with the user enabling the service. An example
-// name would be: `projects/123/services/serviceusage.googleapis.com`
-// where `123` is the project number (not project ID).
+// - name: Name of the consumer and service to enable the service on.
+// The `EnableService` and `DisableService` methods currently only
+// support projects. Enabling a service requires that the service is
+// public or is shared with the user enabling the service. An example
+// name would be: `projects/123/services/serviceusage.googleapis.com`
+// where `123` is the project number (not project ID).
func (r *ServicesService) Enable(name string, enableservicerequest *EnableServiceRequest) *ServicesEnableCall {
c := &ServicesEnableCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5578,11 +5578,11 @@ type ServicesGenerateServiceIdentityCall struct {
// GenerateServiceIdentity: Generates service identity for service.
//
-// - parent: Name of the consumer and service to generate an identity
-// for. The `GenerateServiceIdentity` methods currently only support
-// projects. An example name would be:
-// `projects/123/services/example.googleapis.com` where `123` is the
-// project number.
+// - parent: Name of the consumer and service to generate an identity
+// for. The `GenerateServiceIdentity` methods currently only support
+// projects. An example name would be:
+// `projects/123/services/example.googleapis.com` where `123` is the
+// project number.
func (r *ServicesService) GenerateServiceIdentity(parent string) *ServicesGenerateServiceIdentityCall {
c := &ServicesGenerateServiceIdentityCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5717,10 +5717,10 @@ type ServicesGetCall struct {
// Get: Returns the service configuration and enabled state for a given
// service.
//
-// - name: Name of the consumer and service to get the `ConsumerState`
-// for. An example name would be:
-// `projects/123/services/serviceusage.googleapis.com` where `123` is
-// the project number (not project ID).
+// - name: Name of the consumer and service to get the `ConsumerState`
+// for. An example name would be:
+// `projects/123/services/serviceusage.googleapis.com` where `123` is
+// the project number (not project ID).
func (r *ServicesService) Get(name string) *ServicesGetCall {
c := &ServicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5873,8 +5873,8 @@ type ServicesListCall struct {
// be filtered to only include services in a specific state, for example
// to only include services enabled on the project.
//
-// - parent: Parent to search for services on. An example name would be:
-// `projects/123` where `123` is the project number (not project ID).
+// - parent: Parent to search for services on. An example name would be:
+// `projects/123` where `123` is the project number (not project ID).
func (r *ServicesService) List(parent string) *ServicesListCall {
c := &ServicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6083,10 +6083,10 @@ type ServicesConsumerQuotaMetricsGetCall struct {
// Get: Retrieves a summary of quota information for a specific quota
// metric
//
-// - name: The resource name of the quota limit. An example name would
-// be:
-// `projects/123/services/serviceusage.googleapis.com/quotas/metrics/se
-// rviceusage.googleapis.com%2Fmutate_requests`.
+// - name: The resource name of the quota limit. An example name would
+// be:
+// `projects/123/services/serviceusage.googleapis.com/quotas/metrics/se
+// rviceusage.googleapis.com%2Fmutate_requests`.
func (r *ServicesConsumerQuotaMetricsService) Get(name string) *ServicesConsumerQuotaMetricsGetCall {
c := &ServicesConsumerQuotaMetricsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6097,10 +6097,14 @@ func (r *ServicesConsumerQuotaMetricsService) Get(name string) *ServicesConsumer
// detail for quota information in the response.
//
// Possible values:
-// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
+// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
// do not specify a quota view will typically default to the BASIC view.
-// "BASIC" - Only buckets with overrides are shown in the response.
-// "FULL" - Include per-location buckets even if they do not have
+//
+// "BASIC" - Only buckets with overrides are shown in the response.
+// "FULL" - Include per-location buckets even if they do not have
+//
// overrides. When the view is FULL, and a limit has regional or zonal
// quota, the limit will include buckets for all regions or zones that
// could support overrides, even if none are currently present. In some
@@ -6269,8 +6273,8 @@ type ServicesConsumerQuotaMetricsImportAdminOverridesCall struct {
// or limits. The name field in the quota override message should not be
// set.
//
-// - parent: The resource name of the consumer. An example name would
-// be: `projects/123/services/compute.googleapis.com`.
+// - parent: The resource name of the consumer. An example name would
+// be: `projects/123/services/compute.googleapis.com`.
func (r *ServicesConsumerQuotaMetricsService) ImportAdminOverrides(parent string, importadminoverridesrequest *ImportAdminOverridesRequest) *ServicesConsumerQuotaMetricsImportAdminOverridesCall {
c := &ServicesConsumerQuotaMetricsImportAdminOverridesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6416,8 +6420,8 @@ type ServicesConsumerQuotaMetricsImportConsumerOverridesCall struct {
// metrics or limits. The name field in the quota override message
// should not be set.
//
-// - parent: The resource name of the consumer. An example name would
-// be: `projects/123/services/compute.googleapis.com`.
+// - parent: The resource name of the consumer. An example name would
+// be: `projects/123/services/compute.googleapis.com`.
func (r *ServicesConsumerQuotaMetricsService) ImportConsumerOverrides(parent string, importconsumeroverridesrequest *ImportConsumerOverridesRequest) *ServicesConsumerQuotaMetricsImportConsumerOverridesCall {
c := &ServicesConsumerQuotaMetricsImportConsumerOverridesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6565,11 +6569,11 @@ type ServicesConsumerQuotaMetricsListCall struct {
// current effective limit value, and all of the overrides applied to
// the limit.
//
-// - parent: Parent of the quotas resource. Some example names would be:
-// `projects/123/services/serviceconsumermanagement.googleapis.com`
-// `folders/345/services/serviceconsumermanagement.googleapis.com`
-// `organizations/456/services/serviceconsumermanagement.googleapis.com
-// `.
+// - parent: Parent of the quotas resource. Some example names would be:
+// `projects/123/services/serviceconsumermanagement.googleapis.com`
+// `folders/345/services/serviceconsumermanagement.googleapis.com`
+// `organizations/456/services/serviceconsumermanagement.googleapis.com
+// `.
func (r *ServicesConsumerQuotaMetricsService) List(parent string) *ServicesConsumerQuotaMetricsListCall {
c := &ServicesConsumerQuotaMetricsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6594,10 +6598,14 @@ func (c *ServicesConsumerQuotaMetricsListCall) PageToken(pageToken string) *Serv
// detail for quota information in the response.
//
// Possible values:
-// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
+// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
// do not specify a quota view will typically default to the BASIC view.
-// "BASIC" - Only buckets with overrides are shown in the response.
-// "FULL" - Include per-location buckets even if they do not have
+//
+// "BASIC" - Only buckets with overrides are shown in the response.
+// "FULL" - Include per-location buckets even if they do not have
+//
// overrides. When the view is FULL, and a limit has regional or zonal
// quota, the limit will include buckets for all regions or zones that
// could support overrides, even if none are currently present. In some
@@ -6796,9 +6804,9 @@ type ServicesConsumerQuotaMetricsLimitsGetCall struct {
// Get: Retrieves a summary of quota information for a specific quota
// limit.
//
-// - name: The resource name of the quota limit. Use the quota limit
-// resource name returned by previous ListConsumerQuotaMetrics and
-// GetConsumerQuotaMetric API calls.
+// - name: The resource name of the quota limit. Use the quota limit
+// resource name returned by previous ListConsumerQuotaMetrics and
+// GetConsumerQuotaMetric API calls.
func (r *ServicesConsumerQuotaMetricsLimitsService) Get(name string) *ServicesConsumerQuotaMetricsLimitsGetCall {
c := &ServicesConsumerQuotaMetricsLimitsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6809,10 +6817,14 @@ func (r *ServicesConsumerQuotaMetricsLimitsService) Get(name string) *ServicesCo
// detail for quota information in the response.
//
// Possible values:
-// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
+// "QUOTA_VIEW_UNSPECIFIED" - No quota view specified. Requests that
+//
// do not specify a quota view will typically default to the BASIC view.
-// "BASIC" - Only buckets with overrides are shown in the response.
-// "FULL" - Include per-location buckets even if they do not have
+//
+// "BASIC" - Only buckets with overrides are shown in the response.
+// "FULL" - Include per-location buckets even if they do not have
+//
// overrides. When the view is FULL, and a limit has regional or zonal
// quota, the limit will include buckets for all regions or zones that
// could support overrides, even if none are currently present. In some
@@ -6982,11 +6994,11 @@ type ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall struct {
// limit the amount of quota the consumer can use out of the total quota
// pool allocated to all children of the folder or organization.
//
-// - parent: The resource name of the parent quota limit, returned by a
-// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
-// name would be:
-// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
+// - parent: The resource name of the parent quota limit, returned by a
+// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
+// name would be:
+// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
func (r *ServicesConsumerQuotaMetricsLimitsAdminOverridesService) Create(parent string, quotaoverride *QuotaOverride) *ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall {
c := &ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7010,11 +7022,15 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall) Force(force
// enforced. The 'force' and 'force_only' fields cannot both be set.
//
// Possible values:
-// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
-// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
+// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
+// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
// would not cause the consumer's effective limit to be lower than the
// consumer's quota usage.
-// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
+// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
// mutation would not cause the consumer's effective limit to decrease
// by more than 10 percent.
func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall) ForceOnly(forceOnly ...string) *ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall {
@@ -7177,11 +7193,11 @@ type ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall struct {
// Delete: Deletes an admin override.
//
-// - name: The resource name of the override to delete. An example name
-// would be:
-// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrid
-// es/4a3f2c1d`.
+// - name: The resource name of the override to delete. An example name
+// would be:
+// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrid
+// es/4a3f2c1d`.
func (r *ServicesConsumerQuotaMetricsLimitsAdminOverridesService) Delete(name string) *ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall {
c := &ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7204,11 +7220,15 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall) Force(force
// enforced. The 'force' and 'force_only' fields cannot both be set.
//
// Possible values:
-// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
-// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
+// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
+// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
// would not cause the consumer's effective limit to be lower than the
// consumer's quota usage.
-// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
+// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
// mutation would not cause the consumer's effective limit to decrease
// by more than 10 percent.
func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall) ForceOnly(forceOnly ...string) *ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall {
@@ -7364,11 +7384,11 @@ type ServicesConsumerQuotaMetricsLimitsAdminOverridesListCall struct {
// List: Lists all admin overrides on this limit.
//
-// - parent: The resource name of the parent quota limit, returned by a
-// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
-// name would be:
-// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
+// - parent: The resource name of the parent quota limit, returned by a
+// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
+// name would be:
+// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
func (r *ServicesConsumerQuotaMetricsLimitsAdminOverridesService) List(parent string) *ServicesConsumerQuotaMetricsLimitsAdminOverridesListCall {
c := &ServicesConsumerQuotaMetricsLimitsAdminOverridesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7561,11 +7581,11 @@ type ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall struct {
// Patch: Updates an admin override.
//
-// - name: The resource name of the override to update. An example name
-// would be:
-// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrid
-// es/4a3f2c1d`.
+// - name: The resource name of the override to update. An example name
+// would be:
+// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrid
+// es/4a3f2c1d`.
func (r *ServicesConsumerQuotaMetricsLimitsAdminOverridesService) Patch(name string, quotaoverride *QuotaOverride) *ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall {
c := &ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7589,11 +7609,15 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall) Force(force
// enforced. The 'force' and 'force_only' fields cannot both be set.
//
// Possible values:
-// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
-// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
+// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
+// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
// would not cause the consumer's effective limit to be lower than the
// consumer's quota usage.
-// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
+// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
// mutation would not cause the consumer's effective limit to decrease
// by more than 10 percent.
func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall) ForceOnly(forceOnly ...string) *ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall {
@@ -7775,11 +7799,11 @@ type ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall struct {
// allowed by admin overrides, producer overrides, or the default limit
// of the service.
//
-// - parent: The resource name of the parent quota limit, returned by a
-// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
-// name would be:
-// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
+// - parent: The resource name of the parent quota limit, returned by a
+// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
+// name would be:
+// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
func (r *ServicesConsumerQuotaMetricsLimitsConsumerOverridesService) Create(parent string, quotaoverride *QuotaOverride) *ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall {
c := &ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7803,11 +7827,15 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall) Force(fo
// enforced. The 'force' and 'force_only' fields cannot both be set.
//
// Possible values:
-// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
-// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
+// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
+// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
// would not cause the consumer's effective limit to be lower than the
// consumer's quota usage.
-// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
+// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
// mutation would not cause the consumer's effective limit to decrease
// by more than 10 percent.
func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall) ForceOnly(forceOnly ...string) *ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall {
@@ -7970,11 +7998,11 @@ type ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall struct {
// Delete: Deletes a consumer override.
//
-// - name: The resource name of the override to delete. An example name
-// would be:
-// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOver
-// rides/4a3f2c1d`.
+// - name: The resource name of the override to delete. An example name
+// would be:
+// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOver
+// rides/4a3f2c1d`.
func (r *ServicesConsumerQuotaMetricsLimitsConsumerOverridesService) Delete(name string) *ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall {
c := &ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7997,11 +8025,15 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall) Force(fo
// enforced. The 'force' and 'force_only' fields cannot both be set.
//
// Possible values:
-// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
-// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
+// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
+// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
// would not cause the consumer's effective limit to be lower than the
// consumer's quota usage.
-// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
+// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
// mutation would not cause the consumer's effective limit to decrease
// by more than 10 percent.
func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall) ForceOnly(forceOnly ...string) *ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall {
@@ -8157,11 +8189,11 @@ type ServicesConsumerQuotaMetricsLimitsConsumerOverridesListCall struct {
// List: Lists all consumer overrides on this limit.
//
-// - parent: The resource name of the parent quota limit, returned by a
-// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
-// name would be:
-// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
+// - parent: The resource name of the parent quota limit, returned by a
+// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example
+// name would be:
+// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`.
func (r *ServicesConsumerQuotaMetricsLimitsConsumerOverridesService) List(parent string) *ServicesConsumerQuotaMetricsLimitsConsumerOverridesListCall {
c := &ServicesConsumerQuotaMetricsLimitsConsumerOverridesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8354,11 +8386,11 @@ type ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall struct {
// Patch: Updates a consumer override.
//
-// - name: The resource name of the override to update. An example name
-// would be:
-// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
-// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOver
-// rides/4a3f2c1d`.
+// - name: The resource name of the override to update. An example name
+// would be:
+// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/c
+// ompute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOver
+// rides/4a3f2c1d`.
func (r *ServicesConsumerQuotaMetricsLimitsConsumerOverridesService) Patch(name string, quotaoverride *QuotaOverride) *ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall {
c := &ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8382,11 +8414,15 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall) Force(for
// enforced. The 'force' and 'force_only' fields cannot both be set.
//
// Possible values:
-// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
-// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
+// "QUOTA_SAFETY_CHECK_UNSPECIFIED" - Unspecified quota safety check.
+// "LIMIT_DECREASE_BELOW_USAGE" - Validates that a quota mutation
+//
// would not cause the consumer's effective limit to be lower than the
// consumer's quota usage.
-// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
+// "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" - Validates that a quota
+//
// mutation would not cause the consumer's effective limit to decrease
// by more than 10 percent.
func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall) ForceOnly(forceOnly ...string) *ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall {
diff --git a/serviceuser/v1/serviceuser-gen.go b/serviceuser/v1/serviceuser-gen.go
index 778a4977a99..b4012673fa1 100644
--- a/serviceuser/v1/serviceuser-gen.go
+++ b/serviceuser/v1/serviceuser-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/service-management/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/serviceuser/v1"
-// ...
-// ctx := context.Background()
-// serviceuserService, err := serviceuser.NewService(ctx)
+// import "google.golang.org/api/serviceuser/v1"
+// ...
+// ctx := context.Background()
+// serviceuserService, err := serviceuser.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// serviceuserService, err := serviceuser.NewService(ctx, option.WithScopes(serviceuser.ServiceManagementScope))
+// serviceuserService, err := serviceuser.NewService(ctx, option.WithScopes(serviceuser.ServiceManagementScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// serviceuserService, err := serviceuser.NewService(ctx, option.WithAPIKey("AIza..."))
+// serviceuserService, err := serviceuser.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// serviceuserService, err := serviceuser.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// serviceuserService, err := serviceuser.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package serviceuser // import "google.golang.org/api/serviceuser/v1"
@@ -430,16 +430,16 @@ func (s *AuthRequirement) MarshalJSON() ([]byte, error) {
//
// Example for an API targeted for external use:
//
-// name: calendar.googleapis.com
-// authentication:
-// providers:
-// - id: google_calendar_auth
-// jwks_uri: https://www.googleapis.com/oauth2/v1/certs
-// issuer: https://securetoken.google.com
-// rules:
-// - selector: "*"
-// requirements:
-// provider_id: google_calendar_auth
+// name: calendar.googleapis.com
+// authentication:
+// providers:
+// - id: google_calendar_auth
+// jwks_uri: https://www.googleapis.com/oauth2/v1/certs
+// issuer: https://securetoken.google.com
+// rules:
+// - selector: "*"
+// requirements:
+// provider_id: google_calendar_auth
type Authentication struct {
// Providers: Defines a set of authentication providers that a service
// supports.
@@ -537,9 +537,9 @@ func (s *AuthenticationRule) MarshalJSON() ([]byte, error) {
//
// Example:
//
-// experimental:
-// authorization:
-// provider: firebaserules.googleapis.com
+// experimental:
+// authorization:
+// provider: firebaserules.googleapis.com
type AuthorizationConfig struct {
// Provider: The name of the authorization provider, such
// as
@@ -668,23 +668,24 @@ func (s *BackendRule) UnmarshalJSON(data []byte) error {
// metrics
// for billing:
//
-// monitored_resources:
-// - type: library.googleapis.com/branch
-// labels:
-// - key: /city
-// description: The city where the library branch is located
+// monitored_resources:
+// - type: library.googleapis.com/branch
+// labels:
+// - key: /city
+// description: The city where the library branch is located
+//
// in.
-// - key: /name
-// description: The name of the branch.
+// - key: /name
+// description: The name of the branch.
// metrics:
-// - name: library.googleapis.com/book/borrowed_count
-// metric_kind: DELTA
-// value_type: INT64
+// - name: library.googleapis.com/book/borrowed_count
+// metric_kind: DELTA
+// value_type: INT64
// billing:
-// consumer_destinations:
-// - monitored_resource: library.googleapis.com/branch
-// metrics:
-// - library.googleapis.com/book/borrowed_count
+// consumer_destinations:
+// - monitored_resource: library.googleapis.com/branch
+// metrics:
+// - library.googleapis.com/book/borrowed_count
type Billing struct {
// ConsumerDestinations: Billing configurations for sending metrics to
// the consumer project.
@@ -762,12 +763,12 @@ func (s *BillingDestination) MarshalJSON() ([]byte, error) {
//
// Example:
//
-// context:
-// rules:
-// - selector: "*"
-// requested:
-// - google.rpc.context.ProjectContext
-// - google.rpc.context.OriginContext
+// context:
+// rules:
+// - selector: "*"
+// requested:
+// - google.rpc.context.ProjectContext
+// - google.rpc.context.OriginContext
//
// The above specifies that all methods in the API
// request
@@ -792,14 +793,16 @@ func (s *BillingDestination) MarshalJSON() ([]byte, error) {
//
// Example:
//
-// context:
-// rules:
-// - selector:
+// context:
+// rules:
+// - selector:
+//
// "google.example.library.v1.LibraryService.CreateBook"
-// allowed_request_extensions:
-// - google.foo.v1.NewExtension
-// allowed_response_extensions:
-// - google.foo.v1.NewExtension
+//
+// allowed_request_extensions:
+// - google.foo.v1.NewExtension
+// allowed_response_extensions:
+// - google.foo.v1.NewExtension
//
// You can also specify extension ID instead of fully qualified
// extension name
@@ -927,10 +930,10 @@ func (s *Control) MarshalJSON() ([]byte, error) {
//
// Example:
//
-// custom_error:
-// types:
-// - google.foo.v1.CustomError
-// - google.foo.v1.AnotherError
+// custom_error:
+// types:
+// - google.foo.v1.CustomError
+// - google.foo.v1.AnotherError
type CustomError struct {
// Rules: The list of custom error rules that apply to individual API
// messages.
@@ -1043,24 +1046,26 @@ type DisableServiceRequest struct {
//
// Example:
// documentation:
-// summary: >
-// The Google Calendar API gives access
-// to most calendar features.
-// pages:
-// - name: Overview
-// content: (== include google/foo/overview.md ==)
-// - name: Tutorial
-// content: (== include google/foo/tutorial.md ==)
-// subpages;
-// - name: Java
-// content: (== include google/foo/tutorial_java.md ==)
-// rules:
-// - selector: google.calendar.Calendar.Get
-// description: >
-// ...
-// - selector: google.calendar.Calendar.Put
-// description: >
-// ...
+//
+// summary: >
+// The Google Calendar API gives access
+// to most calendar features.
+// pages:
+// - name: Overview
+// content: (== include google/foo/overview.md ==)
+// - name: Tutorial
+// content: (== include google/foo/tutorial.md ==)
+// subpages;
+// - name: Java
+// content: (== include google/foo/tutorial_java.md ==)
+// rules:
+// - selector: google.calendar.Calendar.Get
+// description: >
+// ...
+// - selector: google.calendar.Calendar.Put
+// description: >
+// ...
+//
//
// Documentation is provided in markdown syntax. In addition to
// standard markdown features, definition lists, tables and fenced
@@ -1227,17 +1232,21 @@ type EnableServiceRequest struct {
//
// Example service configuration:
//
-// name: library-example.googleapis.com
-// endpoints:
-// # Below entry makes 'google.example.library.v1.Library'
-// # API be served from endpoint address
+// name: library-example.googleapis.com
+// endpoints:
+// # Below entry makes 'google.example.library.v1.Library'
+// # API be served from endpoint address
+//
// library-example.googleapis.com.
-// # It also allows HTTP OPTIONS calls to be passed to the
+//
+// # It also allows HTTP OPTIONS calls to be passed to the
+//
// backend, for
-// # it to decide whether the subsequent cross-origin request is
-// # allowed to proceed.
-// - name: library-example.googleapis.com
-// allow_cors: true
+//
+// # it to decide whether the subsequent cross-origin request is
+// # allowed to proceed.
+// - name: library-example.googleapis.com
+// allow_cors: true
type Endpoint struct {
// Aliases: DEPRECATED: This field is no longer supported. Instead of
// using aliases,
@@ -1583,19 +1592,19 @@ func (s *Http) MarshalJSON() ([]byte, error) {
//
// Example:
//
-// service Messaging {
-// rpc GetMessage(GetMessageRequest) returns (Message) {
-// option (google.api.http) = {
-// get: "/v1/{name=messages/*}"
-// };
-// }
-// }
-// message GetMessageRequest {
-// string name = 1; // Mapped to URL path.
-// }
-// message Message {
-// string text = 1; // The resource content.
-// }
+// service Messaging {
+// rpc GetMessage(GetMessageRequest) returns (Message) {
+// option (google.api.http) = {
+// get: "/v1/{name=messages/*}"
+// };
+// }
+// }
+// message GetMessageRequest {
+// string name = 1; // Mapped to URL path.
+// }
+// message Message {
+// string text = 1; // The resource content.
+// }
//
// This enables an HTTP REST to gRPC mapping as below:
//
@@ -1610,23 +1619,27 @@ func (s *Http) MarshalJSON() ([]byte, error) {
// request body.
// For example:
//
-// service Messaging {
-// rpc GetMessage(GetMessageRequest) returns (Message) {
-// option (google.api.http) = {
-// get:"/v1/messages/{message_id}"
-// };
-// }
-// }
-// message GetMessageRequest {
-// message SubMessage {
-// string subfield = 1;
-// }
-// string message_id = 1; // Mapped to URL path.
-// int64 revision = 2; // Mapped to URL query parameter
+// service Messaging {
+// rpc GetMessage(GetMessageRequest) returns (Message) {
+// option (google.api.http) = {
+// get:"/v1/messages/{message_id}"
+// };
+// }
+// }
+// message GetMessageRequest {
+// message SubMessage {
+// string subfield = 1;
+// }
+// string message_id = 1; // Mapped to URL path.
+// int64 revision = 2; // Mapped to URL query parameter
+//
// `revision`.
-// SubMessage sub = 3; // Mapped to URL query parameter
+//
+// SubMessage sub = 3; // Mapped to URL query parameter
+//
// `sub.subfield`.
-// }
+//
+// }
//
// This enables a HTTP JSON to RPC mapping as below:
//
@@ -1653,18 +1666,18 @@ func (s *Http) MarshalJSON() ([]byte, error) {
// specifies the mapping. Consider a REST update method on the
// message resource collection:
//
-// service Messaging {
-// rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
-// option (google.api.http) = {
-// patch: "/v1/messages/{message_id}"
-// body: "message"
-// };
-// }
-// }
-// message UpdateMessageRequest {
-// string message_id = 1; // mapped to the URL
-// Message message = 2; // mapped to the body
-// }
+// service Messaging {
+// rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
+// option (google.api.http) = {
+// patch: "/v1/messages/{message_id}"
+// body: "message"
+// };
+// }
+// }
+// message UpdateMessageRequest {
+// string message_id = 1; // mapped to the URL
+// Message message = 2; // mapped to the body
+// }
//
// The following HTTP JSON to RPC mapping is enabled, where
// the
@@ -1685,19 +1698,18 @@ func (s *Http) MarshalJSON() ([]byte, error) {
// of
// the update method:
//
-// service Messaging {
-// rpc UpdateMessage(Message) returns (Message) {
-// option (google.api.http) = {
-// patch: "/v1/messages/{message_id}"
-// body: "*"
-// };
-// }
-// }
-// message Message {
-// string message_id = 1;
-// string text = 2;
-// }
-//
+// service Messaging {
+// rpc UpdateMessage(Message) returns (Message) {
+// option (google.api.http) = {
+// patch: "/v1/messages/{message_id}"
+// body: "*"
+// };
+// }
+// }
+// message Message {
+// string message_id = 1;
+// string text = 2;
+// }
//
// The following HTTP JSON to RPC mapping is enabled:
//
@@ -1719,20 +1731,20 @@ func (s *Http) MarshalJSON() ([]byte, error) {
// using
// the `additional_bindings` option. Example:
//
-// service Messaging {
-// rpc GetMessage(GetMessageRequest) returns (Message) {
-// option (google.api.http) = {
-// get: "/v1/messages/{message_id}"
-// additional_bindings {
-// get: "/v1/users/{user_id}/messages/{message_id}"
-// }
-// };
-// }
-// }
-// message GetMessageRequest {
-// string message_id = 1;
-// string user_id = 2;
-// }
+// service Messaging {
+// rpc GetMessage(GetMessageRequest) returns (Message) {
+// option (google.api.http) = {
+// get: "/v1/messages/{message_id}"
+// additional_bindings {
+// get: "/v1/users/{user_id}/messages/{message_id}"
+// }
+// };
+// }
+// }
+// message GetMessageRequest {
+// string message_id = 1;
+// string user_id = 2;
+// }
//
// This enables the following two alternative HTTP JSON to RPC
// mappings:
@@ -1747,33 +1759,45 @@ func (s *Http) MarshalJSON() ([]byte, error) {
//
// 1. Leaf request fields (recursive expansion nested messages in the
// request
-// message) are classified into three categories:
-// - Fields referred by the path template. They are passed via the
+//
+// message) are classified into three categories:
+// - Fields referred by the path template. They are passed via the
+//
// URL path.
-// - Fields referred by the HttpRule.body. They are passed via the
+// - Fields referred by the HttpRule.body. They are passed via the
+//
// HTTP
-// request body.
-// - All other fields are passed via the URL query parameters, and
+//
+// request body.
+// - All other fields are passed via the URL query parameters, and
+//
// the
-// parameter name is the field path in the request message. A
+//
+// parameter name is the field path in the request message. A
+//
// repeated
-// field can be represented as multiple query parameters under the
+//
+// field can be represented as multiple query parameters under the
+//
// same
-// name.
-// 2. If HttpRule.body is "*", there is no URL query parameter, all
+//
+// name.
+// 2. If HttpRule.body is "*", there is no URL query parameter, all
+//
// fields
-// are passed via URL path and HTTP request body.
-// 3. If HttpRule.body is omitted, there is no HTTP request body, all
-// fields are passed via URL path and URL query parameters.
+//
+// are passed via URL path and HTTP request body.
+// 3. If HttpRule.body is omitted, there is no HTTP request body, all
+// fields are passed via URL path and URL query parameters.
//
// ### Path template syntax
//
-// Template = "/" Segments [ Verb ] ;
-// Segments = Segment { "/" Segment } ;
-// Segment = "*" | "**" | LITERAL | Variable ;
-// Variable = "{" FieldPath [ "=" Segments ] "}" ;
-// FieldPath = IDENT { "." IDENT } ;
-// Verb = ":" LITERAL ;
+// Template = "/" Segments [ Verb ] ;
+// Segments = Segment { "/" Segment } ;
+// Segment = "*" | "**" | LITERAL | Variable ;
+// Variable = "{" FieldPath [ "=" Segments ] "}" ;
+// FieldPath = IDENT { "." IDENT } ;
+// Verb = ":" LITERAL ;
//
// The syntax `*` matches a single URL path segment. The syntax `**`
// matches
@@ -1848,11 +1872,11 @@ func (s *Http) MarshalJSON() ([]byte, error) {
//
// Example:
//
-// http:
-// rules:
-// # Selects a gRPC method and applies HttpRule to it.
-// - selector: example.v1.Messaging.GetMessage
-// get: /v1/messages/{message_id}/{sub.subfield}
+// http:
+// rules:
+// # Selects a gRPC method and applies HttpRule to it.
+// - selector: example.v1.Messaging.GetMessage
+// get: /v1/messages/{message_id}/{sub.subfield}
//
// ## Special notes
//
@@ -2062,13 +2086,15 @@ func (s *ListEnabledServicesResponse) MarshalJSON() ([]byte, error) {
// LogDescriptor: A description of a log type. Example in YAML format:
//
-// - name: library.googleapis.com/activity_history
-// description: The history of borrowing and returning library
+// - name: library.googleapis.com/activity_history
+// description: The history of borrowing and returning library
+//
// items.
-// display_name: Activity
-// labels:
-// - key: /customer_id
-// description: Identifier of a library customer
+//
+// display_name: Activity
+// labels:
+// - key: /customer_id
+// description: Identifier of a library customer
type LogDescriptor struct {
// Description: A human-readable description of this log. This
// information appears in
@@ -2128,29 +2154,30 @@ func (s *LogDescriptor) MarshalJSON() ([]byte, error) {
// the
// `purchase_history` log is only sent to the producer project.
//
-// monitored_resources:
-// - type: library.googleapis.com/branch
-// labels:
-// - key: /city
-// description: The city where the library branch is located
+// monitored_resources:
+// - type: library.googleapis.com/branch
+// labels:
+// - key: /city
+// description: The city where the library branch is located
+//
// in.
-// - key: /name
-// description: The name of the branch.
+// - key: /name
+// description: The name of the branch.
// logs:
-// - name: activity_history
-// labels:
-// - key: /customer_id
-// - name: purchase_history
+// - name: activity_history
+// labels:
+// - key: /customer_id
+// - name: purchase_history
// logging:
-// producer_destinations:
-// - monitored_resource: library.googleapis.com/branch
-// logs:
-// - activity_history
-// - purchase_history
-// consumer_destinations:
-// - monitored_resource: library.googleapis.com/branch
-// logs:
-// - activity_history
+// producer_destinations:
+// - monitored_resource: library.googleapis.com/branch
+// logs:
+// - activity_history
+// - purchase_history
+// consumer_destinations:
+// - monitored_resource: library.googleapis.com/branch
+// logs:
+// - activity_history
type Logging struct {
// ConsumerDestinations: Logging configurations for sending logs to the
// consumer project.
@@ -2602,45 +2629,45 @@ func (s *MetricRule) MarshalJSON() ([]byte, error) {
// but
// documentation and options are inherited as follows:
//
-// - If after comment and whitespace stripping, the documentation
-// string of the redeclared method is empty, it will be inherited
-// from the original method.
+// - If after comment and whitespace stripping, the documentation
+// string of the redeclared method is empty, it will be inherited
+// from the original method.
//
-// - Each annotation belonging to the service config (http,
-// visibility) which is not set in the redeclared method will be
-// inherited.
+// - Each annotation belonging to the service config (http,
+// visibility) which is not set in the redeclared method will be
+// inherited.
//
-// - If an http annotation is inherited, the path pattern will be
-// modified as follows. Any version prefix will be replaced by the
-// version of the including interface plus the root path if
-// specified.
+// - If an http annotation is inherited, the path pattern will be
+// modified as follows. Any version prefix will be replaced by the
+// version of the including interface plus the root path if
+// specified.
//
// Example of a simple mixin:
//
-// package google.acl.v1;
-// service AccessControl {
-// // Get the underlying ACL object.
-// rpc GetAcl(GetAclRequest) returns (Acl) {
-// option (google.api.http).get = "/v1/{resource=**}:getAcl";
-// }
-// }
+// package google.acl.v1;
+// service AccessControl {
+// // Get the underlying ACL object.
+// rpc GetAcl(GetAclRequest) returns (Acl) {
+// option (google.api.http).get = "/v1/{resource=**}:getAcl";
+// }
+// }
//
-// package google.storage.v2;
-// service Storage {
-// // rpc GetAcl(GetAclRequest) returns (Acl);
+// package google.storage.v2;
+// service Storage {
+// // rpc GetAcl(GetAclRequest) returns (Acl);
//
-// // Get a data record.
-// rpc GetData(GetDataRequest) returns (Data) {
-// option (google.api.http).get = "/v2/{resource=**}";
-// }
-// }
+// // Get a data record.
+// rpc GetData(GetDataRequest) returns (Data) {
+// option (google.api.http).get = "/v2/{resource=**}";
+// }
+// }
//
// Example of a mixin configuration:
//
-// apis:
-// - name: google.storage.v2.Storage
-// mixins:
-// - name: google.acl.v1.AccessControl
+// apis:
+// - name: google.storage.v2.Storage
+// mixins:
+// - name: google.acl.v1.AccessControl
//
// The mixin construct implies that all methods in `AccessControl`
// are
@@ -2650,13 +2677,13 @@ func (s *MetricRule) MarshalJSON() ([]byte, error) {
// inherting
// documentation and annotations as follows:
//
-// service Storage {
-// // Get the underlying ACL object.
-// rpc GetAcl(GetAclRequest) returns (Acl) {
-// option (google.api.http).get = "/v2/{resource=**}:getAcl";
-// }
-// ...
-// }
+// service Storage {
+// // Get the underlying ACL object.
+// rpc GetAcl(GetAclRequest) returns (Acl) {
+// option (google.api.http).get = "/v2/{resource=**}:getAcl";
+// }
+// ...
+// }
//
// Note how the version in the path pattern changed from `v1` to
// `v2`.
@@ -2665,22 +2692,24 @@ func (s *MetricRule) MarshalJSON() ([]byte, error) {
// a
// relative path under which inherited HTTP paths are placed. Example:
//
-// apis:
-// - name: google.storage.v2.Storage
-// mixins:
-// - name: google.acl.v1.AccessControl
-// root: acls
+// apis:
+// - name: google.storage.v2.Storage
+// mixins:
+// - name: google.acl.v1.AccessControl
+// root: acls
//
// This implies the following inherited HTTP annotation:
//
-// service Storage {
-// // Get the underlying ACL object.
-// rpc GetAcl(GetAclRequest) returns (Acl) {
-// option (google.api.http).get =
+// service Storage {
+// // Get the underlying ACL object.
+// rpc GetAcl(GetAclRequest) returns (Acl) {
+// option (google.api.http).get =
+//
// "/v2/acls/{resource=**}:getAcl";
-// }
-// ...
-// }
+//
+// }
+// ...
+// }
type Mixin struct {
// Name: The fully qualified name of the interface which is included.
Name string `json:"name,omitempty"`
@@ -2805,35 +2834,36 @@ func (s *MonitoredResourceDescriptor) MarshalJSON() ([]byte, error) {
// the
// consumer project.
//
-// monitored_resources:
-// - type: library.googleapis.com/branch
-// labels:
-// - key: /city
-// description: The city where the library branch is located
+// monitored_resources:
+// - type: library.googleapis.com/branch
+// labels:
+// - key: /city
+// description: The city where the library branch is located
+//
// in.
-// - key: /name
-// description: The name of the branch.
+// - key: /name
+// description: The name of the branch.
// metrics:
-// - name: library.googleapis.com/book/returned_count
-// metric_kind: DELTA
-// value_type: INT64
-// labels:
-// - key: /customer_id
-// - name: library.googleapis.com/book/overdue_count
-// metric_kind: GAUGE
-// value_type: INT64
-// labels:
-// - key: /customer_id
+// - name: library.googleapis.com/book/returned_count
+// metric_kind: DELTA
+// value_type: INT64
+// labels:
+// - key: /customer_id
+// - name: library.googleapis.com/book/overdue_count
+// metric_kind: GAUGE
+// value_type: INT64
+// labels:
+// - key: /customer_id
// monitoring:
-// producer_destinations:
-// - monitored_resource: library.googleapis.com/branch
-// metrics:
-// - library.googleapis.com/book/returned_count
-// consumer_destinations:
-// - monitored_resource: library.googleapis.com/branch
-// metrics:
-// - library.googleapis.com/book/returned_count
-// - library.googleapis.com/book/overdue_count
+// producer_destinations:
+// - monitored_resource: library.googleapis.com/branch
+// metrics:
+// - library.googleapis.com/book/returned_count
+// consumer_destinations:
+// - monitored_resource: library.googleapis.com/branch
+// metrics:
+// - library.googleapis.com/book/returned_count
+// - library.googleapis.com/book/overdue_count
type Monitoring struct {
// ConsumerDestinations: Monitoring configurations for sending metrics
// to the consumer project.
@@ -3242,54 +3272,60 @@ func (s *PublishedService) MarshalJSON() ([]byte, error) {
// usage.
//
// The quota configuration works this way:
-// - The service configuration defines a set of metrics.
-// - For API calls, the quota.metric_rules maps methods to metrics with
-// corresponding costs.
-// - The quota.limits defines limits on the metrics, which will be used
+// - The service configuration defines a set of metrics.
+// - For API calls, the quota.metric_rules maps methods to metrics with
+// corresponding costs.
+// - The quota.limits defines limits on the metrics, which will be used
+//
// for
-// quota checks at runtime.
+//
+// quota checks at runtime.
//
// An example quota configuration in yaml format:
//
-// quota:
-// limits:
+// quota:
+// limits:
//
-// - name: apiWriteQpsPerProject
-// metric: library.googleapis.com/write_calls
-// unit: "1/min/{project}" # rate limit for consumer projects
-// values:
-// STANDARD: 10000
+// - name: apiWriteQpsPerProject
+// metric: library.googleapis.com/write_calls
+// unit: "1/min/{project}" # rate limit for consumer projects
+// values:
+// STANDARD: 10000
//
//
-// # The metric rules bind all methods to the read_calls metric,
-// # except for the UpdateBook and DeleteBook methods. These two
+// # The metric rules bind all methods to the read_calls metric,
+// # except for the UpdateBook and DeleteBook methods. These two
+//
// methods
-// # are mapped to the write_calls metric, with the UpdateBook
+//
+// # are mapped to the write_calls metric, with the UpdateBook
+//
// method
-// # consuming at twice rate as the DeleteBook method.
-// metric_rules:
-// - selector: "*"
-// metric_costs:
-// library.googleapis.com/read_calls: 1
-// - selector: google.example.library.v1.LibraryService.UpdateBook
-// metric_costs:
-// library.googleapis.com/write_calls: 2
-// - selector: google.example.library.v1.LibraryService.DeleteBook
-// metric_costs:
-// library.googleapis.com/write_calls: 1
-//
-// Corresponding Metric definition:
-//
-// metrics:
-// - name: library.googleapis.com/read_calls
-// display_name: Read requests
-// metric_kind: DELTA
-// value_type: INT64
-//
-// - name: library.googleapis.com/write_calls
-// display_name: Write requests
-// metric_kind: DELTA
-// value_type: INT64
+//
+// # consuming at twice rate as the DeleteBook method.
+// metric_rules:
+// - selector: "*"
+// metric_costs:
+// library.googleapis.com/read_calls: 1
+// - selector: google.example.library.v1.LibraryService.UpdateBook
+// metric_costs:
+// library.googleapis.com/write_calls: 2
+// - selector: google.example.library.v1.LibraryService.DeleteBook
+// metric_costs:
+// library.googleapis.com/write_calls: 1
+//
+// Corresponding Metric definition:
+//
+// metrics:
+// - name: library.googleapis.com/read_calls
+// display_name: Read requests
+// metric_kind: DELTA
+// value_type: INT64
+//
+// - name: library.googleapis.com/write_calls
+// display_name: Write requests
+// metric_kind: DELTA
+// value_type: INT64
type Quota struct {
// Limits: List of `QuotaLimit` definitions for the service.
Limits []*QuotaLimit `json:"limits,omitempty"`
@@ -3514,21 +3550,21 @@ func (s *SearchServicesResponse) MarshalJSON() ([]byte, error) {
//
// Example:
//
-// type: google.api.Service
-// config_version: 3
-// name: calendar.googleapis.com
-// title: Google Calendar API
-// apis:
-// - name: google.calendar.v3.Calendar
-// authentication:
-// providers:
-// - id: google_calendar_auth
-// jwks_uri: https://www.googleapis.com/oauth2/v1/certs
-// issuer: https://securetoken.google.com
-// rules:
-// - selector: "*"
-// requirements:
-// provider_id: google_calendar_auth
+// type: google.api.Service
+// config_version: 3
+// name: calendar.googleapis.com
+// title: Google Calendar API
+// apis:
+// - name: google.calendar.v3.Calendar
+// authentication:
+// providers:
+// - id: google_calendar_auth
+// jwks_uri: https://www.googleapis.com/oauth2/v1/certs
+// issuer: https://securetoken.google.com
+// rules:
+// - selector: "*"
+// requirements:
+// provider_id: google_calendar_auth
type Service struct {
// Apis: A list of API interfaces exported by this service. Only the
// `name` field
@@ -3806,29 +3842,41 @@ func (s *SourceInfo) MarshalJSON() ([]byte, error) {
//
// - Partial errors. If a service needs to return partial errors to the
// client,
-// it may embed the `Status` in the normal response to indicate the
+//
+// it may embed the `Status` in the normal response to indicate the
+//
// partial
-// errors.
+//
+// errors.
//
// - Workflow errors. A typical workflow has multiple steps. Each step
// may
-// have a `Status` message for error reporting.
+//
+// have a `Status` message for error reporting.
//
// - Batch operations. If a client uses batch request and batch
// response, the
-// `Status` message should be used directly inside batch response,
+//
+// `Status` message should be used directly inside batch response,
+//
// one for
-// each error sub-response.
+//
+// each error sub-response.
//
// - Asynchronous operations. If an API call embeds asynchronous
// operation
-// results in its response, the status of those operations should
+//
+// results in its response, the status of those operations should
+//
// be
-// represented directly using the `Status` message.
+//
+// represented directly using the `Status` message.
//
// - Logging. If some API errors are stored in logs, the message
// `Status` could
-// be used directly after any stripping needed for security/privacy
+//
+// be used directly after any stripping needed for security/privacy
+//
// reasons.
type Status struct {
// Code: The status code, which should be an enum value of
@@ -4174,7 +4222,6 @@ func (s *Usage) MarshalJSON() ([]byte, error) {
//
// NOTE: Under development.
//
-//
// Use this rule to configure unregistered calls for the service.
// Unregistered
// calls are calls that do not contain consumer project
@@ -4189,18 +4236,20 @@ func (s *Usage) MarshalJSON() ([]byte, error) {
// Example of an API that wants to allow unregistered calls for entire
// service.
//
-// usage:
-// rules:
-// - selector: "*"
-// allow_unregistered_calls: true
+// usage:
+// rules:
+// - selector: "*"
+// allow_unregistered_calls: true
//
// Example of a method that wants to allow unregistered calls.
//
-// usage:
-// rules:
-// - selector:
+// usage:
+// rules:
+// - selector:
+//
// "google.example.library.v1.LibraryService.CreateBook"
-// allow_unregistered_calls: true
+//
+// allow_unregistered_calls: true
type UsageRule struct {
// AllowUnregisteredCalls: If true, the selected method allows
// unregistered calls, e.g. calls
diff --git a/sheets/v4/sheets-gen.go b/sheets/v4/sheets-gen.go
index 85874cd1bc4..d32def42b1f 100644
--- a/sheets/v4/sheets-gen.go
+++ b/sheets/v4/sheets-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/sheets/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/sheets/v4"
-// ...
-// ctx := context.Background()
-// sheetsService, err := sheets.NewService(ctx)
+// import "google.golang.org/api/sheets/v4"
+// ...
+// ctx := context.Background()
+// sheetsService, err := sheets.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// sheetsService, err := sheets.NewService(ctx, option.WithScopes(sheets.SpreadsheetsReadonlyScope))
+// sheetsService, err := sheets.NewService(ctx, option.WithScopes(sheets.SpreadsheetsReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// sheetsService, err := sheets.NewService(ctx, option.WithAPIKey("AIza..."))
+// sheetsService, err := sheets.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// sheetsService, err := sheets.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// sheetsService, err := sheets.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package sheets // import "google.golang.org/api/sheets/v4"
@@ -3644,12 +3644,12 @@ func (s *ClearValuesResponse) MarshalJSON() ([]byte, error) {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type Color struct {
// Alpha: The fraction of this color that should be applied to the
@@ -12551,9 +12551,9 @@ type SpreadsheetsSheetsCopyToCall struct {
// CopyTo: Copies a single sheet from a spreadsheet to another
// spreadsheet. Returns the properties of the newly created sheet.
//
-// - sheetId: The ID of the sheet to copy.
-// - spreadsheetId: The ID of the spreadsheet containing the sheet to
-// copy.
+// - sheetId: The ID of the sheet to copy.
+// - spreadsheetId: The ID of the spreadsheet containing the sheet to
+// copy.
func (r *SpreadsheetsSheetsService) CopyTo(spreadsheetId string, sheetId int64, copysheettoanotherspreadsheetrequest *CopySheetToAnotherSpreadsheetRequest) *SpreadsheetsSheetsCopyToCall {
c := &SpreadsheetsSheetsCopyToCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.spreadsheetId = spreadsheetId
@@ -12717,10 +12717,10 @@ type SpreadsheetsValuesAppendCall struct {
// the sheet (column-wise or row-wise), it does not influence what cell
// the data starts being written to.
//
-// - range: The A1 notation (/sheets/api/guides/concepts#cell) of a
-// range to search for a logical table of data. Values are appended
-// after the last row of the table.
-// - spreadsheetId: The ID of the spreadsheet to update.
+// - range: The A1 notation (/sheets/api/guides/concepts#cell) of a
+// range to search for a logical table of data. Values are appended
+// after the last row of the table.
+// - spreadsheetId: The ID of the spreadsheet to update.
func (r *SpreadsheetsValuesService) Append(spreadsheetId string, range_ string, valuerange *ValueRange) *SpreadsheetsValuesAppendCall {
c := &SpreadsheetsValuesAppendCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.spreadsheetId = spreadsheetId
@@ -12742,10 +12742,13 @@ func (c *SpreadsheetsValuesAppendCall) IncludeValuesInResponse(includeValuesInRe
// the input data should be inserted.
//
// Possible values:
-// "OVERWRITE" - The new data overwrites existing data in the areas it
+//
+// "OVERWRITE" - The new data overwrites existing data in the areas it
+//
// is written. (Note: adding data to the end of the sheet will still
// insert new rows or columns so the data can be written.)
-// "INSERT_ROWS" - Rows are inserted for the new data.
+//
+// "INSERT_ROWS" - Rows are inserted for the new data.
func (c *SpreadsheetsValuesAppendCall) InsertDataOption(insertDataOption string) *SpreadsheetsValuesAppendCall {
c.urlParams_.Set("insertDataOption", insertDataOption)
return c
@@ -12758,7 +12761,9 @@ func (c *SpreadsheetsValuesAppendCall) InsertDataOption(insertDataOption string)
// render option is SERIAL_NUMBER.
//
// Possible values:
-// "SERIAL_NUMBER" - Instructs date, time, datetime, and duration
+//
+// "SERIAL_NUMBER" - Instructs date, time, datetime, and duration
+//
// fields to be output as doubles in "serial number" format, as
// popularized by Lotus 1-2-3. The whole number portion of the value
// (left of the decimal) counts the days since December 30th 1899. The
@@ -12767,7 +12772,9 @@ func (c *SpreadsheetsValuesAppendCall) InsertDataOption(insertDataOption string)
// 2.5, 2 because it's 2 days after December 30th 1899, and .5 because
// noon is half a day. February 1st 1900 at 3pm would be 33.625. This
// correctly treats the year 1900 as not a leap year.
-// "FORMATTED_STRING" - Instructs date, time, datetime, and duration
+//
+// "FORMATTED_STRING" - Instructs date, time, datetime, and duration
+//
// fields to be output as strings in their given number format (which
// depends on the spreadsheet locale).
func (c *SpreadsheetsValuesAppendCall) ResponseDateTimeRenderOption(responseDateTimeRenderOption string) *SpreadsheetsValuesAppendCall {
@@ -12780,15 +12787,21 @@ func (c *SpreadsheetsValuesAppendCall) ResponseDateTimeRenderOption(responseDate
// should be rendered. The default render option is FORMATTED_VALUE.
//
// Possible values:
-// "FORMATTED_VALUE" - Values will be calculated & formatted in the
+//
+// "FORMATTED_VALUE" - Values will be calculated & formatted in the
+//
// reply according to the cell's formatting. Formatting is based on the
// spreadsheet's locale, not the requesting user's locale. For example,
// if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then
// `A2` would return "$1.23".
-// "UNFORMATTED_VALUE" - Values will be calculated, but not formatted
+//
+// "UNFORMATTED_VALUE" - Values will be calculated, but not formatted
+//
// in the reply. For example, if `A1` is `1.23` and `A2` is `=A1` and
// formatted as currency, then `A2` would return the number `1.23`.
-// "FORMULA" - Values will not be calculated. The reply will include
+//
+// "FORMULA" - Values will not be calculated. The reply will include
+//
// the formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and
// formatted as currency, then A2 would return "=A1".
func (c *SpreadsheetsValuesAppendCall) ResponseValueRenderOption(responseValueRenderOption string) *SpreadsheetsValuesAppendCall {
@@ -12800,11 +12813,17 @@ func (c *SpreadsheetsValuesAppendCall) ResponseValueRenderOption(responseValueRe
// the input data should be interpreted.
//
// Possible values:
-// "INPUT_VALUE_OPTION_UNSPECIFIED" - Default input value. This value
+//
+// "INPUT_VALUE_OPTION_UNSPECIFIED" - Default input value. This value
+//
// must not be used.
-// "RAW" - The values the user has entered will not be parsed and will
+//
+// "RAW" - The values the user has entered will not be parsed and will
+//
// be stored as-is.
-// "USER_ENTERED" - The values will be parsed as if the user typed
+//
+// "USER_ENTERED" - The values will be parsed as if the user typed
+//
// them into the UI. Numbers will stay as numbers, but strings may be
// converted to numbers, dates, etc. following the same rules that are
// applied when entering text into a cell via the Google Sheets UI.
@@ -13325,7 +13344,9 @@ func (r *SpreadsheetsValuesService) BatchGet(spreadsheetId string) *Spreadsheets
// FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.
//
// Possible values:
-// "SERIAL_NUMBER" - Instructs date, time, datetime, and duration
+//
+// "SERIAL_NUMBER" - Instructs date, time, datetime, and duration
+//
// fields to be output as doubles in "serial number" format, as
// popularized by Lotus 1-2-3. The whole number portion of the value
// (left of the decimal) counts the days since December 30th 1899. The
@@ -13334,7 +13355,9 @@ func (r *SpreadsheetsValuesService) BatchGet(spreadsheetId string) *Spreadsheets
// 2.5, 2 because it's 2 days after December 30th 1899, and .5 because
// noon is half a day. February 1st 1900 at 3pm would be 33.625. This
// correctly treats the year 1900 as not a leap year.
-// "FORMATTED_STRING" - Instructs date, time, datetime, and duration
+//
+// "FORMATTED_STRING" - Instructs date, time, datetime, and duration
+//
// fields to be output as strings in their given number format (which
// depends on the spreadsheet locale).
func (c *SpreadsheetsValuesBatchGetCall) DateTimeRenderOption(dateTimeRenderOption string) *SpreadsheetsValuesBatchGetCall {
@@ -13350,9 +13373,10 @@ func (c *SpreadsheetsValuesBatchGetCall) DateTimeRenderOption(dateTimeRenderOpti
// `[[1,3],[2,4]]`.
//
// Possible values:
-// "DIMENSION_UNSPECIFIED" - The default value, do not use.
-// "ROWS" - Operates on the rows of a sheet.
-// "COLUMNS" - Operates on the columns of a sheet.
+//
+// "DIMENSION_UNSPECIFIED" - The default value, do not use.
+// "ROWS" - Operates on the rows of a sheet.
+// "COLUMNS" - Operates on the columns of a sheet.
func (c *SpreadsheetsValuesBatchGetCall) MajorDimension(majorDimension string) *SpreadsheetsValuesBatchGetCall {
c.urlParams_.Set("majorDimension", majorDimension)
return c
@@ -13371,15 +13395,21 @@ func (c *SpreadsheetsValuesBatchGetCall) Ranges(ranges ...string) *SpreadsheetsV
// option is ValueRenderOption.FORMATTED_VALUE.
//
// Possible values:
-// "FORMATTED_VALUE" - Values will be calculated & formatted in the
+//
+// "FORMATTED_VALUE" - Values will be calculated & formatted in the
+//
// reply according to the cell's formatting. Formatting is based on the
// spreadsheet's locale, not the requesting user's locale. For example,
// if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then
// `A2` would return "$1.23".
-// "UNFORMATTED_VALUE" - Values will be calculated, but not formatted
+//
+// "UNFORMATTED_VALUE" - Values will be calculated, but not formatted
+//
// in the reply. For example, if `A1` is `1.23` and `A2` is `=A1` and
// formatted as currency, then `A2` would return the number `1.23`.
-// "FORMULA" - Values will not be calculated. The reply will include
+//
+// "FORMULA" - Values will not be calculated. The reply will include
+//
// the formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and
// formatted as currency, then A2 would return "=A1".
func (c *SpreadsheetsValuesBatchGetCall) ValueRenderOption(valueRenderOption string) *SpreadsheetsValuesBatchGetCall {
@@ -14020,9 +14050,9 @@ type SpreadsheetsValuesClearCall struct {
// properties of the cell (such as formatting, data validation, etc..)
// are kept.
//
-// - range: The A1 notation or R1C1 notation
-// (/sheets/api/guides/concepts#cell) of the values to clear.
-// - spreadsheetId: The ID of the spreadsheet to update.
+// - range: The A1 notation or R1C1 notation
+// (/sheets/api/guides/concepts#cell) of the values to clear.
+// - spreadsheetId: The ID of the spreadsheet to update.
func (r *SpreadsheetsValuesService) Clear(spreadsheetId string, range_ string, clearvaluesrequest *ClearValuesRequest) *SpreadsheetsValuesClearCall {
c := &SpreadsheetsValuesClearCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.spreadsheetId = spreadsheetId
@@ -14176,10 +14206,10 @@ type SpreadsheetsValuesGetCall struct {
// Get: Returns a range of values from a spreadsheet. The caller must
// specify the spreadsheet ID and a range.
//
-// - range: The A1 notation or R1C1 notation
-// (/sheets/api/guides/concepts#cell) of the range to retrieve values
-// from.
-// - spreadsheetId: The ID of the spreadsheet to retrieve data from.
+// - range: The A1 notation or R1C1 notation
+// (/sheets/api/guides/concepts#cell) of the range to retrieve values
+// from.
+// - spreadsheetId: The ID of the spreadsheet to retrieve data from.
func (r *SpreadsheetsValuesService) Get(spreadsheetId string, range_ string) *SpreadsheetsValuesGetCall {
c := &SpreadsheetsValuesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.spreadsheetId = spreadsheetId
@@ -14193,7 +14223,9 @@ func (r *SpreadsheetsValuesService) Get(spreadsheetId string, range_ string) *Sp
// FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.
//
// Possible values:
-// "SERIAL_NUMBER" - Instructs date, time, datetime, and duration
+//
+// "SERIAL_NUMBER" - Instructs date, time, datetime, and duration
+//
// fields to be output as doubles in "serial number" format, as
// popularized by Lotus 1-2-3. The whole number portion of the value
// (left of the decimal) counts the days since December 30th 1899. The
@@ -14202,7 +14234,9 @@ func (r *SpreadsheetsValuesService) Get(spreadsheetId string, range_ string) *Sp
// 2.5, 2 because it's 2 days after December 30th 1899, and .5 because
// noon is half a day. February 1st 1900 at 3pm would be 33.625. This
// correctly treats the year 1900 as not a leap year.
-// "FORMATTED_STRING" - Instructs date, time, datetime, and duration
+//
+// "FORMATTED_STRING" - Instructs date, time, datetime, and duration
+//
// fields to be output as strings in their given number format (which
// depends on the spreadsheet locale).
func (c *SpreadsheetsValuesGetCall) DateTimeRenderOption(dateTimeRenderOption string) *SpreadsheetsValuesGetCall {
@@ -14218,9 +14252,10 @@ func (c *SpreadsheetsValuesGetCall) DateTimeRenderOption(dateTimeRenderOption st
// `[[1,3],[2,4]]`.
//
// Possible values:
-// "DIMENSION_UNSPECIFIED" - The default value, do not use.
-// "ROWS" - Operates on the rows of a sheet.
-// "COLUMNS" - Operates on the columns of a sheet.
+//
+// "DIMENSION_UNSPECIFIED" - The default value, do not use.
+// "ROWS" - Operates on the rows of a sheet.
+// "COLUMNS" - Operates on the columns of a sheet.
func (c *SpreadsheetsValuesGetCall) MajorDimension(majorDimension string) *SpreadsheetsValuesGetCall {
c.urlParams_.Set("majorDimension", majorDimension)
return c
@@ -14231,15 +14266,21 @@ func (c *SpreadsheetsValuesGetCall) MajorDimension(majorDimension string) *Sprea
// option is FORMATTED_VALUE.
//
// Possible values:
-// "FORMATTED_VALUE" - Values will be calculated & formatted in the
+//
+// "FORMATTED_VALUE" - Values will be calculated & formatted in the
+//
// reply according to the cell's formatting. Formatting is based on the
// spreadsheet's locale, not the requesting user's locale. For example,
// if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then
// `A2` would return "$1.23".
-// "UNFORMATTED_VALUE" - Values will be calculated, but not formatted
+//
+// "UNFORMATTED_VALUE" - Values will be calculated, but not formatted
+//
// in the reply. For example, if `A1` is `1.23` and `A2` is `=A1` and
// formatted as currency, then `A2` would return the number `1.23`.
-// "FORMULA" - Values will not be calculated. The reply will include
+//
+// "FORMULA" - Values will not be calculated. The reply will include
+//
// the formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and
// formatted as currency, then A2 would return "=A1".
func (c *SpreadsheetsValuesGetCall) ValueRenderOption(valueRenderOption string) *SpreadsheetsValuesGetCall {
@@ -14442,9 +14483,9 @@ type SpreadsheetsValuesUpdateCall struct {
// Update: Sets values in a range of a spreadsheet. The caller must
// specify the spreadsheet ID, range, and a valueInputOption.
//
-// - range: The A1 notation (/sheets/api/guides/concepts#cell) of the
-// values to update.
-// - spreadsheetId: The ID of the spreadsheet to update.
+// - range: The A1 notation (/sheets/api/guides/concepts#cell) of the
+// values to update.
+// - spreadsheetId: The ID of the spreadsheet to update.
func (r *SpreadsheetsValuesService) Update(spreadsheetId string, range_ string, valuerange *ValueRange) *SpreadsheetsValuesUpdateCall {
c := &SpreadsheetsValuesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.spreadsheetId = spreadsheetId
@@ -14472,7 +14513,9 @@ func (c *SpreadsheetsValuesUpdateCall) IncludeValuesInResponse(includeValuesInRe
// render option is SERIAL_NUMBER.
//
// Possible values:
-// "SERIAL_NUMBER" - Instructs date, time, datetime, and duration
+//
+// "SERIAL_NUMBER" - Instructs date, time, datetime, and duration
+//
// fields to be output as doubles in "serial number" format, as
// popularized by Lotus 1-2-3. The whole number portion of the value
// (left of the decimal) counts the days since December 30th 1899. The
@@ -14481,7 +14524,9 @@ func (c *SpreadsheetsValuesUpdateCall) IncludeValuesInResponse(includeValuesInRe
// 2.5, 2 because it's 2 days after December 30th 1899, and .5 because
// noon is half a day. February 1st 1900 at 3pm would be 33.625. This
// correctly treats the year 1900 as not a leap year.
-// "FORMATTED_STRING" - Instructs date, time, datetime, and duration
+//
+// "FORMATTED_STRING" - Instructs date, time, datetime, and duration
+//
// fields to be output as strings in their given number format (which
// depends on the spreadsheet locale).
func (c *SpreadsheetsValuesUpdateCall) ResponseDateTimeRenderOption(responseDateTimeRenderOption string) *SpreadsheetsValuesUpdateCall {
@@ -14494,15 +14539,21 @@ func (c *SpreadsheetsValuesUpdateCall) ResponseDateTimeRenderOption(responseDate
// should be rendered. The default render option is FORMATTED_VALUE.
//
// Possible values:
-// "FORMATTED_VALUE" - Values will be calculated & formatted in the
+//
+// "FORMATTED_VALUE" - Values will be calculated & formatted in the
+//
// reply according to the cell's formatting. Formatting is based on the
// spreadsheet's locale, not the requesting user's locale. For example,
// if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then
// `A2` would return "$1.23".
-// "UNFORMATTED_VALUE" - Values will be calculated, but not formatted
+//
+// "UNFORMATTED_VALUE" - Values will be calculated, but not formatted
+//
// in the reply. For example, if `A1` is `1.23` and `A2` is `=A1` and
// formatted as currency, then `A2` would return the number `1.23`.
-// "FORMULA" - Values will not be calculated. The reply will include
+//
+// "FORMULA" - Values will not be calculated. The reply will include
+//
// the formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and
// formatted as currency, then A2 would return "=A1".
func (c *SpreadsheetsValuesUpdateCall) ResponseValueRenderOption(responseValueRenderOption string) *SpreadsheetsValuesUpdateCall {
@@ -14514,11 +14565,17 @@ func (c *SpreadsheetsValuesUpdateCall) ResponseValueRenderOption(responseValueRe
// the input data should be interpreted.
//
// Possible values:
-// "INPUT_VALUE_OPTION_UNSPECIFIED" - Default input value. This value
+//
+// "INPUT_VALUE_OPTION_UNSPECIFIED" - Default input value. This value
+//
// must not be used.
-// "RAW" - The values the user has entered will not be parsed and will
+//
+// "RAW" - The values the user has entered will not be parsed and will
+//
// be stored as-is.
-// "USER_ENTERED" - The values will be parsed as if the user typed
+//
+// "USER_ENTERED" - The values will be parsed as if the user typed
+//
// them into the UI. Numbers will stay as numbers, but strings may be
// converted to numbers, dates, etc. following the same rules that are
// applied when entering text into a cell via the Google Sheets UI.
diff --git a/siteverification/v1/siteverification-gen.go b/siteverification/v1/siteverification-gen.go
index 7ca82a1e45f..0c0a027d8b8 100644
--- a/siteverification/v1/siteverification-gen.go
+++ b/siteverification/v1/siteverification-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/site-verification/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/siteverification/v1"
-// ...
-// ctx := context.Background()
-// siteverificationService, err := siteverification.NewService(ctx)
+// import "google.golang.org/api/siteverification/v1"
+// ...
+// ctx := context.Background()
+// siteverificationService, err := siteverification.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// siteverificationService, err := siteverification.NewService(ctx, option.WithScopes(siteverification.SiteverificationVerifyOnlyScope))
+// siteverificationService, err := siteverification.NewService(ctx, option.WithScopes(siteverification.SiteverificationVerifyOnlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// siteverificationService, err := siteverification.NewService(ctx, option.WithAPIKey("AIza..."))
+// siteverificationService, err := siteverification.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// siteverificationService, err := siteverification.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// siteverificationService, err := siteverification.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package siteverification // import "google.golang.org/api/siteverification/v1"
@@ -748,8 +748,8 @@ type WebResourceInsertCall struct {
// Insert: Attempt verification of a website or domain.
//
-// - verificationMethod: The method to use for verifying a site or
-// domain.
+// - verificationMethod: The method to use for verifying a site or
+// domain.
func (r *WebResourceService) Insert(verificationMethod string, siteverificationwebresourceresource *SiteVerificationWebResourceResource) *WebResourceInsertCall {
c := &WebResourceInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("verificationMethod", verificationMethod)
diff --git a/slides/v1/slides-gen.go b/slides/v1/slides-gen.go
index 4ebb98f204c..e7cbee96671 100644
--- a/slides/v1/slides-gen.go
+++ b/slides/v1/slides-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/slides/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/slides/v1"
-// ...
-// ctx := context.Background()
-// slidesService, err := slides.NewService(ctx)
+// import "google.golang.org/api/slides/v1"
+// ...
+// ctx := context.Background()
+// slidesService, err := slides.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// slidesService, err := slides.NewService(ctx, option.WithScopes(slides.SpreadsheetsReadonlyScope))
+// slidesService, err := slides.NewService(ctx, option.WithScopes(slides.SpreadsheetsReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// slidesService, err := slides.NewService(ctx, option.WithAPIKey("AIza..."))
+// slidesService, err := slides.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// slidesService, err := slides.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// slidesService, err := slides.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package slides // import "google.golang.org/api/slides/v1"
@@ -7784,9 +7784,9 @@ type PresentationsPagesGetThumbnailCall struct {
// image. This request counts as an expensive read request
// (/slides/limits) for quota purposes.
//
-// - pageObjectId: The object ID of the page whose thumbnail to
-// retrieve.
-// - presentationId: The ID of the presentation to retrieve.
+// - pageObjectId: The object ID of the page whose thumbnail to
+// retrieve.
+// - presentationId: The ID of the presentation to retrieve.
func (r *PresentationsPagesService) GetThumbnail(presentationId string, pageObjectId string) *PresentationsPagesGetThumbnailCall {
c := &PresentationsPagesGetThumbnailCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.presentationId = presentationId
@@ -7800,7 +7800,8 @@ func (r *PresentationsPagesService) GetThumbnail(presentationId string, pageObje
// defaults to PNG.
//
// Possible values:
-// "PNG" - The default mime type.
+//
+// "PNG" - The default mime type.
func (c *PresentationsPagesGetThumbnailCall) ThumbnailPropertiesMimeType(thumbnailPropertiesMimeType string) *PresentationsPagesGetThumbnailCall {
c.urlParams_.Set("thumbnailProperties.mimeType", thumbnailPropertiesMimeType)
return c
@@ -7812,12 +7813,15 @@ func (c *PresentationsPagesGetThumbnailCall) ThumbnailPropertiesMimeType(thumbna
// size of the image.
//
// Possible values:
-// "THUMBNAIL_SIZE_UNSPECIFIED" - The default thumbnail image size.
+//
+// "THUMBNAIL_SIZE_UNSPECIFIED" - The default thumbnail image size.
+//
// The unspecified thumbnail size implies that the server chooses the
// size of the image in a way that might vary in the future.
-// "LARGE" - The thumbnail image width of 1600px.
-// "MEDIUM" - The thumbnail image width of 800px.
-// "SMALL" - The thumbnail image width of 200px.
+//
+// "LARGE" - The thumbnail image width of 1600px.
+// "MEDIUM" - The thumbnail image width of 800px.
+// "SMALL" - The thumbnail image width of 200px.
func (c *PresentationsPagesGetThumbnailCall) ThumbnailPropertiesThumbnailSize(thumbnailPropertiesThumbnailSize string) *PresentationsPagesGetThumbnailCall {
c.urlParams_.Set("thumbnailProperties.thumbnailSize", thumbnailPropertiesThumbnailSize)
return c
diff --git a/smartdevicemanagement/v1/smartdevicemanagement-gen.go b/smartdevicemanagement/v1/smartdevicemanagement-gen.go
index 52d3a1949eb..d7ed8547f36 100644
--- a/smartdevicemanagement/v1/smartdevicemanagement-gen.go
+++ b/smartdevicemanagement/v1/smartdevicemanagement-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/nest/device-access
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/smartdevicemanagement/v1"
-// ...
-// ctx := context.Background()
-// smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx)
+// import "google.golang.org/api/smartdevicemanagement/v1"
+// ...
+// ctx := context.Background()
+// smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx, option.WithScopes(smartdevicemanagement.SdmThermostatServiceScope))
+// smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx, option.WithScopes(smartdevicemanagement.SdmThermostatServiceScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx, option.WithAPIKey("AIza..."))
+// smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package smartdevicemanagement // import "google.golang.org/api/smartdevicemanagement/v1"
@@ -538,8 +538,8 @@ type EnterprisesDevicesExecuteCommandCall struct {
// ExecuteCommand: Executes a command to device managed by the
// enterprise.
//
-// - name: The name of the device requested. For example:
-// "enterprises/XYZ/devices/123".
+// - name: The name of the device requested. For example:
+// "enterprises/XYZ/devices/123".
func (r *EnterprisesDevicesService) ExecuteCommand(name string, googlehomeenterprisesdmv1executedevicecommandrequest *GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest) *EnterprisesDevicesExecuteCommandCall {
c := &EnterprisesDevicesExecuteCommandCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -684,8 +684,8 @@ type EnterprisesDevicesGetCall struct {
// Get: Gets a device managed by the enterprise.
//
-// - name: The name of the device requested. For example:
-// "enterprises/XYZ/devices/123".
+// - name: The name of the device requested. For example:
+// "enterprises/XYZ/devices/123".
func (r *EnterprisesDevicesService) Get(name string) *EnterprisesDevicesGetCall {
c := &EnterprisesDevicesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -832,8 +832,8 @@ type EnterprisesDevicesListCall struct {
// List: Lists devices managed by the enterprise.
//
-// - parent: The parent enterprise to list devices under. E.g.
-// "enterprises/XYZ".
+// - parent: The parent enterprise to list devices under. E.g.
+// "enterprises/XYZ".
func (r *EnterprisesDevicesService) List(parent string) *EnterprisesDevicesListCall {
c := &EnterprisesDevicesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1042,8 +1042,8 @@ type EnterprisesStructuresGetCall struct {
// Get: Gets a structure managed by the enterprise.
//
-// - name: The name of the structure requested. For example:
-// "enterprises/XYZ/structures/ABC".
+// - name: The name of the structure requested. For example:
+// "enterprises/XYZ/structures/ABC".
func (r *EnterprisesStructuresService) Get(name string) *EnterprisesStructuresGetCall {
c := &EnterprisesStructuresGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1191,8 +1191,8 @@ type EnterprisesStructuresListCall struct {
// List: Lists structures managed by the enterprise.
//
-// - parent: The parent enterprise to list structures under. E.g.
-// "enterprises/XYZ".
+// - parent: The parent enterprise to list structures under. E.g.
+// "enterprises/XYZ".
func (r *EnterprisesStructuresService) List(parent string) *EnterprisesStructuresListCall {
c := &EnterprisesStructuresListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1287,7 +1287,9 @@ func (c *EnterprisesStructuresListCall) doRequest(alt string) (*http.Response, e
// error will be non-nil. Any non-2xx status code is an error. Response
// headers are in either
// *GoogleHomeEnterpriseSdmV1ListStructuresResponse.ServerResponse.Header
-// or (if a response was returned at all) in
+//
+// or (if a response was returned at all) in
+//
// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
// whether the returned error was because http.StatusNotModified was
// returned.
@@ -1400,8 +1402,8 @@ type EnterprisesStructuresRoomsGetCall struct {
// Get: Gets a room managed by the enterprise.
//
-// - name: The name of the room requested. For example:
-// "enterprises/XYZ/structures/ABC/rooms/123".
+// - name: The name of the room requested. For example:
+// "enterprises/XYZ/structures/ABC/rooms/123".
func (r *EnterprisesStructuresRoomsService) Get(name string) *EnterprisesStructuresRoomsGetCall {
c := &EnterprisesStructuresRoomsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1548,8 +1550,8 @@ type EnterprisesStructuresRoomsListCall struct {
// List: Lists rooms managed by the enterprise.
//
-// - parent: The parent resource name of the rooms requested. For
-// example: "enterprises/XYZ/structures/ABC".
+// - parent: The parent resource name of the rooms requested. For
+// example: "enterprises/XYZ/structures/ABC".
func (r *EnterprisesStructuresRoomsService) List(parent string) *EnterprisesStructuresRoomsListCall {
c := &EnterprisesStructuresRoomsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/sourcerepo/v1/sourcerepo-gen.go b/sourcerepo/v1/sourcerepo-gen.go
index 42434125769..b03d78cc991 100644
--- a/sourcerepo/v1/sourcerepo-gen.go
+++ b/sourcerepo/v1/sourcerepo-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/source-repositories/docs/apis
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/sourcerepo/v1"
-// ...
-// ctx := context.Background()
-// sourcerepoService, err := sourcerepo.NewService(ctx)
+// import "google.golang.org/api/sourcerepo/v1"
+// ...
+// ctx := context.Background()
+// sourcerepoService, err := sourcerepo.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// sourcerepoService, err := sourcerepo.NewService(ctx, option.WithScopes(sourcerepo.SourceReadWriteScope))
+// sourcerepoService, err := sourcerepo.NewService(ctx, option.WithScopes(sourcerepo.SourceReadWriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// sourcerepoService, err := sourcerepo.NewService(ctx, option.WithAPIKey("AIza..."))
+// sourcerepoService, err := sourcerepo.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// sourcerepoService, err := sourcerepo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// sourcerepoService, err := sourcerepo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package sourcerepo // import "google.golang.org/api/sourcerepo/v1"
@@ -1078,8 +1078,8 @@ type ProjectsGetConfigCall struct {
// GetConfig: Returns the Cloud Source Repositories configuration of the
// project.
//
-// - name: The name of the requested project. Values are of the form
-// `projects/`.
+// - name: The name of the requested project. Values are of the form
+// `projects/`.
func (r *ProjectsService) GetConfig(name string) *ProjectsGetConfigCall {
c := &ProjectsGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1226,8 +1226,8 @@ type ProjectsUpdateConfigCall struct {
// UpdateConfig: Updates the Cloud Source Repositories configuration of
// the project.
//
-// - name: The name of the requested project. Values are of the form
-// `projects/`.
+// - name: The name of the requested project. Values are of the form
+// `projects/`.
func (r *ProjectsService) UpdateConfig(name string, updateprojectconfigrequest *UpdateProjectConfigRequest) *ProjectsUpdateConfigCall {
c := &ProjectsUpdateConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1371,8 +1371,8 @@ type ProjectsReposCreateCall struct {
// the named repository already exists, `CreateRepo` returns
// `ALREADY_EXISTS`.
//
-// - parent: The project in which to create the repo. Values are of the
-// form `projects/`.
+// - parent: The project in which to create the repo. Values are of the
+// form `projects/`.
func (r *ProjectsReposService) Create(parent string, repo *Repo) *ProjectsReposCreateCall {
c := &ProjectsReposCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1514,8 +1514,8 @@ type ProjectsReposDeleteCall struct {
// Delete: Deletes a repo.
//
-// - name: The name of the repo to delete. Values are of the form
-// `projects//repos/`.
+// - name: The name of the repo to delete. Values are of the form
+// `projects//repos/`.
func (r *ProjectsReposService) Delete(name string) *ProjectsReposDeleteCall {
c := &ProjectsReposDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1649,8 +1649,8 @@ type ProjectsReposGetCall struct {
// Get: Returns information about a repo.
//
-// - name: The name of the requested repository. Values are of the form
-// `projects//repos/`.
+// - name: The name of the requested repository. Values are of the form
+// `projects//repos/`.
func (r *ProjectsReposService) Get(name string) *ProjectsReposGetCall {
c := &ProjectsReposGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1801,10 +1801,10 @@ type ProjectsReposGetIamPolicyCall struct {
// an empty policy if the resource exists and does not have a policy
// set.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsReposService) GetIamPolicy(resource string) *ProjectsReposGetIamPolicyCall {
c := &ProjectsReposGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -1979,8 +1979,8 @@ type ProjectsReposListCall struct {
// repos are not set by ListRepos. To get the size of a repo, use
// GetRepo.
//
-// - name: The project ID whose repos should be listed. Values are of
-// the form `projects/`.
+// - name: The project ID whose repos should be listed. Values are of
+// the form `projects/`.
func (r *ProjectsReposService) List(name string) *ProjectsReposListCall {
c := &ProjectsReposListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2178,8 +2178,8 @@ type ProjectsReposPatchCall struct {
// Patch: Updates information about a repo.
//
-// - name: The name of the requested repository. Values are of the form
-// `projects//repos/`.
+// - name: The name of the requested repository. Values are of the form
+// `projects//repos/`.
func (r *ProjectsReposService) Patch(name string, updatereporequest *UpdateRepoRequest) *ProjectsReposPatchCall {
c := &ProjectsReposPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2322,10 +2322,10 @@ type ProjectsReposSetIamPolicyCall struct {
// SetIamPolicy: Sets the access control policy on the specified
// resource. Replaces any existing policy.
//
-// - resource: REQUIRED: The resource for which the policy is being
-// specified. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy is being
+// specified. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsReposService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsReposSetIamPolicyCall {
c := &ProjectsReposSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -2469,8 +2469,8 @@ type ProjectsReposSyncCall struct {
// Sync: Synchronize a connected repo. The response contains
// SyncRepoMetadata in the metadata field.
//
-// - name: The name of the repo to synchronize. Values are of the form
-// `projects//repos/`.
+// - name: The name of the repo to synchronize. Values are of the form
+// `projects//repos/`.
func (r *ProjectsReposService) Sync(name string, syncreporequest *SyncRepoRequest) *ProjectsReposSyncCall {
c := &ProjectsReposSyncCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2614,10 +2614,10 @@ type ProjectsReposTestIamPermissionsCall struct {
// specified resource. If the resource does not exist, this will return
// an empty set of permissions, not a NOT_FOUND error.
//
-// - resource: REQUIRED: The resource for which the policy detail is
-// being requested. See Resource names
-// (https://cloud.google.com/apis/design/resource_names) for the
-// appropriate value for this field.
+// - resource: REQUIRED: The resource for which the policy detail is
+// being requested. See Resource names
+// (https://cloud.google.com/apis/design/resource_names) for the
+// appropriate value for this field.
func (r *ProjectsReposService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsReposTestIamPermissionsCall {
c := &ProjectsReposTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
diff --git a/spanner/v1/spanner-gen.go b/spanner/v1/spanner-gen.go
index f0055570131..dbcd42efe09 100644
--- a/spanner/v1/spanner-gen.go
+++ b/spanner/v1/spanner-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/spanner/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/spanner/v1"
-// ...
-// ctx := context.Background()
-// spannerService, err := spanner.NewService(ctx)
+// import "google.golang.org/api/spanner/v1"
+// ...
+// ctx := context.Background()
+// spannerService, err := spanner.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// spannerService, err := spanner.NewService(ctx, option.WithScopes(spanner.SpannerDataScope))
+// spannerService, err := spanner.NewService(ctx, option.WithScopes(spanner.SpannerDataScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// spannerService, err := spanner.NewService(ctx, option.WithAPIKey("AIza..."))
+// spannerService, err := spanner.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// spannerService, err := spanner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// spannerService, err := spanner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package spanner // import "google.golang.org/api/spanner/v1"
@@ -5685,8 +5685,8 @@ type ProjectsInstanceConfigsGetCall struct {
// Get: Gets information about a particular instance configuration.
//
-// - name: The name of the requested instance configuration. Values are
-// of the form `projects//instanceConfigs/`.
+// - name: The name of the requested instance configuration. Values are
+// of the form `projects//instanceConfigs/`.
func (r *ProjectsInstanceConfigsService) Get(name string) *ProjectsInstanceConfigsGetCall {
c := &ProjectsInstanceConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5834,9 +5834,9 @@ type ProjectsInstanceConfigsListCall struct {
// List: Lists the supported instance configurations for a given
// project.
//
-// - parent: The name of the project for which a list of supported
-// instance configurations is requested. Values are of the form
-// `projects/`.
+// - parent: The name of the project for which a list of supported
+// instance configurations is requested. Values are of the form
+// `projects/`.
func (r *ProjectsInstanceConfigsService) List(parent string) *ProjectsInstanceConfigsListCall {
c := &ProjectsInstanceConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6690,8 +6690,8 @@ type ProjectsInstancesCreateCall struct {
// type is CreateInstanceMetadata. The response field type is Instance,
// if successful.
//
-// - parent: The name of the project in which to create the instance.
-// Values are of the form `projects/`.
+// - parent: The name of the project in which to create the instance.
+// Values are of the form `projects/`.
func (r *ProjectsInstancesService) Create(parent string, createinstancerequest *CreateInstanceRequest) *ProjectsInstancesCreateCall {
c := &ProjectsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6837,8 +6837,8 @@ type ProjectsInstancesDeleteCall struct {
// immediately and irrevocably disappear from the API. All data in the
// databases is permanently deleted.
//
-// - name: The name of the instance to be deleted. Values are of the
-// form `projects//instances/`.
+// - name: The name of the instance to be deleted. Values are of the
+// form `projects//instances/`.
func (r *ProjectsInstancesService) Delete(name string) *ProjectsInstancesDeleteCall {
c := &ProjectsInstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6972,8 +6972,8 @@ type ProjectsInstancesGetCall struct {
// Get: Gets information about a particular instance.
//
-// - name: The name of the requested instance. Values are of the form
-// `projects//instances/`.
+// - name: The name of the requested instance. Values are of the form
+// `projects//instances/`.
func (r *ProjectsInstancesService) Get(name string) *ProjectsInstancesGetCall {
c := &ProjectsInstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7137,10 +7137,10 @@ type ProjectsInstancesGetIamPolicyCall struct {
// have a policy set. Authorization requires
// `spanner.instances.getIamPolicy` on resource.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which the policy
-// is being retrieved. The format is `projects//instances/` for
-// instance resources and `projects//instances//databases/` for
-// database resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which the policy
+// is being retrieved. The format is `projects//instances/` for
+// instance resources and `projects//instances//databases/` for
+// database resources.
func (r *ProjectsInstancesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsInstancesGetIamPolicyCall {
c := &ProjectsInstancesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7283,8 +7283,8 @@ type ProjectsInstancesListCall struct {
// List: Lists all instances in the given project.
//
-// - parent: The name of the project for which a list of instances is
-// requested. Values are of the form `projects/`.
+// - parent: The name of the project for which a list of instances is
+// requested. Values are of the form `projects/`.
func (r *ProjectsInstancesService) List(parent string) *ProjectsInstancesListCall {
c := &ProjectsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7538,10 +7538,10 @@ type ProjectsInstancesPatchCall struct {
// successful. Authorization requires `spanner.instances.update`
// permission on the resource name.
//
-// - name: A unique identifier for the instance, which cannot be changed
-// after the instance is created. Values are of the form
-// `projects//instances/a-z*[a-z0-9]`. The final segment of the name
-// must be between 2 and 64 characters in length.
+// - name: A unique identifier for the instance, which cannot be changed
+// after the instance is created. Values are of the form
+// `projects//instances/a-z*[a-z0-9]`. The final segment of the name
+// must be between 2 and 64 characters in length.
func (r *ProjectsInstancesService) Patch(nameid string, updateinstancerequest *UpdateInstanceRequest) *ProjectsInstancesPatchCall {
c := &ProjectsInstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -7686,10 +7686,10 @@ type ProjectsInstancesSetIamPolicyCall struct {
// Replaces any existing policy. Authorization requires
// `spanner.instances.setIamPolicy` on resource.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which the policy
-// is being set. The format is `projects//instances/` for instance
-// resources and `projects//instances//databases/` for databases
-// resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which the policy
+// is being set. The format is `projects//instances/` for instance
+// resources and `projects//instances//databases/` for databases
+// resources.
func (r *ProjectsInstancesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsInstancesSetIamPolicyCall {
c := &ProjectsInstancesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7836,10 +7836,10 @@ type ProjectsInstancesTestIamPermissionsCall struct {
// the user has `spanner.instances.list` permission on the containing
// Google Cloud Project. Otherwise returns an empty set of permissions.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which
-// permissions are being tested. The format is `projects//instances/`
-// for instance resources and `projects//instances//databases/` for
-// database resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which
+// permissions are being tested. The format is `projects//instances/`
+// for instance resources and `projects//instances//databases/` for
+// database resources.
func (r *ProjectsInstancesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsInstancesTestIamPermissionsCall {
c := &ProjectsInstancesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -7990,8 +7990,8 @@ type ProjectsInstancesBackupOperationsListCall struct {
// `operation.metadata.value.progress.start_time` in descending order
// starting from the most recently started operation.
//
-// - parent: The instance of the backup operations. Values are of the
-// form `projects//instances/`.
+// - parent: The instance of the backup operations. Values are of the
+// form `projects//instances/`.
func (r *ProjectsInstancesBackupOperationsService) List(parent string) *ProjectsInstancesBackupOperationsListCall {
c := &ProjectsInstancesBackupOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8253,8 +8253,8 @@ type ProjectsInstancesBackupsCopyCall struct {
// returned operation will stop the copying and delete the backup.
// Concurrent CopyBackup requests can run on the same source backup.
//
-// - parent: The name of the destination instance that will contain the
-// backup copy. Values are of the form: `projects//instances/`.
+// - parent: The name of the destination instance that will contain the
+// backup copy. Values are of the form: `projects//instances/`.
func (r *ProjectsInstancesBackupsService) Copy(parent string, copybackuprequest *CopyBackupRequest) *ProjectsInstancesBackupsCopyCall {
c := &ProjectsInstancesBackupsCopyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8405,11 +8405,11 @@ type ProjectsInstancesBackupsCreateCall struct {
// per database. Backup creation of different databases can run
// concurrently.
//
-// - parent: The name of the instance in which the backup will be
-// created. This must be the same instance that contains the database
-// the backup will be created from. The backup will be stored in the
-// location(s) specified in the instance configuration of this
-// instance. Values are of the form `projects//instances/`.
+// - parent: The name of the instance in which the backup will be
+// created. This must be the same instance that contains the database
+// the backup will be created from. The backup will be stored in the
+// location(s) specified in the instance configuration of this
+// instance. Values are of the form `projects//instances/`.
func (r *ProjectsInstancesBackupsService) Create(parent string, backup *Backup) *ProjectsInstancesBackupsCreateCall {
c := &ProjectsInstancesBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8430,14 +8430,18 @@ func (c *ProjectsInstancesBackupsCreateCall) BackupId(backupId string) *Projects
// the backup.
//
// Possible values:
-// "ENCRYPTION_TYPE_UNSPECIFIED" - Unspecified. Do not use.
-// "USE_DATABASE_ENCRYPTION" - Use the same encryption configuration
+//
+// "ENCRYPTION_TYPE_UNSPECIFIED" - Unspecified. Do not use.
+// "USE_DATABASE_ENCRYPTION" - Use the same encryption configuration
+//
// as the database. This is the default option when encryption_config is
// empty. For example, if the database is using
// `Customer_Managed_Encryption`, the backup will be using the same
// Cloud KMS key as the database.
-// "GOOGLE_DEFAULT_ENCRYPTION" - Use Google default encryption.
-// "CUSTOMER_MANAGED_ENCRYPTION" - Use customer managed encryption. If
+//
+// "GOOGLE_DEFAULT_ENCRYPTION" - Use Google default encryption.
+// "CUSTOMER_MANAGED_ENCRYPTION" - Use customer managed encryption. If
+//
// specified, `kms_key_name` must contain a valid Cloud KMS key.
func (c *ProjectsInstancesBackupsCreateCall) EncryptionConfigEncryptionType(encryptionConfigEncryptionType string) *ProjectsInstancesBackupsCreateCall {
c.urlParams_.Set("encryptionConfig.encryptionType", encryptionConfigEncryptionType)
@@ -8615,8 +8619,8 @@ type ProjectsInstancesBackupsDeleteCall struct {
// Delete: Deletes a pending or completed Backup.
//
-// - name: Name of the backup to delete. Values are of the form
-// `projects//instances//backups/`.
+// - name: Name of the backup to delete. Values are of the form
+// `projects//instances//backups/`.
func (r *ProjectsInstancesBackupsService) Delete(name string) *ProjectsInstancesBackupsDeleteCall {
c := &ProjectsInstancesBackupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8750,8 +8754,8 @@ type ProjectsInstancesBackupsGetCall struct {
// Get: Gets metadata on a pending or completed Backup.
//
-// - name: Name of the backup. Values are of the form
-// `projects//instances//backups/`.
+// - name: Name of the backup. Values are of the form
+// `projects//instances//backups/`.
func (r *ProjectsInstancesBackupsService) Get(name string) *ProjectsInstancesBackupsGetCall {
c := &ProjectsInstancesBackupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -8903,10 +8907,10 @@ type ProjectsInstancesBackupsGetIamPolicyCall struct {
// authorization requires `spanner.backups.getIamPolicy` permission on
// resource.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which the policy
-// is being retrieved. The format is `projects//instances/` for
-// instance resources and `projects//instances//databases/` for
-// database resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which the policy
+// is being retrieved. The format is `projects//instances/` for
+// instance resources and `projects//instances//databases/` for
+// database resources.
func (r *ProjectsInstancesBackupsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsInstancesBackupsGetIamPolicyCall {
c := &ProjectsInstancesBackupsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9051,8 +9055,8 @@ type ProjectsInstancesBackupsListCall struct {
// ordered by `create_time` in descending order, starting from the most
// recent `create_time`.
//
-// - parent: The instance to list backups from. Values are of the form
-// `projects//instances/`.
+// - parent: The instance to list backups from. Values are of the form
+// `projects//instances/`.
func (r *ProjectsInstancesBackupsService) List(parent string) *ProjectsInstancesBackupsListCall {
c := &ProjectsInstancesBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9281,14 +9285,14 @@ type ProjectsInstancesBackupsPatchCall struct {
// Patch: Updates a pending or completed Backup.
//
-// - name: Output only for the CreateBackup operation. Required for the
-// UpdateBackup operation. A globally unique identifier for the backup
-// which cannot be changed. Values are of the form
-// `projects//instances//backups/a-z*[a-z0-9]` The final segment of
-// the name must be between 2 and 60 characters in length. The backup
-// is stored in the location(s) specified in the instance
-// configuration of the instance containing the backup, identified by
-// the prefix of the backup name of the form `projects//instances/`.
+// - name: Output only for the CreateBackup operation. Required for the
+// UpdateBackup operation. A globally unique identifier for the backup
+// which cannot be changed. Values are of the form
+// `projects//instances//backups/a-z*[a-z0-9]` The final segment of
+// the name must be between 2 and 60 characters in length. The backup
+// is stored in the location(s) specified in the instance
+// configuration of the instance containing the backup, identified by
+// the prefix of the backup name of the form `projects//instances/`.
func (r *ProjectsInstancesBackupsService) Patch(nameid string, backup *Backup) *ProjectsInstancesBackupsPatchCall {
c := &ProjectsInstancesBackupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.nameid = nameid
@@ -9452,10 +9456,10 @@ type ProjectsInstancesBackupsSetIamPolicyCall struct {
// authorization requires `spanner.backups.setIamPolicy` permission on
// resource.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which the policy
-// is being set. The format is `projects//instances/` for instance
-// resources and `projects//instances//databases/` for databases
-// resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which the policy
+// is being set. The format is `projects//instances/` for instance
+// resources and `projects//instances//databases/` for databases
+// resources.
func (r *ProjectsInstancesBackupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsInstancesBackupsSetIamPolicyCall {
c := &ProjectsInstancesBackupsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -9605,10 +9609,10 @@ type ProjectsInstancesBackupsTestIamPermissionsCall struct {
// result in a NOT_FOUND error if the user has `spanner.backups.list`
// permission on the containing instance.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which
-// permissions are being tested. The format is `projects//instances/`
-// for instance resources and `projects//instances//databases/` for
-// database resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which
+// permissions are being tested. The format is `projects//instances/`
+// for instance resources and `projects//instances//databases/` for
+// database resources.
func (r *ProjectsInstancesBackupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsInstancesBackupsTestIamPermissionsCall {
c := &ProjectsInstancesBackupsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -10397,8 +10401,8 @@ type ProjectsInstancesDatabaseOperationsListCall struct {
// that have completed/failed/canceled within the last 7 days, and
// pending operations.
//
-// - parent: The instance of the database operations. Values are of the
-// form `projects//instances/`.
+// - parent: The instance of the database operations. Values are of the
+// form `projects//instances/`.
func (r *ProjectsInstancesDatabaseOperationsService) List(parent string) *ProjectsInstancesDatabaseOperationsListCall {
c := &ProjectsInstancesDatabaseOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10639,8 +10643,8 @@ type ProjectsInstancesDatabasesCreateCall struct {
// database. The metadata field type is CreateDatabaseMetadata. The
// response field type is Database, if successful.
//
-// - parent: The name of the instance that will serve the new database.
-// Values are of the form `projects//instances/`.
+// - parent: The name of the instance that will serve the new database.
+// Values are of the form `projects//instances/`.
func (r *ProjectsInstancesDatabasesService) Create(parent string, createdatabaserequest *CreateDatabaseRequest) *ProjectsInstancesDatabasesCreateCall {
c := &ProjectsInstancesDatabasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10919,8 +10923,8 @@ type ProjectsInstancesDatabasesGetCall struct {
// Get: Gets the state of a Cloud Spanner database.
//
-// - name: The name of the requested database. Values are of the form
-// `projects//instances//databases/`.
+// - name: The name of the requested database. Values are of the form
+// `projects//instances//databases/`.
func (r *ProjectsInstancesDatabasesService) Get(name string) *ProjectsInstancesDatabasesGetCall {
c := &ProjectsInstancesDatabasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11069,8 +11073,8 @@ type ProjectsInstancesDatabasesGetDdlCall struct {
// formatted DDL statements. This method does not show pending schema
// updates, those may be queried using the Operations API.
//
-// - database: The database whose schema we wish to get. Values are of
-// the form `projects//instances//databases/`.
+// - database: The database whose schema we wish to get. Values are of
+// the form `projects//instances//databases/`.
func (r *ProjectsInstancesDatabasesService) GetDdl(database string) *ProjectsInstancesDatabasesGetDdlCall {
c := &ProjectsInstancesDatabasesGetDdlCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.database = database
@@ -11222,10 +11226,10 @@ type ProjectsInstancesDatabasesGetIamPolicyCall struct {
// authorization requires `spanner.backups.getIamPolicy` permission on
// resource.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which the policy
-// is being retrieved. The format is `projects//instances/` for
-// instance resources and `projects//instances//databases/` for
-// database resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which the policy
+// is being retrieved. The format is `projects//instances/` for
+// instance resources and `projects//instances//databases/` for
+// database resources.
func (r *ProjectsInstancesDatabasesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsInstancesDatabasesGetIamPolicyCall {
c := &ProjectsInstancesDatabasesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -11369,9 +11373,9 @@ type ProjectsInstancesDatabasesGetScansCall struct {
// GetScans: Request a specific scan with Database-specific data for
// Cloud Key Visualizer.
//
-// - name: The unique name of the scan containing the requested
-// information, specific to the Database service implementing this
-// interface.
+// - name: The unique name of the scan containing the requested
+// information, specific to the Database service implementing this
+// interface.
func (r *ProjectsInstancesDatabasesService) GetScans(name string) *ProjectsInstancesDatabasesGetScansCall {
c := &ProjectsInstancesDatabasesGetScansCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -11401,12 +11405,16 @@ func (c *ProjectsInstancesDatabasesGetScansCall) StartTime(startTime string) *Pr
// the FULL view is assumed.
//
// Possible values:
-// "VIEW_UNSPECIFIED" - Not specified, equivalent to SUMMARY.
-// "SUMMARY" - Server responses only include `name`, `details`,
+//
+// "VIEW_UNSPECIFIED" - Not specified, equivalent to SUMMARY.
+// "SUMMARY" - Server responses only include `name`, `details`,
+//
// `start_time` and `end_time`. The default value. Note, the ListScans
// method may only use this view type, others view types are not
// supported.
-// "FULL" - Full representation of the scan is returned in the server
+//
+// "FULL" - Full representation of the scan is returned in the server
+//
// response, including `data`.
func (c *ProjectsInstancesDatabasesGetScansCall) View(view string) *ProjectsInstancesDatabasesGetScansCall {
c.urlParams_.Set("view", view)
@@ -11580,8 +11588,8 @@ type ProjectsInstancesDatabasesListCall struct {
// List: Lists Cloud Spanner databases.
//
-// - parent: The instance whose databases should be listed. Values are
-// of the form `projects//instances/`.
+// - parent: The instance whose databases should be listed. Values are
+// of the form `projects//instances/`.
func (r *ProjectsInstancesDatabasesService) List(parent string) *ProjectsInstancesDatabasesListCall {
c := &ProjectsInstancesDatabasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11788,10 +11796,10 @@ type ProjectsInstancesDatabasesRestoreCall struct {
// for the optimize operation associated with the first restore to
// complete.
//
-// - parent: The name of the instance in which to create the restored
-// database. This instance must be in the same project and have the
-// same instance configuration as the instance containing the source
-// backup. Values are of the form `projects//instances/`.
+// - parent: The name of the instance in which to create the restored
+// database. This instance must be in the same project and have the
+// same instance configuration as the instance containing the source
+// backup. Values are of the form `projects//instances/`.
func (r *ProjectsInstancesDatabasesService) Restore(parent string, restoredatabaserequest *RestoreDatabaseRequest) *ProjectsInstancesDatabasesRestoreCall {
c := &ProjectsInstancesDatabasesRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11938,10 +11946,10 @@ type ProjectsInstancesDatabasesSetIamPolicyCall struct {
// authorization requires `spanner.backups.setIamPolicy` permission on
// resource.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which the policy
-// is being set. The format is `projects//instances/` for instance
-// resources and `projects//instances//databases/` for databases
-// resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which the policy
+// is being set. The format is `projects//instances/` for instance
+// resources and `projects//instances//databases/` for databases
+// resources.
func (r *ProjectsInstancesDatabasesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsInstancesDatabasesSetIamPolicyCall {
c := &ProjectsInstancesDatabasesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -12091,10 +12099,10 @@ type ProjectsInstancesDatabasesTestIamPermissionsCall struct {
// result in a NOT_FOUND error if the user has `spanner.backups.list`
// permission on the containing instance.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which
-// permissions are being tested. The format is `projects//instances/`
-// for instance resources and `projects//instances//databases/` for
-// database resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which
+// permissions are being tested. The format is `projects//instances/`
+// for instance resources and `projects//instances//databases/` for
+// database resources.
func (r *ProjectsInstancesDatabasesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsInstancesDatabasesTestIamPermissionsCall {
c := &ProjectsInstancesDatabasesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -12385,8 +12393,8 @@ type ProjectsInstancesDatabasesDatabaseRolesListCall struct {
// List: Lists Cloud Spanner database roles.
//
-// - parent: The database whose roles should be listed. Values are of
-// the form `projects//instances//databases//databaseRoles`.
+// - parent: The database whose roles should be listed. Values are of
+// the form `projects//instances//databases//databaseRoles`.
func (r *ProjectsInstancesDatabasesDatabaseRolesService) List(parent string) *ProjectsInstancesDatabasesDatabaseRolesListCall {
c := &ProjectsInstancesDatabasesDatabaseRolesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12588,10 +12596,10 @@ type ProjectsInstancesDatabasesDatabaseRolesTestIamPermissionsCall struct {
// result in a NOT_FOUND error if the user has `spanner.backups.list`
// permission on the containing instance.
//
-// - resource: REQUIRED: The Cloud Spanner resource for which
-// permissions are being tested. The format is `projects//instances/`
-// for instance resources and `projects//instances//databases/` for
-// database resources.
+// - resource: REQUIRED: The Cloud Spanner resource for which
+// permissions are being tested. The format is `projects//instances/`
+// for instance resources and `projects//instances//databases/` for
+// database resources.
func (r *ProjectsInstancesDatabasesDatabaseRolesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsInstancesDatabasesDatabaseRolesTestIamPermissionsCall {
c := &ProjectsInstancesDatabasesDatabaseRolesTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.resource = resource
@@ -13676,8 +13684,8 @@ type ProjectsInstancesDatabasesSessionsCommitCall struct {
// that you perform another read from the database to see the state of
// things as they are now.
//
-// - session: The session in which the transaction to be committed is
-// running.
+// - session: The session in which the transaction to be committed is
+// running.
func (r *ProjectsInstancesDatabasesSessionsService) Commit(session string, commitrequest *CommitRequest) *ProjectsInstancesDatabasesSessionsCommitCall {
c := &ProjectsInstancesDatabasesSessionsCommitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.session = session
@@ -14118,8 +14126,8 @@ type ProjectsInstancesDatabasesSessionsExecuteBatchDmlCall struct {
// after the first failed statement; the remaining statements are not
// executed.
//
-// - session: The session in which the DML statements should be
-// performed.
+// - session: The session in which the DML statements should be
+// performed.
func (r *ProjectsInstancesDatabasesSessionsService) ExecuteBatchDml(session string, executebatchdmlrequest *ExecuteBatchDmlRequest) *ProjectsInstancesDatabasesSessionsExecuteBatchDmlCall {
c := &ProjectsInstancesDatabasesSessionsExecuteBatchDmlCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.session = session
@@ -15383,8 +15391,8 @@ type ProjectsInstancesDatabasesSessionsRollbackCall struct {
// transaction, the transaction was already aborted, or the transaction
// is not found. `Rollback` never returns `ABORTED`.
//
-// - session: The session in which the transaction to roll back is
-// running.
+// - session: The session in which the transaction to roll back is
+// running.
func (r *ProjectsInstancesDatabasesSessionsService) Rollback(session string, rollbackrequest *RollbackRequest) *ProjectsInstancesDatabasesSessionsRollbackCall {
c := &ProjectsInstancesDatabasesSessionsRollbackCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.session = session
@@ -16314,8 +16322,8 @@ type ScansListCall struct {
// List: Return available scans given a Database-specific resource name.
//
-// - parent: The unique name of the parent resource, specific to the
-// Database service implementing this interface.
+// - parent: The unique name of the parent resource, specific to the
+// Database service implementing this interface.
func (r *ScansService) List(parent string) *ScansListCall {
c := &ScansListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16350,12 +16358,16 @@ func (c *ScansListCall) PageToken(pageToken string) *ScansListCall {
// (the default) is currently supported for ListScans.
//
// Possible values:
-// "VIEW_UNSPECIFIED" - Not specified, equivalent to SUMMARY.
-// "SUMMARY" - Server responses only include `name`, `details`,
+//
+// "VIEW_UNSPECIFIED" - Not specified, equivalent to SUMMARY.
+// "SUMMARY" - Server responses only include `name`, `details`,
+//
// `start_time` and `end_time`. The default value. Note, the ListScans
// method may only use this view type, others view types are not
// supported.
-// "FULL" - Full representation of the scan is returned in the server
+//
+// "FULL" - Full representation of the scan is returned in the server
+//
// response, including `data`.
func (c *ScansListCall) View(view string) *ScansListCall {
c.urlParams_.Set("view", view)
diff --git a/spectrum/v1explorer/spectrum-gen.go b/spectrum/v1explorer/spectrum-gen.go
index 34a7f84a3d8..ae4562635bb 100644
--- a/spectrum/v1explorer/spectrum-gen.go
+++ b/spectrum/v1explorer/spectrum-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: http://developers.google.com/spectrum
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/spectrum/v1explorer"
-// ...
-// ctx := context.Background()
-// spectrumService, err := spectrum.NewService(ctx)
+// import "google.golang.org/api/spectrum/v1explorer"
+// ...
+// ctx := context.Background()
+// spectrumService, err := spectrum.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// spectrumService, err := spectrum.NewService(ctx, option.WithAPIKey("AIza..."))
+// spectrumService, err := spectrum.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// spectrumService, err := spectrum.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// spectrumService, err := spectrum.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package spectrum // import "google.golang.org/api/spectrum/v1explorer"
diff --git a/speech/v1/speech-gen.go b/speech/v1/speech-gen.go
index 034e8772085..c0df3b547b4 100644
--- a/speech/v1/speech-gen.go
+++ b/speech/v1/speech-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/speech-to-text/docs/quickstart-protocol
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/speech/v1"
-// ...
-// ctx := context.Background()
-// speechService, err := speech.NewService(ctx)
+// import "google.golang.org/api/speech/v1"
+// ...
+// ctx := context.Background()
+// speechService, err := speech.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
+// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package speech // import "google.golang.org/api/speech/v1"
@@ -2022,15 +2022,15 @@ type ProjectsLocationsCustomClassesCreateCall struct {
// Create: Create a custom class.
//
-// - parent: The parent resource where this custom class will be
-// created. Format:
-// `projects/{project}/locations/{location}/customClasses`
-// Speech-to-Text supports three locations: `global`, `us` (US North
-// America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - parent: The parent resource where this custom class will be
+// created. Format:
+// `projects/{project}/locations/{location}/customClasses`
+// Speech-to-Text supports three locations: `global`, `us` (US North
+// America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsCustomClassesService) Create(parent string, createcustomclassrequest *CreateCustomClassRequest) *ProjectsLocationsCustomClassesCreateCall {
c := &ProjectsLocationsCustomClassesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2171,14 +2171,14 @@ type ProjectsLocationsCustomClassesDeleteCall struct {
// Delete: Delete a custom class.
//
-// - name: The name of the custom class to delete. Format:
-// `projects/{project}/locations/{location}/customClasses/{custom_class
-// }` Speech-to-Text supports three locations: `global`, `us` (US
-// North America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - name: The name of the custom class to delete. Format:
+// `projects/{project}/locations/{location}/customClasses/{custom_class
+// }` Speech-to-Text supports three locations: `global`, `us` (US
+// North America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsCustomClassesService) Delete(name string) *ProjectsLocationsCustomClassesDeleteCall {
c := &ProjectsLocationsCustomClassesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2311,9 +2311,9 @@ type ProjectsLocationsCustomClassesGetCall struct {
// Get: Get a custom class.
//
-// - name: The name of the custom class to retrieve. Format:
-// `projects/{project}/locations/{location}/customClasses/{custom_class
-// }`.
+// - name: The name of the custom class to retrieve. Format:
+// `projects/{project}/locations/{location}/customClasses/{custom_class
+// }`.
func (r *ProjectsLocationsCustomClassesService) Get(name string) *ProjectsLocationsCustomClassesGetCall {
c := &ProjectsLocationsCustomClassesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2459,14 +2459,14 @@ type ProjectsLocationsCustomClassesListCall struct {
// List: List custom classes.
//
-// - parent: The parent, which owns this collection of custom classes.
-// Format: `projects/{project}/locations/{location}/customClasses`
-// Speech-to-Text supports three locations: `global`, `us` (US North
-// America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - parent: The parent, which owns this collection of custom classes.
+// Format: `projects/{project}/locations/{location}/customClasses`
+// Speech-to-Text supports three locations: `global`, `us` (US North
+// America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsCustomClassesService) List(parent string) *ProjectsLocationsCustomClassesListCall {
c := &ProjectsLocationsCustomClassesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2821,14 +2821,14 @@ type ProjectsLocationsPhraseSetsCreateCall struct {
// favored by the recognition model when you send a call that includes
// the PhraseSet.
//
-// - parent: The parent resource where this phrase set will be created.
-// Format: `projects/{project}/locations/{location}/phraseSets`
-// Speech-to-Text supports three locations: `global`, `us` (US North
-// America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - parent: The parent resource where this phrase set will be created.
+// Format: `projects/{project}/locations/{location}/phraseSets`
+// Speech-to-Text supports three locations: `global`, `us` (US North
+// America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsPhraseSetsService) Create(parent string, createphrasesetrequest *CreatePhraseSetRequest) *ProjectsLocationsPhraseSetsCreateCall {
c := &ProjectsLocationsPhraseSetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2969,8 +2969,8 @@ type ProjectsLocationsPhraseSetsDeleteCall struct {
// Delete: Delete a phrase set.
//
-// - name: The name of the phrase set to delete. Format:
-// `projects/{project}/locations/{location}/phraseSets/{phrase_set}`.
+// - name: The name of the phrase set to delete. Format:
+// `projects/{project}/locations/{location}/phraseSets/{phrase_set}`.
func (r *ProjectsLocationsPhraseSetsService) Delete(name string) *ProjectsLocationsPhraseSetsDeleteCall {
c := &ProjectsLocationsPhraseSetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3103,14 +3103,14 @@ type ProjectsLocationsPhraseSetsGetCall struct {
// Get: Get a phrase set.
//
-// - name: The name of the phrase set to retrieve. Format:
-// `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
-// Speech-to-Text supports three locations: `global`, `us` (US North
-// America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - name: The name of the phrase set to retrieve. Format:
+// `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
+// Speech-to-Text supports three locations: `global`, `us` (US North
+// America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsPhraseSetsService) Get(name string) *ProjectsLocationsPhraseSetsGetCall {
c := &ProjectsLocationsPhraseSetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3256,14 +3256,14 @@ type ProjectsLocationsPhraseSetsListCall struct {
// List: List phrase sets.
//
-// - parent: The parent, which owns this collection of phrase set.
-// Format: `projects/{project}/locations/{location}` Speech-to-Text
-// supports three locations: `global`, `us` (US North America), and
-// `eu` (Europe). If you are calling the `speech.googleapis.com`
-// endpoint, use the `global` location. To specify a region, use a
-// regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - parent: The parent, which owns this collection of phrase set.
+// Format: `projects/{project}/locations/{location}` Speech-to-Text
+// supports three locations: `global`, `us` (US North America), and
+// `eu` (Europe). If you are calling the `speech.googleapis.com`
+// endpoint, use the `global` location. To specify a region, use a
+// regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsPhraseSetsService) List(parent string) *ProjectsLocationsPhraseSetsListCall {
c := &ProjectsLocationsPhraseSetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/speech/v1beta1/speech-gen.go b/speech/v1beta1/speech-gen.go
index 7b1fc747807..2adce4ad81d 100644
--- a/speech/v1beta1/speech-gen.go
+++ b/speech/v1beta1/speech-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/speech-to-text/docs/quickstart-protocol
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/speech/v1beta1"
-// ...
-// ctx := context.Background()
-// speechService, err := speech.NewService(ctx)
+// import "google.golang.org/api/speech/v1beta1"
+// ...
+// ctx := context.Background()
+// speechService, err := speech.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
+// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package speech // import "google.golang.org/api/speech/v1beta1"
@@ -631,29 +631,41 @@ func (s *SpeechRecognitionResult) MarshalJSON() ([]byte, error) {
//
// - Partial errors. If a service needs to return partial errors to the
// client,
-// it may embed the `Status` in the normal response to indicate the
+//
+// it may embed the `Status` in the normal response to indicate the
+//
// partial
-// errors.
+//
+// errors.
//
// - Workflow errors. A typical workflow has multiple steps. Each step
// may
-// have a `Status` message for error reporting.
+//
+// have a `Status` message for error reporting.
//
// - Batch operations. If a client uses batch request and batch
// response, the
-// `Status` message should be used directly inside batch response,
+//
+// `Status` message should be used directly inside batch response,
+//
// one for
-// each error sub-response.
+//
+// each error sub-response.
//
// - Asynchronous operations. If an API call embeds asynchronous
// operation
-// results in its response, the status of those operations should
+//
+// results in its response, the status of those operations should
+//
// be
-// represented directly using the `Status` message.
+//
+// represented directly using the `Status` message.
//
// - Logging. If some API errors are stored in logs, the message
// `Status` could
-// be used directly after any stripping needed for security/privacy
+//
+// be used directly after any stripping needed for security/privacy
+//
// reasons.
type Status struct {
// Code: The status code, which should be an enum value of
diff --git a/speech/v1p1beta1/speech-gen.go b/speech/v1p1beta1/speech-gen.go
index 9dea2aa9387..2a36cc6900e 100644
--- a/speech/v1p1beta1/speech-gen.go
+++ b/speech/v1p1beta1/speech-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/speech-to-text/docs/quickstart-protocol
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/speech/v1p1beta1"
-// ...
-// ctx := context.Background()
-// speechService, err := speech.NewService(ctx)
+// import "google.golang.org/api/speech/v1p1beta1"
+// ...
+// ctx := context.Background()
+// speechService, err := speech.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
+// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package speech // import "google.golang.org/api/speech/v1p1beta1"
@@ -2123,15 +2123,15 @@ type ProjectsLocationsCustomClassesCreateCall struct {
// Create: Create a custom class.
//
-// - parent: The parent resource where this custom class will be
-// created. Format:
-// `projects/{project}/locations/{location}/customClasses`
-// Speech-to-Text supports three locations: `global`, `us` (US North
-// America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - parent: The parent resource where this custom class will be
+// created. Format:
+// `projects/{project}/locations/{location}/customClasses`
+// Speech-to-Text supports three locations: `global`, `us` (US North
+// America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsCustomClassesService) Create(parent string, createcustomclassrequest *CreateCustomClassRequest) *ProjectsLocationsCustomClassesCreateCall {
c := &ProjectsLocationsCustomClassesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2272,14 +2272,14 @@ type ProjectsLocationsCustomClassesDeleteCall struct {
// Delete: Delete a custom class.
//
-// - name: The name of the custom class to delete. Format:
-// `projects/{project}/locations/{location}/customClasses/{custom_class
-// }` Speech-to-Text supports three locations: `global`, `us` (US
-// North America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - name: The name of the custom class to delete. Format:
+// `projects/{project}/locations/{location}/customClasses/{custom_class
+// }` Speech-to-Text supports three locations: `global`, `us` (US
+// North America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsCustomClassesService) Delete(name string) *ProjectsLocationsCustomClassesDeleteCall {
c := &ProjectsLocationsCustomClassesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2412,9 +2412,9 @@ type ProjectsLocationsCustomClassesGetCall struct {
// Get: Get a custom class.
//
-// - name: The name of the custom class to retrieve. Format:
-// `projects/{project}/locations/{location}/customClasses/{custom_class
-// }`.
+// - name: The name of the custom class to retrieve. Format:
+// `projects/{project}/locations/{location}/customClasses/{custom_class
+// }`.
func (r *ProjectsLocationsCustomClassesService) Get(name string) *ProjectsLocationsCustomClassesGetCall {
c := &ProjectsLocationsCustomClassesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2560,14 +2560,14 @@ type ProjectsLocationsCustomClassesListCall struct {
// List: List custom classes.
//
-// - parent: The parent, which owns this collection of custom classes.
-// Format: `projects/{project}/locations/{location}/customClasses`
-// Speech-to-Text supports three locations: `global`, `us` (US North
-// America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - parent: The parent, which owns this collection of custom classes.
+// Format: `projects/{project}/locations/{location}/customClasses`
+// Speech-to-Text supports three locations: `global`, `us` (US North
+// America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsCustomClassesService) List(parent string) *ProjectsLocationsCustomClassesListCall {
c := &ProjectsLocationsCustomClassesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2922,14 +2922,14 @@ type ProjectsLocationsPhraseSetsCreateCall struct {
// favored by the recognition model when you send a call that includes
// the PhraseSet.
//
-// - parent: The parent resource where this phrase set will be created.
-// Format: `projects/{project}/locations/{location}/phraseSets`
-// Speech-to-Text supports three locations: `global`, `us` (US North
-// America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - parent: The parent resource where this phrase set will be created.
+// Format: `projects/{project}/locations/{location}/phraseSets`
+// Speech-to-Text supports three locations: `global`, `us` (US North
+// America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsPhraseSetsService) Create(parent string, createphrasesetrequest *CreatePhraseSetRequest) *ProjectsLocationsPhraseSetsCreateCall {
c := &ProjectsLocationsPhraseSetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3070,8 +3070,8 @@ type ProjectsLocationsPhraseSetsDeleteCall struct {
// Delete: Delete a phrase set.
//
-// - name: The name of the phrase set to delete. Format:
-// `projects/{project}/locations/{location}/phraseSets/{phrase_set}`.
+// - name: The name of the phrase set to delete. Format:
+// `projects/{project}/locations/{location}/phraseSets/{phrase_set}`.
func (r *ProjectsLocationsPhraseSetsService) Delete(name string) *ProjectsLocationsPhraseSetsDeleteCall {
c := &ProjectsLocationsPhraseSetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3204,14 +3204,14 @@ type ProjectsLocationsPhraseSetsGetCall struct {
// Get: Get a phrase set.
//
-// - name: The name of the phrase set to retrieve. Format:
-// `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
-// Speech-to-Text supports three locations: `global`, `us` (US North
-// America), and `eu` (Europe). If you are calling the
-// `speech.googleapis.com` endpoint, use the `global` location. To
-// specify a region, use a regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - name: The name of the phrase set to retrieve. Format:
+// `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
+// Speech-to-Text supports three locations: `global`, `us` (US North
+// America), and `eu` (Europe). If you are calling the
+// `speech.googleapis.com` endpoint, use the `global` location. To
+// specify a region, use a regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsPhraseSetsService) Get(name string) *ProjectsLocationsPhraseSetsGetCall {
c := &ProjectsLocationsPhraseSetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3357,14 +3357,14 @@ type ProjectsLocationsPhraseSetsListCall struct {
// List: List phrase sets.
//
-// - parent: The parent, which owns this collection of phrase set.
-// Format: `projects/{project}/locations/{location}` Speech-to-Text
-// supports three locations: `global`, `us` (US North America), and
-// `eu` (Europe). If you are calling the `speech.googleapis.com`
-// endpoint, use the `global` location. To specify a region, use a
-// regional endpoint
-// (https://cloud.google.com/speech-to-text/docs/endpoints) with
-// matching `us` or `eu` location value.
+// - parent: The parent, which owns this collection of phrase set.
+// Format: `projects/{project}/locations/{location}` Speech-to-Text
+// supports three locations: `global`, `us` (US North America), and
+// `eu` (Europe). If you are calling the `speech.googleapis.com`
+// endpoint, use the `global` location. To specify a region, use a
+// regional endpoint
+// (https://cloud.google.com/speech-to-text/docs/endpoints) with
+// matching `us` or `eu` location value.
func (r *ProjectsLocationsPhraseSetsService) List(parent string) *ProjectsLocationsPhraseSetsListCall {
c := &ProjectsLocationsPhraseSetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/speech/v2beta/speech-gen.go b/speech/v2beta/speech-gen.go
index 6c58c2e77b0..9ecc45875ff 100644
--- a/speech/v2beta/speech-gen.go
+++ b/speech/v2beta/speech-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/speech-to-text/docs/quickstart-protocol
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/speech/v2beta"
-// ...
-// ctx := context.Background()
-// speechService, err := speech.NewService(ctx)
+// import "google.golang.org/api/speech/v2beta"
+// ...
+// ctx := context.Background()
+// speechService, err := speech.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
+// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package speech // import "google.golang.org/api/speech/v2beta"
diff --git a/speech/v2beta1/speech-gen.go b/speech/v2beta1/speech-gen.go
index c138a8bed3a..aa719eec491 100644
--- a/speech/v2beta1/speech-gen.go
+++ b/speech/v2beta1/speech-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/speech-to-text/docs/quickstart-protocol
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/speech/v2beta1"
-// ...
-// ctx := context.Background()
-// speechService, err := speech.NewService(ctx)
+// import "google.golang.org/api/speech/v2beta1"
+// ...
+// ctx := context.Background()
+// speechService, err := speech.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
+// speechService, err := speech.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// speechService, err := speech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package speech // import "google.golang.org/api/speech/v2beta1"
diff --git a/sql/v1beta4/sql-gen.go b/sql/v1beta4/sql-gen.go
index efb968aeea8..28bf99a095b 100644
--- a/sql/v1beta4/sql-gen.go
+++ b/sql/v1beta4/sql-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/cloud-sql/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/sql/v1beta4"
-// ...
-// ctx := context.Background()
-// sqlService, err := sql.NewService(ctx)
+// import "google.golang.org/api/sql/v1beta4"
+// ...
+// ctx := context.Background()
+// sqlService, err := sql.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// sqlService, err := sql.NewService(ctx, option.WithScopes(sql.SqlserviceAdminScope))
+// sqlService, err := sql.NewService(ctx, option.WithScopes(sql.SqlserviceAdminScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// sqlService, err := sql.NewService(ctx, option.WithAPIKey("AIza..."))
+// sqlService, err := sql.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// sqlService, err := sql.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// sqlService, err := sql.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
//
@@ -9318,9 +9318,10 @@ func (r *ProjectsInstancesService) StartExternalSync(project string, instance st
// SyncMode sets the optional parameter "syncMode": External sync mode
//
// Possible values:
-// "EXTERNAL_SYNC_MODE_UNSPECIFIED"
-// "ONLINE"
-// "OFFLINE"
+//
+// "EXTERNAL_SYNC_MODE_UNSPECIFIED"
+// "ONLINE"
+// "OFFLINE"
func (c *ProjectsInstancesStartExternalSyncCall) SyncMode(syncMode string) *ProjectsInstancesStartExternalSyncCall {
c.urlParams_.Set("syncMode", syncMode)
return c
@@ -9480,9 +9481,10 @@ func (r *ProjectsInstancesService) VerifyExternalSyncSettings(project string, in
// SyncMode sets the optional parameter "syncMode": External sync mode
//
// Possible values:
-// "EXTERNAL_SYNC_MODE_UNSPECIFIED"
-// "ONLINE"
-// "OFFLINE"
+//
+// "EXTERNAL_SYNC_MODE_UNSPECIFIED"
+// "ONLINE"
+// "OFFLINE"
func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) SyncMode(syncMode string) *ProjectsInstancesVerifyExternalSyncSettingsCall {
c.urlParams_.Set("syncMode", syncMode)
return c
diff --git a/sqladmin/v1/sqladmin-gen.go b/sqladmin/v1/sqladmin-gen.go
index 61401b13c5a..76a6d73758e 100644
--- a/sqladmin/v1/sqladmin-gen.go
+++ b/sqladmin/v1/sqladmin-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/cloud-sql/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/sqladmin/v1"
-// ...
-// ctx := context.Background()
-// sqladminService, err := sqladmin.NewService(ctx)
+// import "google.golang.org/api/sqladmin/v1"
+// ...
+// ctx := context.Background()
+// sqladminService, err := sqladmin.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// sqladminService, err := sqladmin.NewService(ctx, option.WithScopes(sqladmin.SqlserviceAdminScope))
+// sqladminService, err := sqladmin.NewService(ctx, option.WithScopes(sqladmin.SqlserviceAdminScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// sqladminService, err := sqladmin.NewService(ctx, option.WithAPIKey("AIza..."))
+// sqladminService, err := sqladmin.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// sqladminService, err := sqladmin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// sqladminService, err := sqladmin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package sqladmin // import "google.golang.org/api/sqladmin/v1"
@@ -4625,13 +4625,13 @@ type BackupRunsDeleteCall struct {
// Delete: Deletes the backup taken by a backup run.
//
-// - id: The ID of the backup run to delete. To find a backup run ID,
-// use the list
-// (https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list)
-// method.
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - id: The ID of the backup run to delete. To find a backup run ID,
+// use the list
+// (https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list)
+// method.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *BackupRunsService) Delete(project string, instance string, id int64) *BackupRunsDeleteCall {
c := &BackupRunsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4785,10 +4785,10 @@ type BackupRunsGetCall struct {
// Get: Retrieves a resource containing information about a backup run.
//
-// - id: The ID of this backup run.
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - id: The ID of this backup run.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *BackupRunsService) Get(project string, instance string, id int64) *BackupRunsGetCall {
c := &BackupRunsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4954,9 +4954,9 @@ type BackupRunsInsertCall struct {
// Insert: Creates a new backup run on demand.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *BackupRunsService) Insert(project string, instance string, backuprun *BackupRun) *BackupRunsInsertCall {
c := &BackupRunsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5110,9 +5110,9 @@ type BackupRunsListCall struct {
// instance and configuration in the reverse chronological order of the
// backup initiation time.
//
-// - instance: Cloud SQL instance ID, or "-" for all instances. This
-// does not include the project ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID, or "-" for all instances. This
+// does not include the project ID.
+// - project: Project ID of the project that contains the instance.
func (r *BackupRunsService) List(project string, instance string) *BackupRunsListCall {
c := &BackupRunsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5318,9 +5318,9 @@ type ConnectGenerateEphemeralCertCall struct {
// specific to the target instance. Users may use the certificate to
// authenticate as themselves when connecting to the database.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *ConnectService) GenerateEphemeralCert(project string, instance string, generateephemeralcertrequest *GenerateEphemeralCertRequest) *ConnectGenerateEphemeralCertCall {
c := &ConnectGenerateEphemeralCertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5472,9 +5472,9 @@ type ConnectGetCall struct {
// Get: Retrieves connect settings about a Cloud SQL instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *ConnectService) Get(project string, instance string) *ConnectGetCall {
c := &ConnectGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5643,10 +5643,10 @@ type DatabasesDeleteCall struct {
// Delete: Deletes a database from a Cloud SQL instance.
//
-// - database: Name of the database to be deleted in the instance.
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - database: Name of the database to be deleted in the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Delete(project string, instance string, database string) *DatabasesDeleteCall {
c := &DatabasesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5800,10 +5800,10 @@ type DatabasesGetCall struct {
// Get: Retrieves a resource containing information about a database
// inside a Cloud SQL instance.
//
-// - database: Name of the database in the instance.
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - database: Name of the database in the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Get(project string, instance string, database string) *DatabasesGetCall {
c := &DatabasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5969,9 +5969,9 @@ type DatabasesInsertCall struct {
// Insert: Inserts a resource containing information about a database
// inside a Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Insert(project string, instance string, database *Database) *DatabasesInsertCall {
c := &DatabasesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6123,9 +6123,9 @@ type DatabasesListCall struct {
// List: Lists databases in the specified Cloud SQL instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) List(project string, instance string) *DatabasesListCall {
c := &DatabasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6284,10 +6284,10 @@ type DatabasesPatchCall struct {
// database inside a Cloud SQL instance. This method supports patch
// semantics.
//
-// - database: Name of the database to be updated in the instance.
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - database: Name of the database to be updated in the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Patch(project string, instance string, database string, database2 *Database) *DatabasesPatchCall {
c := &DatabasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6450,10 +6450,10 @@ type DatabasesUpdateCall struct {
// Update: Updates a resource containing information about a database
// inside a Cloud SQL instance.
//
-// - database: Name of the database to be updated in the instance.
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - database: Name of the database to be updated in the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Update(project string, instance string, database string, database2 *Database) *DatabasesUpdateCall {
c := &DatabasesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6761,9 +6761,9 @@ type InstancesAddServerCaCall struct {
// certificate rotation, this operation replaces that version. There
// cannot be more than one CA version waiting to be rotated in.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) AddServerCa(project string, instance string) *InstancesAddServerCaCall {
c := &InstancesAddServerCaCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6907,10 +6907,10 @@ type InstancesCloneCall struct {
// Clone: Creates a Cloud SQL instance as a clone of the source
// instance. Using this operation might cause your instance to restart.
//
-// - instance: The ID of the Cloud SQL instance to be cloned (source).
-// This does not include the project ID.
-// - project: Project ID of the source as well as the clone Cloud SQL
-// instance.
+// - instance: The ID of the Cloud SQL instance to be cloned (source).
+// This does not include the project ID.
+// - project: Project ID of the source as well as the clone Cloud SQL
+// instance.
func (r *InstancesService) Clone(project string, instance string, instancesclonerequest *InstancesCloneRequest) *InstancesCloneCall {
c := &InstancesCloneCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7061,10 +7061,10 @@ type InstancesDeleteCall struct {
// Delete: Deletes a Cloud SQL instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance to be
-// deleted.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance to be
+// deleted.
func (r *InstancesService) Delete(project string, instance string) *InstancesDeleteCall {
c := &InstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7362,10 +7362,10 @@ type InstancesExportCall struct {
// Export: Exports data from a Cloud SQL instance to a Cloud Storage
// bucket as a SQL dump or CSV file.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance to be
-// exported.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance to be
+// exported.
func (r *InstancesService) Export(project string, instance string, instancesexportrequest *InstancesExportRequest) *InstancesExportCall {
c := &InstancesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7522,9 +7522,9 @@ type InstancesFailoverCall struct {
// the Cloud SQL documentation. If using Legacy HA (MySQL only), this
// causes the instance to failover to its failover replica instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: ID of the project that contains the read replica.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: ID of the project that contains the read replica.
func (r *InstancesService) Failover(project string, instance string, instancesfailoverrequest *InstancesFailoverRequest) *InstancesFailoverCall {
c := &InstancesFailoverCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7677,9 +7677,9 @@ type InstancesGetCall struct {
// Get: Retrieves a resource containing information about a Cloud SQL
// instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) Get(project string, instance string) *InstancesGetCall {
c := &InstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7836,9 +7836,9 @@ type InstancesImportCall struct {
// Import: Imports data into a Cloud SQL instance from a SQL dump or CSV
// file in Cloud Storage.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) Import(project string, instance string, instancesimportrequest *InstancesImportRequest) *InstancesImportCall {
c := &InstancesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7988,8 +7988,8 @@ type InstancesInsertCall struct {
// Insert: Creates a new Cloud SQL instance.
//
-// - project: Project ID of the project to which the newly created Cloud
-// SQL instances should belong.
+// - project: Project ID of the project to which the newly created Cloud
+// SQL instances should belong.
func (r *InstancesService) Insert(project string, databaseinstance *DatabaseInstance) *InstancesInsertCall {
c := &InstancesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8131,8 +8131,8 @@ type InstancesListCall struct {
// List: Lists instances under a given project.
//
-// - project: Project ID of the project for which to list Cloud SQL
-// instances.
+// - project: Project ID of the project for which to list Cloud SQL
+// instances.
func (r *InstancesService) List(project string) *InstancesListCall {
c := &InstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8351,9 +8351,9 @@ type InstancesListServerCasCall struct {
// CA that has been added but not yet used to sign a certificate, and a
// CA used to sign a certificate that has previously rotated out.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) ListServerCas(project string, instance string) *InstancesListServerCasCall {
c := &InstancesListServerCasCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8510,9 +8510,9 @@ type InstancesPatchCall struct {
// Patch: Updates settings of a Cloud SQL instance. This method supports
// patch semantics.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) Patch(project string, instance string, databaseinstance *DatabaseInstance) *InstancesPatchCall {
c := &InstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8809,9 +8809,9 @@ type InstancesResetSslConfigCall struct {
// ResetSslConfig: Deletes all client certificates and generates a new
// server SSL certificate for the instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) ResetSslConfig(project string, instance string) *InstancesResetSslConfigCall {
c := &InstancesResetSslConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8953,10 +8953,10 @@ type InstancesRestartCall struct {
// Restart: Restarts a Cloud SQL instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance to be
-// restarted.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance to be
+// restarted.
func (r *InstancesService) Restart(project string, instance string) *InstancesRestartCall {
c := &InstancesRestartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9100,9 +9100,9 @@ type InstancesRestoreBackupCall struct {
// RestoreBackup: Restores a backup of a Cloud SQL instance. Using this
// operation might cause your instance to restart.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) RestoreBackup(project string, instance string, instancesrestorebackuprequest *InstancesRestoreBackupRequest) *InstancesRestoreBackupCall {
c := &InstancesRestoreBackupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9256,9 +9256,9 @@ type InstancesRotateServerCaCall struct {
// Certificate Authority (CA) version previously added with the
// addServerCA method.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) RotateServerCa(project string, instance string, instancesrotateservercarequest *InstancesRotateServerCaRequest) *InstancesRotateServerCaCall {
c := &InstancesRotateServerCaCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9697,9 +9697,9 @@ type InstancesTruncateLogCall struct {
// TruncateLog: Truncate MySQL general and slow query log tables MySQL
// only.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the Cloud SQL project.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the Cloud SQL project.
func (r *InstancesService) TruncateLog(project string, instance string, instancestruncatelogrequest *InstancesTruncateLogRequest) *InstancesTruncateLogCall {
c := &InstancesTruncateLogCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9852,9 +9852,9 @@ type InstancesUpdateCall struct {
// Update: Updates settings of a Cloud SQL instance. Using this
// operation might cause your instance to restart.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) Update(project string, instance string, databaseinstance *DatabaseInstance) *InstancesUpdateCall {
c := &InstancesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10372,9 +10372,9 @@ type ProjectsInstancesRescheduleMaintenanceCall struct {
// RescheduleMaintenance: Reschedules the maintenance on the given
// instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: ID of the project that contains the instance.
func (r *ProjectsInstancesService) RescheduleMaintenance(project string, instance string, sqlinstancesreschedulemaintenancerequestbody *SqlInstancesRescheduleMaintenanceRequestBody) *ProjectsInstancesRescheduleMaintenanceCall {
c := &ProjectsInstancesRescheduleMaintenanceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10526,9 +10526,9 @@ type ProjectsInstancesStartExternalSyncCall struct {
// StartExternalSync: Start External primary instance migration.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: ID of the project that contains the instance.
func (r *ProjectsInstancesService) StartExternalSync(project string, instance string, sqlinstancesstartexternalsyncrequest *SqlInstancesStartExternalSyncRequest) *ProjectsInstancesStartExternalSyncCall {
c := &ProjectsInstancesStartExternalSyncCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10681,9 +10681,9 @@ type ProjectsInstancesVerifyExternalSyncSettingsCall struct {
// VerifyExternalSyncSettings: Verify External primary instance external
// sync settings.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *ProjectsInstancesService) VerifyExternalSyncSettings(project string, instance string, sqlinstancesverifyexternalsyncsettingsrequest *SqlInstancesVerifyExternalSyncSettingsRequest) *ProjectsInstancesVerifyExternalSyncSettingsCall {
c := &ProjectsInstancesVerifyExternalSyncSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10840,9 +10840,9 @@ type SslCertsCreateEphemeralCall struct {
// target instance. Users may use the certificate to authenticate as
// themselves when connecting to the database.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the Cloud SQL project.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the Cloud SQL project.
func (r *SslCertsService) CreateEphemeral(project string, instance string, sslcertscreateephemeralrequest *SslCertsCreateEphemeralRequest) *SslCertsCreateEphemeralCall {
c := &SslCertsCreateEphemeralCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10995,10 +10995,10 @@ type SslCertsDeleteCall struct {
// Delete: Deletes the SSL certificate. For First Generation instances,
// the certificate remains valid until the instance is restarted.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
-// - sha1Fingerprint: Sha1 FingerPrint.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
+// - sha1Fingerprint: Sha1 FingerPrint.
func (r *SslCertsService) Delete(project string, instance string, sha1Fingerprint string) *SslCertsDeleteCall {
c := &SslCertsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11153,10 +11153,10 @@ type SslCertsGetCall struct {
// private key (required for usage). The private key must be saved from
// the response to initial creation.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
-// - sha1Fingerprint: Sha1 FingerPrint.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
+// - sha1Fingerprint: Sha1 FingerPrint.
func (r *SslCertsService) Get(project string, instance string, sha1Fingerprint string) *SslCertsGetCall {
c := &SslCertsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11323,9 +11323,9 @@ type SslCertsInsertCall struct {
// private key and server certificate authority. The new certificate
// will not be usable until the instance is restarted.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *SslCertsService) Insert(project string, instance string, sslcertsinsertrequest *SslCertsInsertRequest) *SslCertsInsertCall {
c := &SslCertsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11477,9 +11477,9 @@ type SslCertsListCall struct {
// List: Lists all of the current SSL certificates for the instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *SslCertsService) List(project string, instance string) *SslCertsListCall {
c := &SslCertsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11782,9 +11782,9 @@ type UsersDeleteCall struct {
// Delete: Deletes a user from a Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) Delete(project string, instance string) *UsersDeleteCall {
c := &UsersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11952,11 +11952,11 @@ type UsersGetCall struct {
// Get: Retrieves a resource containing information about a user.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - name: User of the instance. If the database user has a host, this
-// is specified as {username}@{host} else as {username}.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - name: User of the instance. If the database user has a host, this
+// is specified as {username}@{host} else as {username}.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) Get(project string, instance string, name string) *UsersGetCall {
c := &UsersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -12121,9 +12121,9 @@ type UsersInsertCall struct {
// Insert: Creates a new user in a Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) Insert(project string, instance string, user *User) *UsersInsertCall {
c := &UsersInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -12275,9 +12275,9 @@ type UsersListCall struct {
// List: Lists users in the specified Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) List(project string, instance string) *UsersListCall {
c := &UsersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -12433,9 +12433,9 @@ type UsersUpdateCall struct {
// Update: Updates an existing user in a Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) Update(project string, instance string, user *User) *UsersUpdateCall {
c := &UsersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
diff --git a/sqladmin/v1beta4/sqladmin-gen.go b/sqladmin/v1beta4/sqladmin-gen.go
index dd71b9c6163..46d9f49d12b 100644
--- a/sqladmin/v1beta4/sqladmin-gen.go
+++ b/sqladmin/v1beta4/sqladmin-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/cloud-sql/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/sqladmin/v1beta4"
-// ...
-// ctx := context.Background()
-// sqladminService, err := sqladmin.NewService(ctx)
+// import "google.golang.org/api/sqladmin/v1beta4"
+// ...
+// ctx := context.Background()
+// sqladminService, err := sqladmin.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// sqladminService, err := sqladmin.NewService(ctx, option.WithScopes(sqladmin.SqlserviceAdminScope))
+// sqladminService, err := sqladmin.NewService(ctx, option.WithScopes(sqladmin.SqlserviceAdminScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// sqladminService, err := sqladmin.NewService(ctx, option.WithAPIKey("AIza..."))
+// sqladminService, err := sqladmin.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// sqladminService, err := sqladmin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// sqladminService, err := sqladmin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package sqladmin // import "google.golang.org/api/sqladmin/v1beta4"
@@ -4621,13 +4621,13 @@ type BackupRunsDeleteCall struct {
// Delete: Deletes the backup taken by a backup run.
//
-// - id: The ID of the backup run to delete. To find a backup run ID,
-// use the list
-// (https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list)
-// method.
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - id: The ID of the backup run to delete. To find a backup run ID,
+// use the list
+// (https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list)
+// method.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *BackupRunsService) Delete(project string, instance string, id int64) *BackupRunsDeleteCall {
c := &BackupRunsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4781,10 +4781,10 @@ type BackupRunsGetCall struct {
// Get: Retrieves a resource containing information about a backup run.
//
-// - id: The ID of this backup run.
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - id: The ID of this backup run.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *BackupRunsService) Get(project string, instance string, id int64) *BackupRunsGetCall {
c := &BackupRunsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -4950,9 +4950,9 @@ type BackupRunsInsertCall struct {
// Insert: Creates a new backup run on demand.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *BackupRunsService) Insert(project string, instance string, backuprun *BackupRun) *BackupRunsInsertCall {
c := &BackupRunsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5106,9 +5106,9 @@ type BackupRunsListCall struct {
// instance and configuration in the reverse chronological order of the
// backup initiation time.
//
-// - instance: Cloud SQL instance ID, or "-" for all instances. This
-// does not include the project ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID, or "-" for all instances. This
+// does not include the project ID.
+// - project: Project ID of the project that contains the instance.
func (r *BackupRunsService) List(project string, instance string) *BackupRunsListCall {
c := &BackupRunsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5314,9 +5314,9 @@ type ConnectGenerateEphemeralCertCall struct {
// specific to the target instance. Users may use the certificate to
// authenticate as themselves when connecting to the database.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *ConnectService) GenerateEphemeralCert(project string, instance string, generateephemeralcertrequest *GenerateEphemeralCertRequest) *ConnectGenerateEphemeralCertCall {
c := &ConnectGenerateEphemeralCertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5468,9 +5468,9 @@ type ConnectGetCall struct {
// Get: Retrieves connect settings about a Cloud SQL instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *ConnectService) Get(project string, instance string) *ConnectGetCall {
c := &ConnectGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5639,10 +5639,10 @@ type DatabasesDeleteCall struct {
// Delete: Deletes a database from a Cloud SQL instance.
//
-// - database: Name of the database to be deleted in the instance.
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - database: Name of the database to be deleted in the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Delete(project string, instance string, database string) *DatabasesDeleteCall {
c := &DatabasesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5796,10 +5796,10 @@ type DatabasesGetCall struct {
// Get: Retrieves a resource containing information about a database
// inside a Cloud SQL instance.
//
-// - database: Name of the database in the instance.
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - database: Name of the database in the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Get(project string, instance string, database string) *DatabasesGetCall {
c := &DatabasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -5965,9 +5965,9 @@ type DatabasesInsertCall struct {
// Insert: Inserts a resource containing information about a database
// inside a Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Insert(project string, instance string, database *Database) *DatabasesInsertCall {
c := &DatabasesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6119,9 +6119,9 @@ type DatabasesListCall struct {
// List: Lists databases in the specified Cloud SQL instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) List(project string, instance string) *DatabasesListCall {
c := &DatabasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6280,10 +6280,10 @@ type DatabasesPatchCall struct {
// database inside a Cloud SQL instance. This method supports patch
// semantics.
//
-// - database: Name of the database to be updated in the instance.
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - database: Name of the database to be updated in the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Patch(project string, instance string, database string, database2 *Database) *DatabasesPatchCall {
c := &DatabasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6446,10 +6446,10 @@ type DatabasesUpdateCall struct {
// Update: Updates a resource containing information about a database
// inside a Cloud SQL instance.
//
-// - database: Name of the database to be updated in the instance.
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - database: Name of the database to be updated in the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *DatabasesService) Update(project string, instance string, database string, database2 *Database) *DatabasesUpdateCall {
c := &DatabasesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6757,9 +6757,9 @@ type InstancesAddServerCaCall struct {
// certificate rotation, this operation replaces that version. There
// cannot be more than one CA version waiting to be rotated in.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) AddServerCa(project string, instance string) *InstancesAddServerCaCall {
c := &InstancesAddServerCaCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -6903,10 +6903,10 @@ type InstancesCloneCall struct {
// Clone: Creates a Cloud SQL instance as a clone of the source
// instance. Using this operation might cause your instance to restart.
//
-// - instance: The ID of the Cloud SQL instance to be cloned (source).
-// This does not include the project ID.
-// - project: Project ID of the source as well as the clone Cloud SQL
-// instance.
+// - instance: The ID of the Cloud SQL instance to be cloned (source).
+// This does not include the project ID.
+// - project: Project ID of the source as well as the clone Cloud SQL
+// instance.
func (r *InstancesService) Clone(project string, instance string, instancesclonerequest *InstancesCloneRequest) *InstancesCloneCall {
c := &InstancesCloneCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7057,10 +7057,10 @@ type InstancesDeleteCall struct {
// Delete: Deletes a Cloud SQL instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance to be
-// deleted.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance to be
+// deleted.
func (r *InstancesService) Delete(project string, instance string) *InstancesDeleteCall {
c := &InstancesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7358,10 +7358,10 @@ type InstancesExportCall struct {
// Export: Exports data from a Cloud SQL instance to a Cloud Storage
// bucket as a SQL dump or CSV file.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance to be
-// exported.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance to be
+// exported.
func (r *InstancesService) Export(project string, instance string, instancesexportrequest *InstancesExportRequest) *InstancesExportCall {
c := &InstancesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7518,9 +7518,9 @@ type InstancesFailoverCall struct {
// the Cloud SQL documentation. If using Legacy HA (MySQL only), this
// causes the instance to failover to its failover replica instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: ID of the project that contains the read replica.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: ID of the project that contains the read replica.
func (r *InstancesService) Failover(project string, instance string, instancesfailoverrequest *InstancesFailoverRequest) *InstancesFailoverCall {
c := &InstancesFailoverCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7673,9 +7673,9 @@ type InstancesGetCall struct {
// Get: Retrieves a resource containing information about a Cloud SQL
// instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) Get(project string, instance string) *InstancesGetCall {
c := &InstancesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7832,9 +7832,9 @@ type InstancesImportCall struct {
// Import: Imports data into a Cloud SQL instance from a SQL dump or CSV
// file in Cloud Storage.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) Import(project string, instance string, instancesimportrequest *InstancesImportRequest) *InstancesImportCall {
c := &InstancesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -7984,8 +7984,8 @@ type InstancesInsertCall struct {
// Insert: Creates a new Cloud SQL instance.
//
-// - project: Project ID of the project to which the newly created Cloud
-// SQL instances should belong.
+// - project: Project ID of the project to which the newly created Cloud
+// SQL instances should belong.
func (r *InstancesService) Insert(project string, databaseinstance *DatabaseInstance) *InstancesInsertCall {
c := &InstancesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8127,8 +8127,8 @@ type InstancesListCall struct {
// List: Lists instances under a given project.
//
-// - project: Project ID of the project for which to list Cloud SQL
-// instances.
+// - project: Project ID of the project for which to list Cloud SQL
+// instances.
func (r *InstancesService) List(project string) *InstancesListCall {
c := &InstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8347,9 +8347,9 @@ type InstancesListServerCasCall struct {
// CA that has been added but not yet used to sign a certificate, and a
// CA used to sign a certificate that has previously rotated out.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) ListServerCas(project string, instance string) *InstancesListServerCasCall {
c := &InstancesListServerCasCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8506,9 +8506,9 @@ type InstancesPatchCall struct {
// Patch: Updates settings of a Cloud SQL instance. This method supports
// patch semantics.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) Patch(project string, instance string, databaseinstance *DatabaseInstance) *InstancesPatchCall {
c := &InstancesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8805,9 +8805,9 @@ type InstancesResetSslConfigCall struct {
// ResetSslConfig: Deletes all client certificates and generates a new
// server SSL certificate for the instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) ResetSslConfig(project string, instance string) *InstancesResetSslConfigCall {
c := &InstancesResetSslConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -8949,10 +8949,10 @@ type InstancesRestartCall struct {
// Restart: Restarts a Cloud SQL instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance to be
-// restarted.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance to be
+// restarted.
func (r *InstancesService) Restart(project string, instance string) *InstancesRestartCall {
c := &InstancesRestartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9096,9 +9096,9 @@ type InstancesRestoreBackupCall struct {
// RestoreBackup: Restores a backup of a Cloud SQL instance. Using this
// operation might cause your instance to restart.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) RestoreBackup(project string, instance string, instancesrestorebackuprequest *InstancesRestoreBackupRequest) *InstancesRestoreBackupCall {
c := &InstancesRestoreBackupCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9252,9 +9252,9 @@ type InstancesRotateServerCaCall struct {
// Certificate Authority (CA) version previously added with the
// addServerCA method.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) RotateServerCa(project string, instance string, instancesrotateservercarequest *InstancesRotateServerCaRequest) *InstancesRotateServerCaCall {
c := &InstancesRotateServerCaCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9693,9 +9693,9 @@ type InstancesTruncateLogCall struct {
// TruncateLog: Truncate MySQL general and slow query log tables MySQL
// only.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the Cloud SQL project.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the Cloud SQL project.
func (r *InstancesService) TruncateLog(project string, instance string, instancestruncatelogrequest *InstancesTruncateLogRequest) *InstancesTruncateLogCall {
c := &InstancesTruncateLogCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -9848,9 +9848,9 @@ type InstancesUpdateCall struct {
// Update: Updates settings of a Cloud SQL instance. Using this
// operation might cause your instance to restart.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *InstancesService) Update(project string, instance string, databaseinstance *DatabaseInstance) *InstancesUpdateCall {
c := &InstancesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10368,9 +10368,9 @@ type ProjectsInstancesRescheduleMaintenanceCall struct {
// RescheduleMaintenance: Reschedules the maintenance on the given
// instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: ID of the project that contains the instance.
func (r *ProjectsInstancesService) RescheduleMaintenance(project string, instance string, sqlinstancesreschedulemaintenancerequestbody *SqlInstancesRescheduleMaintenanceRequestBody) *ProjectsInstancesRescheduleMaintenanceCall {
c := &ProjectsInstancesRescheduleMaintenanceCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10522,9 +10522,9 @@ type ProjectsInstancesStartExternalSyncCall struct {
// StartExternalSync: Start External primary instance migration.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: ID of the project that contains the instance.
func (r *ProjectsInstancesService) StartExternalSync(project string, instance string, sqlinstancesstartexternalsyncrequest *SqlInstancesStartExternalSyncRequest) *ProjectsInstancesStartExternalSyncCall {
c := &ProjectsInstancesStartExternalSyncCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10677,9 +10677,9 @@ type ProjectsInstancesVerifyExternalSyncSettingsCall struct {
// VerifyExternalSyncSettings: Verify External primary instance external
// sync settings.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *ProjectsInstancesService) VerifyExternalSyncSettings(project string, instance string, sqlinstancesverifyexternalsyncsettingsrequest *SqlInstancesVerifyExternalSyncSettingsRequest) *ProjectsInstancesVerifyExternalSyncSettingsCall {
c := &ProjectsInstancesVerifyExternalSyncSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10836,9 +10836,9 @@ type SslCertsCreateEphemeralCall struct {
// target instance. Users may use the certificate to authenticate as
// themselves when connecting to the database.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the Cloud SQL project.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the Cloud SQL project.
func (r *SslCertsService) CreateEphemeral(project string, instance string, sslcertscreateephemeralrequest *SslCertsCreateEphemeralRequest) *SslCertsCreateEphemeralCall {
c := &SslCertsCreateEphemeralCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -10991,10 +10991,10 @@ type SslCertsDeleteCall struct {
// Delete: Deletes the SSL certificate. For First Generation instances,
// the certificate remains valid until the instance is restarted.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
-// - sha1Fingerprint: Sha1 FingerPrint.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
+// - sha1Fingerprint: Sha1 FingerPrint.
func (r *SslCertsService) Delete(project string, instance string, sha1Fingerprint string) *SslCertsDeleteCall {
c := &SslCertsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11149,10 +11149,10 @@ type SslCertsGetCall struct {
// private key (required for usage). The private key must be saved from
// the response to initial creation.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
-// - sha1Fingerprint: Sha1 FingerPrint.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
+// - sha1Fingerprint: Sha1 FingerPrint.
func (r *SslCertsService) Get(project string, instance string, sha1Fingerprint string) *SslCertsGetCall {
c := &SslCertsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11319,9 +11319,9 @@ type SslCertsInsertCall struct {
// private key and server certificate authority. The new certificate
// will not be usable until the instance is restarted.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *SslCertsService) Insert(project string, instance string, sslcertsinsertrequest *SslCertsInsertRequest) *SslCertsInsertCall {
c := &SslCertsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11473,9 +11473,9 @@ type SslCertsListCall struct {
// List: Lists all of the current SSL certificates for the instance.
//
-// - instance: Cloud SQL instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Cloud SQL instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *SslCertsService) List(project string, instance string) *SslCertsListCall {
c := &SslCertsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11778,9 +11778,9 @@ type UsersDeleteCall struct {
// Delete: Deletes a user from a Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) Delete(project string, instance string) *UsersDeleteCall {
c := &UsersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -11948,11 +11948,11 @@ type UsersGetCall struct {
// Get: Retrieves a resource containing information about a user.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - name: User of the instance. If the database user has a host, this
-// is specified as {username}@{host} else as {username}.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - name: User of the instance. If the database user has a host, this
+// is specified as {username}@{host} else as {username}.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) Get(project string, instance string, name string) *UsersGetCall {
c := &UsersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -12117,9 +12117,9 @@ type UsersInsertCall struct {
// Insert: Creates a new user in a Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) Insert(project string, instance string, user *User) *UsersInsertCall {
c := &UsersInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -12271,9 +12271,9 @@ type UsersListCall struct {
// List: Lists users in the specified Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) List(project string, instance string) *UsersListCall {
c := &UsersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
@@ -12429,9 +12429,9 @@ type UsersUpdateCall struct {
// Update: Updates an existing user in a Cloud SQL instance.
//
-// - instance: Database instance ID. This does not include the project
-// ID.
-// - project: Project ID of the project that contains the instance.
+// - instance: Database instance ID. This does not include the project
+// ID.
+// - project: Project ID of the project that contains the instance.
func (r *UsersService) Update(project string, instance string, user *User) *UsersUpdateCall {
c := &UsersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.project = project
diff --git a/storage/v1/storage-gen.go b/storage/v1/storage-gen.go
index 353367a7c1b..b0ab7276dff 100644
--- a/storage/v1/storage-gen.go
+++ b/storage/v1/storage-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://developers.google.com/storage/docs/json_api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/storage/v1"
-// ...
-// ctx := context.Background()
-// storageService, err := storage.NewService(ctx)
+// import "google.golang.org/api/storage/v1"
+// ...
+// ctx := context.Background()
+// storageService, err := storage.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// storageService, err := storage.NewService(ctx, option.WithScopes(storage.DevstorageReadWriteScope))
+// storageService, err := storage.NewService(ctx, option.WithScopes(storage.DevstorageReadWriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// storageService, err := storage.NewService(ctx, option.WithAPIKey("AIza..."))
+// storageService, err := storage.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// storageService, err := storage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// storageService, err := storage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package storage // import "google.golang.org/api/storage/v1"
@@ -2484,10 +2484,10 @@ type BucketAccessControlsDeleteCall struct {
// Delete: Permanently deletes the ACL entry for the specified entity on
// the specified bucket.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
func (r *BucketAccessControlsService) Delete(bucket string, entity string) *BucketAccessControlsDeleteCall {
c := &BucketAccessControlsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -2614,10 +2614,10 @@ type BucketAccessControlsGetCall struct {
// Get: Returns the ACL entry for the specified entity on the specified
// bucket.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
func (r *BucketAccessControlsService) Get(bucket string, entity string) *BucketAccessControlsGetCall {
c := &BucketAccessControlsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -3094,10 +3094,10 @@ type BucketAccessControlsPatchCall struct {
// Patch: Patches an ACL entry on the specified bucket.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
func (r *BucketAccessControlsService) Patch(bucket string, entity string, bucketaccesscontrol *BucketAccessControl) *BucketAccessControlsPatchCall {
c := &BucketAccessControlsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -3260,10 +3260,10 @@ type BucketAccessControlsUpdateCall struct {
// Update: Updates an ACL entry on the specified bucket.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
func (r *BucketAccessControlsService) Update(bucket string, entity string, bucketaccesscontrol *BucketAccessControl) *BucketAccessControlsUpdateCall {
c := &BucketAccessControlsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -3598,8 +3598,9 @@ func (c *BucketsGetCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch int64
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
func (c *BucketsGetCall) Projection(projection string) *BucketsGetCall {
c.urlParams_.Set("projection", projection)
return c
@@ -3968,14 +3969,22 @@ func (r *BucketsService) Insert(projectid string, bucket *Bucket) *BucketsInsert
// predefined set of access controls to this bucket.
//
// Possible values:
-// "authenticatedRead" - Project team owners get OWNER access, and
+//
+// "authenticatedRead" - Project team owners get OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "private" - Project team owners get OWNER access.
-// "projectPrivate" - Project team members get access according to
+//
+// "private" - Project team owners get OWNER access.
+// "projectPrivate" - Project team members get access according to
+//
// their roles.
-// "publicRead" - Project team owners get OWNER access, and allUsers
+//
+// "publicRead" - Project team owners get OWNER access, and allUsers
+//
// get READER access.
-// "publicReadWrite" - Project team owners get OWNER access, and
+//
+// "publicReadWrite" - Project team owners get OWNER access, and
+//
// allUsers get WRITER access.
func (c *BucketsInsertCall) PredefinedAcl(predefinedAcl string) *BucketsInsertCall {
c.urlParams_.Set("predefinedAcl", predefinedAcl)
@@ -3987,16 +3996,26 @@ func (c *BucketsInsertCall) PredefinedAcl(predefinedAcl string) *BucketsInsertCa
// object access controls to this bucket.
//
// Possible values:
-// "authenticatedRead" - Object owner gets OWNER access, and
+//
+// "authenticatedRead" - Object owner gets OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
+// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
// project team owners get OWNER access.
-// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
+// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
// team owners get READER access.
-// "private" - Object owner gets OWNER access.
-// "projectPrivate" - Object owner gets OWNER access, and project team
+//
+// "private" - Object owner gets OWNER access.
+// "projectPrivate" - Object owner gets OWNER access, and project team
+//
// members get access according to their roles.
-// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
+// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
// READER access.
func (c *BucketsInsertCall) PredefinedDefaultObjectAcl(predefinedDefaultObjectAcl string) *BucketsInsertCall {
c.urlParams_.Set("predefinedDefaultObjectAcl", predefinedDefaultObjectAcl)
@@ -4009,8 +4028,9 @@ func (c *BucketsInsertCall) PredefinedDefaultObjectAcl(predefinedDefaultObjectAc
// full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
func (c *BucketsInsertCall) Projection(projection string) *BucketsInsertCall {
c.urlParams_.Set("projection", projection)
return c
@@ -4245,8 +4265,9 @@ func (c *BucketsListCall) Prefix(prefix string) *BucketsListCall {
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
func (c *BucketsListCall) Projection(projection string) *BucketsListCall {
c.urlParams_.Set("projection", projection)
return c
@@ -4453,9 +4474,9 @@ type BucketsLockRetentionPolicyCall struct {
// LockRetentionPolicy: Locks retention policy on a bucket.
//
-// - bucket: Name of a bucket.
-// - ifMetagenerationMatch: Makes the operation conditional on whether
-// bucket's current metageneration matches the given value.
+// - bucket: Name of a bucket.
+// - ifMetagenerationMatch: Makes the operation conditional on whether
+// bucket's current metageneration matches the given value.
func (r *BucketsService) LockRetentionPolicy(bucket string, ifMetagenerationMatch int64) *BucketsLockRetentionPolicyCall {
c := &BucketsLockRetentionPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -4641,14 +4662,22 @@ func (c *BucketsPatchCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch int
// predefined set of access controls to this bucket.
//
// Possible values:
-// "authenticatedRead" - Project team owners get OWNER access, and
+//
+// "authenticatedRead" - Project team owners get OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "private" - Project team owners get OWNER access.
-// "projectPrivate" - Project team members get access according to
+//
+// "private" - Project team owners get OWNER access.
+// "projectPrivate" - Project team members get access according to
+//
// their roles.
-// "publicRead" - Project team owners get OWNER access, and allUsers
+//
+// "publicRead" - Project team owners get OWNER access, and allUsers
+//
// get READER access.
-// "publicReadWrite" - Project team owners get OWNER access, and
+//
+// "publicReadWrite" - Project team owners get OWNER access, and
+//
// allUsers get WRITER access.
func (c *BucketsPatchCall) PredefinedAcl(predefinedAcl string) *BucketsPatchCall {
c.urlParams_.Set("predefinedAcl", predefinedAcl)
@@ -4660,16 +4689,26 @@ func (c *BucketsPatchCall) PredefinedAcl(predefinedAcl string) *BucketsPatchCall
// object access controls to this bucket.
//
// Possible values:
-// "authenticatedRead" - Object owner gets OWNER access, and
+//
+// "authenticatedRead" - Object owner gets OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
+// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
// project team owners get OWNER access.
-// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
+// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
// team owners get READER access.
-// "private" - Object owner gets OWNER access.
-// "projectPrivate" - Object owner gets OWNER access, and project team
+//
+// "private" - Object owner gets OWNER access.
+// "projectPrivate" - Object owner gets OWNER access, and project team
+//
// members get access according to their roles.
-// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
+// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
// READER access.
func (c *BucketsPatchCall) PredefinedDefaultObjectAcl(predefinedDefaultObjectAcl string) *BucketsPatchCall {
c.urlParams_.Set("predefinedDefaultObjectAcl", predefinedDefaultObjectAcl)
@@ -4680,8 +4719,9 @@ func (c *BucketsPatchCall) PredefinedDefaultObjectAcl(predefinedDefaultObjectAcl
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
func (c *BucketsPatchCall) Projection(projection string) *BucketsPatchCall {
c.urlParams_.Set("projection", projection)
return c
@@ -5253,14 +5293,22 @@ func (c *BucketsUpdateCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch in
// predefined set of access controls to this bucket.
//
// Possible values:
-// "authenticatedRead" - Project team owners get OWNER access, and
+//
+// "authenticatedRead" - Project team owners get OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "private" - Project team owners get OWNER access.
-// "projectPrivate" - Project team members get access according to
+//
+// "private" - Project team owners get OWNER access.
+// "projectPrivate" - Project team members get access according to
+//
// their roles.
-// "publicRead" - Project team owners get OWNER access, and allUsers
+//
+// "publicRead" - Project team owners get OWNER access, and allUsers
+//
// get READER access.
-// "publicReadWrite" - Project team owners get OWNER access, and
+//
+// "publicReadWrite" - Project team owners get OWNER access, and
+//
// allUsers get WRITER access.
func (c *BucketsUpdateCall) PredefinedAcl(predefinedAcl string) *BucketsUpdateCall {
c.urlParams_.Set("predefinedAcl", predefinedAcl)
@@ -5272,16 +5320,26 @@ func (c *BucketsUpdateCall) PredefinedAcl(predefinedAcl string) *BucketsUpdateCa
// object access controls to this bucket.
//
// Possible values:
-// "authenticatedRead" - Object owner gets OWNER access, and
+//
+// "authenticatedRead" - Object owner gets OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
+// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
// project team owners get OWNER access.
-// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
+// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
// team owners get READER access.
-// "private" - Object owner gets OWNER access.
-// "projectPrivate" - Object owner gets OWNER access, and project team
+//
+// "private" - Object owner gets OWNER access.
+// "projectPrivate" - Object owner gets OWNER access, and project team
+//
// members get access according to their roles.
-// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
+// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
// READER access.
func (c *BucketsUpdateCall) PredefinedDefaultObjectAcl(predefinedDefaultObjectAcl string) *BucketsUpdateCall {
c.urlParams_.Set("predefinedDefaultObjectAcl", predefinedDefaultObjectAcl)
@@ -5292,8 +5350,9 @@ func (c *BucketsUpdateCall) PredefinedDefaultObjectAcl(predefinedDefaultObjectAc
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit owner, acl and defaultObjectAcl properties.
func (c *BucketsUpdateCall) Projection(projection string) *BucketsUpdateCall {
c.urlParams_.Set("projection", projection)
return c
@@ -5609,10 +5668,10 @@ type DefaultObjectAccessControlsDeleteCall struct {
// Delete: Permanently deletes the default object ACL entry for the
// specified entity on the specified bucket.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
func (r *DefaultObjectAccessControlsService) Delete(bucket string, entity string) *DefaultObjectAccessControlsDeleteCall {
c := &DefaultObjectAccessControlsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -5739,10 +5798,10 @@ type DefaultObjectAccessControlsGetCall struct {
// Get: Returns the default object ACL entry for the specified entity on
// the specified bucket.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
func (r *DefaultObjectAccessControlsService) Get(bucket string, entity string) *DefaultObjectAccessControlsGetCall {
c := &DefaultObjectAccessControlsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -6249,10 +6308,10 @@ type DefaultObjectAccessControlsPatchCall struct {
// Patch: Patches a default object ACL entry on the specified bucket.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
func (r *DefaultObjectAccessControlsService) Patch(bucket string, entity string, objectaccesscontrol *ObjectAccessControl) *DefaultObjectAccessControlsPatchCall {
c := &DefaultObjectAccessControlsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -6415,10 +6474,10 @@ type DefaultObjectAccessControlsUpdateCall struct {
// Update: Updates a default object ACL entry on the specified bucket.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
func (r *DefaultObjectAccessControlsService) Update(bucket string, entity string, objectaccesscontrol *ObjectAccessControl) *DefaultObjectAccessControlsUpdateCall {
c := &DefaultObjectAccessControlsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -7195,12 +7254,12 @@ type ObjectAccessControlsDeleteCall struct {
// Delete: Permanently deletes the ACL entry for the specified entity on
// the specified object.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectAccessControlsService) Delete(bucket string, object string, entity string) *ObjectAccessControlsDeleteCall {
c := &ObjectAccessControlsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -7351,12 +7410,12 @@ type ObjectAccessControlsGetCall struct {
// Get: Returns the ACL entry for the specified entity on the specified
// object.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectAccessControlsService) Get(bucket string, object string, entity string) *ObjectAccessControlsGetCall {
c := &ObjectAccessControlsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -7546,9 +7605,9 @@ type ObjectAccessControlsInsertCall struct {
// Insert: Creates a new ACL entry on the specified object.
//
-// - bucket: Name of a bucket.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of a bucket.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectAccessControlsService) Insert(bucket string, object string, objectaccesscontrol *ObjectAccessControl) *ObjectAccessControlsInsertCall {
c := &ObjectAccessControlsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -7725,9 +7784,9 @@ type ObjectAccessControlsListCall struct {
// List: Retrieves ACL entries on the specified object.
//
-// - bucket: Name of a bucket.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of a bucket.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectAccessControlsService) List(bucket string, object string) *ObjectAccessControlsListCall {
c := &ObjectAccessControlsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -7909,12 +7968,12 @@ type ObjectAccessControlsPatchCall struct {
// Patch: Patches an ACL entry on the specified object.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectAccessControlsService) Patch(bucket string, object string, entity string, objectaccesscontrol *ObjectAccessControl) *ObjectAccessControlsPatchCall {
c := &ObjectAccessControlsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -8101,12 +8160,12 @@ type ObjectAccessControlsUpdateCall struct {
// Update: Updates an ACL entry on the specified object.
//
-// - bucket: Name of a bucket.
-// - entity: The entity holding the permission. Can be user-userId,
-// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
-// allAuthenticatedUsers.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of a bucket.
+// - entity: The entity holding the permission. Can be user-userId,
+// user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+// allAuthenticatedUsers.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectAccessControlsService) Update(bucket string, object string, entity string, objectaccesscontrol *ObjectAccessControl) *ObjectAccessControlsUpdateCall {
c := &ObjectAccessControlsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -8293,11 +8352,11 @@ type ObjectsComposeCall struct {
// Compose: Concatenates a list of existing objects into a new object in
// the same bucket.
//
-// - destinationBucket: Name of the bucket containing the source
-// objects. The destination object is stored in this bucket.
-// - destinationObject: Name of the new object. For information about
-// how to URL encode object names to be path safe, see Encoding URI
-// Path Parts.
+// - destinationBucket: Name of the bucket containing the source
+// objects. The destination object is stored in this bucket.
+// - destinationObject: Name of the new object. For information about
+// how to URL encode object names to be path safe, see Encoding URI
+// Path Parts.
func (r *ObjectsService) Compose(destinationBucket string, destinationObject string, composerequest *ComposeRequest) *ObjectsComposeCall {
c := &ObjectsComposeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.destinationBucket = destinationBucket
@@ -8311,16 +8370,26 @@ func (r *ObjectsService) Compose(destinationBucket string, destinationObject str
// to the destination object.
//
// Possible values:
-// "authenticatedRead" - Object owner gets OWNER access, and
+//
+// "authenticatedRead" - Object owner gets OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
+// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
// project team owners get OWNER access.
-// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
+// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
// team owners get READER access.
-// "private" - Object owner gets OWNER access.
-// "projectPrivate" - Object owner gets OWNER access, and project team
+//
+// "private" - Object owner gets OWNER access.
+// "projectPrivate" - Object owner gets OWNER access, and project team
+//
// members get access according to their roles.
-// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
+// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
// READER access.
func (c *ObjectsComposeCall) DestinationPredefinedAcl(destinationPredefinedAcl string) *ObjectsComposeCall {
c.urlParams_.Set("destinationPredefinedAcl", destinationPredefinedAcl)
@@ -8347,7 +8416,9 @@ func (c *ObjectsComposeCall) IfMetagenerationMatch(ifMetagenerationMatch int64)
// KmsKeyName sets the optional parameter "kmsKeyName": Resource name of
// the Cloud KMS key, of the form
// projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key,
-// that will be used to encrypt the object. Overrides the object
+//
+// that will be used to encrypt the object. Overrides the object
+//
// metadata's kms_key_name value, if any.
func (c *ObjectsComposeCall) KmsKeyName(kmsKeyName string) *ObjectsComposeCall {
c.urlParams_.Set("kmsKeyName", kmsKeyName)
@@ -8550,18 +8621,18 @@ type ObjectsCopyCall struct {
// Copy: Copies a source object to a destination object. Optionally
// overrides metadata.
//
-// - destinationBucket: Name of the bucket in which to store the new
-// object. Overrides the provided object metadata's bucket value, if
-// any.For information about how to URL encode object names to be path
-// safe, see Encoding URI Path Parts.
-// - destinationObject: Name of the new object. Required when the object
-// metadata is not otherwise provided. Overrides the object metadata's
-// name value, if any.
-// - sourceBucket: Name of the bucket in which to find the source
-// object.
-// - sourceObject: Name of the source object. For information about how
-// to URL encode object names to be path safe, see Encoding URI Path
-// Parts.
+// - destinationBucket: Name of the bucket in which to store the new
+// object. Overrides the provided object metadata's bucket value, if
+// any.For information about how to URL encode object names to be path
+// safe, see Encoding URI Path Parts.
+// - destinationObject: Name of the new object. Required when the object
+// metadata is not otherwise provided. Overrides the object metadata's
+// name value, if any.
+// - sourceBucket: Name of the bucket in which to find the source
+// object.
+// - sourceObject: Name of the source object. For information about how
+// to URL encode object names to be path safe, see Encoding URI Path
+// Parts.
func (r *ObjectsService) Copy(sourceBucket string, sourceObject string, destinationBucket string, destinationObject string, object *Object) *ObjectsCopyCall {
c := &ObjectsCopyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sourceBucket = sourceBucket
@@ -8576,7 +8647,9 @@ func (r *ObjectsService) Copy(sourceBucket string, sourceObject string, destinat
// "destinationKmsKeyName": Resource name of the Cloud KMS key, of the
// form
// projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key,
-// that will be used to encrypt the object. Overrides the object
+//
+// that will be used to encrypt the object. Overrides the object
+//
// metadata's kms_key_name value, if any.
func (c *ObjectsCopyCall) DestinationKmsKeyName(destinationKmsKeyName string) *ObjectsCopyCall {
c.urlParams_.Set("destinationKmsKeyName", destinationKmsKeyName)
@@ -8588,16 +8661,26 @@ func (c *ObjectsCopyCall) DestinationKmsKeyName(destinationKmsKeyName string) *O
// to the destination object.
//
// Possible values:
-// "authenticatedRead" - Object owner gets OWNER access, and
+//
+// "authenticatedRead" - Object owner gets OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
+// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
// project team owners get OWNER access.
-// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
+// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
// team owners get READER access.
-// "private" - Object owner gets OWNER access.
-// "projectPrivate" - Object owner gets OWNER access, and project team
+//
+// "private" - Object owner gets OWNER access.
+// "projectPrivate" - Object owner gets OWNER access, and project team
+//
// members get access according to their roles.
-// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
+// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
// READER access.
func (c *ObjectsCopyCall) DestinationPredefinedAcl(destinationPredefinedAcl string) *ObjectsCopyCall {
c.urlParams_.Set("destinationPredefinedAcl", destinationPredefinedAcl)
@@ -8682,8 +8765,9 @@ func (c *ObjectsCopyCall) IfSourceMetagenerationNotMatch(ifSourceMetagenerationN
// specifies the acl property, when it defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the owner, acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the owner, acl property.
func (c *ObjectsCopyCall) Projection(projection string) *ObjectsCopyCall {
c.urlParams_.Set("projection", projection)
return c
@@ -8962,9 +9046,9 @@ type ObjectsDeleteCall struct {
// if versioning is not enabled for the bucket, or if the generation
// parameter is used.
//
-// - bucket: Name of the bucket in which the object resides.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of the bucket in which the object resides.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectsService) Delete(bucket string, object string) *ObjectsDeleteCall {
c := &ObjectsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -9165,9 +9249,9 @@ type ObjectsGetCall struct {
// Get: Retrieves an object or its metadata.
//
-// - bucket: Name of the bucket in which the object resides.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of the bucket in which the object resides.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectsService) Get(bucket string, object string) *ObjectsGetCall {
c := &ObjectsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -9223,8 +9307,9 @@ func (c *ObjectsGetCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch int64
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the owner, acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the owner, acl property.
func (c *ObjectsGetCall) Projection(projection string) *ObjectsGetCall {
c.urlParams_.Set("projection", projection)
return c
@@ -9453,9 +9538,9 @@ type ObjectsGetIamPolicyCall struct {
// GetIamPolicy: Returns an IAM policy for the specified object.
//
-// - bucket: Name of the bucket in which the object resides.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of the bucket in which the object resides.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectsService) GetIamPolicy(bucket string, object string) *ObjectsGetIamPolicyCall {
c := &ObjectsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -9640,8 +9725,8 @@ type ObjectsInsertCall struct {
// Insert: Stores a new object and metadata.
//
-// - bucket: Name of the bucket in which to store the new object.
-// Overrides the provided object metadata's bucket value, if any.
+// - bucket: Name of the bucket in which to store the new object.
+// Overrides the provided object metadata's bucket value, if any.
func (r *ObjectsService) Insert(bucket string, object *Object) *ObjectsInsertCall {
c := &ObjectsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -9699,7 +9784,9 @@ func (c *ObjectsInsertCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch in
// KmsKeyName sets the optional parameter "kmsKeyName": Resource name of
// the Cloud KMS key, of the form
// projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key,
-// that will be used to encrypt the object. Overrides the object
+//
+// that will be used to encrypt the object. Overrides the object
+//
// metadata's kms_key_name value, if any.
func (c *ObjectsInsertCall) KmsKeyName(kmsKeyName string) *ObjectsInsertCall {
c.urlParams_.Set("kmsKeyName", kmsKeyName)
@@ -9719,16 +9806,26 @@ func (c *ObjectsInsertCall) Name(name string) *ObjectsInsertCall {
// predefined set of access controls to this object.
//
// Possible values:
-// "authenticatedRead" - Object owner gets OWNER access, and
+//
+// "authenticatedRead" - Object owner gets OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
+// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
// project team owners get OWNER access.
-// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
+// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
// team owners get READER access.
-// "private" - Object owner gets OWNER access.
-// "projectPrivate" - Object owner gets OWNER access, and project team
+//
+// "private" - Object owner gets OWNER access.
+// "projectPrivate" - Object owner gets OWNER access, and project team
+//
// members get access according to their roles.
-// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
+// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
// READER access.
func (c *ObjectsInsertCall) PredefinedAcl(predefinedAcl string) *ObjectsInsertCall {
c.urlParams_.Set("predefinedAcl", predefinedAcl)
@@ -9740,8 +9837,9 @@ func (c *ObjectsInsertCall) PredefinedAcl(predefinedAcl string) *ObjectsInsertCa
// specifies the acl property, when it defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the owner, acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the owner, acl property.
func (c *ObjectsInsertCall) Projection(projection string) *ObjectsInsertCall {
c.urlParams_.Set("projection", projection)
return c
@@ -10147,8 +10245,9 @@ func (c *ObjectsListCall) Prefix(prefix string) *ObjectsListCall {
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the owner, acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the owner, acl property.
func (c *ObjectsListCall) Projection(projection string) *ObjectsListCall {
c.urlParams_.Set("projection", projection)
return c
@@ -10403,9 +10502,9 @@ type ObjectsPatchCall struct {
// Patch: Patches an object's metadata.
//
-// - bucket: Name of the bucket in which the object resides.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of the bucket in which the object resides.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectsService) Patch(bucket string, object string, object2 *Object) *ObjectsPatchCall {
c := &ObjectsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -10462,16 +10561,26 @@ func (c *ObjectsPatchCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch int
// predefined set of access controls to this object.
//
// Possible values:
-// "authenticatedRead" - Object owner gets OWNER access, and
+//
+// "authenticatedRead" - Object owner gets OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
+// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
// project team owners get OWNER access.
-// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
+// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
// team owners get READER access.
-// "private" - Object owner gets OWNER access.
-// "projectPrivate" - Object owner gets OWNER access, and project team
+//
+// "private" - Object owner gets OWNER access.
+// "projectPrivate" - Object owner gets OWNER access, and project team
+//
// members get access according to their roles.
-// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
+// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
// READER access.
func (c *ObjectsPatchCall) PredefinedAcl(predefinedAcl string) *ObjectsPatchCall {
c.urlParams_.Set("predefinedAcl", predefinedAcl)
@@ -10482,8 +10591,9 @@ func (c *ObjectsPatchCall) PredefinedAcl(predefinedAcl string) *ObjectsPatchCall
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the owner, acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the owner, acl property.
func (c *ObjectsPatchCall) Projection(projection string) *ObjectsPatchCall {
c.urlParams_.Set("projection", projection)
return c
@@ -10710,18 +10820,18 @@ type ObjectsRewriteCall struct {
// Rewrite: Rewrites a source object to a destination object. Optionally
// overrides metadata.
//
-// - destinationBucket: Name of the bucket in which to store the new
-// object. Overrides the provided object metadata's bucket value, if
-// any.
-// - destinationObject: Name of the new object. Required when the object
-// metadata is not otherwise provided. Overrides the object metadata's
-// name value, if any. For information about how to URL encode object
-// names to be path safe, see Encoding URI Path Parts.
-// - sourceBucket: Name of the bucket in which to find the source
-// object.
-// - sourceObject: Name of the source object. For information about how
-// to URL encode object names to be path safe, see Encoding URI Path
-// Parts.
+// - destinationBucket: Name of the bucket in which to store the new
+// object. Overrides the provided object metadata's bucket value, if
+// any.
+// - destinationObject: Name of the new object. Required when the object
+// metadata is not otherwise provided. Overrides the object metadata's
+// name value, if any. For information about how to URL encode object
+// names to be path safe, see Encoding URI Path Parts.
+// - sourceBucket: Name of the bucket in which to find the source
+// object.
+// - sourceObject: Name of the source object. For information about how
+// to URL encode object names to be path safe, see Encoding URI Path
+// Parts.
func (r *ObjectsService) Rewrite(sourceBucket string, sourceObject string, destinationBucket string, destinationObject string, object *Object) *ObjectsRewriteCall {
c := &ObjectsRewriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.sourceBucket = sourceBucket
@@ -10736,7 +10846,9 @@ func (r *ObjectsService) Rewrite(sourceBucket string, sourceObject string, desti
// "destinationKmsKeyName": Resource name of the Cloud KMS key, of the
// form
// projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key,
-// that will be used to encrypt the object. Overrides the object
+//
+// that will be used to encrypt the object. Overrides the object
+//
// metadata's kms_key_name value, if any.
func (c *ObjectsRewriteCall) DestinationKmsKeyName(destinationKmsKeyName string) *ObjectsRewriteCall {
c.urlParams_.Set("destinationKmsKeyName", destinationKmsKeyName)
@@ -10748,16 +10860,26 @@ func (c *ObjectsRewriteCall) DestinationKmsKeyName(destinationKmsKeyName string)
// to the destination object.
//
// Possible values:
-// "authenticatedRead" - Object owner gets OWNER access, and
+//
+// "authenticatedRead" - Object owner gets OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
+// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
// project team owners get OWNER access.
-// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
+// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
// team owners get READER access.
-// "private" - Object owner gets OWNER access.
-// "projectPrivate" - Object owner gets OWNER access, and project team
+//
+// "private" - Object owner gets OWNER access.
+// "projectPrivate" - Object owner gets OWNER access, and project team
+//
// members get access according to their roles.
-// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
+// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
// READER access.
func (c *ObjectsRewriteCall) DestinationPredefinedAcl(destinationPredefinedAcl string) *ObjectsRewriteCall {
c.urlParams_.Set("destinationPredefinedAcl", destinationPredefinedAcl)
@@ -10855,8 +10977,9 @@ func (c *ObjectsRewriteCall) MaxBytesRewrittenPerCall(maxBytesRewrittenPerCall i
// specifies the acl property, when it defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the owner, acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the owner, acl property.
func (c *ObjectsRewriteCall) Projection(projection string) *ObjectsRewriteCall {
c.urlParams_.Set("projection", projection)
return c
@@ -11156,9 +11279,9 @@ type ObjectsSetIamPolicyCall struct {
// SetIamPolicy: Updates an IAM policy for the specified object.
//
-// - bucket: Name of the bucket in which the object resides.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of the bucket in which the object resides.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectsService) SetIamPolicy(bucket string, object string, policy *Policy) *ObjectsSetIamPolicyCall {
c := &ObjectsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -11337,10 +11460,10 @@ type ObjectsTestIamPermissionsCall struct {
// TestIamPermissions: Tests a set of permissions on the given object to
// see which, if any, are held by the caller.
//
-// - bucket: Name of the bucket in which the object resides.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
-// - permissions: Permissions to test.
+// - bucket: Name of the bucket in which the object resides.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
+// - permissions: Permissions to test.
func (r *ObjectsService) TestIamPermissions(bucket string, object string, permissions []string) *ObjectsTestIamPermissionsCall {
c := &ObjectsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -11533,9 +11656,9 @@ type ObjectsUpdateCall struct {
// Update: Updates an object's metadata.
//
-// - bucket: Name of the bucket in which the object resides.
-// - object: Name of the object. For information about how to URL encode
-// object names to be path safe, see Encoding URI Path Parts.
+// - bucket: Name of the bucket in which the object resides.
+// - object: Name of the object. For information about how to URL encode
+// object names to be path safe, see Encoding URI Path Parts.
func (r *ObjectsService) Update(bucket string, object string, object2 *Object) *ObjectsUpdateCall {
c := &ObjectsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.bucket = bucket
@@ -11592,16 +11715,26 @@ func (c *ObjectsUpdateCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch in
// predefined set of access controls to this object.
//
// Possible values:
-// "authenticatedRead" - Object owner gets OWNER access, and
+//
+// "authenticatedRead" - Object owner gets OWNER access, and
+//
// allAuthenticatedUsers get READER access.
-// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
+// "bucketOwnerFullControl" - Object owner gets OWNER access, and
+//
// project team owners get OWNER access.
-// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
+// "bucketOwnerRead" - Object owner gets OWNER access, and project
+//
// team owners get READER access.
-// "private" - Object owner gets OWNER access.
-// "projectPrivate" - Object owner gets OWNER access, and project team
+//
+// "private" - Object owner gets OWNER access.
+// "projectPrivate" - Object owner gets OWNER access, and project team
+//
// members get access according to their roles.
-// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
+// "publicRead" - Object owner gets OWNER access, and allUsers get
+//
// READER access.
func (c *ObjectsUpdateCall) PredefinedAcl(predefinedAcl string) *ObjectsUpdateCall {
c.urlParams_.Set("predefinedAcl", predefinedAcl)
@@ -11612,8 +11745,9 @@ func (c *ObjectsUpdateCall) PredefinedAcl(predefinedAcl string) *ObjectsUpdateCa
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the owner, acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the owner, acl property.
func (c *ObjectsUpdateCall) Projection(projection string) *ObjectsUpdateCall {
c.urlParams_.Set("projection", projection)
return c
@@ -11902,8 +12036,9 @@ func (c *ObjectsWatchAllCall) Prefix(prefix string) *ObjectsWatchAllCall {
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the owner, acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the owner, acl property.
func (c *ObjectsWatchAllCall) Projection(projection string) *ObjectsWatchAllCall {
c.urlParams_.Set("projection", projection)
return c
@@ -12412,9 +12547,9 @@ type ProjectsHmacKeysGetCall struct {
// Get: Retrieves an HMAC key's metadata
//
-// - accessId: Name of the HMAC key.
-// - projectId: Project ID owning the service account of the requested
-// key.
+// - accessId: Name of the HMAC key.
+// - projectId: Project ID owning the service account of the requested
+// key.
func (r *ProjectsHmacKeysService) Get(projectId string, accessId string) *ProjectsHmacKeysGetCall {
c := &ProjectsHmacKeysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -12822,9 +12957,9 @@ type ProjectsHmacKeysUpdateCall struct {
// Update: Updates the state of an HMAC key. See the HMAC Key resource
// descriptor for valid states.
//
-// - accessId: Name of the HMAC key being updated.
-// - projectId: Project ID owning the service account of the updated
-// key.
+// - accessId: Name of the HMAC key being updated.
+// - projectId: Project ID owning the service account of the updated
+// key.
func (r *ProjectsHmacKeysService) Update(projectId string, accessId string, hmackeymetadata *HmacKeyMetadata) *ProjectsHmacKeysUpdateCall {
c := &ProjectsHmacKeysUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
diff --git a/storage/v1beta1/storage-gen.go b/storage/v1beta1/storage-gen.go
index 0a098d2a59c..93c88c316f0 100644
--- a/storage/v1beta1/storage-gen.go
+++ b/storage/v1beta1/storage-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://developers.google.com/storage/docs/json_api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/storage/v1beta1"
-// ...
-// ctx := context.Background()
-// storageService, err := storage.NewService(ctx)
+// import "google.golang.org/api/storage/v1beta1"
+// ...
+// ctx := context.Background()
+// storageService, err := storage.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// storageService, err := storage.NewService(ctx, option.WithScopes(storage.DevstorageReadWriteScope))
+// storageService, err := storage.NewService(ctx, option.WithScopes(storage.DevstorageReadWriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// storageService, err := storage.NewService(ctx, option.WithAPIKey("AIza..."))
+// storageService, err := storage.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// storageService, err := storage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// storageService, err := storage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package storage // import "google.golang.org/api/storage/v1beta1"
@@ -1741,8 +1741,9 @@ func (r *BucketsService) Get(bucket string) *BucketsGetCall {
// properties to return. Defaults to no_acl.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsGetCall) Projection(projection string) *BucketsGetCall {
c.urlParams_.Set("projection", projection)
return c
@@ -1910,8 +1911,9 @@ func (r *BucketsService) Insert(bucket *Bucket) *BucketsInsertCall {
// full.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsInsertCall) Projection(projection string) *BucketsInsertCall {
c.urlParams_.Set("projection", projection)
return c
@@ -2074,8 +2076,9 @@ func (c *BucketsListCall) PageToken(pageToken string) *BucketsListCall {
// properties to return. Defaults to no_acl.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsListCall) Projection(projection string) *BucketsListCall {
c.urlParams_.Set("projection", projection)
return c
@@ -2274,8 +2277,9 @@ func (r *BucketsService) Patch(bucket string, bucket2 *Bucket) *BucketsPatchCall
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsPatchCall) Projection(projection string) *BucketsPatchCall {
c.urlParams_.Set("projection", projection)
return c
@@ -2437,8 +2441,9 @@ func (r *BucketsService) Update(bucket string, bucket2 *Bucket) *BucketsUpdateCa
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsUpdateCall) Projection(projection string) *BucketsUpdateCall {
c.urlParams_.Set("projection", projection)
return c
@@ -3613,8 +3618,9 @@ func (r *ObjectsService) Get(bucket string, object string) *ObjectsGetCall {
// properties to return. Defaults to no_acl.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit the acl property.
func (c *ObjectsGetCall) Projection(projection string) *ObjectsGetCall {
c.urlParams_.Set("projection", projection)
return c
@@ -3817,8 +3823,9 @@ func (c *ObjectsInsertCall) Name(name string) *ObjectsInsertCall {
// specifies the acl property, when it defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit the acl property.
func (c *ObjectsInsertCall) Projection(projection string) *ObjectsInsertCall {
c.urlParams_.Set("projection", projection)
return c
@@ -4102,8 +4109,9 @@ func (c *ObjectsListCall) Prefix(prefix string) *ObjectsListCall {
// properties to return. Defaults to no_acl.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit the acl property.
func (c *ObjectsListCall) Projection(projection string) *ObjectsListCall {
c.urlParams_.Set("projection", projection)
return c
@@ -4318,8 +4326,9 @@ func (r *ObjectsService) Patch(bucket string, object string, object2 *Object) *O
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit the acl property.
func (c *ObjectsPatchCall) Projection(projection string) *ObjectsPatchCall {
c.urlParams_.Set("projection", projection)
return c
@@ -4491,8 +4500,9 @@ func (r *ObjectsService) Update(bucket string, object string, object2 *Object) *
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "no_acl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "no_acl" - Omit the acl property.
func (c *ObjectsUpdateCall) Projection(projection string) *ObjectsUpdateCall {
c.urlParams_.Set("projection", projection)
return c
diff --git a/storage/v1beta2/storage-gen.go b/storage/v1beta2/storage-gen.go
index b077f128a9b..96940ee87c8 100644
--- a/storage/v1beta2/storage-gen.go
+++ b/storage/v1beta2/storage-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://developers.google.com/storage/docs/json_api/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/storage/v1beta2"
-// ...
-// ctx := context.Background()
-// storageService, err := storage.NewService(ctx)
+// import "google.golang.org/api/storage/v1beta2"
+// ...
+// ctx := context.Background()
+// storageService, err := storage.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// storageService, err := storage.NewService(ctx, option.WithScopes(storage.DevstorageReadWriteScope))
+// storageService, err := storage.NewService(ctx, option.WithScopes(storage.DevstorageReadWriteScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// storageService, err := storage.NewService(ctx, option.WithAPIKey("AIza..."))
+// storageService, err := storage.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// storageService, err := storage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// storageService, err := storage.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package storage // import "google.golang.org/api/storage/v1beta2"
@@ -2250,8 +2250,9 @@ func (c *BucketsGetCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch uint6
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsGetCall) Projection(projection string) *BucketsGetCall {
c.urlParams_.Set("projection", projection)
return c
@@ -2432,8 +2433,9 @@ func (r *BucketsService) Insert(projectid string, bucket *Bucket) *BucketsInsert
// full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsInsertCall) Projection(projection string) *BucketsInsertCall {
c.urlParams_.Set("projection", projection)
return c
@@ -2605,8 +2607,9 @@ func (c *BucketsListCall) PageToken(pageToken string) *BucketsListCall {
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsListCall) Projection(projection string) *BucketsListCall {
c.urlParams_.Set("projection", projection)
return c
@@ -2822,8 +2825,9 @@ func (c *BucketsPatchCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch uin
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsPatchCall) Projection(projection string) *BucketsPatchCall {
c.urlParams_.Set("projection", projection)
return c
@@ -3015,8 +3019,9 @@ func (c *BucketsUpdateCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch ui
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit acl and defaultObjectAcl properties.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit acl and defaultObjectAcl properties.
func (c *BucketsUpdateCall) Projection(projection string) *BucketsUpdateCall {
c.urlParams_.Set("projection", projection)
return c
@@ -5416,8 +5421,9 @@ func (c *ObjectsCopyCall) IfSourceMetagenerationNotMatch(ifSourceMetagenerationN
// specifies the acl property, when it defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the acl property.
func (c *ObjectsCopyCall) Projection(projection string) *ObjectsCopyCall {
c.urlParams_.Set("projection", projection)
return c
@@ -5908,8 +5914,9 @@ func (c *ObjectsGetCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch uint6
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the acl property.
func (c *ObjectsGetCall) Projection(projection string) *ObjectsGetCall {
c.urlParams_.Set("projection", projection)
return c
@@ -6175,8 +6182,9 @@ func (c *ObjectsInsertCall) Name(name string) *ObjectsInsertCall {
// specifies the acl property, when it defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the acl property.
func (c *ObjectsInsertCall) Projection(projection string) *ObjectsInsertCall {
c.urlParams_.Set("projection", projection)
return c
@@ -6487,8 +6495,9 @@ func (c *ObjectsListCall) Prefix(prefix string) *ObjectsListCall {
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the acl property.
func (c *ObjectsListCall) Projection(projection string) *ObjectsListCall {
c.urlParams_.Set("projection", projection)
return c
@@ -6756,8 +6765,9 @@ func (c *ObjectsPatchCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch uin
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the acl property.
func (c *ObjectsPatchCall) Projection(projection string) *ObjectsPatchCall {
c.urlParams_.Set("projection", projection)
return c
@@ -7000,8 +7010,9 @@ func (c *ObjectsUpdateCall) IfMetagenerationNotMatch(ifMetagenerationNotMatch ui
// properties to return. Defaults to full.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the acl property.
func (c *ObjectsUpdateCall) Projection(projection string) *ObjectsUpdateCall {
c.urlParams_.Set("projection", projection)
return c
@@ -7252,8 +7263,9 @@ func (c *ObjectsWatchAllCall) Prefix(prefix string) *ObjectsWatchAllCall {
// properties to return. Defaults to noAcl.
//
// Possible values:
-// "full" - Include all properties.
-// "noAcl" - Omit the acl property.
+//
+// "full" - Include all properties.
+// "noAcl" - Omit the acl property.
func (c *ObjectsWatchAllCall) Projection(projection string) *ObjectsWatchAllCall {
c.urlParams_.Set("projection", projection)
return c
diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go
index 80d93ad90f4..e456af39554 100644
--- a/storagetransfer/v1/storagetransfer-gen.go
+++ b/storagetransfer/v1/storagetransfer-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/storage-transfer/docs
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/storagetransfer/v1"
-// ...
-// ctx := context.Background()
-// storagetransferService, err := storagetransfer.NewService(ctx)
+// import "google.golang.org/api/storagetransfer/v1"
+// ...
+// ctx := context.Background()
+// storagetransferService, err := storagetransfer.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// storagetransferService, err := storagetransfer.NewService(ctx, option.WithAPIKey("AIza..."))
+// storagetransferService, err := storagetransfer.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// storagetransferService, err := storagetransfer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// storagetransferService, err := storagetransfer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package storagetransfer // import "google.golang.org/api/storagetransfer/v1"
@@ -2229,8 +2229,8 @@ type GoogleServiceAccountsGetCall struct {
// Storage Transfer Service and can only be used by Storage Transfer
// Service.
//
-// - projectId: The ID of the Google Cloud project that the Google
-// service account is associated with.
+// - projectId: The ID of the Google Cloud project that the Google
+// service account is associated with.
func (r *GoogleServiceAccountsService) Get(projectId string) *GoogleServiceAccountsGetCall {
c := &GoogleServiceAccountsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -2375,8 +2375,8 @@ type ProjectsAgentPoolsCreateCall struct {
// Create: Creates an agent pool resource.
//
-// - projectId: The ID of the Google Cloud project that owns the agent
-// pool.
+// - projectId: The ID of the Google Cloud project that owns the agent
+// pool.
func (r *ProjectsAgentPoolsService) Create(projectId string, agentpool *AgentPool) *ProjectsAgentPoolsCreateCall {
c := &ProjectsAgentPoolsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -3023,8 +3023,8 @@ type ProjectsAgentPoolsPatchCall struct {
// Patch: Updates an existing agent pool resource.
//
-// - name: Specifies a unique string that identifies the agent pool.
-// Format: `projects/{project_id}/agentPools/{agent_pool_id}`.
+// - name: Specifies a unique string that identifies the agent pool.
+// Format: `projects/{project_id}/agentPools/{agent_pool_id}`.
func (r *ProjectsAgentPoolsService) Patch(name string, agentpool *AgentPool) *ProjectsAgentPoolsPatchCall {
c := &ProjectsAgentPoolsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3460,14 +3460,14 @@ type TransferJobsListCall struct {
// List: Lists transfer jobs.
//
-// - filter: A list of query parameters specified as JSON text in the
-// form of: `{"projectId":"my_project_id",
-// "jobNames":["jobid1","jobid2",...],
-// "jobStatuses":["status1","status2",...]}` Since `jobNames` and
-// `jobStatuses` support multiple values, their values must be
-// specified with array notation. `projectId` is required. `jobNames`
-// and `jobStatuses` are optional. The valid values for `jobStatuses`
-// are case-insensitive: ENABLED, DISABLED, and DELETED.
+// - filter: A list of query parameters specified as JSON text in the
+// form of: `{"projectId":"my_project_id",
+// "jobNames":["jobid1","jobid2",...],
+// "jobStatuses":["status1","status2",...]}` Since `jobNames` and
+// `jobStatuses` support multiple values, their values must be
+// specified with array notation. `projectId` is required. `jobNames`
+// and `jobStatuses` are optional. The valid values for `jobStatuses`
+// are case-insensitive: ENABLED, DISABLED, and DELETED.
func (r *TransferJobsService) List(filter string) *TransferJobsListCall {
c := &TransferJobsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("filter", filter)
@@ -4254,19 +4254,19 @@ type TransferOperationsListCall struct {
// List: Lists transfer operations. Operations are ordered by their
// creation time in reverse chronological order.
//
-// - filter: A list of query parameters specified as JSON text in the
-// form of: `{"projectId":"my_project_id",
-// "jobNames":["jobid1","jobid2",...],
-// "operationNames":["opid1","opid2",...],
-// "transferStatuses":["status1","status2",...]}` Since `jobNames`,
-// `operationNames`, and `transferStatuses` support multiple values,
-// they must be specified with array notation. `projectId` is
-// required. `jobNames`, `operationNames`, and `transferStatuses` are
-// optional. The valid values for `transferStatuses` are
-// case-insensitive: IN_PROGRESS, PAUSED, SUCCESS, FAILED, and
-// ABORTED.
-// - name: The name of the type being listed; must be
-// `transferOperations`.
+// - filter: A list of query parameters specified as JSON text in the
+// form of: `{"projectId":"my_project_id",
+// "jobNames":["jobid1","jobid2",...],
+// "operationNames":["opid1","opid2",...],
+// "transferStatuses":["status1","status2",...]}` Since `jobNames`,
+// `operationNames`, and `transferStatuses` support multiple values,
+// they must be specified with array notation. `projectId` is
+// required. `jobNames`, `operationNames`, and `transferStatuses` are
+// optional. The valid values for `transferStatuses` are
+// case-insensitive: IN_PROGRESS, PAUSED, SUCCESS, FAILED, and
+// ABORTED.
+// - name: The name of the type being listed; must be
+// `transferOperations`.
func (r *TransferOperationsService) List(name string, filter string) *TransferOperationsListCall {
c := &TransferOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/streetviewpublish/v1/streetviewpublish-gen.go b/streetviewpublish/v1/streetviewpublish-gen.go
index 1326d8a349c..1d2a461fd97 100644
--- a/streetviewpublish/v1/streetviewpublish-gen.go
+++ b/streetviewpublish/v1/streetviewpublish-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/streetview/publish/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/streetviewpublish/v1"
-// ...
-// ctx := context.Background()
-// streetviewpublishService, err := streetviewpublish.NewService(ctx)
+// import "google.golang.org/api/streetviewpublish/v1"
+// ...
+// ctx := context.Background()
+// streetviewpublishService, err := streetviewpublish.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// streetviewpublishService, err := streetviewpublish.NewService(ctx, option.WithAPIKey("AIza..."))
+// streetviewpublishService, err := streetviewpublish.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// streetviewpublishService, err := streetviewpublish.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// streetviewpublishService, err := streetviewpublish.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package streetviewpublish // import "google.golang.org/api/streetviewpublish/v1"
@@ -1818,9 +1818,13 @@ func (c *PhotoGetCall) LanguageCode(languageCode string) *PhotoGetCall {
// response.
//
// Possible values:
-// "BASIC" - Server responses do not include the download URL for the
+//
+// "BASIC" - Server responses do not include the download URL for the
+//
// photo bytes. The default value.
-// "INCLUDE_DOWNLOAD_URL" - Server responses include the download URL
+//
+// "INCLUDE_DOWNLOAD_URL" - Server responses include the download URL
+//
// for the photo bytes.
func (c *PhotoGetCall) View(view string) *PhotoGetCall {
c.urlParams_.Set("view", view)
@@ -2310,10 +2314,13 @@ func (r *PhotoSequenceService) Create(photosequence *PhotoSequence) *PhotoSequen
// input form of PhotoSequence.
//
// Possible values:
-// "INPUT_TYPE_UNSPECIFIED" - Not specified. Server will return
+//
+// "INPUT_TYPE_UNSPECIFIED" - Not specified. Server will return
+//
// google.rpc.Code.INVALID_ARGUMENT.
-// "VIDEO" - 360 Video.
-// "XDM" - Extensible Device Metadata, http://www.xdm.org
+//
+// "VIDEO" - 360 Video.
+// "XDM" - Extensible Device Metadata, http://www.xdm.org
func (c *PhotoSequenceCreateCall) InputType(inputType string) *PhotoSequenceCreateCall {
c.urlParams_.Set("inputType", inputType)
return c
@@ -2624,9 +2631,13 @@ func (c *PhotoSequenceGetCall) Filter(filter string) *PhotoSequenceGetCall {
// not implemented.
//
// Possible values:
-// "BASIC" - Server responses do not include the download URL for the
+//
+// "BASIC" - Server responses do not include the download URL for the
+//
// photo bytes. The default value.
-// "INCLUDE_DOWNLOAD_URL" - Server responses include the download URL
+//
+// "INCLUDE_DOWNLOAD_URL" - Server responses include the download URL
+//
// for the photo bytes.
func (c *PhotoSequenceGetCall) View(view string) *PhotoSequenceGetCall {
c.urlParams_.Set("view", view)
@@ -3280,9 +3291,13 @@ func (c *PhotosBatchGetCall) PhotoIds(photoIds ...string) *PhotosBatchGetCall {
// response.
//
// Possible values:
-// "BASIC" - Server responses do not include the download URL for the
+//
+// "BASIC" - Server responses do not include the download URL for the
+//
// photo bytes. The default value.
-// "INCLUDE_DOWNLOAD_URL" - Server responses include the download URL
+//
+// "INCLUDE_DOWNLOAD_URL" - Server responses include the download URL
+//
// for the photo bytes.
func (c *PhotosBatchGetCall) View(view string) *PhotosBatchGetCall {
c.urlParams_.Set("view", view)
@@ -3625,9 +3640,13 @@ func (c *PhotosListCall) PageToken(pageToken string) *PhotosListCall {
// response.
//
// Possible values:
-// "BASIC" - Server responses do not include the download URL for the
+//
+// "BASIC" - Server responses do not include the download URL for the
+//
// photo bytes. The default value.
-// "INCLUDE_DOWNLOAD_URL" - Server responses include the download URL
+//
+// "INCLUDE_DOWNLOAD_URL" - Server responses include the download URL
+//
// for the photo bytes.
func (c *PhotosListCall) View(view string) *PhotosListCall {
c.urlParams_.Set("view", view)
diff --git a/sts/v1/sts-gen.go b/sts/v1/sts-gen.go
index 2e78e3976ff..a24eb5636a1 100644
--- a/sts/v1/sts-gen.go
+++ b/sts/v1/sts-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: http://cloud.google.com/iam/docs/workload-identity-federation
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/sts/v1"
-// ...
-// ctx := context.Background()
-// stsService, err := sts.NewService(ctx)
+// import "google.golang.org/api/sts/v1"
+// ...
+// ctx := context.Background()
+// stsService, err := sts.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// stsService, err := sts.NewService(ctx, option.WithAPIKey("AIza..."))
+// stsService, err := sts.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// stsService, err := sts.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// stsService, err := sts.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package sts // import "google.golang.org/api/sts/v1"
diff --git a/sts/v1beta/sts-gen.go b/sts/v1beta/sts-gen.go
index 542fa9500e7..a4e0591b380 100644
--- a/sts/v1beta/sts-gen.go
+++ b/sts/v1beta/sts-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: http://cloud.google.com/iam/docs/workload-identity-federation
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/sts/v1beta"
-// ...
-// ctx := context.Background()
-// stsService, err := sts.NewService(ctx)
+// import "google.golang.org/api/sts/v1beta"
+// ...
+// ctx := context.Background()
+// stsService, err := sts.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// stsService, err := sts.NewService(ctx, option.WithAPIKey("AIza..."))
+// stsService, err := sts.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// stsService, err := sts.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// stsService, err := sts.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package sts // import "google.golang.org/api/sts/v1beta"
diff --git a/surveys/v2/surveys-gen.go b/surveys/v2/surveys-gen.go
index ba98ce013e5..3c72a1b927f 100644
--- a/surveys/v2/surveys-gen.go
+++ b/surveys/v2/surveys-gen.go
@@ -6,35 +6,35 @@
// Package surveys provides access to the Surveys API.
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/surveys/v2"
-// ...
-// ctx := context.Background()
-// surveysService, err := surveys.NewService(ctx)
+// import "google.golang.org/api/surveys/v2"
+// ...
+// ctx := context.Background()
+// surveysService, err := surveys.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// surveysService, err := surveys.NewService(ctx, option.WithScopes(surveys.UserinfoEmailScope))
+// surveysService, err := surveys.NewService(ctx, option.WithScopes(surveys.UserinfoEmailScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// surveysService, err := surveys.NewService(ctx, option.WithAPIKey("AIza..."))
+// surveysService, err := surveys.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// surveysService, err := surveys.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// surveysService, err := surveys.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package surveys // import "google.golang.org/api/surveys/v2"
diff --git a/tagmanager/v1/tagmanager-gen.go b/tagmanager/v1/tagmanager-gen.go
index 0d642696e35..a7ac70ee18c 100644
--- a/tagmanager/v1/tagmanager-gen.go
+++ b/tagmanager/v1/tagmanager-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/tag-manager
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/tagmanager/v1"
-// ...
-// ctx := context.Background()
-// tagmanagerService, err := tagmanager.NewService(ctx)
+// import "google.golang.org/api/tagmanager/v1"
+// ...
+// ctx := context.Background()
+// tagmanagerService, err := tagmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// tagmanagerService, err := tagmanager.NewService(ctx, option.WithScopes(tagmanager.TagmanagerReadonlyScope))
+// tagmanagerService, err := tagmanager.NewService(ctx, option.WithScopes(tagmanager.TagmanagerReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// tagmanagerService, err := tagmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// tagmanagerService, err := tagmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// tagmanagerService, err := tagmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// tagmanagerService, err := tagmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package tagmanager // import "google.golang.org/api/tagmanager/v1"
@@ -8035,10 +8035,10 @@ type AccountsContainersVersionsGetCall struct {
// Get: Gets a Container Version.
//
-// - accountId: The GTM Account ID.
-// - containerId: The GTM Container ID.
-// - containerVersionId: The GTM Container Version ID. Specify published
-// to retrieve the currently published version.
+// - accountId: The GTM Account ID.
+// - containerId: The GTM Container ID.
+// - containerVersionId: The GTM Container Version ID. Specify published
+// to retrieve the currently published version.
func (r *AccountsContainersVersionsService) Get(accountId string, containerId string, containerVersionId string) *AccountsContainersVersionsGetCall {
c := &AccountsContainersVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.accountId = accountId
diff --git a/tagmanager/v2/tagmanager-gen.go b/tagmanager/v2/tagmanager-gen.go
index 1b58468ae4c..e15bea7c007 100644
--- a/tagmanager/v2/tagmanager-gen.go
+++ b/tagmanager/v2/tagmanager-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/tag-manager
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/tagmanager/v2"
-// ...
-// ctx := context.Background()
-// tagmanagerService, err := tagmanager.NewService(ctx)
+// import "google.golang.org/api/tagmanager/v2"
+// ...
+// ctx := context.Background()
+// tagmanagerService, err := tagmanager.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// tagmanagerService, err := tagmanager.NewService(ctx, option.WithScopes(tagmanager.TagmanagerReadonlyScope))
+// tagmanagerService, err := tagmanager.NewService(ctx, option.WithScopes(tagmanager.TagmanagerReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// tagmanagerService, err := tagmanager.NewService(ctx, option.WithAPIKey("AIza..."))
+// tagmanagerService, err := tagmanager.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// tagmanagerService, err := tagmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// tagmanagerService, err := tagmanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package tagmanager // import "google.golang.org/api/tagmanager/v2"
@@ -3566,8 +3566,8 @@ type AccountsGetCall struct {
// Get: Gets a GTM Account.
//
-// - path: GTM Accounts's API relative path. Example:
-// accounts/{account_id}.
+// - path: GTM Accounts's API relative path. Example:
+// accounts/{account_id}.
func (r *AccountsService) Get(path string) *AccountsGetCall {
c := &AccountsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -3880,8 +3880,8 @@ type AccountsUpdateCall struct {
// Update: Updates a GTM Account.
//
-// - path: GTM Accounts's API relative path. Example:
-// accounts/{account_id}.
+// - path: GTM Accounts's API relative path. Example:
+// accounts/{account_id}.
func (r *AccountsService) Update(path string, account *Account) *AccountsUpdateCall {
c := &AccountsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -4036,8 +4036,8 @@ type AccountsContainersCreateCall struct {
// Create: Creates a Container.
//
-// - parent: GTM Account's API relative path. Example:
-// accounts/{account_id}.
+// - parent: GTM Account's API relative path. Example:
+// accounts/{account_id}.
func (r *AccountsContainersService) Create(parent string, container *Container) *AccountsContainersCreateCall {
c := &AccountsContainersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4178,8 +4178,8 @@ type AccountsContainersDeleteCall struct {
// Delete: Deletes a Container.
//
-// - path: GTM Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - path: GTM Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersService) Delete(path string) *AccountsContainersDeleteCall {
c := &AccountsContainersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -4284,8 +4284,8 @@ type AccountsContainersGetCall struct {
// Get: Gets a Container.
//
-// - path: GTM Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - path: GTM Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersService) Get(path string) *AccountsContainersGetCall {
c := &AccountsContainersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -4432,8 +4432,8 @@ type AccountsContainersListCall struct {
// List: Lists all Containers that belongs to a GTM Account.
//
-// - parent: GTM Accounts's API relative path. Example:
-// accounts/{account_id}.
+// - parent: GTM Accounts's API relative path. Example:
+// accounts/{account_id}.
func (r *AccountsContainersService) List(parent string) *AccountsContainersListCall {
c := &AccountsContainersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4613,8 +4613,8 @@ type AccountsContainersUpdateCall struct {
// Update: Updates a Container.
//
-// - path: GTM Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - path: GTM Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersService) Update(path string, container *Container) *AccountsContainersUpdateCall {
c := &AccountsContainersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -4769,8 +4769,8 @@ type AccountsContainersEnvironmentsCreateCall struct {
// Create: Creates a GTM Environment.
//
-// - parent: GTM Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - parent: GTM Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersEnvironmentsService) Create(parent string, environment *Environment) *AccountsContainersEnvironmentsCreateCall {
c := &AccountsContainersEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4911,9 +4911,9 @@ type AccountsContainersEnvironmentsDeleteCall struct {
// Delete: Deletes a GTM Environment.
//
-// - path: GTM Environment's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/environments/{enviro
-// nment_id}.
+// - path: GTM Environment's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/environments/{enviro
+// nment_id}.
func (r *AccountsContainersEnvironmentsService) Delete(path string) *AccountsContainersEnvironmentsDeleteCall {
c := &AccountsContainersEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -5018,9 +5018,9 @@ type AccountsContainersEnvironmentsGetCall struct {
// Get: Gets a GTM Environment.
//
-// - path: GTM Environment's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/environments/{enviro
-// nment_id}.
+// - path: GTM Environment's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/environments/{enviro
+// nment_id}.
func (r *AccountsContainersEnvironmentsService) Get(path string) *AccountsContainersEnvironmentsGetCall {
c := &AccountsContainersEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -5167,8 +5167,8 @@ type AccountsContainersEnvironmentsListCall struct {
// List: Lists all GTM Environments of a GTM Container.
//
-// - parent: GTM Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - parent: GTM Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersEnvironmentsService) List(parent string) *AccountsContainersEnvironmentsListCall {
c := &AccountsContainersEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5349,9 +5349,9 @@ type AccountsContainersEnvironmentsReauthorizeCall struct {
// Reauthorize: Re-generates the authorization code for a GTM
// Environment.
//
-// - path: GTM Environment's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/environments/{enviro
-// nment_id}.
+// - path: GTM Environment's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/environments/{enviro
+// nment_id}.
func (r *AccountsContainersEnvironmentsService) Reauthorize(path string, environment *Environment) *AccountsContainersEnvironmentsReauthorizeCall {
c := &AccountsContainersEnvironmentsReauthorizeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -5493,9 +5493,9 @@ type AccountsContainersEnvironmentsUpdateCall struct {
// Update: Updates a GTM Environment.
//
-// - path: GTM Environment's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/environments/{enviro
-// nment_id}.
+// - path: GTM Environment's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/environments/{enviro
+// nment_id}.
func (r *AccountsContainersEnvironmentsService) Update(path string, environment *Environment) *AccountsContainersEnvironmentsUpdateCall {
c := &AccountsContainersEnvironmentsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -5650,8 +5650,8 @@ type AccountsContainersVersionHeadersLatestCall struct {
// Latest: Gets the latest container version header
//
-// - parent: GTM Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - parent: GTM Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersVersionHeadersService) Latest(parent string) *AccountsContainersVersionHeadersLatestCall {
c := &AccountsContainersVersionHeadersLatestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5798,8 +5798,8 @@ type AccountsContainersVersionHeadersListCall struct {
// List: Lists all Container Versions of a GTM Container.
//
-// - parent: GTM Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - parent: GTM Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersVersionHeadersService) List(parent string) *AccountsContainersVersionHeadersListCall {
c := &AccountsContainersVersionHeadersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -5991,9 +5991,9 @@ type AccountsContainersVersionsDeleteCall struct {
// Delete: Deletes a Container Version.
//
-// - path: GTM ContainerVersion's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/versions/{version_id
-// }.
+// - path: GTM ContainerVersion's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/versions/{version_id
+// }.
func (r *AccountsContainersVersionsService) Delete(path string) *AccountsContainersVersionsDeleteCall {
c := &AccountsContainersVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -6098,9 +6098,9 @@ type AccountsContainersVersionsGetCall struct {
// Get: Gets a Container Version.
//
-// - path: GTM ContainerVersion's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/versions/{version_id
-// }.
+// - path: GTM ContainerVersion's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/versions/{version_id
+// }.
func (r *AccountsContainersVersionsService) Get(path string) *AccountsContainersVersionsGetCall {
c := &AccountsContainersVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -6261,8 +6261,8 @@ type AccountsContainersVersionsLiveCall struct {
// Live: Gets the live (i.e. published) container version
//
-// - parent: GTM Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - parent: GTM Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersVersionsService) Live(parent string) *AccountsContainersVersionsLiveCall {
c := &AccountsContainersVersionsLiveCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6408,9 +6408,9 @@ type AccountsContainersVersionsPublishCall struct {
// Publish: Publishes a Container Version.
//
-// - path: GTM ContainerVersion's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/versions/{version_id
-// }.
+// - path: GTM ContainerVersion's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/versions/{version_id
+// }.
func (r *AccountsContainersVersionsService) Publish(path string) *AccountsContainersVersionsPublishCall {
c := &AccountsContainersVersionsPublishCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -6556,9 +6556,9 @@ type AccountsContainersVersionsSetLatestCall struct {
// SetLatest: Sets the latest version used for synchronization of
// workspaces when detecting conflicts and errors.
//
-// - path: GTM ContainerVersion's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/versions/{version_id
-// }.
+// - path: GTM ContainerVersion's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/versions/{version_id
+// }.
func (r *AccountsContainersVersionsService) SetLatest(path string) *AccountsContainersVersionsSetLatestCall {
c := &AccountsContainersVersionsSetLatestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -6690,9 +6690,9 @@ type AccountsContainersVersionsUndeleteCall struct {
// Undelete: Undeletes a Container Version.
//
-// - path: GTM ContainerVersion's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/versions/{version_id
-// }.
+// - path: GTM ContainerVersion's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/versions/{version_id
+// }.
func (r *AccountsContainersVersionsService) Undelete(path string) *AccountsContainersVersionsUndeleteCall {
c := &AccountsContainersVersionsUndeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -6825,9 +6825,9 @@ type AccountsContainersVersionsUpdateCall struct {
// Update: Updates a Container Version.
//
-// - path: GTM ContainerVersion's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/versions/{version_id
-// }.
+// - path: GTM ContainerVersion's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/versions/{version_id
+// }.
func (r *AccountsContainersVersionsService) Update(path string, containerversion *ContainerVersion) *AccountsContainersVersionsUpdateCall {
c := &AccountsContainersVersionsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -6982,8 +6982,8 @@ type AccountsContainersWorkspacesCreateCall struct {
// Create: Creates a Workspace.
//
-// - parent: GTM parent Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - parent: GTM parent Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersWorkspacesService) Create(parent string, workspace *Workspace) *AccountsContainersWorkspacesCreateCall {
c := &AccountsContainersWorkspacesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7127,9 +7127,9 @@ type AccountsContainersWorkspacesCreateVersionCall struct {
// in the workspace, deletes the workspace, and sets the base container
// version to the newly created version.
//
-// - path: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - path: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesService) CreateVersion(path string, createcontainerversionrequestversionoptions *CreateContainerVersionRequestVersionOptions) *AccountsContainersWorkspacesCreateVersionCall {
c := &AccountsContainersWorkspacesCreateVersionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -7270,9 +7270,9 @@ type AccountsContainersWorkspacesDeleteCall struct {
// Delete: Deletes a Workspace.
//
-// - path: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - path: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesService) Delete(path string) *AccountsContainersWorkspacesDeleteCall {
c := &AccountsContainersWorkspacesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -7377,9 +7377,9 @@ type AccountsContainersWorkspacesGetCall struct {
// Get: Gets a Workspace.
//
-// - path: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - path: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesService) Get(path string) *AccountsContainersWorkspacesGetCall {
c := &AccountsContainersWorkspacesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -7526,9 +7526,9 @@ type AccountsContainersWorkspacesGetStatusCall struct {
// GetStatus: Finds conflicting and modified entities in the workspace.
//
-// - path: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - path: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesService) GetStatus(path string) *AccountsContainersWorkspacesGetStatusCall {
c := &AccountsContainersWorkspacesGetStatusCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -7675,8 +7675,8 @@ type AccountsContainersWorkspacesListCall struct {
// List: Lists all Workspaces that belong to a GTM Container.
//
-// - parent: GTM parent Container's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}.
+// - parent: GTM parent Container's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}.
func (r *AccountsContainersWorkspacesService) List(parent string) *AccountsContainersWorkspacesListCall {
c := &AccountsContainersWorkspacesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7856,9 +7856,9 @@ type AccountsContainersWorkspacesQuickPreviewCall struct {
// QuickPreview: Quick previews a workspace by creating a fake container
// version from all entities in the provided workspace.
//
-// - path: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - path: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesService) QuickPreview(path string) *AccountsContainersWorkspacesQuickPreviewCall {
c := &AccountsContainersWorkspacesQuickPreviewCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -7992,9 +7992,9 @@ type AccountsContainersWorkspacesResolveConflictCall struct {
// ResolveConflict: Resolves a merge conflict for a workspace entity by
// updating it to the resolved entity passed in the request.
//
-// - path: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - path: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesService) ResolveConflict(path string, entity *Entity) *AccountsContainersWorkspacesResolveConflictCall {
c := &AccountsContainersWorkspacesResolveConflictCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -8122,9 +8122,9 @@ type AccountsContainersWorkspacesSyncCall struct {
// all unmodified workspace entities and displaying conflicts for
// modified entities.
//
-// - path: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - path: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesService) Sync(path string) *AccountsContainersWorkspacesSyncCall {
c := &AccountsContainersWorkspacesSyncCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -8257,9 +8257,9 @@ type AccountsContainersWorkspacesUpdateCall struct {
// Update: Updates a Workspace.
//
-// - path: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - path: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesService) Update(path string, workspace *Workspace) *AccountsContainersWorkspacesUpdateCall {
c := &AccountsContainersWorkspacesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -8413,9 +8413,9 @@ type AccountsContainersWorkspacesBuiltInVariablesCreateCall struct {
// Create: Creates one or more GTM Built-In Variables.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesBuiltInVariablesService) Create(parent string) *AccountsContainersWorkspacesBuiltInVariablesCreateCall {
c := &AccountsContainersWorkspacesBuiltInVariablesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -8426,119 +8426,120 @@ func (r *AccountsContainersWorkspacesBuiltInVariablesService) Create(parent stri
// variables to enable.
//
// Possible values:
-// "builtInVariableTypeUnspecified"
-// "pageUrl"
-// "pageHostname"
-// "pagePath"
-// "referrer"
-// "event" - For web or mobile.
-// "clickElement"
-// "clickClasses"
-// "clickId"
-// "clickTarget"
-// "clickUrl"
-// "clickText"
-// "firstPartyServingUrl"
-// "formElement"
-// "formClasses"
-// "formId"
-// "formTarget"
-// "formUrl"
-// "formText"
-// "errorMessage"
-// "errorUrl"
-// "errorLine"
-// "newHistoryUrl"
-// "oldHistoryUrl"
-// "newHistoryFragment"
-// "oldHistoryFragment"
-// "newHistoryState"
-// "oldHistoryState"
-// "historySource"
-// "containerVersion" - For web or mobile.
-// "debugMode"
-// "randomNumber" - For web or mobile.
-// "containerId" - For web or mobile.
-// "appId"
-// "appName"
-// "appVersionCode"
-// "appVersionName"
-// "language"
-// "osVersion"
-// "platform"
-// "sdkVersion"
-// "deviceName"
-// "resolution"
-// "advertiserId"
-// "advertisingTrackingEnabled"
-// "htmlId"
-// "environmentName"
-// "ampBrowserLanguage"
-// "ampCanonicalPath"
-// "ampCanonicalUrl"
-// "ampCanonicalHost"
-// "ampReferrer"
-// "ampTitle"
-// "ampClientId"
-// "ampClientTimezone"
-// "ampClientTimestamp"
-// "ampClientScreenWidth"
-// "ampClientScreenHeight"
-// "ampClientScrollX"
-// "ampClientScrollY"
-// "ampClientMaxScrollX"
-// "ampClientMaxScrollY"
-// "ampTotalEngagedTime"
-// "ampPageViewId"
-// "ampPageLoadTime"
-// "ampPageDownloadTime"
-// "ampGtmEvent"
-// "eventName"
-// "firebaseEventParameterCampaign"
-// "firebaseEventParameterCampaignAclid"
-// "firebaseEventParameterCampaignAnid"
-// "firebaseEventParameterCampaignClickTimestamp"
-// "firebaseEventParameterCampaignContent"
-// "firebaseEventParameterCampaignCp1"
-// "firebaseEventParameterCampaignGclid"
-// "firebaseEventParameterCampaignSource"
-// "firebaseEventParameterCampaignTerm"
-// "firebaseEventParameterCurrency"
-// "firebaseEventParameterDynamicLinkAcceptTime"
-// "firebaseEventParameterDynamicLinkLinkid"
-// "firebaseEventParameterNotificationMessageDeviceTime"
-// "firebaseEventParameterNotificationMessageId"
-// "firebaseEventParameterNotificationMessageName"
-// "firebaseEventParameterNotificationMessageTime"
-// "firebaseEventParameterNotificationTopic"
-// "firebaseEventParameterPreviousAppVersion"
-// "firebaseEventParameterPreviousOsVersion"
-// "firebaseEventParameterPrice"
-// "firebaseEventParameterProductId"
-// "firebaseEventParameterQuantity"
-// "firebaseEventParameterValue"
-// "videoProvider"
-// "videoUrl"
-// "videoTitle"
-// "videoDuration"
-// "videoPercent"
-// "videoVisible"
-// "videoStatus"
-// "videoCurrentTime"
-// "scrollDepthThreshold"
-// "scrollDepthUnits"
-// "scrollDepthDirection"
-// "elementVisibilityRatio"
-// "elementVisibilityTime"
-// "elementVisibilityFirstTime"
-// "elementVisibilityRecentTime"
-// "requestPath"
-// "requestMethod"
-// "clientName"
-// "queryString"
-// "serverPageLocationUrl"
-// "serverPageLocationPath"
-// "serverPageLocationHostname"
+//
+// "builtInVariableTypeUnspecified"
+// "pageUrl"
+// "pageHostname"
+// "pagePath"
+// "referrer"
+// "event" - For web or mobile.
+// "clickElement"
+// "clickClasses"
+// "clickId"
+// "clickTarget"
+// "clickUrl"
+// "clickText"
+// "firstPartyServingUrl"
+// "formElement"
+// "formClasses"
+// "formId"
+// "formTarget"
+// "formUrl"
+// "formText"
+// "errorMessage"
+// "errorUrl"
+// "errorLine"
+// "newHistoryUrl"
+// "oldHistoryUrl"
+// "newHistoryFragment"
+// "oldHistoryFragment"
+// "newHistoryState"
+// "oldHistoryState"
+// "historySource"
+// "containerVersion" - For web or mobile.
+// "debugMode"
+// "randomNumber" - For web or mobile.
+// "containerId" - For web or mobile.
+// "appId"
+// "appName"
+// "appVersionCode"
+// "appVersionName"
+// "language"
+// "osVersion"
+// "platform"
+// "sdkVersion"
+// "deviceName"
+// "resolution"
+// "advertiserId"
+// "advertisingTrackingEnabled"
+// "htmlId"
+// "environmentName"
+// "ampBrowserLanguage"
+// "ampCanonicalPath"
+// "ampCanonicalUrl"
+// "ampCanonicalHost"
+// "ampReferrer"
+// "ampTitle"
+// "ampClientId"
+// "ampClientTimezone"
+// "ampClientTimestamp"
+// "ampClientScreenWidth"
+// "ampClientScreenHeight"
+// "ampClientScrollX"
+// "ampClientScrollY"
+// "ampClientMaxScrollX"
+// "ampClientMaxScrollY"
+// "ampTotalEngagedTime"
+// "ampPageViewId"
+// "ampPageLoadTime"
+// "ampPageDownloadTime"
+// "ampGtmEvent"
+// "eventName"
+// "firebaseEventParameterCampaign"
+// "firebaseEventParameterCampaignAclid"
+// "firebaseEventParameterCampaignAnid"
+// "firebaseEventParameterCampaignClickTimestamp"
+// "firebaseEventParameterCampaignContent"
+// "firebaseEventParameterCampaignCp1"
+// "firebaseEventParameterCampaignGclid"
+// "firebaseEventParameterCampaignSource"
+// "firebaseEventParameterCampaignTerm"
+// "firebaseEventParameterCurrency"
+// "firebaseEventParameterDynamicLinkAcceptTime"
+// "firebaseEventParameterDynamicLinkLinkid"
+// "firebaseEventParameterNotificationMessageDeviceTime"
+// "firebaseEventParameterNotificationMessageId"
+// "firebaseEventParameterNotificationMessageName"
+// "firebaseEventParameterNotificationMessageTime"
+// "firebaseEventParameterNotificationTopic"
+// "firebaseEventParameterPreviousAppVersion"
+// "firebaseEventParameterPreviousOsVersion"
+// "firebaseEventParameterPrice"
+// "firebaseEventParameterProductId"
+// "firebaseEventParameterQuantity"
+// "firebaseEventParameterValue"
+// "videoProvider"
+// "videoUrl"
+// "videoTitle"
+// "videoDuration"
+// "videoPercent"
+// "videoVisible"
+// "videoStatus"
+// "videoCurrentTime"
+// "scrollDepthThreshold"
+// "scrollDepthUnits"
+// "scrollDepthDirection"
+// "elementVisibilityRatio"
+// "elementVisibilityTime"
+// "elementVisibilityFirstTime"
+// "elementVisibilityRecentTime"
+// "requestPath"
+// "requestMethod"
+// "clientName"
+// "queryString"
+// "serverPageLocationUrl"
+// "serverPageLocationPath"
+// "serverPageLocationHostname"
func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Type(type_ ...string) *AccountsContainersWorkspacesBuiltInVariablesCreateCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -8905,9 +8906,9 @@ type AccountsContainersWorkspacesBuiltInVariablesDeleteCall struct {
// Delete: Deletes one or more GTM Built-In Variables.
//
-// - path: GTM BuiltInVariable's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/built_in_variables.
+// - path: GTM BuiltInVariable's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/built_in_variables.
func (r *AccountsContainersWorkspacesBuiltInVariablesService) Delete(path string) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall {
c := &AccountsContainersWorkspacesBuiltInVariablesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -8918,119 +8919,120 @@ func (r *AccountsContainersWorkspacesBuiltInVariablesService) Delete(path string
// variables to delete.
//
// Possible values:
-// "builtInVariableTypeUnspecified"
-// "pageUrl"
-// "pageHostname"
-// "pagePath"
-// "referrer"
-// "event" - For web or mobile.
-// "clickElement"
-// "clickClasses"
-// "clickId"
-// "clickTarget"
-// "clickUrl"
-// "clickText"
-// "firstPartyServingUrl"
-// "formElement"
-// "formClasses"
-// "formId"
-// "formTarget"
-// "formUrl"
-// "formText"
-// "errorMessage"
-// "errorUrl"
-// "errorLine"
-// "newHistoryUrl"
-// "oldHistoryUrl"
-// "newHistoryFragment"
-// "oldHistoryFragment"
-// "newHistoryState"
-// "oldHistoryState"
-// "historySource"
-// "containerVersion" - For web or mobile.
-// "debugMode"
-// "randomNumber" - For web or mobile.
-// "containerId" - For web or mobile.
-// "appId"
-// "appName"
-// "appVersionCode"
-// "appVersionName"
-// "language"
-// "osVersion"
-// "platform"
-// "sdkVersion"
-// "deviceName"
-// "resolution"
-// "advertiserId"
-// "advertisingTrackingEnabled"
-// "htmlId"
-// "environmentName"
-// "ampBrowserLanguage"
-// "ampCanonicalPath"
-// "ampCanonicalUrl"
-// "ampCanonicalHost"
-// "ampReferrer"
-// "ampTitle"
-// "ampClientId"
-// "ampClientTimezone"
-// "ampClientTimestamp"
-// "ampClientScreenWidth"
-// "ampClientScreenHeight"
-// "ampClientScrollX"
-// "ampClientScrollY"
-// "ampClientMaxScrollX"
-// "ampClientMaxScrollY"
-// "ampTotalEngagedTime"
-// "ampPageViewId"
-// "ampPageLoadTime"
-// "ampPageDownloadTime"
-// "ampGtmEvent"
-// "eventName"
-// "firebaseEventParameterCampaign"
-// "firebaseEventParameterCampaignAclid"
-// "firebaseEventParameterCampaignAnid"
-// "firebaseEventParameterCampaignClickTimestamp"
-// "firebaseEventParameterCampaignContent"
-// "firebaseEventParameterCampaignCp1"
-// "firebaseEventParameterCampaignGclid"
-// "firebaseEventParameterCampaignSource"
-// "firebaseEventParameterCampaignTerm"
-// "firebaseEventParameterCurrency"
-// "firebaseEventParameterDynamicLinkAcceptTime"
-// "firebaseEventParameterDynamicLinkLinkid"
-// "firebaseEventParameterNotificationMessageDeviceTime"
-// "firebaseEventParameterNotificationMessageId"
-// "firebaseEventParameterNotificationMessageName"
-// "firebaseEventParameterNotificationMessageTime"
-// "firebaseEventParameterNotificationTopic"
-// "firebaseEventParameterPreviousAppVersion"
-// "firebaseEventParameterPreviousOsVersion"
-// "firebaseEventParameterPrice"
-// "firebaseEventParameterProductId"
-// "firebaseEventParameterQuantity"
-// "firebaseEventParameterValue"
-// "videoProvider"
-// "videoUrl"
-// "videoTitle"
-// "videoDuration"
-// "videoPercent"
-// "videoVisible"
-// "videoStatus"
-// "videoCurrentTime"
-// "scrollDepthThreshold"
-// "scrollDepthUnits"
-// "scrollDepthDirection"
-// "elementVisibilityRatio"
-// "elementVisibilityTime"
-// "elementVisibilityFirstTime"
-// "elementVisibilityRecentTime"
-// "requestPath"
-// "requestMethod"
-// "clientName"
-// "queryString"
-// "serverPageLocationUrl"
-// "serverPageLocationPath"
-// "serverPageLocationHostname"
+//
+// "builtInVariableTypeUnspecified"
+// "pageUrl"
+// "pageHostname"
+// "pagePath"
+// "referrer"
+// "event" - For web or mobile.
+// "clickElement"
+// "clickClasses"
+// "clickId"
+// "clickTarget"
+// "clickUrl"
+// "clickText"
+// "firstPartyServingUrl"
+// "formElement"
+// "formClasses"
+// "formId"
+// "formTarget"
+// "formUrl"
+// "formText"
+// "errorMessage"
+// "errorUrl"
+// "errorLine"
+// "newHistoryUrl"
+// "oldHistoryUrl"
+// "newHistoryFragment"
+// "oldHistoryFragment"
+// "newHistoryState"
+// "oldHistoryState"
+// "historySource"
+// "containerVersion" - For web or mobile.
+// "debugMode"
+// "randomNumber" - For web or mobile.
+// "containerId" - For web or mobile.
+// "appId"
+// "appName"
+// "appVersionCode"
+// "appVersionName"
+// "language"
+// "osVersion"
+// "platform"
+// "sdkVersion"
+// "deviceName"
+// "resolution"
+// "advertiserId"
+// "advertisingTrackingEnabled"
+// "htmlId"
+// "environmentName"
+// "ampBrowserLanguage"
+// "ampCanonicalPath"
+// "ampCanonicalUrl"
+// "ampCanonicalHost"
+// "ampReferrer"
+// "ampTitle"
+// "ampClientId"
+// "ampClientTimezone"
+// "ampClientTimestamp"
+// "ampClientScreenWidth"
+// "ampClientScreenHeight"
+// "ampClientScrollX"
+// "ampClientScrollY"
+// "ampClientMaxScrollX"
+// "ampClientMaxScrollY"
+// "ampTotalEngagedTime"
+// "ampPageViewId"
+// "ampPageLoadTime"
+// "ampPageDownloadTime"
+// "ampGtmEvent"
+// "eventName"
+// "firebaseEventParameterCampaign"
+// "firebaseEventParameterCampaignAclid"
+// "firebaseEventParameterCampaignAnid"
+// "firebaseEventParameterCampaignClickTimestamp"
+// "firebaseEventParameterCampaignContent"
+// "firebaseEventParameterCampaignCp1"
+// "firebaseEventParameterCampaignGclid"
+// "firebaseEventParameterCampaignSource"
+// "firebaseEventParameterCampaignTerm"
+// "firebaseEventParameterCurrency"
+// "firebaseEventParameterDynamicLinkAcceptTime"
+// "firebaseEventParameterDynamicLinkLinkid"
+// "firebaseEventParameterNotificationMessageDeviceTime"
+// "firebaseEventParameterNotificationMessageId"
+// "firebaseEventParameterNotificationMessageName"
+// "firebaseEventParameterNotificationMessageTime"
+// "firebaseEventParameterNotificationTopic"
+// "firebaseEventParameterPreviousAppVersion"
+// "firebaseEventParameterPreviousOsVersion"
+// "firebaseEventParameterPrice"
+// "firebaseEventParameterProductId"
+// "firebaseEventParameterQuantity"
+// "firebaseEventParameterValue"
+// "videoProvider"
+// "videoUrl"
+// "videoTitle"
+// "videoDuration"
+// "videoPercent"
+// "videoVisible"
+// "videoStatus"
+// "videoCurrentTime"
+// "scrollDepthThreshold"
+// "scrollDepthUnits"
+// "scrollDepthDirection"
+// "elementVisibilityRatio"
+// "elementVisibilityTime"
+// "elementVisibilityFirstTime"
+// "elementVisibilityRecentTime"
+// "requestPath"
+// "requestMethod"
+// "clientName"
+// "queryString"
+// "serverPageLocationUrl"
+// "serverPageLocationPath"
+// "serverPageLocationHostname"
func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Type(type_ ...string) *AccountsContainersWorkspacesBuiltInVariablesDeleteCall {
c.urlParams_.SetMulti("type", append([]string{}, type_...))
return c
@@ -9370,9 +9372,9 @@ type AccountsContainersWorkspacesBuiltInVariablesListCall struct {
// List: Lists all the enabled Built-In Variables of a GTM Container.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesBuiltInVariablesService) List(parent string) *AccountsContainersWorkspacesBuiltInVariablesListCall {
c := &AccountsContainersWorkspacesBuiltInVariablesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -9553,9 +9555,9 @@ type AccountsContainersWorkspacesBuiltInVariablesRevertCall struct {
// Revert: Reverts changes to a GTM Built-In Variables in a GTM
// Workspace.
//
-// - path: GTM BuiltInVariable's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/built_in_variables.
+// - path: GTM BuiltInVariable's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/built_in_variables.
func (r *AccountsContainersWorkspacesBuiltInVariablesService) Revert(path string) *AccountsContainersWorkspacesBuiltInVariablesRevertCall {
c := &AccountsContainersWorkspacesBuiltInVariablesRevertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -9566,119 +9568,120 @@ func (r *AccountsContainersWorkspacesBuiltInVariablesService) Revert(path string
// variable to revert.
//
// Possible values:
-// "builtInVariableTypeUnspecified"
-// "pageUrl"
-// "pageHostname"
-// "pagePath"
-// "referrer"
-// "event" - For web or mobile.
-// "clickElement"
-// "clickClasses"
-// "clickId"
-// "clickTarget"
-// "clickUrl"
-// "clickText"
-// "firstPartyServingUrl"
-// "formElement"
-// "formClasses"
-// "formId"
-// "formTarget"
-// "formUrl"
-// "formText"
-// "errorMessage"
-// "errorUrl"
-// "errorLine"
-// "newHistoryUrl"
-// "oldHistoryUrl"
-// "newHistoryFragment"
-// "oldHistoryFragment"
-// "newHistoryState"
-// "oldHistoryState"
-// "historySource"
-// "containerVersion" - For web or mobile.
-// "debugMode"
-// "randomNumber" - For web or mobile.
-// "containerId" - For web or mobile.
-// "appId"
-// "appName"
-// "appVersionCode"
-// "appVersionName"
-// "language"
-// "osVersion"
-// "platform"
-// "sdkVersion"
-// "deviceName"
-// "resolution"
-// "advertiserId"
-// "advertisingTrackingEnabled"
-// "htmlId"
-// "environmentName"
-// "ampBrowserLanguage"
-// "ampCanonicalPath"
-// "ampCanonicalUrl"
-// "ampCanonicalHost"
-// "ampReferrer"
-// "ampTitle"
-// "ampClientId"
-// "ampClientTimezone"
-// "ampClientTimestamp"
-// "ampClientScreenWidth"
-// "ampClientScreenHeight"
-// "ampClientScrollX"
-// "ampClientScrollY"
-// "ampClientMaxScrollX"
-// "ampClientMaxScrollY"
-// "ampTotalEngagedTime"
-// "ampPageViewId"
-// "ampPageLoadTime"
-// "ampPageDownloadTime"
-// "ampGtmEvent"
-// "eventName"
-// "firebaseEventParameterCampaign"
-// "firebaseEventParameterCampaignAclid"
-// "firebaseEventParameterCampaignAnid"
-// "firebaseEventParameterCampaignClickTimestamp"
-// "firebaseEventParameterCampaignContent"
-// "firebaseEventParameterCampaignCp1"
-// "firebaseEventParameterCampaignGclid"
-// "firebaseEventParameterCampaignSource"
-// "firebaseEventParameterCampaignTerm"
-// "firebaseEventParameterCurrency"
-// "firebaseEventParameterDynamicLinkAcceptTime"
-// "firebaseEventParameterDynamicLinkLinkid"
-// "firebaseEventParameterNotificationMessageDeviceTime"
-// "firebaseEventParameterNotificationMessageId"
-// "firebaseEventParameterNotificationMessageName"
-// "firebaseEventParameterNotificationMessageTime"
-// "firebaseEventParameterNotificationTopic"
-// "firebaseEventParameterPreviousAppVersion"
-// "firebaseEventParameterPreviousOsVersion"
-// "firebaseEventParameterPrice"
-// "firebaseEventParameterProductId"
-// "firebaseEventParameterQuantity"
-// "firebaseEventParameterValue"
-// "videoProvider"
-// "videoUrl"
-// "videoTitle"
-// "videoDuration"
-// "videoPercent"
-// "videoVisible"
-// "videoStatus"
-// "videoCurrentTime"
-// "scrollDepthThreshold"
-// "scrollDepthUnits"
-// "scrollDepthDirection"
-// "elementVisibilityRatio"
-// "elementVisibilityTime"
-// "elementVisibilityFirstTime"
-// "elementVisibilityRecentTime"
-// "requestPath"
-// "requestMethod"
-// "clientName"
-// "queryString"
-// "serverPageLocationUrl"
-// "serverPageLocationPath"
-// "serverPageLocationHostname"
+//
+// "builtInVariableTypeUnspecified"
+// "pageUrl"
+// "pageHostname"
+// "pagePath"
+// "referrer"
+// "event" - For web or mobile.
+// "clickElement"
+// "clickClasses"
+// "clickId"
+// "clickTarget"
+// "clickUrl"
+// "clickText"
+// "firstPartyServingUrl"
+// "formElement"
+// "formClasses"
+// "formId"
+// "formTarget"
+// "formUrl"
+// "formText"
+// "errorMessage"
+// "errorUrl"
+// "errorLine"
+// "newHistoryUrl"
+// "oldHistoryUrl"
+// "newHistoryFragment"
+// "oldHistoryFragment"
+// "newHistoryState"
+// "oldHistoryState"
+// "historySource"
+// "containerVersion" - For web or mobile.
+// "debugMode"
+// "randomNumber" - For web or mobile.
+// "containerId" - For web or mobile.
+// "appId"
+// "appName"
+// "appVersionCode"
+// "appVersionName"
+// "language"
+// "osVersion"
+// "platform"
+// "sdkVersion"
+// "deviceName"
+// "resolution"
+// "advertiserId"
+// "advertisingTrackingEnabled"
+// "htmlId"
+// "environmentName"
+// "ampBrowserLanguage"
+// "ampCanonicalPath"
+// "ampCanonicalUrl"
+// "ampCanonicalHost"
+// "ampReferrer"
+// "ampTitle"
+// "ampClientId"
+// "ampClientTimezone"
+// "ampClientTimestamp"
+// "ampClientScreenWidth"
+// "ampClientScreenHeight"
+// "ampClientScrollX"
+// "ampClientScrollY"
+// "ampClientMaxScrollX"
+// "ampClientMaxScrollY"
+// "ampTotalEngagedTime"
+// "ampPageViewId"
+// "ampPageLoadTime"
+// "ampPageDownloadTime"
+// "ampGtmEvent"
+// "eventName"
+// "firebaseEventParameterCampaign"
+// "firebaseEventParameterCampaignAclid"
+// "firebaseEventParameterCampaignAnid"
+// "firebaseEventParameterCampaignClickTimestamp"
+// "firebaseEventParameterCampaignContent"
+// "firebaseEventParameterCampaignCp1"
+// "firebaseEventParameterCampaignGclid"
+// "firebaseEventParameterCampaignSource"
+// "firebaseEventParameterCampaignTerm"
+// "firebaseEventParameterCurrency"
+// "firebaseEventParameterDynamicLinkAcceptTime"
+// "firebaseEventParameterDynamicLinkLinkid"
+// "firebaseEventParameterNotificationMessageDeviceTime"
+// "firebaseEventParameterNotificationMessageId"
+// "firebaseEventParameterNotificationMessageName"
+// "firebaseEventParameterNotificationMessageTime"
+// "firebaseEventParameterNotificationTopic"
+// "firebaseEventParameterPreviousAppVersion"
+// "firebaseEventParameterPreviousOsVersion"
+// "firebaseEventParameterPrice"
+// "firebaseEventParameterProductId"
+// "firebaseEventParameterQuantity"
+// "firebaseEventParameterValue"
+// "videoProvider"
+// "videoUrl"
+// "videoTitle"
+// "videoDuration"
+// "videoPercent"
+// "videoVisible"
+// "videoStatus"
+// "videoCurrentTime"
+// "scrollDepthThreshold"
+// "scrollDepthUnits"
+// "scrollDepthDirection"
+// "elementVisibilityRatio"
+// "elementVisibilityTime"
+// "elementVisibilityFirstTime"
+// "elementVisibilityRecentTime"
+// "requestPath"
+// "requestMethod"
+// "clientName"
+// "queryString"
+// "serverPageLocationUrl"
+// "serverPageLocationPath"
+// "serverPageLocationHostname"
func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Type(type_ string) *AccountsContainersWorkspacesBuiltInVariablesRevertCall {
c.urlParams_.Set("type", type_)
return c
@@ -10045,9 +10048,9 @@ type AccountsContainersWorkspacesClientsCreateCall struct {
// Create: Creates a GTM Client.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesClientsService) Create(parent string, client *Client) *AccountsContainersWorkspacesClientsCreateCall {
c := &AccountsContainersWorkspacesClientsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10188,9 +10191,9 @@ type AccountsContainersWorkspacesClientsDeleteCall struct {
// Delete: Deletes a GTM Client.
//
-// - path: GTM Client's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/clients/{client_id}.
+// - path: GTM Client's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/clients/{client_id}.
func (r *AccountsContainersWorkspacesClientsService) Delete(path string) *AccountsContainersWorkspacesClientsDeleteCall {
c := &AccountsContainersWorkspacesClientsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -10295,9 +10298,9 @@ type AccountsContainersWorkspacesClientsGetCall struct {
// Get: Gets a GTM Client.
//
-// - path: GTM Client's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/clients/{client_id}.
+// - path: GTM Client's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/clients/{client_id}.
func (r *AccountsContainersWorkspacesClientsService) Get(path string) *AccountsContainersWorkspacesClientsGetCall {
c := &AccountsContainersWorkspacesClientsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -10444,9 +10447,9 @@ type AccountsContainersWorkspacesClientsListCall struct {
// List: Lists all GTM Clients of a GTM container workspace.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesClientsService) List(parent string) *AccountsContainersWorkspacesClientsListCall {
c := &AccountsContainersWorkspacesClientsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -10625,9 +10628,9 @@ type AccountsContainersWorkspacesClientsRevertCall struct {
// Revert: Reverts changes to a GTM Client in a GTM Workspace.
//
-// - path: GTM Client's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/clients/{client_id}.
+// - path: GTM Client's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/clients/{client_id}.
func (r *AccountsContainersWorkspacesClientsService) Revert(path string) *AccountsContainersWorkspacesClientsRevertCall {
c := &AccountsContainersWorkspacesClientsRevertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -10772,9 +10775,9 @@ type AccountsContainersWorkspacesClientsUpdateCall struct {
// Update: Updates a GTM Client.
//
-// - path: GTM Client's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/clients/{client_id}.
+// - path: GTM Client's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/clients/{client_id}.
func (r *AccountsContainersWorkspacesClientsService) Update(path string, client *Client) *AccountsContainersWorkspacesClientsUpdateCall {
c := &AccountsContainersWorkspacesClientsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -10928,9 +10931,9 @@ type AccountsContainersWorkspacesFoldersCreateCall struct {
// Create: Creates a GTM Folder.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesFoldersService) Create(parent string, folder *Folder) *AccountsContainersWorkspacesFoldersCreateCall {
c := &AccountsContainersWorkspacesFoldersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11071,9 +11074,9 @@ type AccountsContainersWorkspacesFoldersDeleteCall struct {
// Delete: Deletes a GTM Folder.
//
-// - path: GTM Folder's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/folders/{folder_id}.
+// - path: GTM Folder's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/folders/{folder_id}.
func (r *AccountsContainersWorkspacesFoldersService) Delete(path string) *AccountsContainersWorkspacesFoldersDeleteCall {
c := &AccountsContainersWorkspacesFoldersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -11177,9 +11180,9 @@ type AccountsContainersWorkspacesFoldersEntitiesCall struct {
// Entities: List all entities in a GTM Folder.
//
-// - path: GTM Folder's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/folders/{folder_id}.
+// - path: GTM Folder's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/folders/{folder_id}.
func (r *AccountsContainersWorkspacesFoldersService) Entities(path string) *AccountsContainersWorkspacesFoldersEntitiesCall {
c := &AccountsContainersWorkspacesFoldersEntitiesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -11346,9 +11349,9 @@ type AccountsContainersWorkspacesFoldersGetCall struct {
// Get: Gets a GTM Folder.
//
-// - path: GTM Folder's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/folders/{folder_id}.
+// - path: GTM Folder's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/folders/{folder_id}.
func (r *AccountsContainersWorkspacesFoldersService) Get(path string) *AccountsContainersWorkspacesFoldersGetCall {
c := &AccountsContainersWorkspacesFoldersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -11495,9 +11498,9 @@ type AccountsContainersWorkspacesFoldersListCall struct {
// List: Lists all GTM Folders of a Container.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesFoldersService) List(parent string) *AccountsContainersWorkspacesFoldersListCall {
c := &AccountsContainersWorkspacesFoldersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -11677,9 +11680,9 @@ type AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall struct {
// MoveEntitiesToFolder: Moves entities to a GTM Folder.
//
-// - path: GTM Folder's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/folders/{folder_id}.
+// - path: GTM Folder's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/folders/{folder_id}.
func (r *AccountsContainersWorkspacesFoldersService) MoveEntitiesToFolder(path string, folder *Folder) *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall {
c := &AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -11831,9 +11834,9 @@ type AccountsContainersWorkspacesFoldersRevertCall struct {
// Revert: Reverts changes to a GTM Folder in a GTM Workspace.
//
-// - path: GTM Folder's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/folders/{folder_id}.
+// - path: GTM Folder's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/folders/{folder_id}.
func (r *AccountsContainersWorkspacesFoldersService) Revert(path string) *AccountsContainersWorkspacesFoldersRevertCall {
c := &AccountsContainersWorkspacesFoldersRevertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -11978,9 +11981,9 @@ type AccountsContainersWorkspacesFoldersUpdateCall struct {
// Update: Updates a GTM Folder.
//
-// - path: GTM Folder's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/folders/{folder_id}.
+// - path: GTM Folder's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/folders/{folder_id}.
func (r *AccountsContainersWorkspacesFoldersService) Update(path string, folder *Folder) *AccountsContainersWorkspacesFoldersUpdateCall {
c := &AccountsContainersWorkspacesFoldersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -12134,9 +12137,9 @@ type AccountsContainersWorkspacesTagsCreateCall struct {
// Create: Creates a GTM Tag.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesTagsService) Create(parent string, tag *Tag) *AccountsContainersWorkspacesTagsCreateCall {
c := &AccountsContainersWorkspacesTagsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12277,9 +12280,9 @@ type AccountsContainersWorkspacesTagsDeleteCall struct {
// Delete: Deletes a GTM Tag.
//
-// - path: GTM Tag's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/tags/{tag_id}.
+// - path: GTM Tag's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/tags/{tag_id}.
func (r *AccountsContainersWorkspacesTagsService) Delete(path string) *AccountsContainersWorkspacesTagsDeleteCall {
c := &AccountsContainersWorkspacesTagsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -12384,9 +12387,9 @@ type AccountsContainersWorkspacesTagsGetCall struct {
// Get: Gets a GTM Tag.
//
-// - path: GTM Tag's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/tags/{tag_id}.
+// - path: GTM Tag's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/tags/{tag_id}.
func (r *AccountsContainersWorkspacesTagsService) Get(path string) *AccountsContainersWorkspacesTagsGetCall {
c := &AccountsContainersWorkspacesTagsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -12533,9 +12536,9 @@ type AccountsContainersWorkspacesTagsListCall struct {
// List: Lists all GTM Tags of a Container.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesTagsService) List(parent string) *AccountsContainersWorkspacesTagsListCall {
c := &AccountsContainersWorkspacesTagsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -12714,9 +12717,9 @@ type AccountsContainersWorkspacesTagsRevertCall struct {
// Revert: Reverts changes to a GTM Tag in a GTM Workspace.
//
-// - path: GTM Tag's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/tags/{tag_id}.
+// - path: GTM Tag's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/tags/{tag_id}.
func (r *AccountsContainersWorkspacesTagsService) Revert(path string) *AccountsContainersWorkspacesTagsRevertCall {
c := &AccountsContainersWorkspacesTagsRevertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -12861,9 +12864,9 @@ type AccountsContainersWorkspacesTagsUpdateCall struct {
// Update: Updates a GTM Tag.
//
-// - path: GTM Tag's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/tags/{tag_id}.
+// - path: GTM Tag's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/tags/{tag_id}.
func (r *AccountsContainersWorkspacesTagsService) Update(path string, tag *Tag) *AccountsContainersWorkspacesTagsUpdateCall {
c := &AccountsContainersWorkspacesTagsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -13017,9 +13020,9 @@ type AccountsContainersWorkspacesTemplatesCreateCall struct {
// Create: Creates a GTM Custom Template.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesTemplatesService) Create(parent string, customtemplate *CustomTemplate) *AccountsContainersWorkspacesTemplatesCreateCall {
c := &AccountsContainersWorkspacesTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13160,9 +13163,9 @@ type AccountsContainersWorkspacesTemplatesDeleteCall struct {
// Delete: Deletes a GTM Template.
//
-// - path: GTM Custom Template's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/templates/{template_id}.
+// - path: GTM Custom Template's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/templates/{template_id}.
func (r *AccountsContainersWorkspacesTemplatesService) Delete(path string) *AccountsContainersWorkspacesTemplatesDeleteCall {
c := &AccountsContainersWorkspacesTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -13267,9 +13270,9 @@ type AccountsContainersWorkspacesTemplatesGetCall struct {
// Get: Gets a GTM Template.
//
-// - path: GTM Custom Template's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/templates/{template_id}.
+// - path: GTM Custom Template's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/templates/{template_id}.
func (r *AccountsContainersWorkspacesTemplatesService) Get(path string) *AccountsContainersWorkspacesTemplatesGetCall {
c := &AccountsContainersWorkspacesTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -13416,9 +13419,9 @@ type AccountsContainersWorkspacesTemplatesListCall struct {
// List: Lists all GTM Templates of a GTM container workspace.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesTemplatesService) List(parent string) *AccountsContainersWorkspacesTemplatesListCall {
c := &AccountsContainersWorkspacesTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -13597,9 +13600,9 @@ type AccountsContainersWorkspacesTemplatesRevertCall struct {
// Revert: Reverts changes to a GTM Template in a GTM Workspace.
//
-// - path: GTM Custom Template's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/templates/{template_id}.
+// - path: GTM Custom Template's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/templates/{template_id}.
func (r *AccountsContainersWorkspacesTemplatesService) Revert(path string) *AccountsContainersWorkspacesTemplatesRevertCall {
c := &AccountsContainersWorkspacesTemplatesRevertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -13745,9 +13748,9 @@ type AccountsContainersWorkspacesTemplatesUpdateCall struct {
// Update: Updates a GTM Template.
//
-// - path: GTM Custom Template's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/templates/{template_id}.
+// - path: GTM Custom Template's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/templates/{template_id}.
func (r *AccountsContainersWorkspacesTemplatesService) Update(path string, customtemplate *CustomTemplate) *AccountsContainersWorkspacesTemplatesUpdateCall {
c := &AccountsContainersWorkspacesTemplatesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -13902,9 +13905,9 @@ type AccountsContainersWorkspacesTriggersCreateCall struct {
// Create: Creates a GTM Trigger.
//
-// - parent: GTM Workspaces's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspaces's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesTriggersService) Create(parent string, trigger *Trigger) *AccountsContainersWorkspacesTriggersCreateCall {
c := &AccountsContainersWorkspacesTriggersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14045,9 +14048,9 @@ type AccountsContainersWorkspacesTriggersDeleteCall struct {
// Delete: Deletes a GTM Trigger.
//
-// - path: GTM Trigger's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/triggers/{trigger_id}.
+// - path: GTM Trigger's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/triggers/{trigger_id}.
func (r *AccountsContainersWorkspacesTriggersService) Delete(path string) *AccountsContainersWorkspacesTriggersDeleteCall {
c := &AccountsContainersWorkspacesTriggersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -14152,9 +14155,9 @@ type AccountsContainersWorkspacesTriggersGetCall struct {
// Get: Gets a GTM Trigger.
//
-// - path: GTM Trigger's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/triggers/{trigger_id}.
+// - path: GTM Trigger's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/triggers/{trigger_id}.
func (r *AccountsContainersWorkspacesTriggersService) Get(path string) *AccountsContainersWorkspacesTriggersGetCall {
c := &AccountsContainersWorkspacesTriggersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -14301,9 +14304,9 @@ type AccountsContainersWorkspacesTriggersListCall struct {
// List: Lists all GTM Triggers of a Container.
//
-// - parent: GTM Workspaces's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspaces's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesTriggersService) List(parent string) *AccountsContainersWorkspacesTriggersListCall {
c := &AccountsContainersWorkspacesTriggersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14482,9 +14485,9 @@ type AccountsContainersWorkspacesTriggersRevertCall struct {
// Revert: Reverts changes to a GTM Trigger in a GTM Workspace.
//
-// - path: GTM Trigger's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/triggers/{trigger_id}.
+// - path: GTM Trigger's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/triggers/{trigger_id}.
func (r *AccountsContainersWorkspacesTriggersService) Revert(path string) *AccountsContainersWorkspacesTriggersRevertCall {
c := &AccountsContainersWorkspacesTriggersRevertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -14630,9 +14633,9 @@ type AccountsContainersWorkspacesTriggersUpdateCall struct {
// Update: Updates a GTM Trigger.
//
-// - path: GTM Trigger's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/triggers/{trigger_id}.
+// - path: GTM Trigger's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/triggers/{trigger_id}.
func (r *AccountsContainersWorkspacesTriggersService) Update(path string, trigger *Trigger) *AccountsContainersWorkspacesTriggersUpdateCall {
c := &AccountsContainersWorkspacesTriggersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -14787,9 +14790,9 @@ type AccountsContainersWorkspacesVariablesCreateCall struct {
// Create: Creates a GTM Variable.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesVariablesService) Create(parent string, variable *Variable) *AccountsContainersWorkspacesVariablesCreateCall {
c := &AccountsContainersWorkspacesVariablesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14930,9 +14933,9 @@ type AccountsContainersWorkspacesVariablesDeleteCall struct {
// Delete: Deletes a GTM Variable.
//
-// - path: GTM Variable's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/variables/{variable_id}.
+// - path: GTM Variable's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/variables/{variable_id}.
func (r *AccountsContainersWorkspacesVariablesService) Delete(path string) *AccountsContainersWorkspacesVariablesDeleteCall {
c := &AccountsContainersWorkspacesVariablesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -15037,9 +15040,9 @@ type AccountsContainersWorkspacesVariablesGetCall struct {
// Get: Gets a GTM Variable.
//
-// - path: GTM Variable's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/variables/{variable_id}.
+// - path: GTM Variable's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/variables/{variable_id}.
func (r *AccountsContainersWorkspacesVariablesService) Get(path string) *AccountsContainersWorkspacesVariablesGetCall {
c := &AccountsContainersWorkspacesVariablesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -15186,9 +15189,9 @@ type AccountsContainersWorkspacesVariablesListCall struct {
// List: Lists all GTM Variables of a Container.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesVariablesService) List(parent string) *AccountsContainersWorkspacesVariablesListCall {
c := &AccountsContainersWorkspacesVariablesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15367,9 +15370,9 @@ type AccountsContainersWorkspacesVariablesRevertCall struct {
// Revert: Reverts changes to a GTM Variable in a GTM Workspace.
//
-// - path: GTM Variable's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/variables/{variable_id}.
+// - path: GTM Variable's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/variables/{variable_id}.
func (r *AccountsContainersWorkspacesVariablesService) Revert(path string) *AccountsContainersWorkspacesVariablesRevertCall {
c := &AccountsContainersWorkspacesVariablesRevertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -15515,9 +15518,9 @@ type AccountsContainersWorkspacesVariablesUpdateCall struct {
// Update: Updates a GTM Variable.
//
-// - path: GTM Variable's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/variables/{variable_id}.
+// - path: GTM Variable's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/variables/{variable_id}.
func (r *AccountsContainersWorkspacesVariablesService) Update(path string, variable *Variable) *AccountsContainersWorkspacesVariablesUpdateCall {
c := &AccountsContainersWorkspacesVariablesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -15672,9 +15675,9 @@ type AccountsContainersWorkspacesZonesCreateCall struct {
// Create: Creates a GTM Zone.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesZonesService) Create(parent string, zone *Zone) *AccountsContainersWorkspacesZonesCreateCall {
c := &AccountsContainersWorkspacesZonesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15815,9 +15818,9 @@ type AccountsContainersWorkspacesZonesDeleteCall struct {
// Delete: Deletes a GTM Zone.
//
-// - path: GTM Zone's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/zones/{zone_id}.
+// - path: GTM Zone's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/zones/{zone_id}.
func (r *AccountsContainersWorkspacesZonesService) Delete(path string) *AccountsContainersWorkspacesZonesDeleteCall {
c := &AccountsContainersWorkspacesZonesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -15922,9 +15925,9 @@ type AccountsContainersWorkspacesZonesGetCall struct {
// Get: Gets a GTM Zone.
//
-// - path: GTM Zone's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/zones/{zone_id}.
+// - path: GTM Zone's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/zones/{zone_id}.
func (r *AccountsContainersWorkspacesZonesService) Get(path string) *AccountsContainersWorkspacesZonesGetCall {
c := &AccountsContainersWorkspacesZonesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -16071,9 +16074,9 @@ type AccountsContainersWorkspacesZonesListCall struct {
// List: Lists all GTM Zones of a GTM container workspace.
//
-// - parent: GTM Workspace's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}.
+// - parent: GTM Workspace's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}.
func (r *AccountsContainersWorkspacesZonesService) List(parent string) *AccountsContainersWorkspacesZonesListCall {
c := &AccountsContainersWorkspacesZonesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16252,9 +16255,9 @@ type AccountsContainersWorkspacesZonesRevertCall struct {
// Revert: Reverts changes to a GTM Zone in a GTM Workspace.
//
-// - path: GTM Zone's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/zones/{zone_id}.
+// - path: GTM Zone's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/zones/{zone_id}.
func (r *AccountsContainersWorkspacesZonesService) Revert(path string) *AccountsContainersWorkspacesZonesRevertCall {
c := &AccountsContainersWorkspacesZonesRevertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -16399,9 +16402,9 @@ type AccountsContainersWorkspacesZonesUpdateCall struct {
// Update: Updates a GTM Zone.
//
-// - path: GTM Zone's API relative path. Example:
-// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
-// e_id}/zones/{zone_id}.
+// - path: GTM Zone's API relative path. Example:
+// accounts/{account_id}/containers/{container_id}/workspaces/{workspac
+// e_id}/zones/{zone_id}.
func (r *AccountsContainersWorkspacesZonesService) Update(path string, zone *Zone) *AccountsContainersWorkspacesZonesUpdateCall {
c := &AccountsContainersWorkspacesZonesUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -16555,8 +16558,8 @@ type AccountsUserPermissionsCreateCall struct {
// Create: Creates a user's Account & Container access.
//
-// - parent: GTM Account's API relative path. Example:
-// accounts/{account_id}.
+// - parent: GTM Account's API relative path. Example:
+// accounts/{account_id}.
func (r *AccountsUserPermissionsService) Create(parent string, userpermission *UserPermission) *AccountsUserPermissionsCreateCall {
c := &AccountsUserPermissionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16698,8 +16701,8 @@ type AccountsUserPermissionsDeleteCall struct {
// Delete: Removes a user from the account, revoking access to it and
// all of its containers.
//
-// - path: GTM UserPermission's API relative path. Example:
-// accounts/{account_id}/user_permissions/{user_permission_id}.
+// - path: GTM UserPermission's API relative path. Example:
+// accounts/{account_id}/user_permissions/{user_permission_id}.
func (r *AccountsUserPermissionsService) Delete(path string) *AccountsUserPermissionsDeleteCall {
c := &AccountsUserPermissionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -16804,8 +16807,8 @@ type AccountsUserPermissionsGetCall struct {
// Get: Gets a user's Account & Container access.
//
-// - path: GTM UserPermission's API relative path. Example:
-// accounts/{account_id}/user_permissions/{user_permission_id}.
+// - path: GTM UserPermission's API relative path. Example:
+// accounts/{account_id}/user_permissions/{user_permission_id}.
func (r *AccountsUserPermissionsService) Get(path string) *AccountsUserPermissionsGetCall {
c := &AccountsUserPermissionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
@@ -16952,8 +16955,8 @@ type AccountsUserPermissionsListCall struct {
// List: List all users that have access to the account along with
// Account and Container user access granted to each of them.
//
-// - parent: GTM Accounts's API relative path. Example:
-// accounts/{account_id}.
+// - parent: GTM Accounts's API relative path. Example:
+// accounts/{account_id}.
func (r *AccountsUserPermissionsService) List(parent string) *AccountsUserPermissionsListCall {
c := &AccountsUserPermissionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17132,8 +17135,8 @@ type AccountsUserPermissionsUpdateCall struct {
// Update: Updates a user's Account & Container access.
//
-// - path: GTM UserPermission's API relative path. Example:
-// accounts/{account_id}/user_permissions/{user_permission_id}.
+// - path: GTM UserPermission's API relative path. Example:
+// accounts/{account_id}/user_permissions/{user_permission_id}.
func (r *AccountsUserPermissionsService) Update(path string, userpermission *UserPermission) *AccountsUserPermissionsUpdateCall {
c := &AccountsUserPermissionsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.path = path
diff --git a/tasks/v1/tasks-gen.go b/tasks/v1/tasks-gen.go
index 0bf2d99dd34..549325ae276 100644
--- a/tasks/v1/tasks-gen.go
+++ b/tasks/v1/tasks-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/tasks/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/tasks/v1"
-// ...
-// ctx := context.Background()
-// tasksService, err := tasks.NewService(ctx)
+// import "google.golang.org/api/tasks/v1"
+// ...
+// ctx := context.Background()
+// tasksService, err := tasks.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// tasksService, err := tasks.NewService(ctx, option.WithScopes(tasks.TasksReadonlyScope))
+// tasksService, err := tasks.NewService(ctx, option.WithScopes(tasks.TasksReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// tasksService, err := tasks.NewService(ctx, option.WithAPIKey("AIza..."))
+// tasksService, err := tasks.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// tasksService, err := tasks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// tasksService, err := tasks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package tasks // import "google.golang.org/api/tasks/v1"
diff --git a/testing/v1/testing-gen.go b/testing/v1/testing-gen.go
index 2500848352e..7f4d1309697 100644
--- a/testing/v1/testing-gen.go
+++ b/testing/v1/testing-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/cloud-test-lab/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/testing/v1"
-// ...
-// ctx := context.Background()
-// testingService, err := testing.NewService(ctx)
+// import "google.golang.org/api/testing/v1"
+// ...
+// ctx := context.Background()
+// testingService, err := testing.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// testingService, err := testing.NewService(ctx, option.WithScopes(testing.CloudPlatformReadOnlyScope))
+// testingService, err := testing.NewService(ctx, option.WithScopes(testing.CloudPlatformReadOnlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// testingService, err := testing.NewService(ctx, option.WithAPIKey("AIza..."))
+// testingService, err := testing.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// testingService, err := testing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// testingService, err := testing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package testing // import "google.golang.org/api/testing/v1"
@@ -3705,9 +3705,9 @@ type ProjectsTestMatricesGetCall struct {
// not authorized to read project - INVALID_ARGUMENT - if the request is
// malformed - NOT_FOUND - if the Test Matrix does not exist
//
-// - projectId: Cloud project that owns the test matrix.
-// - testMatrixId: Unique test matrix id which was assigned by the
-// service.
+// - projectId: Cloud project that owns the test matrix.
+// - testMatrixId: Unique test matrix id which was assigned by the
+// service.
func (r *ProjectsTestMatricesService) Get(projectId string, testMatrixId string) *ProjectsTestMatricesGetCall {
c := &ProjectsTestMatricesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
diff --git a/texttospeech/v1/texttospeech-gen.go b/texttospeech/v1/texttospeech-gen.go
index 65b7a0f6442..66099bc146a 100644
--- a/texttospeech/v1/texttospeech-gen.go
+++ b/texttospeech/v1/texttospeech-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/text-to-speech/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/texttospeech/v1"
-// ...
-// ctx := context.Background()
-// texttospeechService, err := texttospeech.NewService(ctx)
+// import "google.golang.org/api/texttospeech/v1"
+// ...
+// ctx := context.Background()
+// texttospeechService, err := texttospeech.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// texttospeechService, err := texttospeech.NewService(ctx, option.WithAPIKey("AIza..."))
+// texttospeechService, err := texttospeech.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// texttospeechService, err := texttospeech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// texttospeechService, err := texttospeech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package texttospeech // import "google.golang.org/api/texttospeech/v1"
diff --git a/texttospeech/v1beta1/texttospeech-gen.go b/texttospeech/v1beta1/texttospeech-gen.go
index 9eb89be8683..732db352778 100644
--- a/texttospeech/v1beta1/texttospeech-gen.go
+++ b/texttospeech/v1beta1/texttospeech-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/text-to-speech/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/texttospeech/v1beta1"
-// ...
-// ctx := context.Background()
-// texttospeechService, err := texttospeech.NewService(ctx)
+// import "google.golang.org/api/texttospeech/v1beta1"
+// ...
+// ctx := context.Background()
+// texttospeechService, err := texttospeech.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// texttospeechService, err := texttospeech.NewService(ctx, option.WithAPIKey("AIza..."))
+// texttospeechService, err := texttospeech.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// texttospeechService, err := texttospeech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// texttospeechService, err := texttospeech.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package texttospeech // import "google.golang.org/api/texttospeech/v1beta1"
diff --git a/toolresults/v1/toolresults-gen.go b/toolresults/v1/toolresults-gen.go
index 43d658f14c1..f455fa87d13 100644
--- a/toolresults/v1/toolresults-gen.go
+++ b/toolresults/v1/toolresults-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://firebase.google.com/docs/test-lab/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/toolresults/v1"
-// ...
-// ctx := context.Background()
-// toolresultsService, err := toolresults.NewService(ctx)
+// import "google.golang.org/api/toolresults/v1"
+// ...
+// ctx := context.Background()
+// toolresultsService, err := toolresults.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// toolresultsService, err := toolresults.NewService(ctx, option.WithAPIKey("AIza..."))
+// toolresultsService, err := toolresults.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// toolresultsService, err := toolresults.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// toolresultsService, err := toolresults.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package toolresults // import "google.golang.org/api/toolresults/v1"
diff --git a/toolresults/v1beta3/toolresults-gen.go b/toolresults/v1beta3/toolresults-gen.go
index f1659e1ffd8..450c9fbc4ae 100644
--- a/toolresults/v1beta3/toolresults-gen.go
+++ b/toolresults/v1beta3/toolresults-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://firebase.google.com/docs/test-lab/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/toolresults/v1beta3"
-// ...
-// ctx := context.Background()
-// toolresultsService, err := toolresults.NewService(ctx)
+// import "google.golang.org/api/toolresults/v1beta3"
+// ...
+// ctx := context.Background()
+// toolresultsService, err := toolresults.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// toolresultsService, err := toolresults.NewService(ctx, option.WithAPIKey("AIza..."))
+// toolresultsService, err := toolresults.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// toolresultsService, err := toolresults.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// toolresultsService, err := toolresults.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package toolresults // import "google.golang.org/api/toolresults/v1beta3"
@@ -6858,9 +6858,9 @@ type ProjectsHistoriesExecutionsStepsAccessibilityClustersCall struct {
// locale format is incorrect - NOT_FOUND - if the containing Step does
// not exist
//
-// - name: A full resource name of the step. For example,
-// projects/my-project/histories/bh.1234567890abcdef/executions/
-// 1234567890123456789/steps/bs.1234567890abcdef.
+// - name: A full resource name of the step. For example,
+// projects/my-project/histories/bh.1234567890abcdef/executions/
+// 1234567890123456789/steps/bs.1234567890abcdef.
func (r *ProjectsHistoriesExecutionsStepsService) AccessibilityClusters(name string) *ProjectsHistoriesExecutionsStepsAccessibilityClustersCall {
c := &ProjectsHistoriesExecutionsStepsAccessibilityClustersCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -7988,11 +7988,11 @@ type ProjectsHistoriesExecutionsStepsPublishXunitXmlFilesCall struct {
// duplicate xml file or a file too large. - NOT_FOUND - if the
// containing Execution does not exist
//
-// - executionId: A Execution id.
-// - historyId: A History id.
-// - projectId: A Project id.
-// - stepId: A Step id. Note: This step must include a
-// TestExecutionStep.
+// - executionId: A Execution id.
+// - historyId: A History id.
+// - projectId: A Project id.
+// - stepId: A Step id. Note: This step must include a
+// TestExecutionStep.
func (r *ProjectsHistoriesExecutionsStepsService) PublishXunitXmlFiles(projectId string, historyId string, executionId string, stepId string, publishxunitxmlfilesrequest *PublishXunitXmlFilesRequest) *ProjectsHistoriesExecutionsStepsPublishXunitXmlFilesCall {
c := &ProjectsHistoriesExecutionsStepsPublishXunitXmlFilesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -8727,11 +8727,12 @@ func (r *ProjectsHistoriesExecutionsStepsPerfSampleSeriesService) List(projectId
// PerfMetricType values such as CPU to filter the result
//
// Possible values:
-// "perfMetricTypeUnspecified"
-// "memory"
-// "cpu"
-// "network"
-// "graphics"
+//
+// "perfMetricTypeUnspecified"
+// "memory"
+// "cpu"
+// "network"
+// "graphics"
func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesListCall) Filter(filter ...string) *ProjectsHistoriesExecutionsStepsPerfSampleSeriesListCall {
c.urlParams_.SetMulti("filter", append([]string{}, filter...))
return c
@@ -9363,12 +9364,12 @@ type ProjectsHistoriesExecutionsStepsTestCasesGetCall struct {
// authorized to write to project - INVALID_ARGUMENT - if the request is
// malformed - NOT_FOUND - if the containing Test Case does not exist
//
-// - executionId: A Execution id.
-// - historyId: A History id.
-// - projectId: A Project id.
-// - stepId: A Step id. Note: This step must include a
-// TestExecutionStep.
-// - testCaseId: A Test Case id.
+// - executionId: A Execution id.
+// - historyId: A History id.
+// - projectId: A Project id.
+// - stepId: A Step id. Note: This step must include a
+// TestExecutionStep.
+// - testCaseId: A Test Case id.
func (r *ProjectsHistoriesExecutionsStepsTestCasesService) Get(projectId string, historyId string, executionId string, stepId string, testCaseId string) *ProjectsHistoriesExecutionsStepsTestCasesGetCall {
c := &ProjectsHistoriesExecutionsStepsTestCasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
@@ -9556,11 +9557,11 @@ type ProjectsHistoriesExecutionsStepsTestCasesListCall struct {
// authorized to write to project - INVALID_ARGUMENT - if the request is
// malformed - NOT_FOUND - if the containing Step does not exist
//
-// - executionId: A Execution id.
-// - historyId: A History id.
-// - projectId: A Project id.
-// - stepId: A Step id. Note: This step must include a
-// TestExecutionStep.
+// - executionId: A Execution id.
+// - historyId: A History id.
+// - projectId: A Project id.
+// - stepId: A Step id. Note: This step must include a
+// TestExecutionStep.
func (r *ProjectsHistoriesExecutionsStepsTestCasesService) List(projectId string, historyId string, executionId string, stepId string) *ProjectsHistoriesExecutionsStepsTestCasesListCall {
c := &ProjectsHistoriesExecutionsStepsTestCasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.projectId = projectId
diff --git a/tpu/v1/tpu-gen.go b/tpu/v1/tpu-gen.go
index 9aba5ded5b3..f8f3a97739e 100644
--- a/tpu/v1/tpu-gen.go
+++ b/tpu/v1/tpu-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/tpu/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/tpu/v1"
-// ...
-// ctx := context.Background()
-// tpuService, err := tpu.NewService(ctx)
+// import "google.golang.org/api/tpu/v1"
+// ...
+// ctx := context.Background()
+// tpuService, err := tpu.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// tpuService, err := tpu.NewService(ctx, option.WithAPIKey("AIza..."))
+// tpuService, err := tpu.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// tpuService, err := tpu.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// tpuService, err := tpu.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package tpu // import "google.golang.org/api/tpu/v1"
@@ -1143,8 +1143,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/tpu/v1alpha1/tpu-gen.go b/tpu/v1alpha1/tpu-gen.go
index 3c8181db5f5..3edcd4d4bba 100644
--- a/tpu/v1alpha1/tpu-gen.go
+++ b/tpu/v1alpha1/tpu-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/tpu/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/tpu/v1alpha1"
-// ...
-// ctx := context.Background()
-// tpuService, err := tpu.NewService(ctx)
+// import "google.golang.org/api/tpu/v1alpha1"
+// ...
+// ctx := context.Background()
+// tpuService, err := tpu.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// tpuService, err := tpu.NewService(ctx, option.WithAPIKey("AIza..."))
+// tpuService, err := tpu.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// tpuService, err := tpu.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// tpuService, err := tpu.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package tpu // import "google.golang.org/api/tpu/v1alpha1"
@@ -1143,8 +1143,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/tpu/v2alpha1/tpu-gen.go b/tpu/v2alpha1/tpu-gen.go
index 96694af1837..3846ac233ef 100644
--- a/tpu/v2alpha1/tpu-gen.go
+++ b/tpu/v2alpha1/tpu-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/tpu/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/tpu/v2alpha1"
-// ...
-// ctx := context.Background()
-// tpuService, err := tpu.NewService(ctx)
+// import "google.golang.org/api/tpu/v2alpha1"
+// ...
+// ctx := context.Background()
+// tpuService, err := tpu.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// tpuService, err := tpu.NewService(ctx, option.WithAPIKey("AIza..."))
+// tpuService, err := tpu.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// tpuService, err := tpu.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// tpuService, err := tpu.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package tpu // import "google.golang.org/api/tpu/v2alpha1"
@@ -1654,8 +1654,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/tracing/v2/tracing-gen.go b/tracing/v2/tracing-gen.go
index b388d4ef090..3e5f86f14fb 100644
--- a/tracing/v2/tracing-gen.go
+++ b/tracing/v2/tracing-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://cloud.google.com/trace
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/tracing/v2"
-// ...
-// ctx := context.Background()
-// tracingService, err := tracing.NewService(ctx)
+// import "google.golang.org/api/tracing/v2"
+// ...
+// ctx := context.Background()
+// tracingService, err := tracing.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// tracingService, err := tracing.NewService(ctx, option.WithScopes(tracing.TraceReadonlyScope))
+// tracingService, err := tracing.NewService(ctx, option.WithScopes(tracing.TraceReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// tracingService, err := tracing.NewService(ctx, option.WithAPIKey("AIza..."))
+// tracingService, err := tracing.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// tracingService, err := tracing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// tracingService, err := tracing.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package tracing // import "google.golang.org/api/tracing/v2"
@@ -331,10 +331,12 @@ func (s *BatchWriteSpansRequest) MarshalJSON() ([]byte, error) {
// request
// or the response type of an API method. For instance:
//
-// service Foo {
-// rpc Bar(google.protobuf.Empty) returns
+// service Foo {
+// rpc Bar(google.protobuf.Empty) returns
+//
// (google.protobuf.Empty);
-// }
+//
+// }
//
// The JSON representation for `Empty` is empty JSON object `{}`.
type Empty struct {
@@ -903,29 +905,41 @@ func (s *StackTrace) MarshalJSON() ([]byte, error) {
//
// - Partial errors. If a service needs to return partial errors to the
// client,
-// it may embed the `Status` in the normal response to indicate the
+//
+// it may embed the `Status` in the normal response to indicate the
+//
// partial
-// errors.
+//
+// errors.
//
// - Workflow errors. A typical workflow has multiple steps. Each step
// may
-// have a `Status` message for error reporting.
+//
+// have a `Status` message for error reporting.
//
// - Batch operations. If a client uses batch request and batch
// response, the
-// `Status` message should be used directly inside batch response,
+//
+// `Status` message should be used directly inside batch response,
+//
// one for
-// each error sub-response.
+//
+// each error sub-response.
//
// - Asynchronous operations. If an API call embeds asynchronous
// operation
-// results in its response, the status of those operations should
+//
+// results in its response, the status of those operations should
+//
// be
-// represented directly using the `Status` message.
+//
+// represented directly using the `Status` message.
//
// - Logging. If some API errors are stored in logs, the message
// `Status` could
-// be used directly after any stripping needed for security/privacy
+//
+// be used directly after any stripping needed for security/privacy
+//
// reasons.
type Status struct {
// Code: The status code, which should be an enum value of
@@ -1315,7 +1329,9 @@ func (c *ProjectsTracesListCall) Filter(filter string) *ProjectsTracesListCall {
// * `name` (`name` field of root span in the trace)
// * `duration` (difference between `end_time` and `start_time` fields
// of
-// the root span)
+//
+// the root span)
+//
// * `start` (`start_time` field of the root span)
//
// Descending order can be specified by appending `desc` to the sort
diff --git a/trafficdirector/v2/trafficdirector-gen.go b/trafficdirector/v2/trafficdirector-gen.go
index 169b39a7737..bb0558e4f47 100644
--- a/trafficdirector/v2/trafficdirector-gen.go
+++ b/trafficdirector/v2/trafficdirector-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/traffic-director
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/trafficdirector/v2"
-// ...
-// ctx := context.Background()
-// trafficdirectorService, err := trafficdirector.NewService(ctx)
+// import "google.golang.org/api/trafficdirector/v2"
+// ...
+// ctx := context.Background()
+// trafficdirectorService, err := trafficdirector.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// trafficdirectorService, err := trafficdirector.NewService(ctx, option.WithAPIKey("AIza..."))
+// trafficdirectorService, err := trafficdirector.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// trafficdirectorService, err := trafficdirector.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// trafficdirectorService, err := trafficdirector.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package trafficdirector // import "google.golang.org/api/trafficdirector/v2"
@@ -702,12 +702,12 @@ func (s *Extension) MarshalJSON() ([]byte, error) {
// adhere to the documented `syntax `_. The engine is designed to
// complete execution in linear time as well as limit the amount of
// memory used. Envoy supports program size checking via runtime. The
-// runtime keys ``re2.max_program_size.error_level`` and
-// ``re2.max_program_size.warn_level`` can be set to integers as the
+// runtime keys “re2.max_program_size.error_level“ and
+// “re2.max_program_size.warn_level“ can be set to integers as the
// maximum program size or complexity that a compiled regex can have
// before an exception is thrown or a warning is logged, respectively.
-// ``re2.max_program_size.error_level`` defaults to 100, and
-// ``re2.max_program_size.warn_level`` has no default if unset (will not
+// “re2.max_program_size.error_level“ defaults to 100, and
+// “re2.max_program_size.warn_level“ has no default if unset (will not
// check/log a warning). Envoy emits two stats for tracking the program
// size of regexes: the histogram `re2.program_size`, which records the
// program size, and the counter `re2.exceeded_warn_level`, which is
diff --git a/transcoder/v1/transcoder-gen.go b/transcoder/v1/transcoder-gen.go
index 4a6425b1688..94c88ed2b29 100644
--- a/transcoder/v1/transcoder-gen.go
+++ b/transcoder/v1/transcoder-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/transcoder/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/transcoder/v1"
-// ...
-// ctx := context.Background()
-// transcoderService, err := transcoder.NewService(ctx)
+// import "google.golang.org/api/transcoder/v1"
+// ...
+// ctx := context.Background()
+// transcoderService, err := transcoder.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// transcoderService, err := transcoder.NewService(ctx, option.WithAPIKey("AIza..."))
+// transcoderService, err := transcoder.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// transcoderService, err := transcoder.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// transcoderService, err := transcoder.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package transcoder // import "google.golang.org/api/transcoder/v1"
@@ -2199,8 +2199,8 @@ type ProjectsLocationsJobTemplatesCreateCall struct {
// Create: Creates a job template in the specified region.
//
-// - parent: The parent location to create this job template. Format:
-// `projects/{project}/locations/{location}`.
+// - parent: The parent location to create this job template. Format:
+// `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsJobTemplatesService) Create(parent string, jobtemplate *JobTemplate) *ProjectsLocationsJobTemplatesCreateCall {
c := &ProjectsLocationsJobTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2356,9 +2356,9 @@ type ProjectsLocationsJobTemplatesDeleteCall struct {
// Delete: Deletes a job template.
//
-// - name: The name of the job template to delete.
-// `projects/{project}/locations/{location}/jobTemplates/{job_template}
-// `.
+// - name: The name of the job template to delete.
+// `projects/{project}/locations/{location}/jobTemplates/{job_template}
+// `.
func (r *ProjectsLocationsJobTemplatesService) Delete(name string) *ProjectsLocationsJobTemplatesDeleteCall {
c := &ProjectsLocationsJobTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2504,9 +2504,9 @@ type ProjectsLocationsJobTemplatesGetCall struct {
// Get: Returns the job template data.
//
-// - name: The name of the job template to retrieve. Format:
-// `projects/{project}/locations/{location}/jobTemplates/{job_template}
-// `.
+// - name: The name of the job template to retrieve. Format:
+// `projects/{project}/locations/{location}/jobTemplates/{job_template}
+// `.
func (r *ProjectsLocationsJobTemplatesService) Get(name string) *ProjectsLocationsJobTemplatesGetCall {
c := &ProjectsLocationsJobTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2652,8 +2652,8 @@ type ProjectsLocationsJobTemplatesListCall struct {
// List: Lists job templates in the specified region.
//
-// - parent: The parent location from which to retrieve the collection
-// of job templates. Format: `projects/{project}/locations/{location}`.
+// - parent: The parent location from which to retrieve the collection
+// of job templates. Format: `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsJobTemplatesService) List(parent string) *ProjectsLocationsJobTemplatesListCall {
c := &ProjectsLocationsJobTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2871,8 +2871,8 @@ type ProjectsLocationsJobsCreateCall struct {
// Create: Creates a job in the specified region.
//
-// - parent: The parent location to create and process this job. Format:
-// `projects/{project}/locations/{location}`.
+// - parent: The parent location to create and process this job. Format:
+// `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsJobsService) Create(parent string, job *Job) *ProjectsLocationsJobsCreateCall {
c := &ProjectsLocationsJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3013,8 +3013,8 @@ type ProjectsLocationsJobsDeleteCall struct {
// Delete: Deletes a job.
//
-// - name: The name of the job to delete. Format:
-// `projects/{project}/locations/{location}/jobs/{job}`.
+// - name: The name of the job to delete. Format:
+// `projects/{project}/locations/{location}/jobs/{job}`.
func (r *ProjectsLocationsJobsService) Delete(name string) *ProjectsLocationsJobsDeleteCall {
c := &ProjectsLocationsJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3160,8 +3160,8 @@ type ProjectsLocationsJobsGetCall struct {
// Get: Returns the job data.
//
-// - name: The name of the job to retrieve. Format:
-// `projects/{project}/locations/{location}/jobs/{job}`.
+// - name: The name of the job to retrieve. Format:
+// `projects/{project}/locations/{location}/jobs/{job}`.
func (r *ProjectsLocationsJobsService) Get(name string) *ProjectsLocationsJobsGetCall {
c := &ProjectsLocationsJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/transcoder/v1beta1/transcoder-gen.go b/transcoder/v1beta1/transcoder-gen.go
index b89646f21ee..4437051bd1e 100644
--- a/transcoder/v1beta1/transcoder-gen.go
+++ b/transcoder/v1beta1/transcoder-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/transcoder/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/transcoder/v1beta1"
-// ...
-// ctx := context.Background()
-// transcoderService, err := transcoder.NewService(ctx)
+// import "google.golang.org/api/transcoder/v1beta1"
+// ...
+// ctx := context.Background()
+// transcoderService, err := transcoder.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// transcoderService, err := transcoder.NewService(ctx, option.WithAPIKey("AIza..."))
+// transcoderService, err := transcoder.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// transcoderService, err := transcoder.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// transcoderService, err := transcoder.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package transcoder // import "google.golang.org/api/transcoder/v1beta1"
@@ -2210,8 +2210,8 @@ type ProjectsLocationsJobTemplatesCreateCall struct {
// Create: Creates a job template in the specified region.
//
-// - parent: The parent location to create this job template. Format:
-// `projects/{project}/locations/{location}`.
+// - parent: The parent location to create this job template. Format:
+// `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsJobTemplatesService) Create(parent string, jobtemplate *JobTemplate) *ProjectsLocationsJobTemplatesCreateCall {
c := &ProjectsLocationsJobTemplatesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2367,9 +2367,9 @@ type ProjectsLocationsJobTemplatesDeleteCall struct {
// Delete: Deletes a job template.
//
-// - name: The name of the job template to delete.
-// `projects/{project}/locations/{location}/jobTemplates/{job_template}
-// `.
+// - name: The name of the job template to delete.
+// `projects/{project}/locations/{location}/jobTemplates/{job_template}
+// `.
func (r *ProjectsLocationsJobTemplatesService) Delete(name string) *ProjectsLocationsJobTemplatesDeleteCall {
c := &ProjectsLocationsJobTemplatesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2502,9 +2502,9 @@ type ProjectsLocationsJobTemplatesGetCall struct {
// Get: Returns the job template data.
//
-// - name: The name of the job template to retrieve. Format:
-// `projects/{project}/locations/{location}/jobTemplates/{job_template}
-// `.
+// - name: The name of the job template to retrieve. Format:
+// `projects/{project}/locations/{location}/jobTemplates/{job_template}
+// `.
func (r *ProjectsLocationsJobTemplatesService) Get(name string) *ProjectsLocationsJobTemplatesGetCall {
c := &ProjectsLocationsJobTemplatesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2650,8 +2650,8 @@ type ProjectsLocationsJobTemplatesListCall struct {
// List: Lists job templates in the specified region.
//
-// - parent: The parent location from which to retrieve the collection
-// of job templates. Format: `projects/{project}/locations/{location}`.
+// - parent: The parent location from which to retrieve the collection
+// of job templates. Format: `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsJobTemplatesService) List(parent string) *ProjectsLocationsJobTemplatesListCall {
c := &ProjectsLocationsJobTemplatesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2844,8 +2844,8 @@ type ProjectsLocationsJobsCreateCall struct {
// Create: Creates a job in the specified region.
//
-// - parent: The parent location to create and process this job. Format:
-// `projects/{project}/locations/{location}`.
+// - parent: The parent location to create and process this job. Format:
+// `projects/{project}/locations/{location}`.
func (r *ProjectsLocationsJobsService) Create(parent string, job *Job) *ProjectsLocationsJobsCreateCall {
c := &ProjectsLocationsJobsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2986,8 +2986,8 @@ type ProjectsLocationsJobsDeleteCall struct {
// Delete: Deletes a job.
//
-// - name: The name of the job to delete. Format:
-// `projects/{project}/locations/{location}/jobs/{job}`.
+// - name: The name of the job to delete. Format:
+// `projects/{project}/locations/{location}/jobs/{job}`.
func (r *ProjectsLocationsJobsService) Delete(name string) *ProjectsLocationsJobsDeleteCall {
c := &ProjectsLocationsJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3120,8 +3120,8 @@ type ProjectsLocationsJobsGetCall struct {
// Get: Returns the job data.
//
-// - name: The name of the job to retrieve. Format:
-// `projects/{project}/locations/{location}/jobs/{job}`.
+// - name: The name of the job to retrieve. Format:
+// `projects/{project}/locations/{location}/jobs/{job}`.
func (r *ProjectsLocationsJobsService) Get(name string) *ProjectsLocationsJobsGetCall {
c := &ProjectsLocationsJobsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/translate/v2/translate-gen.go b/translate/v2/translate-gen.go
index 58a18ae6c9a..be930da6206 100644
--- a/translate/v2/translate-gen.go
+++ b/translate/v2/translate-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://code.google.com/apis/language/translate/v2/getting_started.html
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/translate/v2"
-// ...
-// ctx := context.Background()
-// translateService, err := translate.NewService(ctx)
+// import "google.golang.org/api/translate/v2"
+// ...
+// ctx := context.Background()
+// translateService, err := translate.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// translateService, err := translate.NewService(ctx, option.WithScopes(translate.CloudTranslationScope))
+// translateService, err := translate.NewService(ctx, option.WithScopes(translate.CloudTranslationScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// translateService, err := translate.NewService(ctx, option.WithAPIKey("AIza..."))
+// translateService, err := translate.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// translateService, err := translate.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// translateService, err := translate.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package translate // import "google.golang.org/api/translate/v2"
@@ -661,9 +661,9 @@ type DetectionsListCall struct {
// List: Detects the language of text within a request.
//
-// - q: The input text upon which to perform language detection. Repeat
-// this
-// parameter to perform language detection on multiple text inputs.
+// - q: The input text upon which to perform language detection. Repeat
+// this
+// parameter to perform language detection on multiple text inputs.
func (r *DetectionsService) List(q []string) *DetectionsListCall {
c := &DetectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("q", append([]string{}, q...))
@@ -963,11 +963,13 @@ type TranslationsListCall struct {
// List: Translates input text, returning translated text.
//
-// - q: The input text to translate. Repeat this parameter to perform
-// translation
+// - q: The input text to translate. Repeat this parameter to perform
+// translation
+//
// operations on multiple text inputs.
-// - target: The language to use for translation of the input text, set
-// to one of the
+// - target: The language to use for translation of the input text, set
+// to one of the
+//
// language codes listed in Language Support.
func (r *TranslationsService) List(q []string, target string) *TranslationsListCall {
c := &TranslationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
@@ -989,8 +991,9 @@ func (c *TranslationsListCall) Cid(cid ...string) *TranslationsListCall {
// plain-text.
//
// Possible values:
-// "html" - Specifies the input is in HTML
-// "text" - Specifies the input is in plain textual format
+//
+// "html" - Specifies the input is in HTML
+// "text" - Specifies the input is in plain textual format
func (c *TranslationsListCall) Format(format string) *TranslationsListCall {
c.urlParams_.Set("format", format)
return c
diff --git a/translate/v3/translate-gen.go b/translate/v3/translate-gen.go
index 693058d6ad1..0d495ed4ed7 100644
--- a/translate/v3/translate-gen.go
+++ b/translate/v3/translate-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/translate/docs/quickstarts
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/translate/v3"
-// ...
-// ctx := context.Background()
-// translateService, err := translate.NewService(ctx)
+// import "google.golang.org/api/translate/v3"
+// ...
+// ctx := context.Background()
+// translateService, err := translate.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// translateService, err := translate.NewService(ctx, option.WithScopes(translate.CloudTranslationScope))
+// translateService, err := translate.NewService(ctx, option.WithScopes(translate.CloudTranslationScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// translateService, err := translate.NewService(ctx, option.WithAPIKey("AIza..."))
+// translateService, err := translate.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// translateService, err := translate.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// translateService, err := translate.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package translate // import "google.golang.org/api/translate/v3"
@@ -1800,14 +1800,14 @@ type ProjectsDetectLanguageCall struct {
// DetectLanguage: Detects the language of text within a request.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format:
-// `projects/{project-number-or-id}/locations/{location-id}` or
-// `projects/{project-number-or-id}`. For global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Only models within the same
-// region (has same location-id) can be used. Otherwise an
-// INVALID_ARGUMENT (400) error is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format:
+// `projects/{project-number-or-id}/locations/{location-id}` or
+// `projects/{project-number-or-id}`. For global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Only models within the same
+// region (has same location-id) can be used. Otherwise an
+// INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsService) DetectLanguage(parent string, detectlanguagerequest *DetectLanguageRequest) *ProjectsDetectLanguageCall {
c := &ProjectsDetectLanguageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1951,15 +1951,15 @@ type ProjectsGetSupportedLanguagesCall struct {
// GetSupportedLanguages: Returns a list of supported languages for
// translation.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format: `projects/{project-number-or-id}` or
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Non-global location is required
-// for AutoML models. Only models within the same region (have same
-// location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
-// is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format: `projects/{project-number-or-id}` or
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Non-global location is required
+// for AutoML models. Only models within the same region (have same
+// location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
+// is returned.
func (r *ProjectsService) GetSupportedLanguages(parent string) *ProjectsGetSupportedLanguagesCall {
c := &ProjectsGetSupportedLanguagesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2138,15 +2138,15 @@ type ProjectsTranslateTextCall struct {
// TranslateText: Translates input text and returns translated text.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format: `projects/{project-number-or-id}` or
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Non-global location is required
-// for requests using AutoML models or custom glossaries. Models and
-// glossaries must be within the same region (have same location-id),
-// otherwise an INVALID_ARGUMENT (400) error is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format: `projects/{project-number-or-id}` or
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Non-global location is required
+// for requests using AutoML models or custom glossaries. Models and
+// glossaries must be within the same region (have same location-id),
+// otherwise an INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsService) TranslateText(parent string, translatetextrequest *TranslateTextRequest) *ProjectsTranslateTextCall {
c := &ProjectsTranslateTextCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2295,12 +2295,12 @@ type ProjectsLocationsBatchTranslateDocumentCall struct {
// immediately and you can use google.longrunning.Operation.name to poll
// the status of the call.
//
-// - parent: Location to make a regional call. Format:
-// `projects/{project-number-or-id}/locations/{location-id}`. The
-// `global` location is not supported for batch translation. Only
-// AutoML Translation models or glossaries within the same region
-// (have the same location-id) can be used, otherwise an
-// INVALID_ARGUMENT (400) error is returned.
+// - parent: Location to make a regional call. Format:
+// `projects/{project-number-or-id}/locations/{location-id}`. The
+// `global` location is not supported for batch translation. Only
+// AutoML Translation models or glossaries within the same region
+// (have the same location-id) can be used, otherwise an
+// INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsLocationsService) BatchTranslateDocument(parent string, batchtranslatedocumentrequest *BatchTranslateDocumentRequest) *ProjectsLocationsBatchTranslateDocumentCall {
c := &ProjectsLocationsBatchTranslateDocumentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2448,12 +2448,12 @@ type ProjectsLocationsBatchTranslateTextCall struct {
// can use google.longrunning.Operation.name to poll the status of the
// call.
//
-// - parent: Location to make a call. Must refer to a caller's project.
-// Format: `projects/{project-number-or-id}/locations/{location-id}`.
-// The `global` location is not supported for batch translation. Only
-// AutoML Translation models or glossaries within the same region
-// (have the same location-id) can be used, otherwise an
-// INVALID_ARGUMENT (400) error is returned.
+// - parent: Location to make a call. Must refer to a caller's project.
+// Format: `projects/{project-number-or-id}/locations/{location-id}`.
+// The `global` location is not supported for batch translation. Only
+// AutoML Translation models or glossaries within the same region
+// (have the same location-id) can be used, otherwise an
+// INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsLocationsService) BatchTranslateText(parent string, batchtranslatetextrequest *BatchTranslateTextRequest) *ProjectsLocationsBatchTranslateTextCall {
c := &ProjectsLocationsBatchTranslateTextCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2595,14 +2595,14 @@ type ProjectsLocationsDetectLanguageCall struct {
// DetectLanguage: Detects the language of text within a request.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format:
-// `projects/{project-number-or-id}/locations/{location-id}` or
-// `projects/{project-number-or-id}`. For global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Only models within the same
-// region (has same location-id) can be used. Otherwise an
-// INVALID_ARGUMENT (400) error is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format:
+// `projects/{project-number-or-id}/locations/{location-id}` or
+// `projects/{project-number-or-id}`. For global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Only models within the same
+// region (has same location-id) can be used. Otherwise an
+// INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsLocationsService) DetectLanguage(parent string, detectlanguagerequest *DetectLanguageRequest) *ProjectsLocationsDetectLanguageCall {
c := &ProjectsLocationsDetectLanguageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2893,15 +2893,15 @@ type ProjectsLocationsGetSupportedLanguagesCall struct {
// GetSupportedLanguages: Returns a list of supported languages for
// translation.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format: `projects/{project-number-or-id}` or
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Non-global location is required
-// for AutoML models. Only models within the same region (have same
-// location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
-// is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format: `projects/{project-number-or-id}` or
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Non-global location is required
+// for AutoML models. Only models within the same region (have same
+// location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
+// is returned.
func (r *ProjectsLocationsService) GetSupportedLanguages(parent string) *ProjectsLocationsGetSupportedLanguagesCall {
c := &ProjectsLocationsGetSupportedLanguagesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3081,8 +3081,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3290,15 +3290,15 @@ type ProjectsLocationsTranslateDocumentCall struct {
// TranslateDocument: Translates documents in synchronous mode.
//
-// - parent: Location to make a regional call. Format:
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Non-global location is required
-// for requests using AutoML models or custom glossaries. Models and
-// glossaries must be within the same region (have the same
-// location-id), otherwise an INVALID_ARGUMENT (400) error is
-// returned.
+// - parent: Location to make a regional call. Format:
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Non-global location is required
+// for requests using AutoML models or custom glossaries. Models and
+// glossaries must be within the same region (have the same
+// location-id), otherwise an INVALID_ARGUMENT (400) error is
+// returned.
func (r *ProjectsLocationsService) TranslateDocument(parent string, translatedocumentrequest *TranslateDocumentRequest) *ProjectsLocationsTranslateDocumentCall {
c := &ProjectsLocationsTranslateDocumentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3441,15 +3441,15 @@ type ProjectsLocationsTranslateTextCall struct {
// TranslateText: Translates input text and returns translated text.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format: `projects/{project-number-or-id}` or
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Non-global location is required
-// for requests using AutoML models or custom glossaries. Models and
-// glossaries must be within the same region (have same location-id),
-// otherwise an INVALID_ARGUMENT (400) error is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format: `projects/{project-number-or-id}` or
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Non-global location is required
+// for requests using AutoML models or custom glossaries. Models and
+// glossaries must be within the same region (have same location-id),
+// otherwise an INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsLocationsService) TranslateText(parent string, translatetextrequest *TranslateTextRequest) *ProjectsLocationsTranslateTextCall {
c := &ProjectsLocationsTranslateTextCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4019,8 +4019,8 @@ type ProjectsLocationsGlossariesListCall struct {
// List: Lists glossaries in a project. Returns NOT_FOUND, if the
// project doesn't exist.
//
-// - parent: The name of the project from which to list all of the
-// glossaries.
+// - parent: The name of the project from which to list all of the
+// glossaries.
func (r *ProjectsLocationsGlossariesService) List(parent string) *ProjectsLocationsGlossariesListCall {
c := &ProjectsLocationsGlossariesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/translate/v3beta1/translate-gen.go b/translate/v3beta1/translate-gen.go
index 21f741b9b7a..cdf0eb8253c 100644
--- a/translate/v3beta1/translate-gen.go
+++ b/translate/v3beta1/translate-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/translate/docs/quickstarts
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/translate/v3beta1"
-// ...
-// ctx := context.Background()
-// translateService, err := translate.NewService(ctx)
+// import "google.golang.org/api/translate/v3beta1"
+// ...
+// ctx := context.Background()
+// translateService, err := translate.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// translateService, err := translate.NewService(ctx, option.WithScopes(translate.CloudTranslationScope))
+// translateService, err := translate.NewService(ctx, option.WithScopes(translate.CloudTranslationScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// translateService, err := translate.NewService(ctx, option.WithAPIKey("AIza..."))
+// translateService, err := translate.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// translateService, err := translate.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// translateService, err := translate.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package translate // import "google.golang.org/api/translate/v3beta1"
@@ -1794,14 +1794,14 @@ type ProjectsDetectLanguageCall struct {
// DetectLanguage: Detects the language of text within a request.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format:
-// `projects/{project-number-or-id}/locations/{location-id}` or
-// `projects/{project-number-or-id}`. For global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Only models within the same
-// region (has same location-id) can be used. Otherwise an
-// INVALID_ARGUMENT (400) error is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format:
+// `projects/{project-number-or-id}/locations/{location-id}` or
+// `projects/{project-number-or-id}`. For global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Only models within the same
+// region (has same location-id) can be used. Otherwise an
+// INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsService) DetectLanguage(parent string, detectlanguagerequest *DetectLanguageRequest) *ProjectsDetectLanguageCall {
c := &ProjectsDetectLanguageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1945,15 +1945,15 @@ type ProjectsGetSupportedLanguagesCall struct {
// GetSupportedLanguages: Returns a list of supported languages for
// translation.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format: `projects/{project-number-or-id}` or
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Non-global location is required
-// for AutoML models. Only models within the same region (have same
-// location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
-// is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format: `projects/{project-number-or-id}` or
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Non-global location is required
+// for AutoML models. Only models within the same region (have same
+// location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
+// is returned.
func (r *ProjectsService) GetSupportedLanguages(parent string) *ProjectsGetSupportedLanguagesCall {
c := &ProjectsGetSupportedLanguagesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2132,15 +2132,15 @@ type ProjectsTranslateTextCall struct {
// TranslateText: Translates input text and returns translated text.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format: `projects/{project-number-or-id}` or
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Non-global location is required
-// for requests using AutoML models or custom glossaries. Models and
-// glossaries must be within the same region (have same location-id),
-// otherwise an INVALID_ARGUMENT (400) error is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format: `projects/{project-number-or-id}` or
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Non-global location is required
+// for requests using AutoML models or custom glossaries. Models and
+// glossaries must be within the same region (have same location-id),
+// otherwise an INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsService) TranslateText(parent string, translatetextrequest *TranslateTextRequest) *ProjectsTranslateTextCall {
c := &ProjectsTranslateTextCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2289,12 +2289,12 @@ type ProjectsLocationsBatchTranslateDocumentCall struct {
// immediately and you can use google.longrunning.Operation.name to poll
// the status of the call.
//
-// - parent: Location to make a regional call. Format:
-// `projects/{project-number-or-id}/locations/{location-id}`. The
-// `global` location is not supported for batch translation. Only
-// AutoML Translation models or glossaries within the same region
-// (have the same location-id) can be used, otherwise an
-// INVALID_ARGUMENT (400) error is returned.
+// - parent: Location to make a regional call. Format:
+// `projects/{project-number-or-id}/locations/{location-id}`. The
+// `global` location is not supported for batch translation. Only
+// AutoML Translation models or glossaries within the same region
+// (have the same location-id) can be used, otherwise an
+// INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsLocationsService) BatchTranslateDocument(parent string, batchtranslatedocumentrequest *BatchTranslateDocumentRequest) *ProjectsLocationsBatchTranslateDocumentCall {
c := &ProjectsLocationsBatchTranslateDocumentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2442,12 +2442,12 @@ type ProjectsLocationsBatchTranslateTextCall struct {
// can use google.longrunning.Operation.name to poll the status of the
// call.
//
-// - parent: Location to make a call. Must refer to a caller's project.
-// Format: `projects/{project-number-or-id}/locations/{location-id}`.
-// The `global` location is not supported for batch translation. Only
-// AutoML Translation models or glossaries within the same region
-// (have the same location-id) can be used, otherwise an
-// INVALID_ARGUMENT (400) error is returned.
+// - parent: Location to make a call. Must refer to a caller's project.
+// Format: `projects/{project-number-or-id}/locations/{location-id}`.
+// The `global` location is not supported for batch translation. Only
+// AutoML Translation models or glossaries within the same region
+// (have the same location-id) can be used, otherwise an
+// INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsLocationsService) BatchTranslateText(parent string, batchtranslatetextrequest *BatchTranslateTextRequest) *ProjectsLocationsBatchTranslateTextCall {
c := &ProjectsLocationsBatchTranslateTextCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2589,14 +2589,14 @@ type ProjectsLocationsDetectLanguageCall struct {
// DetectLanguage: Detects the language of text within a request.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format:
-// `projects/{project-number-or-id}/locations/{location-id}` or
-// `projects/{project-number-or-id}`. For global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Only models within the same
-// region (has same location-id) can be used. Otherwise an
-// INVALID_ARGUMENT (400) error is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format:
+// `projects/{project-number-or-id}/locations/{location-id}` or
+// `projects/{project-number-or-id}`. For global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Only models within the same
+// region (has same location-id) can be used. Otherwise an
+// INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsLocationsService) DetectLanguage(parent string, detectlanguagerequest *DetectLanguageRequest) *ProjectsLocationsDetectLanguageCall {
c := &ProjectsLocationsDetectLanguageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2887,15 +2887,15 @@ type ProjectsLocationsGetSupportedLanguagesCall struct {
// GetSupportedLanguages: Returns a list of supported languages for
// translation.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format: `projects/{project-number-or-id}` or
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Non-global location is required
-// for AutoML models. Only models within the same region (have same
-// location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
-// is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format: `projects/{project-number-or-id}` or
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Non-global location is required
+// for AutoML models. Only models within the same region (have same
+// location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
+// is returned.
func (r *ProjectsLocationsService) GetSupportedLanguages(parent string) *ProjectsLocationsGetSupportedLanguagesCall {
c := &ProjectsLocationsGetSupportedLanguagesCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3075,8 +3075,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3284,14 +3284,14 @@ type ProjectsLocationsTranslateDocumentCall struct {
// TranslateDocument: Translates documents in synchronous mode.
//
-// - parent: Location to make a regional call. Format:
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global`. Non-global
-// location is required for requests using AutoML models or custom
-// glossaries. Models and glossaries must be within the same region
-// (have the same location-id), otherwise an INVALID_ARGUMENT (400)
-// error is returned.
+// - parent: Location to make a regional call. Format:
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global`. Non-global
+// location is required for requests using AutoML models or custom
+// glossaries. Models and glossaries must be within the same region
+// (have the same location-id), otherwise an INVALID_ARGUMENT (400)
+// error is returned.
func (r *ProjectsLocationsService) TranslateDocument(parent string, translatedocumentrequest *TranslateDocumentRequest) *ProjectsLocationsTranslateDocumentCall {
c := &ProjectsLocationsTranslateDocumentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3434,15 +3434,15 @@ type ProjectsLocationsTranslateTextCall struct {
// TranslateText: Translates input text and returns translated text.
//
-// - parent: Project or location to make a call. Must refer to a
-// caller's project. Format: `projects/{project-number-or-id}` or
-// `projects/{project-number-or-id}/locations/{location-id}`. For
-// global calls, use
-// `projects/{project-number-or-id}/locations/global` or
-// `projects/{project-number-or-id}`. Non-global location is required
-// for requests using AutoML models or custom glossaries. Models and
-// glossaries must be within the same region (have same location-id),
-// otherwise an INVALID_ARGUMENT (400) error is returned.
+// - parent: Project or location to make a call. Must refer to a
+// caller's project. Format: `projects/{project-number-or-id}` or
+// `projects/{project-number-or-id}/locations/{location-id}`. For
+// global calls, use
+// `projects/{project-number-or-id}/locations/global` or
+// `projects/{project-number-or-id}`. Non-global location is required
+// for requests using AutoML models or custom glossaries. Models and
+// glossaries must be within the same region (have same location-id),
+// otherwise an INVALID_ARGUMENT (400) error is returned.
func (r *ProjectsLocationsService) TranslateText(parent string, translatetextrequest *TranslateTextRequest) *ProjectsLocationsTranslateTextCall {
c := &ProjectsLocationsTranslateTextCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -4012,8 +4012,8 @@ type ProjectsLocationsGlossariesListCall struct {
// List: Lists glossaries in a project. Returns NOT_FOUND, if the
// project doesn't exist.
//
-// - parent: The name of the project from which to list all of the
-// glossaries.
+// - parent: The name of the project from which to list all of the
+// glossaries.
func (r *ProjectsLocationsGlossariesService) List(parent string) *ProjectsLocationsGlossariesListCall {
c := &ProjectsLocationsGlossariesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/transport/internal/dca/dca.go b/transport/internal/dca/dca.go
index 071586e9446..78004f0475f 100644
--- a/transport/internal/dca/dca.go
+++ b/transport/internal/dca/dca.go
@@ -6,17 +6,17 @@
// Authentication according to https://google.aip.dev/auth/4114
//
// The overall logic for DCA is as follows:
-// 1. If both endpoint override and client certificate are specified, use them as is.
-// 2. If user does not specify client certificate, we will attempt to use default
-// client certificate.
-// 3. If user does not specify endpoint override, we will use defaultMtlsEndpoint if
-// client certificate is available and defaultEndpoint otherwise.
+// 1. If both endpoint override and client certificate are specified, use them as is.
+// 2. If user does not specify client certificate, we will attempt to use default
+// client certificate.
+// 3. If user does not specify endpoint override, we will use defaultMtlsEndpoint if
+// client certificate is available and defaultEndpoint otherwise.
//
// Implications of the above logic:
-// 1. If the user specifies a non-mTLS endpoint override but client certificate is
-// available, we will pass along the cert anyway and let the server decide what to do.
-// 2. If the user specifies an mTLS endpoint override but client certificate is not
-// available, we will not fail-fast, but let backend throw error when connecting.
+// 1. If the user specifies a non-mTLS endpoint override but client certificate is
+// available, we will pass along the cert anyway and let the server decide what to do.
+// 2. If the user specifies an mTLS endpoint override but client certificate is not
+// available, we will not fail-fast, but let backend throw error when connecting.
//
// We would like to avoid introducing client-side logic that parses whether the
// endpoint override is an mTLS url, since the url pattern may change at anytime.
diff --git a/urlshortener/v1/urlshortener-gen.go b/urlshortener/v1/urlshortener-gen.go
index c615fea3b56..92d7cbac1b9 100644
--- a/urlshortener/v1/urlshortener-gen.go
+++ b/urlshortener/v1/urlshortener-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/url-shortener/v1/getting_started
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/urlshortener/v1"
-// ...
-// ctx := context.Background()
-// urlshortenerService, err := urlshortener.NewService(ctx)
+// import "google.golang.org/api/urlshortener/v1"
+// ...
+// ctx := context.Background()
+// urlshortenerService, err := urlshortener.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// urlshortenerService, err := urlshortener.NewService(ctx, option.WithAPIKey("AIza..."))
+// urlshortenerService, err := urlshortener.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// urlshortenerService, err := urlshortener.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// urlshortenerService, err := urlshortener.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package urlshortener // import "google.golang.org/api/urlshortener/v1"
@@ -376,9 +376,11 @@ func (r *UrlService) Get(shortUrl string) *UrlGetCall {
// information to return.
//
// Possible values:
-// "ANALYTICS_CLICKS" - Returns only click counts.
-// "ANALYTICS_TOP_STRINGS" - Returns only top string counts.
-// "FULL" - Returns the creation timestamp and all available
+//
+// "ANALYTICS_CLICKS" - Returns only click counts.
+// "ANALYTICS_TOP_STRINGS" - Returns only top string counts.
+// "FULL" - Returns the creation timestamp and all available
+//
// analytics.
func (c *UrlGetCall) Projection(projection string) *UrlGetCall {
c.urlParams_.Set("projection", projection)
@@ -663,8 +665,9 @@ func (r *UrlService) List() *UrlListCall {
// information to return.
//
// Possible values:
-// "ANALYTICS_CLICKS" - Returns short URL click counts.
-// "FULL" - Returns short URL click counts.
+//
+// "ANALYTICS_CLICKS" - Returns short URL click counts.
+// "FULL" - Returns short URL click counts.
func (c *UrlListCall) Projection(projection string) *UrlListCall {
c.urlParams_.Set("projection", projection)
return c
diff --git a/vault/v1/vault-gen.go b/vault/v1/vault-gen.go
index ddeeb36acee..9e7713b7df2 100644
--- a/vault/v1/vault-gen.go
+++ b/vault/v1/vault-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/vault
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/vault/v1"
-// ...
-// ctx := context.Background()
-// vaultService, err := vault.NewService(ctx)
+// import "google.golang.org/api/vault/v1"
+// ...
+// ctx := context.Background()
+// vaultService, err := vault.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// vaultService, err := vault.NewService(ctx, option.WithScopes(vault.EdiscoveryReadonlyScope))
+// vaultService, err := vault.NewService(ctx, option.WithScopes(vault.EdiscoveryReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// vaultService, err := vault.NewService(ctx, option.WithAPIKey("AIza..."))
+// vaultService, err := vault.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// vaultService, err := vault.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// vaultService, err := vault.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package vault // import "google.golang.org/api/vault/v1"
@@ -3298,11 +3298,17 @@ func (r *MattersService) Get(matterId string) *MattersGetCall {
// information about the matter to return in the response.
//
// Possible values:
-// "VIEW_UNSPECIFIED" - The amount of detail is unspecified. Same as
+//
+// "VIEW_UNSPECIFIED" - The amount of detail is unspecified. Same as
+//
// **BASIC**.
-// "BASIC" - Returns the matter ID, name, description, and state.
+//
+// "BASIC" - Returns the matter ID, name, description, and state.
+//
// Default choice.
-// "FULL" - Returns the basic details and a list of matter owners and
+//
+// "FULL" - Returns the basic details and a list of matter owners and
+//
// collaborators (see
// [MatterPermissions](https://developers.google.com/vault/reference/rest
// /v1/matters#matterpermission)).
@@ -3486,10 +3492,11 @@ func (c *MattersListCall) PageToken(pageToken string) *MattersListCall {
// with the specified state. The default lists matters of all states.
//
// Possible values:
-// "STATE_UNSPECIFIED" - The matter has no specified state.
-// "OPEN" - The matter is open.
-// "CLOSED" - The matter is closed.
-// "DELETED" - The matter is deleted.
+//
+// "STATE_UNSPECIFIED" - The matter has no specified state.
+// "OPEN" - The matter is open.
+// "CLOSED" - The matter is closed.
+// "DELETED" - The matter is deleted.
func (c *MattersListCall) State(state string) *MattersListCall {
c.urlParams_.Set("state", state)
return c
@@ -3499,11 +3506,17 @@ func (c *MattersListCall) State(state string) *MattersListCall {
// information about the matter to return in response.
//
// Possible values:
-// "VIEW_UNSPECIFIED" - The amount of detail is unspecified. Same as
+//
+// "VIEW_UNSPECIFIED" - The amount of detail is unspecified. Same as
+//
// **BASIC**.
-// "BASIC" - Returns the matter ID, name, description, and state.
+//
+// "BASIC" - Returns the matter ID, name, description, and state.
+//
// Default choice.
-// "FULL" - Returns the basic details and a list of matter owners and
+//
+// "FULL" - Returns the basic details and a list of matter owners and
+//
// collaborators (see
// [MatterPermissions](https://developers.google.com/vault/reference/rest
// /v1/matters#matterpermission)).
@@ -5357,10 +5370,14 @@ func (r *MattersHoldsService) Get(matterId string, holdId string) *MattersHoldsG
// return for a hold.
//
// Possible values:
-// "HOLD_VIEW_UNSPECIFIED" - Not specified. Defaults to **FULL_HOLD**.
-// "BASIC_HOLD" - Returns the hold ID, name, update time, service, and
+//
+// "HOLD_VIEW_UNSPECIFIED" - Not specified. Defaults to **FULL_HOLD**.
+// "BASIC_HOLD" - Returns the hold ID, name, update time, service, and
+//
// query.
-// "FULL_HOLD" - Returns all details of **BASIC_HOLD** and the
+//
+// "FULL_HOLD" - Returns all details of **BASIC_HOLD** and the
+//
// entities the hold applies to, such as accounts or organizational
// unit.
func (c *MattersHoldsGetCall) View(view string) *MattersHoldsGetCall {
@@ -5557,10 +5574,14 @@ func (c *MattersHoldsListCall) PageToken(pageToken string) *MattersHoldsListCall
// return for a hold.
//
// Possible values:
-// "HOLD_VIEW_UNSPECIFIED" - Not specified. Defaults to **FULL_HOLD**.
-// "BASIC_HOLD" - Returns the hold ID, name, update time, service, and
+//
+// "HOLD_VIEW_UNSPECIFIED" - Not specified. Defaults to **FULL_HOLD**.
+// "BASIC_HOLD" - Returns the hold ID, name, update time, service, and
+//
// query.
-// "FULL_HOLD" - Returns all details of **BASIC_HOLD** and the
+//
+// "FULL_HOLD" - Returns all details of **BASIC_HOLD** and the
+//
// entities the hold applies to, such as accounts or organizational
// unit.
func (c *MattersHoldsListCall) View(view string) *MattersHoldsListCall {
diff --git a/vectortile/v1/vectortile-gen.go b/vectortile/v1/vectortile-gen.go
index 0df732cbac2..cc33501ec33 100644
--- a/vectortile/v1/vectortile-gen.go
+++ b/vectortile/v1/vectortile-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/maps/contact-sales/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/vectortile/v1"
-// ...
-// ctx := context.Background()
-// vectortileService, err := vectortile.NewService(ctx)
+// import "google.golang.org/api/vectortile/v1"
+// ...
+// ctx := context.Background()
+// vectortileService, err := vectortile.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// vectortileService, err := vectortile.NewService(ctx, option.WithAPIKey("AIza..."))
+// vectortileService, err := vectortile.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// vectortileService, err := vectortile.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// vectortileService, err := vectortile.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package vectortile // import "google.golang.org/api/vectortile/v1"
@@ -1173,10 +1173,10 @@ type FeaturetilesGetCall struct {
// Get: Gets a feature tile by its tile resource name.
//
-// - name: Resource name of the tile. The tile resource name is prefixed
-// by its collection ID `tiles/` followed by the resource ID, which
-// encodes the tile's global x and y coordinates and zoom level as
-// `@,,z`. For example, `tiles/@1,2,3z`.
+// - name: Resource name of the tile. The tile resource name is prefixed
+// by its collection ID `tiles/` followed by the resource ID, which
+// encodes the tile's global x and y coordinates and zoom level as
+// `@,,z`. For example, `tiles/@1,2,3z`.
func (r *FeaturetilesService) Get(name string) *FeaturetilesGetCall {
c := &FeaturetilesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1238,14 +1238,15 @@ func (c *FeaturetilesGetCall) ClientInfoOperatingSystem(clientInfoOperatingSyste
// Platform where the application is running.
//
// Possible values:
-// "PLATFORM_UNSPECIFIED" - Unspecified or unknown OS.
-// "EDITOR" - Development environment.
-// "MAC_OS" - macOS.
-// "WINDOWS" - Windows.
-// "LINUX" - Linux
-// "ANDROID" - Android
-// "IOS" - iOS
-// "WEB_GL" - WebGL.
+//
+// "PLATFORM_UNSPECIFIED" - Unspecified or unknown OS.
+// "EDITOR" - Development environment.
+// "MAC_OS" - macOS.
+// "WINDOWS" - Windows.
+// "LINUX" - Linux
+// "ANDROID" - Android
+// "IOS" - iOS
+// "WEB_GL" - WebGL.
func (c *FeaturetilesGetCall) ClientInfoPlatform(clientInfoPlatform string) *FeaturetilesGetCall {
c.urlParams_.Set("clientInfo.platform", clientInfoPlatform)
return c
@@ -1592,10 +1593,10 @@ type TerraintilesGetCall struct {
// Get: Gets a terrain tile by its tile resource name.
//
-// - name: Resource name of the tile. The tile resource name is prefixed
-// by its collection ID `terraintiles/` followed by the resource ID,
-// which encodes the tile's global x and y coordinates and zoom level
-// as `@,,z`. For example, `terraintiles/@1,2,3z`.
+// - name: Resource name of the tile. The tile resource name is prefixed
+// by its collection ID `terraintiles/` followed by the resource ID,
+// which encodes the tile's global x and y coordinates and zoom level
+// as `@,,z`. For example, `terraintiles/@1,2,3z`.
func (r *TerraintilesService) Get(name string) *TerraintilesGetCall {
c := &TerraintilesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1656,14 +1657,15 @@ func (c *TerraintilesGetCall) ClientInfoOperatingSystem(clientInfoOperatingSyste
// Platform where the application is running.
//
// Possible values:
-// "PLATFORM_UNSPECIFIED" - Unspecified or unknown OS.
-// "EDITOR" - Development environment.
-// "MAC_OS" - macOS.
-// "WINDOWS" - Windows.
-// "LINUX" - Linux
-// "ANDROID" - Android
-// "IOS" - iOS
-// "WEB_GL" - WebGL.
+//
+// "PLATFORM_UNSPECIFIED" - Unspecified or unknown OS.
+// "EDITOR" - Development environment.
+// "MAC_OS" - macOS.
+// "WINDOWS" - Windows.
+// "LINUX" - Linux
+// "ANDROID" - Android
+// "IOS" - iOS
+// "WEB_GL" - WebGL.
func (c *TerraintilesGetCall) ClientInfoPlatform(clientInfoPlatform string) *TerraintilesGetCall {
c.urlParams_.Set("clientInfo.platform", clientInfoPlatform)
return c
@@ -1716,11 +1718,17 @@ func (c *TerraintilesGetCall) MinElevationResolutionCells(minElevationResolution
// formats that the client understands.
//
// Possible values:
-// "TERRAIN_FORMAT_UNKNOWN" - An unknown or unspecified terrain
+//
+// "TERRAIN_FORMAT_UNKNOWN" - An unknown or unspecified terrain
+//
// format.
-// "FIRST_DERIVATIVE" - Terrain elevation data encoded as a
+//
+// "FIRST_DERIVATIVE" - Terrain elevation data encoded as a
+//
// FirstDerivativeElevationGrid. .
-// "SECOND_DERIVATIVE" - Terrain elevation data encoded as a
+//
+// "SECOND_DERIVATIVE" - Terrain elevation data encoded as a
+//
// SecondDerivativeElevationGrid.
func (c *TerraintilesGetCall) TerrainFormats(terrainFormats ...string) *TerraintilesGetCall {
c.urlParams_.SetMulti("terrainFormats", append([]string{}, terrainFormats...))
diff --git a/verifiedaccess/v1/verifiedaccess-gen.go b/verifiedaccess/v1/verifiedaccess-gen.go
index 5d4d3ee7633..2778c1fed92 100644
--- a/verifiedaccess/v1/verifiedaccess-gen.go
+++ b/verifiedaccess/v1/verifiedaccess-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/chrome/verified-access
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/verifiedaccess/v1"
-// ...
-// ctx := context.Background()
-// verifiedaccessService, err := verifiedaccess.NewService(ctx)
+// import "google.golang.org/api/verifiedaccess/v1"
+// ...
+// ctx := context.Background()
+// verifiedaccessService, err := verifiedaccess.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// verifiedaccessService, err := verifiedaccess.NewService(ctx, option.WithAPIKey("AIza..."))
+// verifiedaccessService, err := verifiedaccess.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// verifiedaccessService, err := verifiedaccess.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// verifiedaccessService, err := verifiedaccess.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package verifiedaccess // import "google.golang.org/api/verifiedaccess/v1"
diff --git a/verifiedaccess/v2/verifiedaccess-gen.go b/verifiedaccess/v2/verifiedaccess-gen.go
index 0ddda825aa5..da57c28b1fe 100644
--- a/verifiedaccess/v2/verifiedaccess-gen.go
+++ b/verifiedaccess/v2/verifiedaccess-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/chrome/verified-access
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/verifiedaccess/v2"
-// ...
-// ctx := context.Background()
-// verifiedaccessService, err := verifiedaccess.NewService(ctx)
+// import "google.golang.org/api/verifiedaccess/v2"
+// ...
+// ctx := context.Background()
+// verifiedaccessService, err := verifiedaccess.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// verifiedaccessService, err := verifiedaccess.NewService(ctx, option.WithAPIKey("AIza..."))
+// verifiedaccessService, err := verifiedaccess.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// verifiedaccessService, err := verifiedaccess.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// verifiedaccessService, err := verifiedaccess.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package verifiedaccess // import "google.golang.org/api/verifiedaccess/v2"
diff --git a/versionhistory/v1/versionhistory-gen.go b/versionhistory/v1/versionhistory-gen.go
index fda969d5dc9..b54b420b98e 100644
--- a/versionhistory/v1/versionhistory-gen.go
+++ b/versionhistory/v1/versionhistory-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.chrome.com/versionhistory
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/versionhistory/v1"
-// ...
-// ctx := context.Background()
-// versionhistoryService, err := versionhistory.NewService(ctx)
+// import "google.golang.org/api/versionhistory/v1"
+// ...
+// ctx := context.Background()
+// versionhistoryService, err := versionhistory.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// versionhistoryService, err := versionhistory.NewService(ctx, option.WithAPIKey("AIza..."))
+// versionhistoryService, err := versionhistory.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// versionhistoryService, err := versionhistory.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// versionhistoryService, err := versionhistory.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package versionhistory // import "google.golang.org/api/versionhistory/v1"
@@ -567,8 +567,8 @@ type PlatformsListCall struct {
// List: Returns list of platforms that are available for a given
// product. The resource "product" has no resource name in its name.
//
-// - parent: The product, which owns this collection of platforms.
-// Format: {product}.
+// - parent: The product, which owns this collection of platforms.
+// Format: {product}.
func (r *PlatformsService) List(parent string) *PlatformsListCall {
c := &PlatformsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -760,8 +760,8 @@ type PlatformsChannelsListCall struct {
// List: Returns list of channels that are available for a given
// platform.
//
-// - parent: The platform, which owns this collection of channels.
-// Format: {product}/platforms/{platform}.
+// - parent: The platform, which owns this collection of channels.
+// Format: {product}/platforms/{platform}.
func (r *PlatformsChannelsService) List(parent string) *PlatformsChannelsListCall {
c := &PlatformsChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -952,8 +952,8 @@ type PlatformsChannelsVersionsListCall struct {
// List: Returns list of version for the given platform/channel.
//
-// - parent: The channel, which owns this collection of versions.
-// Format: {product}/platforms/{platform}/channels/{channel}.
+// - parent: The channel, which owns this collection of versions.
+// Format: {product}/platforms/{platform}/channels/{channel}.
func (r *PlatformsChannelsVersionsService) List(parent string) *PlatformsChannelsVersionsListCall {
c := &PlatformsChannelsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1187,9 +1187,9 @@ type PlatformsChannelsVersionsReleasesListCall struct {
// List: Returns list of releases of the given version.
//
-// - parent: The version, which owns this collection of releases.
-// Format:
-// {product}/platforms/{platform}/channels/{channel}/versions/{version}.
+// - parent: The version, which owns this collection of releases.
+// Format:
+// {product}/platforms/{platform}/channels/{channel}/versions/{version}.
func (r *PlatformsChannelsVersionsReleasesService) List(parent string) *PlatformsChannelsVersionsReleasesListCall {
c := &PlatformsChannelsVersionsReleasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/videointelligence/v1/videointelligence-gen.go b/videointelligence/v1/videointelligence-gen.go
index 1f13d0bb1d3..11ed6b65f10 100644
--- a/videointelligence/v1/videointelligence-gen.go
+++ b/videointelligence/v1/videointelligence-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/video-intelligence/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/videointelligence/v1"
-// ...
-// ctx := context.Background()
-// videointelligenceService, err := videointelligence.NewService(ctx)
+// import "google.golang.org/api/videointelligence/v1"
+// ...
+// ctx := context.Background()
+// videointelligenceService, err := videointelligence.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package videointelligence // import "google.golang.org/api/videointelligence/v1"
diff --git a/videointelligence/v1beta2/videointelligence-gen.go b/videointelligence/v1beta2/videointelligence-gen.go
index 2fc622614aa..d078fd96e34 100644
--- a/videointelligence/v1beta2/videointelligence-gen.go
+++ b/videointelligence/v1beta2/videointelligence-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/video-intelligence/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/videointelligence/v1beta2"
-// ...
-// ctx := context.Background()
-// videointelligenceService, err := videointelligence.NewService(ctx)
+// import "google.golang.org/api/videointelligence/v1beta2"
+// ...
+// ctx := context.Background()
+// videointelligenceService, err := videointelligence.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package videointelligence // import "google.golang.org/api/videointelligence/v1beta2"
diff --git a/videointelligence/v1p1beta1/videointelligence-gen.go b/videointelligence/v1p1beta1/videointelligence-gen.go
index 35f2f0f532d..eec7d1ef497 100644
--- a/videointelligence/v1p1beta1/videointelligence-gen.go
+++ b/videointelligence/v1p1beta1/videointelligence-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/video-intelligence/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/videointelligence/v1p1beta1"
-// ...
-// ctx := context.Background()
-// videointelligenceService, err := videointelligence.NewService(ctx)
+// import "google.golang.org/api/videointelligence/v1p1beta1"
+// ...
+// ctx := context.Background()
+// videointelligenceService, err := videointelligence.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package videointelligence // import "google.golang.org/api/videointelligence/v1p1beta1"
diff --git a/videointelligence/v1p2beta1/videointelligence-gen.go b/videointelligence/v1p2beta1/videointelligence-gen.go
index 1eba50f2b79..a44def5a53d 100644
--- a/videointelligence/v1p2beta1/videointelligence-gen.go
+++ b/videointelligence/v1p2beta1/videointelligence-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/video-intelligence/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/videointelligence/v1p2beta1"
-// ...
-// ctx := context.Background()
-// videointelligenceService, err := videointelligence.NewService(ctx)
+// import "google.golang.org/api/videointelligence/v1p2beta1"
+// ...
+// ctx := context.Background()
+// videointelligenceService, err := videointelligence.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package videointelligence // import "google.golang.org/api/videointelligence/v1p2beta1"
diff --git a/videointelligence/v1p3beta1/videointelligence-gen.go b/videointelligence/v1p3beta1/videointelligence-gen.go
index 80aa32e20da..a16f639fc7b 100644
--- a/videointelligence/v1p3beta1/videointelligence-gen.go
+++ b/videointelligence/v1p3beta1/videointelligence-gen.go
@@ -10,31 +10,31 @@
//
// For product documentation, see: https://cloud.google.com/video-intelligence/docs/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/videointelligence/v1p3beta1"
-// ...
-// ctx := context.Background()
-// videointelligenceService, err := videointelligence.NewService(ctx)
+// import "google.golang.org/api/videointelligence/v1p3beta1"
+// ...
+// ctx := context.Background()
+// videointelligenceService, err := videointelligence.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// videointelligenceService, err := videointelligence.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package videointelligence // import "google.golang.org/api/videointelligence/v1p3beta1"
diff --git a/vision/v1/vision-gen.go b/vision/v1/vision-gen.go
index 17a85685c35..08049bf5fd9 100644
--- a/vision/v1/vision-gen.go
+++ b/vision/v1/vision-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/vision/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/vision/v1"
-// ...
-// ctx := context.Background()
-// visionService, err := vision.NewService(ctx)
+// import "google.golang.org/api/vision/v1"
+// ...
+// ctx := context.Background()
+// visionService, err := vision.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// visionService, err := vision.NewService(ctx, option.WithScopes(vision.CloudVisionScope))
+// visionService, err := vision.NewService(ctx, option.WithScopes(vision.CloudVisionScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// visionService, err := vision.NewService(ctx, option.WithAPIKey("AIza..."))
+// visionService, err := vision.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// visionService, err := vision.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// visionService, err := vision.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package vision // import "google.golang.org/api/vision/v1"
@@ -1143,12 +1143,12 @@ type CancelOperationRequest struct {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type Color struct {
// Alpha: The fraction of this color that should be applied to the
@@ -15272,12 +15272,12 @@ type ProjectsFilesAnnotateCall struct {
// (gif) or pages (pdf or tiff) from each file provided and perform
// detection and annotation for each image extracted.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsFilesService) Annotate(parent string, batchannotatefilesrequest *BatchAnnotateFilesRequest) *ProjectsFilesAnnotateCall {
c := &ProjectsFilesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15426,12 +15426,12 @@ type ProjectsFilesAsyncBatchAnnotateCall struct {
// `Operation.response` contains `AsyncBatchAnnotateFilesResponse`
// (results).
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsFilesService) AsyncBatchAnnotate(parent string, asyncbatchannotatefilesrequest *AsyncBatchAnnotateFilesRequest) *ProjectsFilesAsyncBatchAnnotateCall {
c := &ProjectsFilesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15574,12 +15574,12 @@ type ProjectsImagesAnnotateCall struct {
// Annotate: Run image detection and annotation for a batch of images.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsImagesService) Annotate(parent string, batchannotateimagesrequest *BatchAnnotateImagesRequest) *ProjectsImagesAnnotateCall {
c := &ProjectsImagesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15728,12 +15728,12 @@ type ProjectsImagesAsyncBatchAnnotateCall struct {
// will write image annotation outputs to json files in customer GCS
// bucket, each json file containing BatchAnnotateImagesResponse proto.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsImagesService) AsyncBatchAnnotate(parent string, asyncbatchannotateimagesrequest *AsyncBatchAnnotateImagesRequest) *ProjectsImagesAsyncBatchAnnotateCall {
c := &ProjectsImagesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -15881,12 +15881,12 @@ type ProjectsLocationsFilesAnnotateCall struct {
// (gif) or pages (pdf or tiff) from each file provided and perform
// detection and annotation for each image extracted.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsFilesService) Annotate(parent string, batchannotatefilesrequest *BatchAnnotateFilesRequest) *ProjectsLocationsFilesAnnotateCall {
c := &ProjectsLocationsFilesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16035,12 +16035,12 @@ type ProjectsLocationsFilesAsyncBatchAnnotateCall struct {
// `Operation.response` contains `AsyncBatchAnnotateFilesResponse`
// (results).
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsFilesService) AsyncBatchAnnotate(parent string, asyncbatchannotatefilesrequest *AsyncBatchAnnotateFilesRequest) *ProjectsLocationsFilesAsyncBatchAnnotateCall {
c := &ProjectsLocationsFilesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16183,12 +16183,12 @@ type ProjectsLocationsImagesAnnotateCall struct {
// Annotate: Run image detection and annotation for a batch of images.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsImagesService) Annotate(parent string, batchannotateimagesrequest *BatchAnnotateImagesRequest) *ProjectsLocationsImagesAnnotateCall {
c := &ProjectsLocationsImagesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16337,12 +16337,12 @@ type ProjectsLocationsImagesAsyncBatchAnnotateCall struct {
// will write image annotation outputs to json files in customer GCS
// bucket, each json file containing BatchAnnotateImagesResponse proto.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsImagesService) AsyncBatchAnnotate(parent string, asyncbatchannotateimagesrequest *AsyncBatchAnnotateImagesRequest) *ProjectsLocationsImagesAsyncBatchAnnotateCall {
c := &ProjectsLocationsImagesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16637,8 +16637,8 @@ type ProjectsLocationsProductSetsAddProductCall struct {
// added to at most 100 ProductSets. Possible errors: * Returns
// NOT_FOUND if the Product or the ProductSet doesn't exist.
//
-// - name: The resource name for the ProductSet to modify. Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
+// - name: The resource name for the ProductSet to modify. Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
func (r *ProjectsLocationsProductSetsService) AddProduct(name string, addproducttoproductsetrequest *AddProductToProductSetRequest) *ProjectsLocationsProductSetsAddProductCall {
c := &ProjectsLocationsProductSetsAddProductCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -16783,8 +16783,8 @@ type ProjectsLocationsProductSetsCreateCall struct {
// errors: * Returns INVALID_ARGUMENT if display_name is missing, or is
// longer than 4096 characters.
//
-// - parent: The project in which the ProductSet should be created.
-// Format is `projects/PROJECT_ID/locations/LOC_ID`.
+// - parent: The project in which the ProductSet should be created.
+// Format is `projects/PROJECT_ID/locations/LOC_ID`.
func (r *ProjectsLocationsProductSetsService) Create(parent string, productset *ProductSet) *ProjectsLocationsProductSetsCreateCall {
c := &ProjectsLocationsProductSetsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -16943,8 +16943,8 @@ type ProjectsLocationsProductSetsDeleteCall struct {
// ReferenceImages in the ProductSet are not deleted. The actual image
// files are not deleted from Google Cloud Storage.
//
-// - name: Resource name of the ProductSet to delete. Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
+// - name: Resource name of the ProductSet to delete. Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
func (r *ProjectsLocationsProductSetsService) Delete(name string) *ProjectsLocationsProductSetsDeleteCall {
c := &ProjectsLocationsProductSetsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17079,8 +17079,8 @@ type ProjectsLocationsProductSetsGetCall struct {
// Get: Gets information associated with a ProductSet. Possible errors:
// * Returns NOT_FOUND if the ProductSet does not exist.
//
-// - name: Resource name of the ProductSet to get. Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
+// - name: Resource name of the ProductSet to get. Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
func (r *ProjectsLocationsProductSetsService) Get(name string) *ProjectsLocationsProductSetsGetCall {
c := &ProjectsLocationsProductSetsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17234,8 +17234,8 @@ type ProjectsLocationsProductSetsImportCall struct {
// method is a csv file on Google Cloud Storage. For the format of the
// csv file please see ImportProductSetsGcsSource.csv_file_uri.
//
-// - parent: The project in which the ProductSets should be imported.
-// Format is `projects/PROJECT_ID/locations/LOC_ID`.
+// - parent: The project in which the ProductSets should be imported.
+// Format is `projects/PROJECT_ID/locations/LOC_ID`.
func (r *ProjectsLocationsProductSetsService) Import(parent string, importproductsetsrequest *ImportProductSetsRequest) *ProjectsLocationsProductSetsImportCall {
c := &ProjectsLocationsProductSetsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17380,8 +17380,8 @@ type ProjectsLocationsProductSetsListCall struct {
// Returns INVALID_ARGUMENT if page_size is greater than 100, or less
// than 1.
//
-// - parent: The project from which ProductSets should be listed. Format
-// is `projects/PROJECT_ID/locations/LOC_ID`.
+// - parent: The project from which ProductSets should be listed. Format
+// is `projects/PROJECT_ID/locations/LOC_ID`.
func (r *ProjectsLocationsProductSetsService) List(parent string) *ProjectsLocationsProductSetsListCall {
c := &ProjectsLocationsProductSetsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -17578,9 +17578,9 @@ type ProjectsLocationsProductSetsPatchCall struct {
// is present in update_mask but missing from the request or longer than
// 4096 characters.
//
-// - name: The resource name of the ProductSet. Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
-// This field is ignored when creating a ProductSet.
+// - name: The resource name of the ProductSet. Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
+// This field is ignored when creating a ProductSet.
func (r *ProjectsLocationsProductSetsService) Patch(name string, productset *ProductSet) *ProjectsLocationsProductSetsPatchCall {
c := &ProjectsLocationsProductSetsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17738,8 +17738,8 @@ type ProjectsLocationsProductSetsRemoveProductCall struct {
// RemoveProduct: Removes a Product from the specified ProductSet.
//
-// - name: The resource name for the ProductSet to modify. Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
+// - name: The resource name for the ProductSet to modify. Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
func (r *ProjectsLocationsProductSetsService) RemoveProduct(name string, removeproductfromproductsetrequest *RemoveProductFromProductSetRequest) *ProjectsLocationsProductSetsRemoveProductCall {
c := &ProjectsLocationsProductSetsRemoveProductCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -17885,9 +17885,9 @@ type ProjectsLocationsProductSetsProductsListCall struct {
// will be empty. Possible errors: * Returns INVALID_ARGUMENT if
// page_size is greater than 100 or less than 1.
//
-// - name: The ProductSet resource for which to retrieve Products.
-// Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
+// - name: The ProductSet resource for which to retrieve Products.
+// Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
func (r *ProjectsLocationsProductSetsProductsService) List(name string) *ProjectsLocationsProductSetsProductsListCall {
c := &ProjectsLocationsProductSetsProductsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18084,8 +18084,8 @@ type ProjectsLocationsProductsCreateCall struct {
// than 4096 characters. * Returns INVALID_ARGUMENT if product_category
// is missing or invalid.
//
-// - parent: The project in which the Product should be created. Format
-// is `projects/PROJECT_ID/locations/LOC_ID`.
+// - parent: The project in which the Product should be created. Format
+// is `projects/PROJECT_ID/locations/LOC_ID`.
func (r *ProjectsLocationsProductsService) Create(parent string, product *Product) *ProjectsLocationsProductsCreateCall {
c := &ProjectsLocationsProductsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -18245,8 +18245,8 @@ type ProjectsLocationsProductsDeleteCall struct {
// away, but search queries against ProductSets containing the product
// may still work until all related caches are refreshed.
//
-// - name: Resource name of product to delete. Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
+// - name: Resource name of product to delete. Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
func (r *ProjectsLocationsProductsService) Delete(name string) *ProjectsLocationsProductsDeleteCall {
c := &ProjectsLocationsProductsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18381,8 +18381,8 @@ type ProjectsLocationsProductsGetCall struct {
// Get: Gets information associated with a Product. Possible errors: *
// Returns NOT_FOUND if the Product does not exist.
//
-// - name: Resource name of the Product to get. Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
+// - name: Resource name of the Product to get. Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
func (r *ProjectsLocationsProductsService) Get(name string) *ProjectsLocationsProductsGetCall {
c := &ProjectsLocationsProductsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18531,8 +18531,8 @@ type ProjectsLocationsProductsListCall struct {
// Returns INVALID_ARGUMENT if page_size is greater than 100 or less
// than 1.
//
-// - parent: The project OR ProductSet from which Products should be
-// listed. Format: `projects/PROJECT_ID/locations/LOC_ID`.
+// - parent: The project OR ProductSet from which Products should be
+// listed. Format: `projects/PROJECT_ID/locations/LOC_ID`.
func (r *ProjectsLocationsProductsService) List(parent string) *ProjectsLocationsProductsListCall {
c := &ProjectsLocationsProductsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -18733,9 +18733,9 @@ type ProjectsLocationsProductsPatchCall struct {
// in update_mask but is longer than 4096 characters. * Returns
// INVALID_ARGUMENT if product_category is present in update_mask.
//
-// - name: The resource name of the product. Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This
-// field is ignored when creating a product.
+// - name: The resource name of the product. Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This
+// field is ignored when creating a product.
func (r *ProjectsLocationsProductsService) Patch(name string, product *Product) *ProjectsLocationsProductsPatchCall {
c := &ProjectsLocationsProductsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -18910,8 +18910,8 @@ type ProjectsLocationsProductsPurgeCall struct {
// track of the progress and results of the request.
// `Operation.metadata` contains `BatchOperationMetadata`. (progress)
//
-// - parent: The project and location in which the Products should be
-// deleted. Format is `projects/PROJECT_ID/locations/LOC_ID`.
+// - parent: The project and location in which the Products should be
+// deleted. Format is `projects/PROJECT_ID/locations/LOC_ID`.
func (r *ProjectsLocationsProductsService) Purge(parent string, purgeproductsrequest *PurgeProductsRequest) *ProjectsLocationsProductsPurgeCall {
c := &ProjectsLocationsProductsPurgeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19067,9 +19067,9 @@ type ProjectsLocationsProductsReferenceImagesCreateCall struct {
// Returns INVALID_ARGUMENT if bounding_poly contains more than 10
// polygons.
//
-// - parent: Resource name of the product in which to create the
-// reference image. Format is
-// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
+// - parent: Resource name of the product in which to create the
+// reference image. Format is
+// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
func (r *ProjectsLocationsProductsReferenceImagesService) Create(parent string, referenceimage *ReferenceImage) *ProjectsLocationsProductsReferenceImagesCreateCall {
c := &ProjectsLocationsProductsReferenceImagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -19231,10 +19231,10 @@ type ProjectsLocationsProductsReferenceImagesDeleteCall struct {
// refreshed. The actual image files are not deleted from Google Cloud
// Storage.
//
-// - name: The resource name of the reference image to delete. Format
-// is:
-// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceI
-// mages/IMAGE_ID`.
+// - name: The resource name of the reference image to delete. Format
+// is:
+// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceI
+// mages/IMAGE_ID`.
func (r *ProjectsLocationsProductsReferenceImagesService) Delete(name string) *ProjectsLocationsProductsReferenceImagesDeleteCall {
c := &ProjectsLocationsProductsReferenceImagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19369,9 +19369,9 @@ type ProjectsLocationsProductsReferenceImagesGetCall struct {
// Get: Gets information associated with a ReferenceImage. Possible
// errors: * Returns NOT_FOUND if the specified image does not exist.
//
-// - name: The resource name of the ReferenceImage to get. Format is:
-// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceI
-// mages/IMAGE_ID`.
+// - name: The resource name of the ReferenceImage to get. Format is:
+// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceI
+// mages/IMAGE_ID`.
func (r *ProjectsLocationsProductsReferenceImagesService) Get(name string) *ProjectsLocationsProductsReferenceImagesGetCall {
c := &ProjectsLocationsProductsReferenceImagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -19520,9 +19520,9 @@ type ProjectsLocationsProductsReferenceImagesListCall struct {
// the parent product does not exist. * Returns INVALID_ARGUMENT if the
// page_size is greater than 100, or less than 1.
//
-// - parent: Resource name of the product containing the reference
-// images. Format is
-// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
+// - parent: Resource name of the product containing the reference
+// images. Format is
+// `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
func (r *ProjectsLocationsProductsReferenceImagesService) List(parent string) *ProjectsLocationsProductsReferenceImagesListCall {
c := &ProjectsLocationsProductsReferenceImagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/vision/v1p1beta1/vision-gen.go b/vision/v1p1beta1/vision-gen.go
index cedf10d8998..759d6fd49d0 100644
--- a/vision/v1p1beta1/vision-gen.go
+++ b/vision/v1p1beta1/vision-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/vision/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/vision/v1p1beta1"
-// ...
-// ctx := context.Background()
-// visionService, err := vision.NewService(ctx)
+// import "google.golang.org/api/vision/v1p1beta1"
+// ...
+// ctx := context.Background()
+// visionService, err := vision.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// visionService, err := vision.NewService(ctx, option.WithScopes(vision.CloudVisionScope))
+// visionService, err := vision.NewService(ctx, option.WithScopes(vision.CloudVisionScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// visionService, err := vision.NewService(ctx, option.WithAPIKey("AIza..."))
+// visionService, err := vision.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// visionService, err := vision.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// visionService, err := vision.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package vision // import "google.golang.org/api/vision/v1p1beta1"
@@ -684,12 +684,12 @@ func (s *BoundingPoly) MarshalJSON() ([]byte, error) {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type Color struct {
// Alpha: The fraction of this color that should be applied to the
@@ -13889,12 +13889,12 @@ type ProjectsFilesAnnotateCall struct {
// (gif) or pages (pdf or tiff) from each file provided and perform
// detection and annotation for each image extracted.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsFilesService) Annotate(parent string, googlecloudvisionv1p1beta1batchannotatefilesrequest *GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest) *ProjectsFilesAnnotateCall {
c := &ProjectsFilesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14045,12 +14045,12 @@ type ProjectsFilesAsyncBatchAnnotateCall struct {
// `Operation.response` contains `AsyncBatchAnnotateFilesResponse`
// (results).
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsFilesService) AsyncBatchAnnotate(parent string, googlecloudvisionv1p1beta1asyncbatchannotatefilesrequest *GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest) *ProjectsFilesAsyncBatchAnnotateCall {
c := &ProjectsFilesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14193,12 +14193,12 @@ type ProjectsImagesAnnotateCall struct {
// Annotate: Run image detection and annotation for a batch of images.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsImagesService) Annotate(parent string, googlecloudvisionv1p1beta1batchannotateimagesrequest *GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest) *ProjectsImagesAnnotateCall {
c := &ProjectsImagesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14349,12 +14349,12 @@ type ProjectsImagesAsyncBatchAnnotateCall struct {
// will write image annotation outputs to json files in customer GCS
// bucket, each json file containing BatchAnnotateImagesResponse proto.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsImagesService) AsyncBatchAnnotate(parent string, googlecloudvisionv1p1beta1asyncbatchannotateimagesrequest *GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest) *ProjectsImagesAsyncBatchAnnotateCall {
c := &ProjectsImagesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14502,12 +14502,12 @@ type ProjectsLocationsFilesAnnotateCall struct {
// (gif) or pages (pdf or tiff) from each file provided and perform
// detection and annotation for each image extracted.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsFilesService) Annotate(parent string, googlecloudvisionv1p1beta1batchannotatefilesrequest *GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest) *ProjectsLocationsFilesAnnotateCall {
c := &ProjectsLocationsFilesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14658,12 +14658,12 @@ type ProjectsLocationsFilesAsyncBatchAnnotateCall struct {
// `Operation.response` contains `AsyncBatchAnnotateFilesResponse`
// (results).
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsFilesService) AsyncBatchAnnotate(parent string, googlecloudvisionv1p1beta1asyncbatchannotatefilesrequest *GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest) *ProjectsLocationsFilesAsyncBatchAnnotateCall {
c := &ProjectsLocationsFilesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14806,12 +14806,12 @@ type ProjectsLocationsImagesAnnotateCall struct {
// Annotate: Run image detection and annotation for a batch of images.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsImagesService) Annotate(parent string, googlecloudvisionv1p1beta1batchannotateimagesrequest *GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest) *ProjectsLocationsImagesAnnotateCall {
c := &ProjectsLocationsImagesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14962,12 +14962,12 @@ type ProjectsLocationsImagesAsyncBatchAnnotateCall struct {
// will write image annotation outputs to json files in customer GCS
// bucket, each json file containing BatchAnnotateImagesResponse proto.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsImagesService) AsyncBatchAnnotate(parent string, googlecloudvisionv1p1beta1asyncbatchannotateimagesrequest *GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest) *ProjectsLocationsImagesAsyncBatchAnnotateCall {
c := &ProjectsLocationsImagesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/vision/v1p2beta1/vision-gen.go b/vision/v1p2beta1/vision-gen.go
index 50abd05a3c3..450a95be010 100644
--- a/vision/v1p2beta1/vision-gen.go
+++ b/vision/v1p2beta1/vision-gen.go
@@ -10,35 +10,35 @@
//
// For product documentation, see: https://cloud.google.com/vision/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/vision/v1p2beta1"
-// ...
-// ctx := context.Background()
-// visionService, err := vision.NewService(ctx)
+// import "google.golang.org/api/vision/v1p2beta1"
+// ...
+// ctx := context.Background()
+// visionService, err := vision.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// visionService, err := vision.NewService(ctx, option.WithScopes(vision.CloudVisionScope))
+// visionService, err := vision.NewService(ctx, option.WithScopes(vision.CloudVisionScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// visionService, err := vision.NewService(ctx, option.WithAPIKey("AIza..."))
+// visionService, err := vision.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// visionService, err := vision.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// visionService, err := vision.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package vision // import "google.golang.org/api/vision/v1p2beta1"
@@ -684,12 +684,12 @@ func (s *BoundingPoly) MarshalJSON() ([]byte, error) {
// if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green,
// blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams
// = [red, green, blue].join(','); return ['rgba(', rgbParams, ',',
-// alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green,
+// alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green,
// blue) { var rgbNumber = new Number((red << 16) | (green << 8) |
// blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 -
// hexString.length; var resultBuilder = ['#']; for (var i = 0; i <
// missingZeros; i++) { resultBuilder.push('0'); }
-// resultBuilder.push(hexString); return resultBuilder.join(''); }; //
+// resultBuilder.push(hexString); return resultBuilder.join(”); }; //
// ...
type Color struct {
// Alpha: The fraction of this color that should be applied to the
@@ -13889,12 +13889,12 @@ type ProjectsFilesAnnotateCall struct {
// (gif) or pages (pdf or tiff) from each file provided and perform
// detection and annotation for each image extracted.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsFilesService) Annotate(parent string, googlecloudvisionv1p2beta1batchannotatefilesrequest *GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest) *ProjectsFilesAnnotateCall {
c := &ProjectsFilesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14045,12 +14045,12 @@ type ProjectsFilesAsyncBatchAnnotateCall struct {
// `Operation.response` contains `AsyncBatchAnnotateFilesResponse`
// (results).
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsFilesService) AsyncBatchAnnotate(parent string, googlecloudvisionv1p2beta1asyncbatchannotatefilesrequest *GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest) *ProjectsFilesAsyncBatchAnnotateCall {
c := &ProjectsFilesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14193,12 +14193,12 @@ type ProjectsImagesAnnotateCall struct {
// Annotate: Run image detection and annotation for a batch of images.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsImagesService) Annotate(parent string, googlecloudvisionv1p2beta1batchannotateimagesrequest *GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest) *ProjectsImagesAnnotateCall {
c := &ProjectsImagesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14349,12 +14349,12 @@ type ProjectsImagesAsyncBatchAnnotateCall struct {
// will write image annotation outputs to json files in customer GCS
// bucket, each json file containing BatchAnnotateImagesResponse proto.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsImagesService) AsyncBatchAnnotate(parent string, googlecloudvisionv1p2beta1asyncbatchannotateimagesrequest *GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest) *ProjectsImagesAsyncBatchAnnotateCall {
c := &ProjectsImagesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14502,12 +14502,12 @@ type ProjectsLocationsFilesAnnotateCall struct {
// (gif) or pages (pdf or tiff) from each file provided and perform
// detection and annotation for each image extracted.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsFilesService) Annotate(parent string, googlecloudvisionv1p2beta1batchannotatefilesrequest *GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest) *ProjectsLocationsFilesAnnotateCall {
c := &ProjectsLocationsFilesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14658,12 +14658,12 @@ type ProjectsLocationsFilesAsyncBatchAnnotateCall struct {
// `Operation.response` contains `AsyncBatchAnnotateFilesResponse`
// (results).
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsFilesService) AsyncBatchAnnotate(parent string, googlecloudvisionv1p2beta1asyncbatchannotatefilesrequest *GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest) *ProjectsLocationsFilesAsyncBatchAnnotateCall {
c := &ProjectsLocationsFilesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14806,12 +14806,12 @@ type ProjectsLocationsImagesAnnotateCall struct {
// Annotate: Run image detection and annotation for a batch of images.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsImagesService) Annotate(parent string, googlecloudvisionv1p2beta1batchannotateimagesrequest *GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest) *ProjectsLocationsImagesAnnotateCall {
c := &ProjectsLocationsImagesAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -14962,12 +14962,12 @@ type ProjectsLocationsImagesAsyncBatchAnnotateCall struct {
// will write image annotation outputs to json files in customer GCS
// bucket, each json file containing BatchAnnotateImagesResponse proto.
//
-// - parent: Optional. Target project and location to make a call.
-// Format: `projects/{project-id}/locations/{location-id}`. If no
-// parent is specified, a region will be chosen automatically.
-// Supported location-ids: `us`: USA country only, `asia`: East asia
-// areas, like Japan, Taiwan, `eu`: The European Union. Example:
-// `projects/project-A/locations/eu`.
+// - parent: Optional. Target project and location to make a call.
+// Format: `projects/{project-id}/locations/{location-id}`. If no
+// parent is specified, a region will be chosen automatically.
+// Supported location-ids: `us`: USA country only, `asia`: East asia
+// areas, like Japan, Taiwan, `eu`: The European Union. Example:
+// `projects/project-A/locations/eu`.
func (r *ProjectsLocationsImagesService) AsyncBatchAnnotate(parent string, googlecloudvisionv1p2beta1asyncbatchannotateimagesrequest *GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest) *ProjectsLocationsImagesAsyncBatchAnnotateCall {
c := &ProjectsLocationsImagesAsyncBatchAnnotateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/vmmigration/v1/vmmigration-gen.go b/vmmigration/v1/vmmigration-gen.go
index 13ff162474c..b7999bd239c 100644
--- a/vmmigration/v1/vmmigration-gen.go
+++ b/vmmigration/v1/vmmigration-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/migrate/virtual-machines
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/vmmigration/v1"
-// ...
-// ctx := context.Background()
-// vmmigrationService, err := vmmigration.NewService(ctx)
+// import "google.golang.org/api/vmmigration/v1"
+// ...
+// ctx := context.Background()
+// vmmigrationService, err := vmmigration.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// vmmigrationService, err := vmmigration.NewService(ctx, option.WithAPIKey("AIza..."))
+// vmmigrationService, err := vmmigration.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// vmmigrationService, err := vmmigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// vmmigrationService, err := vmmigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package vmmigration // import "google.golang.org/api/vmmigration/v1"
@@ -2816,8 +2816,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -5926,9 +5926,9 @@ type ProjectsLocationsSourcesDatacenterConnectorsCreateCall struct {
// Create: Creates a new DatacenterConnector in a given Source.
//
-// - parent: The DatacenterConnector's parent. Required. The Source in
-// where the new DatacenterConnector will be created. For example:
-// `projects/my-project/locations/us-central1/sources/my-source`.
+// - parent: The DatacenterConnector's parent. Required. The Source in
+// where the new DatacenterConnector will be created. For example:
+// `projects/my-project/locations/us-central1/sources/my-source`.
func (r *ProjectsLocationsSourcesDatacenterConnectorsService) Create(parent string, datacenterconnector *DatacenterConnector) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall {
c := &ProjectsLocationsSourcesDatacenterConnectorsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7231,12 +7231,17 @@ func (r *ProjectsLocationsSourcesMigratingVmsService) Get(name string) *Projects
// migrating VM.
//
// Possible values:
-// "MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
+//
+// "MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
+//
// fallback to the default value.
-// "MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The
+//
+// "MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The
+//
// basic details do not include the recent clone jobs and recent cutover
// jobs lists.
-// "MIGRATING_VM_VIEW_FULL" - Include everything.
+//
+// "MIGRATING_VM_VIEW_FULL" - Include everything.
func (c *ProjectsLocationsSourcesMigratingVmsGetCall) View(view string) *ProjectsLocationsSourcesMigratingVmsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -7439,12 +7444,17 @@ func (c *ProjectsLocationsSourcesMigratingVmsListCall) PageToken(pageToken strin
// migrating VM.
//
// Possible values:
-// "MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
+//
+// "MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
+//
// fallback to the default value.
-// "MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The
+//
+// "MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The
+//
// basic details do not include the recent clone jobs and recent cutover
// jobs lists.
-// "MIGRATING_VM_VIEW_FULL" - Include everything.
+//
+// "MIGRATING_VM_VIEW_FULL" - Include everything.
func (c *ProjectsLocationsSourcesMigratingVmsListCall) View(view string) *ProjectsLocationsSourcesMigratingVmsListCall {
c.urlParams_.Set("view", view)
return c
@@ -9976,12 +9986,17 @@ func (r *ProjectsLocationsSourcesUtilizationReportsService) Get(name string) *Pr
// report. Defaults to FULL
//
// Possible values:
-// "UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value.
+//
+// "UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value.
+//
// The API will default to FULL on single report request and BASIC for
// multiple reports request.
-// "BASIC" - Get the report metadata, without the list of VMs and
+//
+// "BASIC" - Get the report metadata, without the list of VMs and
+//
// their utilization info.
-// "FULL" - Include everything.
+//
+// "FULL" - Include everything.
func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) View(view string) *ProjectsLocationsSourcesUtilizationReportsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -10184,12 +10199,17 @@ func (c *ProjectsLocationsSourcesUtilizationReportsListCall) PageToken(pageToken
// report. Defaults to BASIC.
//
// Possible values:
-// "UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value.
+//
+// "UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value.
+//
// The API will default to FULL on single report request and BASIC for
// multiple reports request.
-// "BASIC" - Get the report metadata, without the list of VMs and
+//
+// "BASIC" - Get the report metadata, without the list of VMs and
+//
// their utilization info.
-// "FULL" - Include everything.
+//
+// "FULL" - Include everything.
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) View(view string) *ProjectsLocationsSourcesUtilizationReportsListCall {
c.urlParams_.Set("view", view)
return c
diff --git a/vmmigration/v1alpha1/vmmigration-gen.go b/vmmigration/v1alpha1/vmmigration-gen.go
index 9d9b7e0f763..7cb66680b72 100644
--- a/vmmigration/v1alpha1/vmmigration-gen.go
+++ b/vmmigration/v1alpha1/vmmigration-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/migrate/virtual-machines
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/vmmigration/v1alpha1"
-// ...
-// ctx := context.Background()
-// vmmigrationService, err := vmmigration.NewService(ctx)
+// import "google.golang.org/api/vmmigration/v1alpha1"
+// ...
+// ctx := context.Background()
+// vmmigrationService, err := vmmigration.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// vmmigrationService, err := vmmigration.NewService(ctx, option.WithAPIKey("AIza..."))
+// vmmigrationService, err := vmmigration.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// vmmigrationService, err := vmmigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// vmmigrationService, err := vmmigration.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package vmmigration // import "google.golang.org/api/vmmigration/v1alpha1"
@@ -3218,8 +3218,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -6328,9 +6328,9 @@ type ProjectsLocationsSourcesDatacenterConnectorsCreateCall struct {
// Create: Creates a new DatacenterConnector in a given Source.
//
-// - parent: The DatacenterConnector's parent. Required. The Source in
-// where the new DatacenterConnector will be created. For example:
-// `projects/my-project/locations/us-central1/sources/my-source`.
+// - parent: The DatacenterConnector's parent. Required. The Source in
+// where the new DatacenterConnector will be created. For example:
+// `projects/my-project/locations/us-central1/sources/my-source`.
func (r *ProjectsLocationsSourcesDatacenterConnectorsService) Create(parent string, datacenterconnector *DatacenterConnector) *ProjectsLocationsSourcesDatacenterConnectorsCreateCall {
c := &ProjectsLocationsSourcesDatacenterConnectorsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -7633,12 +7633,17 @@ func (r *ProjectsLocationsSourcesMigratingVmsService) Get(name string) *Projects
// migrating VM.
//
// Possible values:
-// "MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
+//
+// "MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
+//
// fallback to the default value.
-// "MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The
+//
+// "MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The
+//
// basic details do not include the recent clone jobs and recent cutover
// jobs lists.
-// "MIGRATING_VM_VIEW_FULL" - Include everything.
+//
+// "MIGRATING_VM_VIEW_FULL" - Include everything.
func (c *ProjectsLocationsSourcesMigratingVmsGetCall) View(view string) *ProjectsLocationsSourcesMigratingVmsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -7841,12 +7846,17 @@ func (c *ProjectsLocationsSourcesMigratingVmsListCall) PageToken(pageToken strin
// migrating VM.
//
// Possible values:
-// "MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
+//
+// "MIGRATING_VM_VIEW_UNSPECIFIED" - View is unspecified. The API will
+//
// fallback to the default value.
-// "MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The
+//
+// "MIGRATING_VM_VIEW_BASIC" - Get the migrating VM basic details. The
+//
// basic details do not include the recent clone jobs and recent cutover
// jobs lists.
-// "MIGRATING_VM_VIEW_FULL" - Include everything.
+//
+// "MIGRATING_VM_VIEW_FULL" - Include everything.
func (c *ProjectsLocationsSourcesMigratingVmsListCall) View(view string) *ProjectsLocationsSourcesMigratingVmsListCall {
c.urlParams_.Set("view", view)
return c
@@ -10378,12 +10388,17 @@ func (r *ProjectsLocationsSourcesUtilizationReportsService) Get(name string) *Pr
// report. Defaults to FULL
//
// Possible values:
-// "UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value.
+//
+// "UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value.
+//
// The API will default to FULL on single report request and BASIC for
// multiple reports request.
-// "BASIC" - Get the report metadata, without the list of VMs and
+//
+// "BASIC" - Get the report metadata, without the list of VMs and
+//
// their utilization info.
-// "FULL" - Include everything.
+//
+// "FULL" - Include everything.
func (c *ProjectsLocationsSourcesUtilizationReportsGetCall) View(view string) *ProjectsLocationsSourcesUtilizationReportsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -10586,12 +10601,17 @@ func (c *ProjectsLocationsSourcesUtilizationReportsListCall) PageToken(pageToken
// report. Defaults to BASIC.
//
// Possible values:
-// "UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value.
+//
+// "UTILIZATION_REPORT_VIEW_UNSPECIFIED" - The default / unset value.
+//
// The API will default to FULL on single report request and BASIC for
// multiple reports request.
-// "BASIC" - Get the report metadata, without the list of VMs and
+//
+// "BASIC" - Get the report metadata, without the list of VMs and
+//
// their utilization info.
-// "FULL" - Include everything.
+//
+// "FULL" - Include everything.
func (c *ProjectsLocationsSourcesUtilizationReportsListCall) View(view string) *ProjectsLocationsSourcesUtilizationReportsListCall {
c.urlParams_.Set("view", view)
return c
diff --git a/webfonts/v1/webfonts-gen.go b/webfonts/v1/webfonts-gen.go
index 32a22677655..2aca33a23ce 100644
--- a/webfonts/v1/webfonts-gen.go
+++ b/webfonts/v1/webfonts-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/fonts/docs/developer_api
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/webfonts/v1"
-// ...
-// ctx := context.Background()
-// webfontsService, err := webfonts.NewService(ctx)
+// import "google.golang.org/api/webfonts/v1"
+// ...
+// ctx := context.Background()
+// webfontsService, err := webfonts.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// webfontsService, err := webfonts.NewService(ctx, option.WithAPIKey("AIza..."))
+// webfontsService, err := webfonts.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// webfontsService, err := webfonts.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// webfontsService, err := webfonts.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package webfonts // import "google.golang.org/api/webfonts/v1"
@@ -242,13 +242,16 @@ func (r *WebfontsService) List() *WebfontsListCall {
// Sort sets the optional parameter "sort": Enables sorting of the list.
//
// Possible values:
-// "SORT_UNDEFINED" - No sorting specified, use the default sorting
+//
+// "SORT_UNDEFINED" - No sorting specified, use the default sorting
+//
// method.
-// "ALPHA" - Sort alphabetically
-// "DATE" - Sort by date added
-// "POPULARITY" - Sort by popularity
-// "STYLE" - Sort by number of styles
-// "TRENDING" - Sort by trending
+//
+// "ALPHA" - Sort alphabetically
+// "DATE" - Sort by date added
+// "POPULARITY" - Sort by popularity
+// "STYLE" - Sort by number of styles
+// "TRENDING" - Sort by trending
func (c *WebfontsListCall) Sort(sort string) *WebfontsListCall {
c.urlParams_.Set("sort", sort)
return c
diff --git a/webmasters/v3/webmasters-gen.go b/webmasters/v3/webmasters-gen.go
index 8204d592160..4da2034c76a 100644
--- a/webmasters/v3/webmasters-gen.go
+++ b/webmasters/v3/webmasters-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/webmaster-tools/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/webmasters/v3"
-// ...
-// ctx := context.Background()
-// webmastersService, err := webmasters.NewService(ctx)
+// import "google.golang.org/api/webmasters/v3"
+// ...
+// ctx := context.Background()
+// webmastersService, err := webmasters.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// webmastersService, err := webmasters.NewService(ctx, option.WithScopes(webmasters.WebmastersReadonlyScope))
+// webmastersService, err := webmasters.NewService(ctx, option.WithScopes(webmasters.WebmastersReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// webmastersService, err := webmasters.NewService(ctx, option.WithAPIKey("AIza..."))
+// webmastersService, err := webmasters.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// webmastersService, err := webmasters.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// webmastersService, err := webmasters.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package webmasters // import "google.golang.org/api/webmasters/v3"
@@ -631,8 +631,8 @@ type SearchanalyticsQueryCall struct {
// data, issue a broad date range query grouped by date for any metric,
// and see which day rows are returned.
//
-// - siteUrl: The site's URL, including protocol. For example:
-// http://www.example.com/.
+// - siteUrl: The site's URL, including protocol. For example:
+// http://www.example.com/.
func (r *SearchanalyticsService) Query(siteUrl string, searchanalyticsqueryrequest *SearchAnalyticsQueryRequest) *SearchanalyticsQueryCall {
c := &SearchanalyticsQueryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -773,10 +773,10 @@ type SitemapsDeleteCall struct {
// Delete: Deletes a sitemap from this site.
//
-// - feedpath: The URL of the actual sitemap. For example:
-// http://www.example.com/sitemap.xml.
-// - siteUrl: The site's URL, including protocol. For example:
-// http://www.example.com/.
+// - feedpath: The URL of the actual sitemap. For example:
+// http://www.example.com/sitemap.xml.
+// - siteUrl: The site's URL, including protocol. For example:
+// http://www.example.com/.
func (r *SitemapsService) Delete(siteUrl string, feedpath string) *SitemapsDeleteCall {
c := &SitemapsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -889,10 +889,10 @@ type SitemapsGetCall struct {
// Get: Retrieves information about a specific sitemap.
//
-// - feedpath: The URL of the actual sitemap. For example:
-// http://www.example.com/sitemap.xml.
-// - siteUrl: The site's URL, including protocol. For example:
-// http://www.example.com/.
+// - feedpath: The URL of the actual sitemap. For example:
+// http://www.example.com/sitemap.xml.
+// - siteUrl: The site's URL, including protocol. For example:
+// http://www.example.com/.
func (r *SitemapsService) Get(siteUrl string, feedpath string) *SitemapsGetCall {
c := &SitemapsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -1048,8 +1048,8 @@ type SitemapsListCall struct {
// in the sitemap index file (if sitemapIndex is specified in the
// request).
//
-// - siteUrl: The site's URL, including protocol. For example:
-// http://www.example.com/.
+// - siteUrl: The site's URL, including protocol. For example:
+// http://www.example.com/.
func (r *SitemapsService) List(siteUrl string) *SitemapsListCall {
c := &SitemapsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -1207,10 +1207,10 @@ type SitemapsSubmitCall struct {
// Submit: Submits a sitemap for a site.
//
-// - feedpath: The URL of the sitemap to add. For example:
-// http://www.example.com/sitemap.xml.
-// - siteUrl: The site's URL, including protocol. For example:
-// http://www.example.com/.
+// - feedpath: The URL of the sitemap to add. For example:
+// http://www.example.com/sitemap.xml.
+// - siteUrl: The site's URL, including protocol. For example:
+// http://www.example.com/.
func (r *SitemapsService) Submit(siteUrl string, feedpath string) *SitemapsSubmitCall {
c := &SitemapsSubmitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -1424,10 +1424,10 @@ type SitesDeleteCall struct {
// Delete: Removes a site from the set of the user's Search Console
// sites.
//
-// - siteUrl: The URI of the property as defined in Search Console.
-// Examples: http://www.example.com/ or android-app://com.example/
-// Note: for property-sets, use the URI that starts with sc-set: which
-// is used in Search Console URLs.
+// - siteUrl: The URI of the property as defined in Search Console.
+// Examples: http://www.example.com/ or android-app://com.example/
+// Note: for property-sets, use the URI that starts with sc-set: which
+// is used in Search Console URLs.
func (r *SitesService) Delete(siteUrl string) *SitesDeleteCall {
c := &SitesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
@@ -1530,10 +1530,10 @@ type SitesGetCall struct {
// Get: Retrieves information about specific site.
//
-// - siteUrl: The URI of the property as defined in Search Console.
-// Examples: http://www.example.com/ or android-app://com.example/
-// Note: for property-sets, use the URI that starts with sc-set: which
-// is used in Search Console URLs.
+// - siteUrl: The URI of the property as defined in Search Console.
+// Examples: http://www.example.com/ or android-app://com.example/
+// Note: for property-sets, use the URI that starts with sc-set: which
+// is used in Search Console URLs.
func (r *SitesService) Get(siteUrl string) *SitesGetCall {
c := &SitesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.siteUrl = siteUrl
diff --git a/webrisk/v1/webrisk-gen.go b/webrisk/v1/webrisk-gen.go
index 0eff0005216..205b7763e34 100644
--- a/webrisk/v1/webrisk-gen.go
+++ b/webrisk/v1/webrisk-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/web-risk/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/webrisk/v1"
-// ...
-// ctx := context.Background()
-// webriskService, err := webrisk.NewService(ctx)
+// import "google.golang.org/api/webrisk/v1"
+// ...
+// ctx := context.Background()
+// webriskService, err := webrisk.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// webriskService, err := webrisk.NewService(ctx, option.WithAPIKey("AIza..."))
+// webriskService, err := webrisk.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// webriskService, err := webrisk.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// webriskService, err := webrisk.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package webrisk // import "google.golang.org/api/webrisk/v1"
@@ -975,12 +975,16 @@ func (c *HashesSearchCall) HashPrefix(hashPrefix string) *HashesSearchCall {
// ThreatLists to search in. Multiple ThreatLists may be specified.
//
// Possible values:
-// "THREAT_TYPE_UNSPECIFIED" - No entries should match this threat
+//
+// "THREAT_TYPE_UNSPECIFIED" - No entries should match this threat
+//
// type. This threat type is unused.
-// "MALWARE" - Malware targeting any platform.
-// "SOCIAL_ENGINEERING" - Social engineering targeting any platform.
-// "UNWANTED_SOFTWARE" - Unwanted software targeting any platform.
-// "SOCIAL_ENGINEERING_EXTENDED_COVERAGE" - Extended Coverage Social
+//
+// "MALWARE" - Malware targeting any platform.
+// "SOCIAL_ENGINEERING" - Social engineering targeting any platform.
+// "UNWANTED_SOFTWARE" - Unwanted software targeting any platform.
+// "SOCIAL_ENGINEERING_EXTENDED_COVERAGE" - Extended Coverage Social
+//
// Engineering list targeting any platform.
func (c *HashesSearchCall) ThreatTypes(threatTypes ...string) *HashesSearchCall {
c.urlParams_.SetMulti("threatTypes", append([]string{}, threatTypes...))
@@ -1788,8 +1792,8 @@ type ProjectsSubmissionsCreateCall struct {
// Only allowlisted projects can use this method during Early Access.
// Please reach out to Sales or your customer engineer to obtain access.
//
-// - parent: The name of the project that is making the submission. This
-// string is in the format "projects/{project_number}".
+// - parent: The name of the project that is making the submission. This
+// string is in the format "projects/{project_number}".
func (r *ProjectsSubmissionsService) Create(parent string, googlecloudwebriskv1submission *GoogleCloudWebriskV1Submission) *ProjectsSubmissionsCreateCall {
c := &ProjectsSubmissionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1941,8 +1945,8 @@ type ProjectsUrisSubmitCall struct {
// Only allowlisted projects can use this method during Early Access.
// Please reach out to Sales or your customer engineer to obtain access.
//
-// - parent: The name of the project that is making the submission. This
-// string is in the format "projects/{project_number}".
+// - parent: The name of the project that is making the submission. This
+// string is in the format "projects/{project_number}".
func (r *ProjectsUrisService) Submit(parent string, googlecloudwebriskv1submiturirequest *GoogleCloudWebriskV1SubmitUriRequest) *ProjectsUrisSubmitCall {
c := &ProjectsUrisSubmitCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2118,9 +2122,10 @@ func (c *ThreatListsComputeDiffCall) ConstraintsMaxDiffEntries(constraintsMaxDif
// by the client.
//
// Possible values:
-// "COMPRESSION_TYPE_UNSPECIFIED" - Unknown.
-// "RAW" - Raw, uncompressed data.
-// "RICE" - Rice-Golomb encoded data.
+//
+// "COMPRESSION_TYPE_UNSPECIFIED" - Unknown.
+// "RAW" - Raw, uncompressed data.
+// "RICE" - Rice-Golomb encoded data.
func (c *ThreatListsComputeDiffCall) ConstraintsSupportedCompressions(constraintsSupportedCompressions ...string) *ThreatListsComputeDiffCall {
c.urlParams_.SetMulti("constraints.supportedCompressions", append([]string{}, constraintsSupportedCompressions...))
return c
@@ -2132,12 +2137,16 @@ func (c *ThreatListsComputeDiffCall) ConstraintsSupportedCompressions(constraint
// make one request per ThreatType.
//
// Possible values:
-// "THREAT_TYPE_UNSPECIFIED" - No entries should match this threat
+//
+// "THREAT_TYPE_UNSPECIFIED" - No entries should match this threat
+//
// type. This threat type is unused.
-// "MALWARE" - Malware targeting any platform.
-// "SOCIAL_ENGINEERING" - Social engineering targeting any platform.
-// "UNWANTED_SOFTWARE" - Unwanted software targeting any platform.
-// "SOCIAL_ENGINEERING_EXTENDED_COVERAGE" - Extended Coverage Social
+//
+// "MALWARE" - Malware targeting any platform.
+// "SOCIAL_ENGINEERING" - Social engineering targeting any platform.
+// "UNWANTED_SOFTWARE" - Unwanted software targeting any platform.
+// "SOCIAL_ENGINEERING_EXTENDED_COVERAGE" - Extended Coverage Social
+//
// Engineering list targeting any platform.
func (c *ThreatListsComputeDiffCall) ThreatType(threatType string) *ThreatListsComputeDiffCall {
c.urlParams_.Set("threatType", threatType)
@@ -2348,12 +2357,16 @@ func (r *UrisService) Search() *UrisSearchCall {
// ThreatLists to search in. Multiple ThreatLists may be specified.
//
// Possible values:
-// "THREAT_TYPE_UNSPECIFIED" - No entries should match this threat
+//
+// "THREAT_TYPE_UNSPECIFIED" - No entries should match this threat
+//
// type. This threat type is unused.
-// "MALWARE" - Malware targeting any platform.
-// "SOCIAL_ENGINEERING" - Social engineering targeting any platform.
-// "UNWANTED_SOFTWARE" - Unwanted software targeting any platform.
-// "SOCIAL_ENGINEERING_EXTENDED_COVERAGE" - Extended Coverage Social
+//
+// "MALWARE" - Malware targeting any platform.
+// "SOCIAL_ENGINEERING" - Social engineering targeting any platform.
+// "UNWANTED_SOFTWARE" - Unwanted software targeting any platform.
+// "SOCIAL_ENGINEERING_EXTENDED_COVERAGE" - Extended Coverage Social
+//
// Engineering list targeting any platform.
func (c *UrisSearchCall) ThreatTypes(threatTypes ...string) *UrisSearchCall {
c.urlParams_.SetMulti("threatTypes", append([]string{}, threatTypes...))
diff --git a/websecurityscanner/v1/websecurityscanner-gen.go b/websecurityscanner/v1/websecurityscanner-gen.go
index f3049ddbf9d..97508041293 100644
--- a/websecurityscanner/v1/websecurityscanner-gen.go
+++ b/websecurityscanner/v1/websecurityscanner-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/websecurityscanner/v1"
-// ...
-// ctx := context.Background()
-// websecurityscannerService, err := websecurityscanner.NewService(ctx)
+// import "google.golang.org/api/websecurityscanner/v1"
+// ...
+// ctx := context.Background()
+// websecurityscannerService, err := websecurityscanner.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithAPIKey("AIza..."))
+// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package websecurityscanner // import "google.golang.org/api/websecurityscanner/v1"
@@ -1537,9 +1537,9 @@ type ProjectsScanConfigsCreateCall struct {
// Create: Creates a new ScanConfig.
//
-// - parent: The parent resource name where the scan is created, which
-// should be a project resource name in the format
-// 'projects/{projectId}'.
+// - parent: The parent resource name where the scan is created, which
+// should be a project resource name in the format
+// 'projects/{projectId}'.
func (r *ProjectsScanConfigsService) Create(parent string, scanconfig *ScanConfig) *ProjectsScanConfigsCreateCall {
c := &ProjectsScanConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1680,9 +1680,9 @@ type ProjectsScanConfigsDeleteCall struct {
// Delete: Deletes an existing ScanConfig and its child resources.
//
-// - name: The resource name of the ScanConfig to be deleted. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - name: The resource name of the ScanConfig to be deleted. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsService) Delete(name string) *ProjectsScanConfigsDeleteCall {
c := &ProjectsScanConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1815,9 +1815,9 @@ type ProjectsScanConfigsGetCall struct {
// Get: Gets a ScanConfig.
//
-// - name: The resource name of the ScanConfig to be returned. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - name: The resource name of the ScanConfig to be returned. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsService) Get(name string) *ProjectsScanConfigsGetCall {
c := &ProjectsScanConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1963,8 +1963,8 @@ type ProjectsScanConfigsListCall struct {
// List: Lists ScanConfigs under a given project.
//
-// - parent: The parent resource name, which should be a project
-// resource name in the format 'projects/{projectId}'.
+// - parent: The parent resource name, which should be a project
+// resource name in the format 'projects/{projectId}'.
func (r *ProjectsScanConfigsService) List(parent string) *ProjectsScanConfigsListCall {
c := &ProjectsScanConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2160,9 +2160,9 @@ type ProjectsScanConfigsPatchCall struct {
// Patch: Updates a ScanConfig. This method support partial update of a
// ScanConfig.
//
-// - name: The resource name of the ScanConfig. The name follows the
-// format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The
-// ScanConfig IDs are generated by the system.
+// - name: The resource name of the ScanConfig. The name follows the
+// format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The
+// ScanConfig IDs are generated by the system.
func (r *ProjectsScanConfigsService) Patch(name string, scanconfig *ScanConfig) *ProjectsScanConfigsPatchCall {
c := &ProjectsScanConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2319,9 +2319,9 @@ type ProjectsScanConfigsStartCall struct {
// Start: Start a ScanRun according to the given ScanConfig.
//
-// - name: The resource name of the ScanConfig to be used. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - name: The resource name of the ScanConfig to be used. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsService) Start(name string, startscanrunrequest *StartScanRunRequest) *ProjectsScanConfigsStartCall {
c := &ProjectsScanConfigsStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2463,10 +2463,10 @@ type ProjectsScanConfigsScanRunsGetCall struct {
// Get: Gets a ScanRun.
//
-// - name: The resource name of the ScanRun to be returned. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - name: The resource name of the ScanRun to be returned. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsService) Get(name string) *ProjectsScanConfigsScanRunsGetCall {
c := &ProjectsScanConfigsScanRunsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2613,9 +2613,9 @@ type ProjectsScanConfigsScanRunsListCall struct {
// List: Lists ScanRuns under a given ScanConfig, in descending order of
// ScanRun stop time.
//
-// - parent: The parent resource name, which should be a scan resource
-// name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - parent: The parent resource name, which should be a scan resource
+// name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsScanRunsService) List(parent string) *ProjectsScanConfigsScanRunsListCall {
c := &ProjectsScanConfigsScanRunsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2810,10 +2810,10 @@ type ProjectsScanConfigsScanRunsStopCall struct {
// Stop: Stops a ScanRun. The stopped ScanRun is returned.
//
-// - name: The resource name of the ScanRun to be stopped. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - name: The resource name of the ScanRun to be stopped. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsService) Stop(name string, stopscanrunrequest *StopScanRunRequest) *ProjectsScanConfigsScanRunsStopCall {
c := &ProjectsScanConfigsScanRunsStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2955,10 +2955,10 @@ type ProjectsScanConfigsScanRunsCrawledUrlsListCall struct {
// List: List CrawledUrls under a given ScanRun.
//
-// - parent: The parent resource name, which should be a scan run
-// resource name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - parent: The parent resource name, which should be a scan run
+// resource name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsCrawledUrlsService) List(parent string) *ProjectsScanConfigsScanRunsCrawledUrlsListCall {
c := &ProjectsScanConfigsScanRunsCrawledUrlsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3153,10 +3153,10 @@ type ProjectsScanConfigsScanRunsFindingTypeStatsListCall struct {
// List: List all FindingTypeStats under a given ScanRun.
//
-// - parent: The parent resource name, which should be a scan run
-// resource name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - parent: The parent resource name, which should be a scan run
+// resource name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsFindingTypeStatsService) List(parent string) *ProjectsScanConfigsScanRunsFindingTypeStatsListCall {
c := &ProjectsScanConfigsScanRunsFindingTypeStatsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3302,10 +3302,10 @@ type ProjectsScanConfigsScanRunsFindingsGetCall struct {
// Get: Gets a Finding.
//
-// - name: The resource name of the Finding to be returned. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }/findings/{findingId}'.
+// - name: The resource name of the Finding to be returned. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }/findings/{findingId}'.
func (r *ProjectsScanConfigsScanRunsFindingsService) Get(name string) *ProjectsScanConfigsScanRunsFindingsGetCall {
c := &ProjectsScanConfigsScanRunsFindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3451,10 +3451,10 @@ type ProjectsScanConfigsScanRunsFindingsListCall struct {
// List: List Findings under a given ScanRun.
//
-// - parent: The parent resource name, which should be a scan run
-// resource name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - parent: The parent resource name, which should be a scan run
+// resource name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsFindingsService) List(parent string) *ProjectsScanConfigsScanRunsFindingsListCall {
c := &ProjectsScanConfigsScanRunsFindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/websecurityscanner/v1alpha/websecurityscanner-gen.go b/websecurityscanner/v1alpha/websecurityscanner-gen.go
index 56c22dea10a..fbeae8941fa 100644
--- a/websecurityscanner/v1alpha/websecurityscanner-gen.go
+++ b/websecurityscanner/v1alpha/websecurityscanner-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/websecurityscanner/v1alpha"
-// ...
-// ctx := context.Background()
-// websecurityscannerService, err := websecurityscanner.NewService(ctx)
+// import "google.golang.org/api/websecurityscanner/v1alpha"
+// ...
+// ctx := context.Background()
+// websecurityscannerService, err := websecurityscanner.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithAPIKey("AIza..."))
+// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package websecurityscanner // import "google.golang.org/api/websecurityscanner/v1alpha"
@@ -1171,9 +1171,9 @@ type ProjectsScanConfigsCreateCall struct {
// Create: Creates a new ScanConfig.
//
-// - parent: The parent resource name where the scan is created, which
-// should be a project resource name in the format
-// 'projects/{projectId}'.
+// - parent: The parent resource name where the scan is created, which
+// should be a project resource name in the format
+// 'projects/{projectId}'.
func (r *ProjectsScanConfigsService) Create(parent string, scanconfig *ScanConfig) *ProjectsScanConfigsCreateCall {
c := &ProjectsScanConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1314,9 +1314,9 @@ type ProjectsScanConfigsDeleteCall struct {
// Delete: Deletes an existing ScanConfig and its child resources.
//
-// - name: The resource name of the ScanConfig to be deleted. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - name: The resource name of the ScanConfig to be deleted. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsService) Delete(name string) *ProjectsScanConfigsDeleteCall {
c := &ProjectsScanConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1449,9 +1449,9 @@ type ProjectsScanConfigsGetCall struct {
// Get: Gets a ScanConfig.
//
-// - name: The resource name of the ScanConfig to be returned. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - name: The resource name of the ScanConfig to be returned. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsService) Get(name string) *ProjectsScanConfigsGetCall {
c := &ProjectsScanConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1597,8 +1597,8 @@ type ProjectsScanConfigsListCall struct {
// List: Lists ScanConfigs under a given project.
//
-// - parent: The parent resource name, which should be a project
-// resource name in the format 'projects/{projectId}'.
+// - parent: The parent resource name, which should be a project
+// resource name in the format 'projects/{projectId}'.
func (r *ProjectsScanConfigsService) List(parent string) *ProjectsScanConfigsListCall {
c := &ProjectsScanConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1794,9 +1794,9 @@ type ProjectsScanConfigsPatchCall struct {
// Patch: Updates a ScanConfig. This method support partial update of a
// ScanConfig.
//
-// - name: The resource name of the ScanConfig. The name follows the
-// format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The
-// ScanConfig IDs are generated by the system.
+// - name: The resource name of the ScanConfig. The name follows the
+// format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The
+// ScanConfig IDs are generated by the system.
func (r *ProjectsScanConfigsService) Patch(name string, scanconfig *ScanConfig) *ProjectsScanConfigsPatchCall {
c := &ProjectsScanConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1953,9 +1953,9 @@ type ProjectsScanConfigsStartCall struct {
// Start: Start a ScanRun according to the given ScanConfig.
//
-// - name: The resource name of the ScanConfig to be used. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - name: The resource name of the ScanConfig to be used. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsService) Start(name string, startscanrunrequest *StartScanRunRequest) *ProjectsScanConfigsStartCall {
c := &ProjectsScanConfigsStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2097,10 +2097,10 @@ type ProjectsScanConfigsScanRunsGetCall struct {
// Get: Gets a ScanRun.
//
-// - name: The resource name of the ScanRun to be returned. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - name: The resource name of the ScanRun to be returned. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsService) Get(name string) *ProjectsScanConfigsScanRunsGetCall {
c := &ProjectsScanConfigsScanRunsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2247,9 +2247,9 @@ type ProjectsScanConfigsScanRunsListCall struct {
// List: Lists ScanRuns under a given ScanConfig, in descending order of
// ScanRun stop time.
//
-// - parent: The parent resource name, which should be a scan resource
-// name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - parent: The parent resource name, which should be a scan resource
+// name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsScanRunsService) List(parent string) *ProjectsScanConfigsScanRunsListCall {
c := &ProjectsScanConfigsScanRunsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2444,10 +2444,10 @@ type ProjectsScanConfigsScanRunsStopCall struct {
// Stop: Stops a ScanRun. The stopped ScanRun is returned.
//
-// - name: The resource name of the ScanRun to be stopped. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - name: The resource name of the ScanRun to be stopped. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsService) Stop(name string, stopscanrunrequest *StopScanRunRequest) *ProjectsScanConfigsScanRunsStopCall {
c := &ProjectsScanConfigsScanRunsStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2589,10 +2589,10 @@ type ProjectsScanConfigsScanRunsCrawledUrlsListCall struct {
// List: List CrawledUrls under a given ScanRun.
//
-// - parent: The parent resource name, which should be a scan run
-// resource name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - parent: The parent resource name, which should be a scan run
+// resource name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsCrawledUrlsService) List(parent string) *ProjectsScanConfigsScanRunsCrawledUrlsListCall {
c := &ProjectsScanConfigsScanRunsCrawledUrlsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2787,10 +2787,10 @@ type ProjectsScanConfigsScanRunsFindingTypeStatsListCall struct {
// List: List all FindingTypeStats under a given ScanRun.
//
-// - parent: The parent resource name, which should be a scan run
-// resource name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - parent: The parent resource name, which should be a scan run
+// resource name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsFindingTypeStatsService) List(parent string) *ProjectsScanConfigsScanRunsFindingTypeStatsListCall {
c := &ProjectsScanConfigsScanRunsFindingTypeStatsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2936,10 +2936,10 @@ type ProjectsScanConfigsScanRunsFindingsGetCall struct {
// Get: Gets a Finding.
//
-// - name: The resource name of the Finding to be returned. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }/findings/{findingId}'.
+// - name: The resource name of the Finding to be returned. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }/findings/{findingId}'.
func (r *ProjectsScanConfigsScanRunsFindingsService) Get(name string) *ProjectsScanConfigsScanRunsFindingsGetCall {
c := &ProjectsScanConfigsScanRunsFindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3085,10 +3085,10 @@ type ProjectsScanConfigsScanRunsFindingsListCall struct {
// List: List Findings under a given ScanRun.
//
-// - parent: The parent resource name, which should be a scan run
-// resource name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - parent: The parent resource name, which should be a scan run
+// resource name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsFindingsService) List(parent string) *ProjectsScanConfigsScanRunsFindingsListCall {
c := &ProjectsScanConfigsScanRunsFindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/websecurityscanner/v1beta/websecurityscanner-gen.go b/websecurityscanner/v1beta/websecurityscanner-gen.go
index c097ab681a8..44637da9376 100644
--- a/websecurityscanner/v1beta/websecurityscanner-gen.go
+++ b/websecurityscanner/v1beta/websecurityscanner-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/websecurityscanner/v1beta"
-// ...
-// ctx := context.Background()
-// websecurityscannerService, err := websecurityscanner.NewService(ctx)
+// import "google.golang.org/api/websecurityscanner/v1beta"
+// ...
+// ctx := context.Background()
+// websecurityscannerService, err := websecurityscanner.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithAPIKey("AIza..."))
+// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// websecurityscannerService, err := websecurityscanner.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package websecurityscanner // import "google.golang.org/api/websecurityscanner/v1beta"
@@ -1510,9 +1510,9 @@ type ProjectsScanConfigsCreateCall struct {
// Create: Creates a new ScanConfig.
//
-// - parent: The parent resource name where the scan is created, which
-// should be a project resource name in the format
-// 'projects/{projectId}'.
+// - parent: The parent resource name where the scan is created, which
+// should be a project resource name in the format
+// 'projects/{projectId}'.
func (r *ProjectsScanConfigsService) Create(parent string, scanconfig *ScanConfig) *ProjectsScanConfigsCreateCall {
c := &ProjectsScanConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1653,9 +1653,9 @@ type ProjectsScanConfigsDeleteCall struct {
// Delete: Deletes an existing ScanConfig and its child resources.
//
-// - name: The resource name of the ScanConfig to be deleted. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - name: The resource name of the ScanConfig to be deleted. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsService) Delete(name string) *ProjectsScanConfigsDeleteCall {
c := &ProjectsScanConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1788,9 +1788,9 @@ type ProjectsScanConfigsGetCall struct {
// Get: Gets a ScanConfig.
//
-// - name: The resource name of the ScanConfig to be returned. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - name: The resource name of the ScanConfig to be returned. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsService) Get(name string) *ProjectsScanConfigsGetCall {
c := &ProjectsScanConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1936,8 +1936,8 @@ type ProjectsScanConfigsListCall struct {
// List: Lists ScanConfigs under a given project.
//
-// - parent: The parent resource name, which should be a project
-// resource name in the format 'projects/{projectId}'.
+// - parent: The parent resource name, which should be a project
+// resource name in the format 'projects/{projectId}'.
func (r *ProjectsScanConfigsService) List(parent string) *ProjectsScanConfigsListCall {
c := &ProjectsScanConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2133,9 +2133,9 @@ type ProjectsScanConfigsPatchCall struct {
// Patch: Updates a ScanConfig. This method support partial update of a
// ScanConfig.
//
-// - name: The resource name of the ScanConfig. The name follows the
-// format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The
-// ScanConfig IDs are generated by the system.
+// - name: The resource name of the ScanConfig. The name follows the
+// format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The
+// ScanConfig IDs are generated by the system.
func (r *ProjectsScanConfigsService) Patch(name string, scanconfig *ScanConfig) *ProjectsScanConfigsPatchCall {
c := &ProjectsScanConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2292,9 +2292,9 @@ type ProjectsScanConfigsStartCall struct {
// Start: Start a ScanRun according to the given ScanConfig.
//
-// - name: The resource name of the ScanConfig to be used. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - name: The resource name of the ScanConfig to be used. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsService) Start(name string, startscanrunrequest *StartScanRunRequest) *ProjectsScanConfigsStartCall {
c := &ProjectsScanConfigsStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2436,10 +2436,10 @@ type ProjectsScanConfigsScanRunsGetCall struct {
// Get: Gets a ScanRun.
//
-// - name: The resource name of the ScanRun to be returned. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - name: The resource name of the ScanRun to be returned. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsService) Get(name string) *ProjectsScanConfigsScanRunsGetCall {
c := &ProjectsScanConfigsScanRunsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2586,9 +2586,9 @@ type ProjectsScanConfigsScanRunsListCall struct {
// List: Lists ScanRuns under a given ScanConfig, in descending order of
// ScanRun stop time.
//
-// - parent: The parent resource name, which should be a scan resource
-// name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
+// - parent: The parent resource name, which should be a scan resource
+// name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}'.
func (r *ProjectsScanConfigsScanRunsService) List(parent string) *ProjectsScanConfigsScanRunsListCall {
c := &ProjectsScanConfigsScanRunsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2783,10 +2783,10 @@ type ProjectsScanConfigsScanRunsStopCall struct {
// Stop: Stops a ScanRun. The stopped ScanRun is returned.
//
-// - name: The resource name of the ScanRun to be stopped. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - name: The resource name of the ScanRun to be stopped. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsService) Stop(name string, stopscanrunrequest *StopScanRunRequest) *ProjectsScanConfigsScanRunsStopCall {
c := &ProjectsScanConfigsScanRunsStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -2928,10 +2928,10 @@ type ProjectsScanConfigsScanRunsCrawledUrlsListCall struct {
// List: List CrawledUrls under a given ScanRun.
//
-// - parent: The parent resource name, which should be a scan run
-// resource name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - parent: The parent resource name, which should be a scan run
+// resource name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsCrawledUrlsService) List(parent string) *ProjectsScanConfigsScanRunsCrawledUrlsListCall {
c := &ProjectsScanConfigsScanRunsCrawledUrlsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3126,10 +3126,10 @@ type ProjectsScanConfigsScanRunsFindingTypeStatsListCall struct {
// List: List all FindingTypeStats under a given ScanRun.
//
-// - parent: The parent resource name, which should be a scan run
-// resource name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - parent: The parent resource name, which should be a scan run
+// resource name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsFindingTypeStatsService) List(parent string) *ProjectsScanConfigsScanRunsFindingTypeStatsListCall {
c := &ProjectsScanConfigsScanRunsFindingTypeStatsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -3275,10 +3275,10 @@ type ProjectsScanConfigsScanRunsFindingsGetCall struct {
// Get: Gets a Finding.
//
-// - name: The resource name of the Finding to be returned. The name
-// follows the format of
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }/findings/{findingId}'.
+// - name: The resource name of the Finding to be returned. The name
+// follows the format of
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }/findings/{findingId}'.
func (r *ProjectsScanConfigsScanRunsFindingsService) Get(name string) *ProjectsScanConfigsScanRunsFindingsGetCall {
c := &ProjectsScanConfigsScanRunsFindingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -3424,10 +3424,10 @@ type ProjectsScanConfigsScanRunsFindingsListCall struct {
// List: List Findings under a given ScanRun.
//
-// - parent: The parent resource name, which should be a scan run
-// resource name in the format
-// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
-// }'.
+// - parent: The parent resource name, which should be a scan run
+// resource name in the format
+// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId
+// }'.
func (r *ProjectsScanConfigsScanRunsFindingsService) List(parent string) *ProjectsScanConfigsScanRunsFindingsListCall {
c := &ProjectsScanConfigsScanRunsFindingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
diff --git a/workflowexecutions/v1/workflowexecutions-gen.go b/workflowexecutions/v1/workflowexecutions-gen.go
index d1481f6de2a..daaa6b83153 100644
--- a/workflowexecutions/v1/workflowexecutions-gen.go
+++ b/workflowexecutions/v1/workflowexecutions-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/workflows
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/workflowexecutions/v1"
-// ...
-// ctx := context.Background()
-// workflowexecutionsService, err := workflowexecutions.NewService(ctx)
+// import "google.golang.org/api/workflowexecutions/v1"
+// ...
+// ctx := context.Background()
+// workflowexecutionsService, err := workflowexecutions.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// workflowexecutionsService, err := workflowexecutions.NewService(ctx, option.WithAPIKey("AIza..."))
+// workflowexecutionsService, err := workflowexecutions.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// workflowexecutionsService, err := workflowexecutions.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// workflowexecutionsService, err := workflowexecutions.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package workflowexecutions // import "google.golang.org/api/workflowexecutions/v1"
@@ -561,9 +561,9 @@ type ProjectsLocationsWorkflowsTriggerPubsubExecutionCall struct {
// TriggerPubsubExecution: Triggers a new execution using the latest
// revision of the given workflow by a Pub/Sub push notification.
//
-// - workflow: Name of the workflow for which an execution should be
-// created. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}.
+// - workflow: Name of the workflow for which an execution should be
+// created. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}.
func (r *ProjectsLocationsWorkflowsService) TriggerPubsubExecution(workflow string, triggerpubsubexecutionrequest *TriggerPubsubExecutionRequest) *ProjectsLocationsWorkflowsTriggerPubsubExecutionCall {
c := &ProjectsLocationsWorkflowsTriggerPubsubExecutionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.workflow = workflow
@@ -705,9 +705,9 @@ type ProjectsLocationsWorkflowsExecutionsCancelCall struct {
// Cancel: Cancels an execution of the given name.
//
-// - name: Name of the execution to be cancelled. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}/executi
-// ons/{execution}.
+// - name: Name of the execution to be cancelled. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}/executi
+// ons/{execution}.
func (r *ProjectsLocationsWorkflowsExecutionsService) Cancel(name string, cancelexecutionrequest *CancelExecutionRequest) *ProjectsLocationsWorkflowsExecutionsCancelCall {
c := &ProjectsLocationsWorkflowsExecutionsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -850,10 +850,10 @@ type ProjectsLocationsWorkflowsExecutionsCreateCall struct {
// Create: Creates a new execution using the latest revision of the
// given workflow.
//
-// - parent: Name of the workflow for which an execution should be
-// created. Format:
-// projects/{project}/locations/{location}/workflows/{workflow} The
-// latest revision of the workflow will be used.
+// - parent: Name of the workflow for which an execution should be
+// created. Format:
+// projects/{project}/locations/{location}/workflows/{workflow} The
+// latest revision of the workflow will be used.
func (r *ProjectsLocationsWorkflowsExecutionsService) Create(parent string, execution *Execution) *ProjectsLocationsWorkflowsExecutionsCreateCall {
c := &ProjectsLocationsWorkflowsExecutionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -995,9 +995,9 @@ type ProjectsLocationsWorkflowsExecutionsGetCall struct {
// Get: Returns an execution of the given name.
//
-// - name: Name of the execution to be retrieved. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}/executi
-// ons/{execution}.
+// - name: Name of the execution to be retrieved. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}/executi
+// ons/{execution}.
func (r *ProjectsLocationsWorkflowsExecutionsService) Get(name string) *ProjectsLocationsWorkflowsExecutionsGetCall {
c := &ProjectsLocationsWorkflowsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1009,11 +1009,14 @@ func (r *ProjectsLocationsWorkflowsExecutionsService) Get(name string) *Projects
// the FULL view.
//
// Possible values:
-// "EXECUTION_VIEW_UNSPECIFIED" - The default / unset value.
-// "BASIC" - Includes only basic metadata about the execution.
+//
+// "EXECUTION_VIEW_UNSPECIFIED" - The default / unset value.
+// "BASIC" - Includes only basic metadata about the execution.
+//
// Following fields are returned: name, start_time, end_time, state and
// workflow_revision_id.
-// "FULL" - Includes all data.
+//
+// "FULL" - Includes all data.
func (c *ProjectsLocationsWorkflowsExecutionsGetCall) View(view string) *ProjectsLocationsWorkflowsExecutionsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -1176,9 +1179,9 @@ type ProjectsLocationsWorkflowsExecutionsListCall struct {
// revisions. Returned executions are ordered by their start time
// (newest first).
//
-// - parent: Name of the workflow for which the executions should be
-// listed. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}.
+// - parent: Name of the workflow for which the executions should be
+// listed. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}.
func (r *ProjectsLocationsWorkflowsExecutionsService) List(parent string) *ProjectsLocationsWorkflowsExecutionsListCall {
c := &ProjectsLocationsWorkflowsExecutionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1211,11 +1214,14 @@ func (c *ProjectsLocationsWorkflowsExecutionsListCall) PageToken(pageToken strin
// the BASIC view.
//
// Possible values:
-// "EXECUTION_VIEW_UNSPECIFIED" - The default / unset value.
-// "BASIC" - Includes only basic metadata about the execution.
+//
+// "EXECUTION_VIEW_UNSPECIFIED" - The default / unset value.
+// "BASIC" - Includes only basic metadata about the execution.
+//
// Following fields are returned: name, start_time, end_time, state and
// workflow_revision_id.
-// "FULL" - Includes all data.
+//
+// "FULL" - Includes all data.
func (c *ProjectsLocationsWorkflowsExecutionsListCall) View(view string) *ProjectsLocationsWorkflowsExecutionsListCall {
c.urlParams_.Set("view", view)
return c
diff --git a/workflowexecutions/v1beta/workflowexecutions-gen.go b/workflowexecutions/v1beta/workflowexecutions-gen.go
index 48a9f069710..d8056aab70a 100644
--- a/workflowexecutions/v1beta/workflowexecutions-gen.go
+++ b/workflowexecutions/v1beta/workflowexecutions-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/workflows
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/workflowexecutions/v1beta"
-// ...
-// ctx := context.Background()
-// workflowexecutionsService, err := workflowexecutions.NewService(ctx)
+// import "google.golang.org/api/workflowexecutions/v1beta"
+// ...
+// ctx := context.Background()
+// workflowexecutionsService, err := workflowexecutions.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// workflowexecutionsService, err := workflowexecutions.NewService(ctx, option.WithAPIKey("AIza..."))
+// workflowexecutionsService, err := workflowexecutions.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// workflowexecutionsService, err := workflowexecutions.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// workflowexecutionsService, err := workflowexecutions.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package workflowexecutions // import "google.golang.org/api/workflowexecutions/v1beta"
@@ -457,9 +457,9 @@ type ProjectsLocationsWorkflowsExecutionsCancelCall struct {
// Cancel: Cancels an execution of the given name.
//
-// - name: Name of the execution to be cancelled. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}/executi
-// ons/{execution}.
+// - name: Name of the execution to be cancelled. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}/executi
+// ons/{execution}.
func (r *ProjectsLocationsWorkflowsExecutionsService) Cancel(name string, cancelexecutionrequest *CancelExecutionRequest) *ProjectsLocationsWorkflowsExecutionsCancelCall {
c := &ProjectsLocationsWorkflowsExecutionsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -602,10 +602,10 @@ type ProjectsLocationsWorkflowsExecutionsCreateCall struct {
// Create: Creates a new execution using the latest revision of the
// given workflow.
//
-// - parent: Name of the workflow for which an execution should be
-// created. Format:
-// projects/{project}/locations/{location}/workflows/{workflow} The
-// latest revision of the workflow will be used.
+// - parent: Name of the workflow for which an execution should be
+// created. Format:
+// projects/{project}/locations/{location}/workflows/{workflow} The
+// latest revision of the workflow will be used.
func (r *ProjectsLocationsWorkflowsExecutionsService) Create(parent string, execution *Execution) *ProjectsLocationsWorkflowsExecutionsCreateCall {
c := &ProjectsLocationsWorkflowsExecutionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -747,9 +747,9 @@ type ProjectsLocationsWorkflowsExecutionsGetCall struct {
// Get: Returns an execution of the given name.
//
-// - name: Name of the execution to be retrieved. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}/executi
-// ons/{execution}.
+// - name: Name of the execution to be retrieved. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}/executi
+// ons/{execution}.
func (r *ProjectsLocationsWorkflowsExecutionsService) Get(name string) *ProjectsLocationsWorkflowsExecutionsGetCall {
c := &ProjectsLocationsWorkflowsExecutionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -761,11 +761,14 @@ func (r *ProjectsLocationsWorkflowsExecutionsService) Get(name string) *Projects
// the FULL view.
//
// Possible values:
-// "EXECUTION_VIEW_UNSPECIFIED" - The default / unset value.
-// "BASIC" - Includes only basic metadata about the execution.
+//
+// "EXECUTION_VIEW_UNSPECIFIED" - The default / unset value.
+// "BASIC" - Includes only basic metadata about the execution.
+//
// Following fields are returned: name, start_time, end_time, state and
// workflow_revision_id.
-// "FULL" - Includes all data.
+//
+// "FULL" - Includes all data.
func (c *ProjectsLocationsWorkflowsExecutionsGetCall) View(view string) *ProjectsLocationsWorkflowsExecutionsGetCall {
c.urlParams_.Set("view", view)
return c
@@ -928,9 +931,9 @@ type ProjectsLocationsWorkflowsExecutionsListCall struct {
// revisions. Returned executions are ordered by their start time
// (newest first).
//
-// - parent: Name of the workflow for which the executions should be
-// listed. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}.
+// - parent: Name of the workflow for which the executions should be
+// listed. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}.
func (r *ProjectsLocationsWorkflowsExecutionsService) List(parent string) *ProjectsLocationsWorkflowsExecutionsListCall {
c := &ProjectsLocationsWorkflowsExecutionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -963,11 +966,14 @@ func (c *ProjectsLocationsWorkflowsExecutionsListCall) PageToken(pageToken strin
// the BASIC view.
//
// Possible values:
-// "EXECUTION_VIEW_UNSPECIFIED" - The default / unset value.
-// "BASIC" - Includes only basic metadata about the execution.
+//
+// "EXECUTION_VIEW_UNSPECIFIED" - The default / unset value.
+// "BASIC" - Includes only basic metadata about the execution.
+//
// Following fields are returned: name, start_time, end_time, state and
// workflow_revision_id.
-// "FULL" - Includes all data.
+//
+// "FULL" - Includes all data.
func (c *ProjectsLocationsWorkflowsExecutionsListCall) View(view string) *ProjectsLocationsWorkflowsExecutionsListCall {
c.urlParams_.Set("view", view)
return c
diff --git a/workflows/v1/workflows-gen.go b/workflows/v1/workflows-gen.go
index d19d6f8a7ce..abd5923deab 100644
--- a/workflows/v1/workflows-gen.go
+++ b/workflows/v1/workflows-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/workflows
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/workflows/v1"
-// ...
-// ctx := context.Background()
-// workflowsService, err := workflows.NewService(ctx)
+// import "google.golang.org/api/workflows/v1"
+// ...
+// ctx := context.Background()
+// workflowsService, err := workflows.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// workflowsService, err := workflows.NewService(ctx, option.WithAPIKey("AIza..."))
+// workflowsService, err := workflows.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// workflowsService, err := workflows.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// workflowsService, err := workflows.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package workflows // import "google.golang.org/api/workflows/v1"
@@ -751,8 +751,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1457,8 +1457,8 @@ type ProjectsLocationsWorkflowsCreateCall struct {
// already exists in the specified project and location, the long
// running operation will return ALREADY_EXISTS error.
//
-// - parent: Project and location in which the workflow should be
-// created. Format: projects/{project}/locations/{location}.
+// - parent: Project and location in which the workflow should be
+// created. Format: projects/{project}/locations/{location}.
func (r *ProjectsLocationsWorkflowsService) Create(parent string, workflow *Workflow) *ProjectsLocationsWorkflowsCreateCall {
c := &ProjectsLocationsWorkflowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1616,8 +1616,8 @@ type ProjectsLocationsWorkflowsDeleteCall struct {
// Delete: Deletes a workflow with the specified name. This method also
// cancels and deletes all running executions of the workflow.
//
-// - name: Name of the workflow to be deleted. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}.
+// - name: Name of the workflow to be deleted. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}.
func (r *ProjectsLocationsWorkflowsService) Delete(name string) *ProjectsLocationsWorkflowsDeleteCall {
c := &ProjectsLocationsWorkflowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1750,9 +1750,9 @@ type ProjectsLocationsWorkflowsGetCall struct {
// Get: Gets details of a single Workflow.
//
-// - name: Name of the workflow which information should be retrieved.
-// Format:
-// projects/{project}/locations/{location}/workflows/{workflow}.
+// - name: Name of the workflow which information should be retrieved.
+// Format:
+// projects/{project}/locations/{location}/workflows/{workflow}.
func (r *ProjectsLocationsWorkflowsService) Get(name string) *ProjectsLocationsWorkflowsGetCall {
c := &ProjectsLocationsWorkflowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1899,8 +1899,8 @@ type ProjectsLocationsWorkflowsListCall struct {
// List: Lists Workflows in a given project and location. The default
// order is not specified.
//
-// - parent: Project and location from which the workflows should be
-// listed. Format: projects/{project}/locations/{location}.
+// - parent: Project and location from which the workflows should be
+// listed. Format: projects/{project}/locations/{location}.
func (r *ProjectsLocationsWorkflowsService) List(parent string) *ProjectsLocationsWorkflowsListCall {
c := &ProjectsLocationsWorkflowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2129,8 +2129,8 @@ type ProjectsLocationsWorkflowsPatchCall struct {
// operation. In that case, such revision will be used in new workflow
// executions.
//
-// - name: The resource name of the workflow. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}.
+// - name: The resource name of the workflow. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}.
func (r *ProjectsLocationsWorkflowsService) Patch(name string, workflow *Workflow) *ProjectsLocationsWorkflowsPatchCall {
c := &ProjectsLocationsWorkflowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/workflows/v1beta/workflows-gen.go b/workflows/v1beta/workflows-gen.go
index 21223a777df..150b3f910e6 100644
--- a/workflows/v1beta/workflows-gen.go
+++ b/workflows/v1beta/workflows-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://cloud.google.com/workflows
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/workflows/v1beta"
-// ...
-// ctx := context.Background()
-// workflowsService, err := workflows.NewService(ctx)
+// import "google.golang.org/api/workflows/v1beta"
+// ...
+// ctx := context.Background()
+// workflowsService, err := workflows.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// workflowsService, err := workflows.NewService(ctx, option.WithAPIKey("AIza..."))
+// workflowsService, err := workflows.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// workflowsService, err := workflows.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// workflowsService, err := workflows.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package workflows // import "google.golang.org/api/workflows/v1beta"
@@ -751,8 +751,8 @@ type ProjectsLocationsListCall struct {
// List: Lists information about the supported locations for this
// service.
//
-// - name: The resource that owns the locations collection, if
-// applicable.
+// - name: The resource that owns the locations collection, if
+// applicable.
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1457,8 +1457,8 @@ type ProjectsLocationsWorkflowsCreateCall struct {
// already exists in the specified project and location, the long
// running operation will return ALREADY_EXISTS error.
//
-// - parent: Project and location in which the workflow should be
-// created. Format: projects/{project}/locations/{location}.
+// - parent: Project and location in which the workflow should be
+// created. Format: projects/{project}/locations/{location}.
func (r *ProjectsLocationsWorkflowsService) Create(parent string, workflow *Workflow) *ProjectsLocationsWorkflowsCreateCall {
c := &ProjectsLocationsWorkflowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -1616,8 +1616,8 @@ type ProjectsLocationsWorkflowsDeleteCall struct {
// Delete: Deletes a workflow with the specified name. This method also
// cancels and deletes all running executions of the workflow.
//
-// - name: Name of the workflow to be deleted. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}.
+// - name: Name of the workflow to be deleted. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}.
func (r *ProjectsLocationsWorkflowsService) Delete(name string) *ProjectsLocationsWorkflowsDeleteCall {
c := &ProjectsLocationsWorkflowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1750,9 +1750,9 @@ type ProjectsLocationsWorkflowsGetCall struct {
// Get: Gets details of a single Workflow.
//
-// - name: Name of the workflow which information should be retrieved.
-// Format:
-// projects/{project}/locations/{location}/workflows/{workflow}.
+// - name: Name of the workflow which information should be retrieved.
+// Format:
+// projects/{project}/locations/{location}/workflows/{workflow}.
func (r *ProjectsLocationsWorkflowsService) Get(name string) *ProjectsLocationsWorkflowsGetCall {
c := &ProjectsLocationsWorkflowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@@ -1899,8 +1899,8 @@ type ProjectsLocationsWorkflowsListCall struct {
// List: Lists Workflows in a given project and location. The default
// order is not specified.
//
-// - parent: Project and location from which the workflows should be
-// listed. Format: projects/{project}/locations/{location}.
+// - parent: Project and location from which the workflows should be
+// listed. Format: projects/{project}/locations/{location}.
func (r *ProjectsLocationsWorkflowsService) List(parent string) *ProjectsLocationsWorkflowsListCall {
c := &ProjectsLocationsWorkflowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -2129,8 +2129,8 @@ type ProjectsLocationsWorkflowsPatchCall struct {
// operation. In that case, such revision will be used in new workflow
// executions.
//
-// - name: The resource name of the workflow. Format:
-// projects/{project}/locations/{location}/workflows/{workflow}.
+// - name: The resource name of the workflow. Format:
+// projects/{project}/locations/{location}/workflows/{workflow}.
func (r *ProjectsLocationsWorkflowsService) Patch(name string, workflow *Workflow) *ProjectsLocationsWorkflowsPatchCall {
c := &ProjectsLocationsWorkflowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
diff --git a/youtube/v3/youtube-gen.go b/youtube/v3/youtube-gen.go
index a4f6b0d8e91..056f67305bd 100644
--- a/youtube/v3/youtube-gen.go
+++ b/youtube/v3/youtube-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/youtube/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/youtube/v3"
-// ...
-// ctx := context.Background()
-// youtubeService, err := youtube.NewService(ctx)
+// import "google.golang.org/api/youtube/v3"
+// ...
+// ctx := context.Background()
+// youtubeService, err := youtube.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// youtubeService, err := youtube.NewService(ctx, option.WithScopes(youtube.YoutubepartnerChannelAuditScope))
+// youtubeService, err := youtube.NewService(ctx, option.WithScopes(youtube.YoutubepartnerChannelAuditScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// youtubeService, err := youtube.NewService(ctx, option.WithAPIKey("AIza..."))
+// youtubeService, err := youtube.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// youtubeService, err := youtube.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// youtubeService, err := youtube.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package youtube // import "google.golang.org/api/youtube/v3"
@@ -10409,9 +10409,9 @@ type AbuseReportsInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include.
func (r *AbuseReportsService) Insert(part []string, abusereport *AbuseReport) *AbuseReportsInsertCall {
c := &AbuseReportsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -10550,14 +10550,14 @@ type ActivitiesListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more activity resource properties that the API response will
-// include. If the parameter identifies a property that contains child
-// properties, the child properties will be included in the response.
-// For example, in an activity resource, the snippet property contains
-// other properties that identify the type of activity, a display
-// title for the activity, and so forth. If you set *part=snippet*,
-// the API response will also contain all of those nested properties.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more activity resource properties that the API response will
+// include. If the parameter identifies a property that contains child
+// properties, the child properties will be included in the response.
+// For example, in an activity resource, the snippet property contains
+// other properties that identify the type of activity, a display
+// title for the activity, and so forth. If you set *part=snippet*,
+// the API response will also contain all of those nested properties.
func (r *ActivitiesService) List(part []string) *ActivitiesListCall {
c := &ActivitiesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -10950,8 +10950,8 @@ type CaptionsDownloadCall struct {
// Download: Downloads a caption track.
//
-// - id: The ID of the caption track to download, required for One
-// Platform.
+// - id: The ID of the caption track to download, required for One
+// Platform.
func (r *CaptionsService) Download(id string) *CaptionsDownloadCall {
c := &CaptionsDownloadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.id = id
@@ -11146,9 +11146,9 @@ type CaptionsInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter specifies the caption resource parts
-// that the API response will include. Set the parameter value to
-// snippet.
+// - part: The *part* parameter specifies the caption resource parts
+// that the API response will include. Set the parameter value to
+// snippet.
func (r *CaptionsService) Insert(part []string, caption *Caption) *CaptionsInsertCall {
c := &CaptionsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -11420,11 +11420,11 @@ type CaptionsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more caption resource parts that the API response will include.
-// The part names that you can include in the parameter value are id
-// and snippet.
-// - videoId: Returns the captions for the specified video.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more caption resource parts that the API response will include.
+// The part names that you can include in the parameter value are id
+// and snippet.
+// - videoId: Returns the captions for the specified video.
func (r *CaptionsService) List(part []string, videoId string) *CaptionsListCall {
c := &CaptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -11624,10 +11624,10 @@ type CaptionsUpdateCall struct {
// Update: Updates an existing resource.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more caption resource parts that the API response will include.
-// The part names that you can include in the parameter value are id
-// and snippet.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more caption resource parts that the API response will include.
+// The part names that you can include in the parameter value are id
+// and snippet.
func (r *CaptionsService) Update(part []string, caption *Caption) *CaptionsUpdateCall {
c := &CaptionsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -12300,11 +12300,11 @@ type ChannelSectionsInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. The part
-// names that you can include in the parameter value are snippet and
-// contentDetails.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. The part
+// names that you can include in the parameter value are snippet and
+// contentDetails.
func (r *ChannelSectionsService) Insert(part []string, channelsection *ChannelSection) *ChannelSectionsInsertCall {
c := &ChannelSectionsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -12495,16 +12495,16 @@ type ChannelSectionsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more channelSection resource properties that the API response
-// will include. The part names that you can include in the parameter
-// value are id, snippet, and contentDetails. If the parameter
-// identifies a property that contains child properties, the child
-// properties will be included in the response. For example, in a
-// channelSection resource, the snippet property contains other
-// properties, such as a display title for the channelSection. If you
-// set *part=snippet*, the API response will also contain all of those
-// nested properties.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more channelSection resource properties that the API response
+// will include. The part names that you can include in the parameter
+// value are id, snippet, and contentDetails. If the parameter
+// identifies a property that contains child properties, the child
+// properties will be included in the response. For example, in a
+// channelSection resource, the snippet property contains other
+// properties, such as a display title for the channelSection. If you
+// set *part=snippet*, the API response will also contain all of those
+// nested properties.
func (r *ChannelSectionsService) List(part []string) *ChannelSectionsListCall {
c := &ChannelSectionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -12720,11 +12720,11 @@ type ChannelSectionsUpdateCall struct {
// Update: Updates an existing resource.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. The part
-// names that you can include in the parameter value are snippet and
-// contentDetails.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. The part
+// names that you can include in the parameter value are snippet and
+// contentDetails.
func (r *ChannelSectionsService) Update(part []string, channelsection *ChannelSection) *ChannelSectionsUpdateCall {
c := &ChannelSectionsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -12886,14 +12886,14 @@ type ChannelsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more channel resource properties that the API response will
-// include. If the parameter identifies a property that contains child
-// properties, the child properties will be included in the response.
-// For example, in a channel resource, the contentDetails property
-// contains other properties, such as the uploads properties. As such,
-// if you set *part=contentDetails*, the API response will also
-// contain all of those nested properties.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more channel resource properties that the API response will
+// include. If the parameter identifies a property that contains child
+// properties, the child properties will be included in the response.
+// For example, in a channel resource, the contentDetails property
+// contains other properties, such as the uploads properties. As such,
+// if you set *part=contentDetails*, the API response will also
+// contain all of those nested properties.
func (r *ChannelsService) List(part []string) *ChannelsListCall {
c := &ChannelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -13202,14 +13202,14 @@ type ChannelsUpdateCall struct {
// Update: Updates an existing resource.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. The API
-// currently only allows the parameter value to be set to either
-// brandingSettings or invideoPromotion. (You cannot update both of
-// those parts with a single request.) Note that this method overrides
-// the existing values for all of the mutable properties that are
-// contained in any parts that the parameter value specifies.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. The API
+// currently only allows the parameter value to be set to either
+// brandingSettings or invideoPromotion. (You cannot update both of
+// those parts with a single request.) Note that this method overrides
+// the existing values for all of the mutable properties that are
+// contained in any parts that the parameter value specifies.
func (r *ChannelsService) Update(part []string, channel *Channel) *ChannelsUpdateCall {
c := &ChannelsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -13369,9 +13369,9 @@ type CommentThreadsInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter identifies the properties that the API
-// response will include. Set the parameter value to snippet. The
-// snippet part has a quota cost of 2 units.
+// - part: The *part* parameter identifies the properties that the API
+// response will include. Set the parameter value to snippet. The
+// snippet part has a quota cost of 2 units.
func (r *CommentThreadsService) Insert(part []string, commentthread *CommentThread) *CommentThreadsInsertCall {
c := &CommentThreadsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -13509,9 +13509,9 @@ type CommentThreadsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more commentThread resource properties that the API response
-// will include.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more commentThread resource properties that the API response
+// will include.
func (r *CommentThreadsService) List(part []string) *CommentThreadsListCall {
c := &CommentThreadsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -13555,11 +13555,14 @@ func (c *CommentThreadsListCall) MaxResults(maxResults int64) *CommentThreadsLis
// published, heldForReview, likelySpam.
//
// Possible values:
-// "published" (default) - The comment is available for public
+//
+// "published" (default) - The comment is available for public
+//
// display.
-// "heldForReview" - The comment is awaiting review by a moderator.
-// "likelySpam"
-// "rejected" - The comment is unfit for display.
+//
+// "heldForReview" - The comment is awaiting review by a moderator.
+// "likelySpam"
+// "rejected" - The comment is unfit for display.
func (c *CommentThreadsListCall) ModerationStatus(moderationStatus string) *CommentThreadsListCall {
c.urlParams_.Set("moderationStatus", moderationStatus)
return c
@@ -13568,9 +13571,10 @@ func (c *CommentThreadsListCall) ModerationStatus(moderationStatus string) *Comm
// Order sets the optional parameter "order":
//
// Possible values:
-// "orderUnspecified"
-// "time" (default) - Order by time.
-// "relevance" - Order by relevance.
+//
+// "orderUnspecified"
+// "time" (default) - Order by time.
+// "relevance" - Order by relevance.
func (c *CommentThreadsListCall) Order(order string) *CommentThreadsListCall {
c.urlParams_.Set("order", order)
return c
@@ -13597,10 +13601,13 @@ func (c *CommentThreadsListCall) SearchTerms(searchTerms string) *CommentThreads
// text format for the returned comments.
//
// Possible values:
-// "textFormatUnspecified"
-// "html" (default) - Returns the comments in HTML format. This is the
+//
+// "textFormatUnspecified"
+// "html" (default) - Returns the comments in HTML format. This is the
+//
// default value.
-// "plainText" - Returns the comments in plain text format.
+//
+// "plainText" - Returns the comments in plain text format.
func (c *CommentThreadsListCall) TextFormat(textFormat string) *CommentThreadsListCall {
c.urlParams_.Set("textFormat", textFormat)
return c
@@ -13956,9 +13963,9 @@ type CommentsInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter identifies the properties that the API
-// response will include. Set the parameter value to snippet. The
-// snippet part has a quota cost of 2 units.
+// - part: The *part* parameter identifies the properties that the API
+// response will include. Set the parameter value to snippet. The
+// snippet part has a quota cost of 2 units.
func (r *CommentsService) Insert(part []string, comment *Comment) *CommentsInsertCall {
c := &CommentsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -14096,9 +14103,9 @@ type CommentsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more comment resource properties that the API response will
-// include.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more comment resource properties that the API response will
+// include.
func (r *CommentsService) List(part []string) *CommentsListCall {
c := &CommentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -14142,10 +14149,13 @@ func (c *CommentsListCall) ParentId(parentId string) *CommentsListCall {
// text format for the returned comments.
//
// Possible values:
-// "textFormatUnspecified"
-// "html" (default) - Returns the comments in HTML format. This is the
+//
+// "textFormatUnspecified"
+// "html" (default) - Returns the comments in HTML format. This is the
+//
// default value.
-// "plainText" - Returns the comments in plain text format.
+//
+// "plainText" - Returns the comments in plain text format.
func (c *CommentsListCall) TextFormat(textFormat string) *CommentsListCall {
c.urlParams_.Set("textFormat", textFormat)
return c
@@ -14348,8 +14358,8 @@ type CommentsMarkAsSpamCall struct {
// MarkAsSpam: Expresses the caller's opinion that one or more comments
// should be flagged as spam.
//
-// - id: Flags the comments with the given IDs as spam in the caller's
-// opinion.
+// - id: Flags the comments with the given IDs as spam in the caller's
+// opinion.
func (r *CommentsService) MarkAsSpam(id []string) *CommentsMarkAsSpamCall {
c := &CommentsMarkAsSpamCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("id", append([]string{}, id...))
@@ -14450,13 +14460,13 @@ type CommentsSetModerationStatusCall struct {
// SetModerationStatus: Sets the moderation status of one or more
// comments.
//
-// - id: Modifies the moderation status of the comments with the given
-// IDs.
-// - moderationStatus: Specifies the requested moderation status. Note,
-// comments can be in statuses, which are not available through this
-// call. For example, this call does not allow to mark a comment as
-// 'likely spam'. Valid values: MODERATION_STATUS_PUBLISHED,
-// MODERATION_STATUS_HELD_FOR_REVIEW, MODERATION_STATUS_REJECTED.
+// - id: Modifies the moderation status of the comments with the given
+// IDs.
+// - moderationStatus: Specifies the requested moderation status. Note,
+// comments can be in statuses, which are not available through this
+// call. For example, this call does not allow to mark a comment as
+// 'likely spam'. Valid values: MODERATION_STATUS_PUBLISHED,
+// MODERATION_STATUS_HELD_FOR_REVIEW, MODERATION_STATUS_REJECTED.
func (r *CommentsService) SetModerationStatus(id []string, moderationStatus string) *CommentsSetModerationStatusCall {
c := &CommentsSetModerationStatusCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("id", append([]string{}, id...))
@@ -14592,10 +14602,10 @@ type CommentsUpdateCall struct {
// Update: Updates an existing resource.
//
-// - part: The *part* parameter identifies the properties that the API
-// response will include. You must at least include the snippet part
-// in the parameter value since that part contains all of the
-// properties that the API request can update.
+// - part: The *part* parameter identifies the properties that the API
+// response will include. You must at least include the snippet part
+// in the parameter value since that part contains all of the
+// properties that the API request can update.
func (r *CommentsService) Update(part []string, comment *Comment) *CommentsUpdateCall {
c := &CommentsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -14733,9 +14743,9 @@ type I18nLanguagesListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies the i18nLanguage resource
-// properties that the API response will include. Set the parameter
-// value to snippet.
+// - part: The *part* parameter specifies the i18nLanguage resource
+// properties that the API response will include. Set the parameter
+// value to snippet.
func (r *I18nLanguagesService) List(part []string) *I18nLanguagesListCall {
c := &I18nLanguagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -14891,9 +14901,9 @@ type I18nRegionsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies the i18nRegion resource
-// properties that the API response will include. Set the parameter
-// value to snippet.
+// - part: The *part* parameter specifies the i18nRegion resource
+// properties that the API response will include. Set the parameter
+// value to snippet.
func (r *I18nRegionsService) List(part []string) *I18nRegionsListCall {
c := &I18nRegionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -15048,11 +15058,11 @@ type LiveBroadcastsBindCall struct {
// Bind: Bind a broadcast to a stream.
//
-// - id: Broadcast to bind to the stream.
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more liveBroadcast resource properties that the API response
-// will include. The part names that you can include in the parameter
-// value are id, snippet, contentDetails, and status.
+// - id: Broadcast to bind to the stream.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more liveBroadcast resource properties that the API response
+// will include. The part names that you can include in the parameter
+// value are id, snippet, contentDetails, and status.
func (r *LiveBroadcastsService) Bind(id string, part []string) *LiveBroadcastsBindCall {
c := &LiveBroadcastsBindCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("id", id)
@@ -15404,11 +15414,11 @@ type LiveBroadcastsInsertCall struct {
// Insert: Inserts a new stream for the authenticated user.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. The part
-// properties that you can include in the parameter value are id,
-// snippet, contentDetails, and status.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. The part
+// properties that you can include in the parameter value are id,
+// snippet, contentDetails, and status.
func (r *LiveBroadcastsService) Insert(part []string, livebroadcast *LiveBroadcast) *LiveBroadcastsInsertCall {
c := &LiveBroadcastsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -15804,10 +15814,10 @@ type LiveBroadcastsListCall struct {
// List: Retrieve the list of broadcasts associated with the given
// channel.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more liveBroadcast resource properties that the API response
-// will include. The part names that you can include in the parameter
-// value are id, snippet, contentDetails, status and statistics.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more liveBroadcast resource properties that the API response
+// will include. The part names that you can include in the parameter
+// value are id, snippet, contentDetails, status and statistics.
func (r *LiveBroadcastsService) List(part []string) *LiveBroadcastsListCall {
c := &LiveBroadcastsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -15818,11 +15828,12 @@ func (r *LiveBroadcastsService) List(part []string) *LiveBroadcastsListCall {
// broadcasts with a certain status, e.g. active broadcasts.
//
// Possible values:
-// "broadcastStatusFilterUnspecified"
-// "all" - Return all broadcasts.
-// "active" - Return current live broadcasts.
-// "upcoming" - Return broadcasts that have not yet started.
-// "completed" - Return broadcasts that have already ended.
+//
+// "broadcastStatusFilterUnspecified"
+// "all" - Return all broadcasts.
+// "active" - Return current live broadcasts.
+// "upcoming" - Return broadcasts that have not yet started.
+// "completed" - Return broadcasts that have already ended.
func (c *LiveBroadcastsListCall) BroadcastStatus(broadcastStatus string) *LiveBroadcastsListCall {
c.urlParams_.Set("broadcastStatus", broadcastStatus)
return c
@@ -15832,10 +15843,11 @@ func (c *LiveBroadcastsListCall) BroadcastStatus(broadcastStatus string) *LiveBr
// only broadcasts with the selected type.
//
// Possible values:
-// "broadcastTypeFilterUnspecified"
-// "all" - Return all broadcasts.
-// "event" (default) - Return only scheduled event broadcasts.
-// "persistent" - Return only persistent broadcasts.
+//
+// "broadcastTypeFilterUnspecified"
+// "all" - Return all broadcasts.
+// "event" (default) - Return only scheduled event broadcasts.
+// "persistent" - Return only persistent broadcasts.
func (c *LiveBroadcastsListCall) BroadcastType(broadcastType string) *LiveBroadcastsListCall {
c.urlParams_.Set("broadcastType", broadcastType)
return c
@@ -16140,13 +16152,13 @@ type LiveBroadcastsTransitionCall struct {
// Transition: Transition a broadcast to a given status.
//
-// - broadcastStatus: The status to which the broadcast is going to
-// transition.
-// - id: Broadcast to transition.
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more liveBroadcast resource properties that the API response
-// will include. The part names that you can include in the parameter
-// value are id, snippet, contentDetails, and status.
+// - broadcastStatus: The status to which the broadcast is going to
+// transition.
+// - id: Broadcast to transition.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more liveBroadcast resource properties that the API response
+// will include. The part names that you can include in the parameter
+// value are id, snippet, contentDetails, and status.
func (r *LiveBroadcastsService) Transition(broadcastStatus string, id string, part []string) *LiveBroadcastsTransitionCall {
c := &LiveBroadcastsTransitionCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("broadcastStatus", broadcastStatus)
@@ -16355,20 +16367,20 @@ type LiveBroadcastsUpdateCall struct {
// Update: Updates an existing broadcast for the authenticated user.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. The part
-// properties that you can include in the parameter value are id,
-// snippet, contentDetails, and status. Note that this method will
-// override the existing values for all of the mutable properties that
-// are contained in any parts that the parameter value specifies. For
-// example, a broadcast's privacy status is defined in the status
-// part. As such, if your request is updating a private or unlisted
-// broadcast, and the request's part parameter value includes the
-// status part, the broadcast's privacy setting will be updated to
-// whatever value the request body specifies. If the request body does
-// not specify a value, the existing privacy setting will be removed
-// and the broadcast will revert to the default privacy setting.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. The part
+// properties that you can include in the parameter value are id,
+// snippet, contentDetails, and status. Note that this method will
+// override the existing values for all of the mutable properties that
+// are contained in any parts that the parameter value specifies. For
+// example, a broadcast's privacy status is defined in the status
+// part. As such, if your request is updating a private or unlisted
+// broadcast, and the request's part parameter value includes the
+// status part, the broadcast's privacy setting will be updated to
+// whatever value the request body specifies. If the request body does
+// not specify a value, the existing privacy setting will be removed
+// and the broadcast will revert to the default privacy setting.
func (r *LiveBroadcastsService) Update(part []string, livebroadcast *LiveBroadcast) *LiveBroadcastsUpdateCall {
c := &LiveBroadcastsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -16657,10 +16669,10 @@ type LiveChatBansInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response returns. Set the
-// parameter value to snippet.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response returns. Set the
+// parameter value to snippet.
func (r *LiveChatBansService) Insert(part []string, livechatban *LiveChatBan) *LiveChatBansInsertCall {
c := &LiveChatBansInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -16898,10 +16910,10 @@ type LiveChatMessagesInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter serves two purposes. It identifies the
-// properties that the write operation will set as well as the
-// properties that the API response will include. Set the parameter
-// value to snippet.
+// - part: The *part* parameter serves two purposes. It identifies the
+// properties that the write operation will set as well as the
+// properties that the API response will include. Set the parameter
+// value to snippet.
func (r *LiveChatMessagesService) Insert(part []string, livechatmessage *LiveChatMessage) *LiveChatMessagesInsertCall {
c := &LiveChatMessagesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -17040,11 +17052,11 @@ type LiveChatMessagesListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - liveChatId: The id of the live chat for which comments should be
-// returned.
-// - part: The *part* parameter specifies the liveChatComment resource
-// parts that the API response will include. Supported values are id
-// and snippet.
+// - liveChatId: The id of the live chat for which comments should be
+// returned.
+// - part: The *part* parameter specifies the liveChatComment resource
+// parts that the API response will include. Supported values are id
+// and snippet.
func (r *LiveChatMessagesService) List(liveChatId string, part []string) *LiveChatMessagesListCall {
c := &LiveChatMessagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("liveChatId", liveChatId)
@@ -17375,10 +17387,10 @@ type LiveChatModeratorsInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response returns. Set the
-// parameter value to snippet.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response returns. Set the
+// parameter value to snippet.
func (r *LiveChatModeratorsService) Insert(part []string, livechatmoderator *LiveChatModerator) *LiveChatModeratorsInsertCall {
c := &LiveChatModeratorsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -17517,11 +17529,11 @@ type LiveChatModeratorsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - liveChatId: The id of the live chat for which moderators should be
-// returned.
-// - part: The *part* parameter specifies the liveChatModerator resource
-// parts that the API response will include. Supported values are id
-// and snippet.
+// - liveChatId: The id of the live chat for which moderators should be
+// returned.
+// - part: The *part* parameter specifies the liveChatModerator resource
+// parts that the API response will include. Supported values are id
+// and snippet.
func (r *LiveChatModeratorsService) List(liveChatId string, part []string) *LiveChatModeratorsListCall {
c := &LiveChatModeratorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("liveChatId", liveChatId)
@@ -17875,11 +17887,11 @@ type LiveStreamsInsertCall struct {
// Insert: Inserts a new stream for the authenticated user.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. The part
-// properties that you can include in the parameter value are id,
-// snippet, cdn, content_details, and status.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. The part
+// properties that you can include in the parameter value are id,
+// snippet, cdn, content_details, and status.
func (r *LiveStreamsService) Insert(part []string, livestream *LiveStream) *LiveStreamsInsertCall {
c := &LiveStreamsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -18070,10 +18082,10 @@ type LiveStreamsListCall struct {
// List: Retrieve the list of streams associated with the given channel.
// --
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more liveStream resource properties that the API response will
-// include. The part names that you can include in the parameter value
-// are id, snippet, cdn, and status.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more liveStream resource properties that the API response will
+// include. The part names that you can include in the parameter value
+// are id, snippet, cdn, and status.
func (r *LiveStreamsService) List(part []string) *LiveStreamsListCall {
c := &LiveStreamsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -18343,15 +18355,15 @@ type LiveStreamsUpdateCall struct {
// Update: Updates an existing stream for the authenticated user.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. The part
-// properties that you can include in the parameter value are id,
-// snippet, cdn, and status. Note that this method will override the
-// existing values for all of the mutable properties that are
-// contained in any parts that the parameter value specifies. If the
-// request body does not specify a value for a mutable property, the
-// existing value for that property will be removed.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. The part
+// properties that you can include in the parameter value are id,
+// snippet, cdn, and status. Note that this method will override the
+// existing values for all of the mutable properties that are
+// contained in any parts that the parameter value specifies. If the
+// request body does not specify a value for a mutable property, the
+// existing value for that property will be removed.
func (r *LiveStreamsService) Update(part []string, livestream *LiveStream) *LiveStreamsUpdateCall {
c := &LiveStreamsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -18542,8 +18554,8 @@ type MembersListCall struct {
// List: Retrieves a list of members that match the request criteria for
// a channel.
//
-// - part: The *part* parameter specifies the member resource parts that
-// the API response will include. Set the parameter value to snippet.
+// - part: The *part* parameter specifies the member resource parts that
+// the API response will include. Set the parameter value to snippet.
func (r *MembersService) List(part []string) *MembersListCall {
c := &MembersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -18579,10 +18591,14 @@ func (c *MembersListCall) MaxResults(maxResults int64) *MembersListCall {
// which channel members to return.
//
// Possible values:
-// "listMembersModeUnknown"
-// "updates" - Return only members that joined after the first call
+//
+// "listMembersModeUnknown"
+// "updates" - Return only members that joined after the first call
+//
// with this mode was made.
-// "all_current" (default) - Return all current members, from newest
+//
+// "all_current" (default) - Return all current members, from newest
+//
// to oldest.
func (c *MembersListCall) Mode(mode string) *MembersListCall {
c.urlParams_.Set("mode", mode)
@@ -18795,9 +18811,9 @@ type MembershipsLevelsListCall struct {
// List: Retrieves a list of all pricing levels offered by a creator to
// the fans.
//
-// - part: The *part* parameter specifies the membershipsLevel resource
-// parts that the API response will include. Supported values are id
-// and snippet.
+// - part: The *part* parameter specifies the membershipsLevel resource
+// parts that the API response will include. Supported values are id
+// and snippet.
func (r *MembershipsLevelsService) List(part []string) *MembershipsLevelsListCall {
c := &MembershipsLevelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -19061,9 +19077,9 @@ type PlaylistItemsInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include.
func (r *PlaylistItemsService) Insert(part []string, playlistitem *PlaylistItem) *PlaylistItemsInsertCall {
c := &PlaylistItemsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -19225,15 +19241,15 @@ type PlaylistItemsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more playlistItem resource properties that the API response will
-// include. If the parameter identifies a property that contains child
-// properties, the child properties will be included in the response.
-// For example, in a playlistItem resource, the snippet property
-// contains numerous fields, including the title, description,
-// position, and resourceId properties. As such, if you set
-// *part=snippet*, the API response will contain all of those
-// properties.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more playlistItem resource properties that the API response will
+// include. If the parameter identifies a property that contains child
+// properties, the child properties will be included in the response.
+// For example, in a playlistItem resource, the snippet property
+// contains numerous fields, including the title, description,
+// position, and resourceId properties. As such, if you set
+// *part=snippet*, the API response will contain all of those
+// properties.
func (r *PlaylistItemsService) List(part []string) *PlaylistItemsListCall {
c := &PlaylistItemsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -19487,20 +19503,20 @@ type PlaylistItemsUpdateCall struct {
// Update: Updates an existing resource.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. Note
-// that this method will override the existing values for all of the
-// mutable properties that are contained in any parts that the
-// parameter value specifies. For example, a playlist item can specify
-// a start time and end time, which identify the times portion of the
-// video that should play when users watch the video in the playlist.
-// If your request is updating a playlist item that sets these values,
-// and the request's part parameter value includes the contentDetails
-// part, the playlist item's start and end times will be updated to
-// whatever value the request body specifies. If the request body does
-// not specify values, the existing start and end times will be
-// removed and replaced with the default settings.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. Note
+// that this method will override the existing values for all of the
+// mutable properties that are contained in any parts that the
+// parameter value specifies. For example, a playlist item can specify
+// a start time and end time, which identify the times portion of the
+// video that should play when users watch the video in the playlist.
+// If your request is updating a playlist item that sets these values,
+// and the request's part parameter value includes the contentDetails
+// part, the playlist item's start and end times will be updated to
+// whatever value the request body specifies. If the request body does
+// not specify values, the existing start and end times will be
+// removed and replaced with the default settings.
func (r *PlaylistItemsService) Update(part []string, playlistitem *PlaylistItem) *PlaylistItemsUpdateCall {
c := &PlaylistItemsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -19784,9 +19800,9 @@ type PlaylistsInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include.
func (r *PlaylistsService) Insert(part []string, playlist *Playlist) *PlaylistsInsertCall {
c := &PlaylistsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -19977,14 +19993,14 @@ type PlaylistsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more playlist resource properties that the API response will
-// include. If the parameter identifies a property that contains child
-// properties, the child properties will be included in the response.
-// For example, in a playlist resource, the snippet property contains
-// properties like author, title, description, tags, and timeCreated.
-// As such, if you set *part=snippet*, the API response will contain
-// all of those properties.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more playlist resource properties that the API response will
+// include. If the parameter identifies a property that contains child
+// properties, the child properties will be included in the response.
+// For example, in a playlist resource, the snippet property contains
+// properties like author, title, description, tags, and timeCreated.
+// As such, if you set *part=snippet*, the API response will contain
+// all of those properties.
func (r *PlaylistsService) List(part []string) *PlaylistsListCall {
c := &PlaylistsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -20281,15 +20297,15 @@ type PlaylistsUpdateCall struct {
// Update: Updates an existing resource.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. Note
-// that this method will override the existing values for mutable
-// properties that are contained in any parts that the request body
-// specifies. For example, a playlist's description is contained in
-// the snippet part, which must be included in the request body. If
-// the request does not specify a value for the snippet.description
-// property, the playlist's existing description will be deleted.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. Note
+// that this method will override the existing values for mutable
+// properties that are contained in any parts that the request body
+// specifies. For example, a playlist's description is contained in
+// the snippet part, which must be included in the request body. If
+// the request does not specify a value for the snippet.description
+// property, the playlist's existing description will be deleted.
func (r *PlaylistsService) Update(part []string, playlist *Playlist) *PlaylistsUpdateCall {
c := &PlaylistsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -20451,9 +20467,9 @@ type SearchListCall struct {
// List: Retrieves a list of search resources
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more search resource properties that the API response will
-// include. Set the parameter value to snippet.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more search resource properties that the API response will
+// include. Set the parameter value to snippet.
func (r *SearchService) List(part []string) *SearchListCall {
c := &SearchListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -20471,9 +20487,10 @@ func (c *SearchListCall) ChannelId(channelId string) *SearchListCall {
// on the channel search.
//
// Possible values:
-// "channelTypeUnspecified"
-// "any" - Return all channels.
-// "show" - Only retrieve shows.
+//
+// "channelTypeUnspecified"
+// "any" - Return all channels.
+// "show" - Only retrieve shows.
func (c *SearchListCall) ChannelType(channelType string) *SearchListCall {
c.urlParams_.Set("channelType", channelType)
return c
@@ -20483,10 +20500,11 @@ func (c *SearchListCall) ChannelType(channelType string) *SearchListCall {
// livestream status of the videos.
//
// Possible values:
-// "none"
-// "upcoming" - The live broadcast is upcoming.
-// "live" - The live broadcast is active.
-// "completed" - The live broadcast has been completed.
+//
+// "none"
+// "upcoming" - The live broadcast is upcoming.
+// "live" - The live broadcast is active.
+// "completed" - The live broadcast has been completed.
func (c *SearchListCall) EventType(eventType string) *SearchListCall {
c.urlParams_.Set("eventType", eventType)
return c
@@ -20556,17 +20574,25 @@ func (c *SearchListCall) OnBehalfOfContentOwner(onBehalfOfContentOwner string) *
// Order sets the optional parameter "order": Sort order of the results.
//
// Possible values:
-// "searchSortUnspecified"
-// "date" - Resources are sorted in reverse chronological order based
+//
+// "searchSortUnspecified"
+// "date" - Resources are sorted in reverse chronological order based
+//
// on the date they were created.
-// "rating" - Resources are sorted from highest to lowest rating.
-// "viewCount" - Resources are sorted from highest to lowest number of
+//
+// "rating" - Resources are sorted from highest to lowest rating.
+// "viewCount" - Resources are sorted from highest to lowest number of
+//
// views.
-// "relevance" (default) - Resources are sorted based on their
+//
+// "relevance" (default) - Resources are sorted based on their
+//
// relevance to the search query. This is the default value for this
// parameter.
-// "title" - Resources are sorted alphabetically by title.
-// "videoCount" - Channels are sorted in descending order of their
+//
+// "title" - Resources are sorted alphabetically by title.
+// "videoCount" - Channels are sorted in descending order of their
+//
// number of uploaded videos.
func (c *SearchListCall) Order(order string) *SearchListCall {
c.urlParams_.Set("order", order)
@@ -20628,14 +20654,18 @@ func (c *SearchListCall) RelevanceLanguage(relevanceLanguage string) *SearchList
// as standard content.
//
// Possible values:
-// "safeSearchSettingUnspecified"
-// "none" - YouTube will not filter the search result set.
-// "moderate" (default) - YouTube will filter some content from search
+//
+// "safeSearchSettingUnspecified"
+// "none" - YouTube will not filter the search result set.
+// "moderate" (default) - YouTube will filter some content from search
+//
// results and, at the least, will filter content that is restricted in
// your locale. Based on their content, search results could be removed
// from search results or demoted in search results. This is the default
// parameter value.
-// "strict" - YouTube will try to exclude all restricted content from
+//
+// "strict" - YouTube will try to exclude all restricted content from
+//
// the search result set. Based on their content, search results could
// be removed from search results or demoted in search results.
func (c *SearchListCall) SafeSearch(safeSearch string) *SearchListCall {
@@ -20661,10 +20691,11 @@ func (c *SearchListCall) Type(type_ ...string) *SearchListCall {
// the presence of captions on the videos.
//
// Possible values:
-// "videoCaptionUnspecified"
-// "any" - Do not filter results based on caption availability.
-// "closedCaption" - Only include videos that have captions.
-// "none" - Only include videos that do not have captions.
+//
+// "videoCaptionUnspecified"
+// "any" - Do not filter results based on caption availability.
+// "closedCaption" - Only include videos that have captions.
+// "none" - Only include videos that do not have captions.
func (c *SearchListCall) VideoCaption(videoCaption string) *SearchListCall {
c.urlParams_.Set("videoCaption", videoCaption)
return c
@@ -20681,9 +20712,10 @@ func (c *SearchListCall) VideoCategoryId(videoCategoryId string) *SearchListCall
// on the definition of the videos.
//
// Possible values:
-// "any" - Return all videos, regardless of their resolution.
-// "standard" - Only retrieve videos in standard definition.
-// "high" - Only retrieve HD videos.
+//
+// "any" - Return all videos, regardless of their resolution.
+// "standard" - Only retrieve videos in standard definition.
+// "high" - Only retrieve HD videos.
func (c *SearchListCall) VideoDefinition(videoDefinition string) *SearchListCall {
c.urlParams_.Set("videoDefinition", videoDefinition)
return c
@@ -20693,10 +20725,13 @@ func (c *SearchListCall) VideoDefinition(videoDefinition string) *SearchListCall
// on 3d videos.
//
// Possible values:
-// "any" - Include both 3D and non-3D videos in returned results. This
+//
+// "any" - Include both 3D and non-3D videos in returned results. This
+//
// is the default value.
-// "2d" - Restrict search results to exclude 3D videos.
-// "3d" - Restrict search results to only include 3D videos.
+//
+// "2d" - Restrict search results to exclude 3D videos.
+// "3d" - Restrict search results to only include 3D videos.
func (c *SearchListCall) VideoDimension(videoDimension string) *SearchListCall {
c.urlParams_.Set("videoDimension", videoDimension)
return c
@@ -20706,13 +20741,18 @@ func (c *SearchListCall) VideoDimension(videoDimension string) *SearchListCall {
// the duration of the videos.
//
// Possible values:
-// "videoDurationUnspecified"
-// "any" - Do not filter video search results based on their duration.
+//
+// "videoDurationUnspecified"
+// "any" - Do not filter video search results based on their duration.
+//
// This is the default value.
-// "short" - Only include videos that are less than four minutes long.
-// "medium" - Only include videos that are between four and 20 minutes
+//
+// "short" - Only include videos that are less than four minutes long.
+// "medium" - Only include videos that are between four and 20 minutes
+//
// long (inclusive).
-// "long" - Only include videos longer than 20 minutes.
+//
+// "long" - Only include videos longer than 20 minutes.
func (c *SearchListCall) VideoDuration(videoDuration string) *SearchListCall {
c.urlParams_.Set("videoDuration", videoDuration)
return c
@@ -20722,9 +20762,10 @@ func (c *SearchListCall) VideoDuration(videoDuration string) *SearchListCall {
// on embeddable videos.
//
// Possible values:
-// "videoEmbeddableUnspecified"
-// "any" - Return all videos, embeddable or not.
-// "true" - Only retrieve embeddable videos.
+//
+// "videoEmbeddableUnspecified"
+// "any" - Return all videos, embeddable or not.
+// "true" - Only retrieve embeddable videos.
func (c *SearchListCall) VideoEmbeddable(videoEmbeddable string) *SearchListCall {
c.urlParams_.Set("videoEmbeddable", videoEmbeddable)
return c
@@ -20734,11 +20775,17 @@ func (c *SearchListCall) VideoEmbeddable(videoEmbeddable string) *SearchListCall
// the license of the videos.
//
// Possible values:
-// "any" - Return all videos, regardless of which license they have,
+//
+// "any" - Return all videos, regardless of which license they have,
+//
// that match the query parameters.
-// "youtube" - Only return videos that have the standard YouTube
+//
+// "youtube" - Only return videos that have the standard YouTube
+//
// license.
-// "creativeCommon" - Only return videos that have a Creative Commons
+//
+// "creativeCommon" - Only return videos that have a Creative Commons
+//
// license. Users can reuse videos with this license in other videos
// that they create. Learn more.
func (c *SearchListCall) VideoLicense(videoLicense string) *SearchListCall {
@@ -20750,9 +20797,10 @@ func (c *SearchListCall) VideoLicense(videoLicense string) *SearchListCall {
// on syndicated videos.
//
// Possible values:
-// "videoSyndicatedUnspecified"
-// "any" - Return all videos, syndicated or not.
-// "true" - Only retrieve syndicated videos.
+//
+// "videoSyndicatedUnspecified"
+// "any" - Return all videos, syndicated or not.
+// "true" - Only retrieve syndicated videos.
func (c *SearchListCall) VideoSyndicated(videoSyndicated string) *SearchListCall {
c.urlParams_.Set("videoSyndicated", videoSyndicated)
return c
@@ -20762,10 +20810,11 @@ func (c *SearchListCall) VideoSyndicated(videoSyndicated string) *SearchListCall
// of a specific type.
//
// Possible values:
-// "videoTypeUnspecified"
-// "any" - Return all videos.
-// "movie" - Only retrieve movies.
-// "episode" - Only retrieve episodes of shows.
+//
+// "videoTypeUnspecified"
+// "any" - Return all videos.
+// "movie" - Only retrieve movies.
+// "episode" - Only retrieve episodes of shows.
func (c *SearchListCall) VideoType(videoType string) *SearchListCall {
c.urlParams_.Set("videoType", videoType)
return c
@@ -21329,9 +21378,9 @@ type SubscriptionsInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include.
func (r *SubscriptionsService) Insert(part []string, subscription *Subscription) *SubscriptionsInsertCall {
c := &SubscriptionsInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -21471,14 +21520,14 @@ type SubscriptionsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more subscription resource properties that the API response will
-// include. If the parameter identifies a property that contains child
-// properties, the child properties will be included in the response.
-// For example, in a subscription resource, the snippet property
-// contains other properties, such as a display title for the
-// subscription. If you set *part=snippet*, the API response will also
-// contain all of those nested properties.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more subscription resource properties that the API response will
+// include. If the parameter identifies a property that contains child
+// properties, the child properties will be included in the response.
+// For example, in a subscription resource, the snippet property
+// contains other properties, such as a display title for the
+// subscription. If you set *part=snippet*, the API response will also
+// contain all of those nested properties.
func (r *SubscriptionsService) List(part []string) *SubscriptionsListCall {
c := &SubscriptionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -21581,10 +21630,11 @@ func (c *SubscriptionsListCall) OnBehalfOfContentOwnerChannel(onBehalfOfContentO
// subscriptions
//
// Possible values:
-// "subscriptionOrderUnspecified"
-// "relevance" (default) - Sort by relevance.
-// "unread" - Sort by order of activity.
-// "alphabetical" - Sort alphabetically.
+//
+// "subscriptionOrderUnspecified"
+// "relevance" (default) - Sort by relevance.
+// "unread" - Sort by order of activity.
+// "alphabetical" - Sort alphabetically.
func (c *SubscriptionsListCall) Order(order string) *SubscriptionsListCall {
c.urlParams_.Set("order", order)
return c
@@ -21830,9 +21880,9 @@ type SuperChatEventsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies the superChatEvent resource
-// parts that the API response will include. This parameter is
-// currently not supported.
+// - part: The *part* parameter specifies the superChatEvent resource
+// parts that the API response will include. This parameter is
+// currently not supported.
func (r *SuperChatEventsService) List(part []string) *SuperChatEventsListCall {
c := &SuperChatEventsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -22186,9 +22236,9 @@ type ThirdPartyLinksDeleteCall struct {
// Delete: Deletes a resource.
//
-// - linkingToken: Delete the partner links with the given linking
-// token.
-// - type: Type of the link to be deleted.
+// - linkingToken: Delete the partner links with the given linking
+// token.
+// - type: Type of the link to be deleted.
func (r *ThirdPartyLinksService) Delete(linkingToken string, type_ string) *ThirdPartyLinksDeleteCall {
c := &ThirdPartyLinksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("linkingToken", linkingToken)
@@ -22326,9 +22376,9 @@ type ThirdPartyLinksInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter specifies the thirdPartyLink resource
-// parts that the API request and response will include. Supported
-// values are linkingToken, status, and snippet.
+// - part: The *part* parameter specifies the thirdPartyLink resource
+// parts that the API request and response will include. Supported
+// values are linkingToken, status, and snippet.
func (r *ThirdPartyLinksService) Insert(part []string, thirdpartylink *ThirdPartyLink) *ThirdPartyLinksInsertCall {
c := &ThirdPartyLinksInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -22475,9 +22525,9 @@ type ThirdPartyLinksListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies the thirdPartyLink resource
-// parts that the API response will include. Supported values are
-// linkingToken, status, and snippet.
+// - part: The *part* parameter specifies the thirdPartyLink resource
+// parts that the API response will include. Supported values are
+// linkingToken, status, and snippet.
func (r *ThirdPartyLinksService) List(part []string) *ThirdPartyLinksListCall {
c := &ThirdPartyLinksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -22502,8 +22552,10 @@ func (c *ThirdPartyLinksListCall) LinkingToken(linkingToken string) *ThirdPartyL
// the given type.
//
// Possible values:
-// "linkUnspecified"
-// "channelToStoreLink" - A link that is connecting (or about to
+//
+// "linkUnspecified"
+// "channelToStoreLink" - A link that is connecting (or about to
+//
// connect) a channel with a store on a merchandising platform in order
// to enable retail commerce capabilities for that channel on YouTube.
func (c *ThirdPartyLinksListCall) Type(type_ string) *ThirdPartyLinksListCall {
@@ -22666,9 +22718,9 @@ type ThirdPartyLinksUpdateCall struct {
// Update: Updates an existing resource.
//
-// - part: The *part* parameter specifies the thirdPartyLink resource
-// parts that the API request and response will include. Supported
-// values are linkingToken, status, and snippet.
+// - part: The *part* parameter specifies the thirdPartyLink resource
+// parts that the API request and response will include. Supported
+// values are linkingToken, status, and snippet.
func (r *ThirdPartyLinksService) Update(part []string, thirdpartylink *ThirdPartyLink) *ThirdPartyLinksUpdateCall {
c := &ThirdPartyLinksUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -22817,8 +22869,8 @@ type ThumbnailsSetCall struct {
// uploading/setting of a thumbnail for multiple videos, which doesn't
// result in creation of a single resource), I use a custom verb here.
//
-// - videoId: Returns the Thumbnail with the given video IDs for Stubby
-// or Apiary.
+// - videoId: Returns the Thumbnail with the given video IDs for Stubby
+// or Apiary.
func (r *ThumbnailsService) Set(videoId string) *ThumbnailsSetCall {
c := &ThumbnailsSetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.Set("videoId", videoId)
@@ -23058,9 +23110,9 @@ type VideoAbuseReportReasonsListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies the videoCategory resource
-// parts that the API response will include. Supported values are id
-// and snippet.
+// - part: The *part* parameter specifies the videoCategory resource
+// parts that the API response will include. Supported values are id
+// and snippet.
func (r *VideoAbuseReportReasonsService) List(part []string) *VideoAbuseReportReasonsListCall {
c := &VideoAbuseReportReasonsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -23216,9 +23268,9 @@ type VideoCategoriesListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies the videoCategory resource
-// properties that the API response will include. Set the parameter
-// value to snippet.
+// - part: The *part* parameter specifies the videoCategory resource
+// properties that the API response will include. Set the parameter
+// value to snippet.
func (r *VideoCategoriesService) List(part []string) *VideoCategoriesListCall {
c := &VideoCategoriesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -23687,15 +23739,15 @@ type VideosInsertCall struct {
// Insert: Inserts a new resource into this collection.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. Note
-// that not all parts contain properties that can be set when
-// inserting or updating a video. For example, the statistics object
-// encapsulates statistics that YouTube calculates for a video and
-// does not contain values that you can set or modify. If the
-// parameter value specifies a part that does not contain mutable
-// values, that part will still be included in the API response.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. Note
+// that not all parts contain properties that can be set when
+// inserting or updating a video. For example, the statistics object
+// encapsulates statistics that YouTube calculates for a video and
+// does not contain values that you can set or modify. If the
+// parameter value specifies a part that does not contain mutable
+// values, that part will still be included in the API response.
func (r *VideosService) Insert(part []string, video *Video) *VideosInsertCall {
c := &VideosInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -24010,14 +24062,14 @@ type VideosListCall struct {
// List: Retrieves a list of resources, possibly filtered.
//
-// - part: The *part* parameter specifies a comma-separated list of one
-// or more video resource properties that the API response will
-// include. If the parameter identifies a property that contains child
-// properties, the child properties will be included in the response.
-// For example, in a video resource, the snippet property contains the
-// channelId, title, description, tags, and categoryId properties. As
-// such, if you set *part=snippet*, the API response will contain all
-// of those properties.
+// - part: The *part* parameter specifies a comma-separated list of one
+// or more video resource properties that the API response will
+// include. If the parameter identifies a property that contains child
+// properties, the child properties will be included in the response.
+// For example, in a video resource, the snippet property contains the
+// channelId, title, description, tags, and categoryId properties. As
+// such, if you set *part=snippet*, the API response will contain all
+// of those properties.
func (r *VideosService) List(part []string) *VideosListCall {
c := &VideosListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
@@ -24028,8 +24080,10 @@ func (r *VideosService) List(part []string) *VideosListCall {
// in the specified chart.
//
// Possible values:
-// "chartUnspecified"
-// "mostPopular" - Return the most popular videos for the specified
+//
+// "chartUnspecified"
+// "mostPopular" - Return the most popular videos for the specified
+//
// content region and video category.
func (c *VideosListCall) Chart(chart string) *VideosListCall {
c.urlParams_.Set("chart", chart)
@@ -24088,9 +24142,10 @@ func (c *VideosListCall) MaxWidth(maxWidth int64) *VideosListCall {
// RateType.RATED_TYPE_NONE.
//
// Possible values:
-// "none"
-// "like" - The entity is liked.
-// "dislike" - The entity is disliked.
+//
+// "none"
+// "like" - The entity is liked.
+// "dislike" - The entity is disliked.
func (c *VideosListCall) MyRating(myRating string) *VideosListCall {
c.urlParams_.Set("myRating", myRating)
return c
@@ -24627,24 +24682,24 @@ type VideosUpdateCall struct {
// Update: Updates an existing resource.
//
-// - part: The *part* parameter serves two purposes in this operation.
-// It identifies the properties that the write operation will set as
-// well as the properties that the API response will include. Note
-// that this method will override the existing values for all of the
-// mutable properties that are contained in any parts that the
-// parameter value specifies. For example, a video's privacy setting
-// is contained in the status part. As such, if your request is
-// updating a private video, and the request's part parameter value
-// includes the status part, the video's privacy setting will be
-// updated to whatever value the request body specifies. If the
-// request body does not specify a value, the existing privacy setting
-// will be removed and the video will revert to the default privacy
-// setting. In addition, not all parts contain properties that can be
-// set when inserting or updating a video. For example, the statistics
-// object encapsulates statistics that YouTube calculates for a video
-// and does not contain values that you can set or modify. If the
-// parameter value specifies a part that does not contain mutable
-// values, that part will still be included in the API response.
+// - part: The *part* parameter serves two purposes in this operation.
+// It identifies the properties that the write operation will set as
+// well as the properties that the API response will include. Note
+// that this method will override the existing values for all of the
+// mutable properties that are contained in any parts that the
+// parameter value specifies. For example, a video's privacy setting
+// is contained in the status part. As such, if your request is
+// updating a private video, and the request's part parameter value
+// includes the status part, the video's privacy setting will be
+// updated to whatever value the request body specifies. If the
+// request body does not specify a value, the existing privacy setting
+// will be removed and the video will revert to the default privacy
+// setting. In addition, not all parts contain properties that can be
+// set when inserting or updating a video. For example, the statistics
+// object encapsulates statistics that YouTube calculates for a video
+// and does not contain values that you can set or modify. If the
+// parameter value specifies a part that does not contain mutable
+// values, that part will still be included in the API response.
func (r *VideosService) Update(part []string, video *Video) *VideosUpdateCall {
c := &VideosUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.urlParams_.SetMulti("part", append([]string{}, part...))
diff --git a/youtubeanalytics/v1/youtubeanalytics-gen.go b/youtubeanalytics/v1/youtubeanalytics-gen.go
index 813e59ea60e..1b5ac707b58 100644
--- a/youtubeanalytics/v1/youtubeanalytics-gen.go
+++ b/youtubeanalytics/v1/youtubeanalytics-gen.go
@@ -8,31 +8,31 @@
//
// For product documentation, see: https://developers.google.com/youtube/analytics
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/youtubeanalytics/v1"
-// ...
-// ctx := context.Background()
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx)
+// import "google.golang.org/api/youtubeanalytics/v1"
+// ...
+// ctx := context.Background()
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithAPIKey("AIza..."))
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package youtubeanalytics // import "google.golang.org/api/youtubeanalytics/v1"
diff --git a/youtubeanalytics/v1beta1/youtubeanalytics-gen.go b/youtubeanalytics/v1beta1/youtubeanalytics-gen.go
index bc686dcac74..805a90ffb96 100644
--- a/youtubeanalytics/v1beta1/youtubeanalytics-gen.go
+++ b/youtubeanalytics/v1beta1/youtubeanalytics-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: http://developers.google.com/youtube/analytics/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/youtubeanalytics/v1beta1"
-// ...
-// ctx := context.Background()
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx)
+// import "google.golang.org/api/youtubeanalytics/v1beta1"
+// ...
+// ctx := context.Background()
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithScopes(youtubeanalytics.YtAnalyticsReadonlyScope))
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithScopes(youtubeanalytics.YtAnalyticsReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithAPIKey("AIza..."))
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package youtubeanalytics // import "google.golang.org/api/youtubeanalytics/v1beta1"
diff --git a/youtubeanalytics/v2/youtubeanalytics-gen.go b/youtubeanalytics/v2/youtubeanalytics-gen.go
index 80330ae30a1..360dfbed410 100644
--- a/youtubeanalytics/v2/youtubeanalytics-gen.go
+++ b/youtubeanalytics/v2/youtubeanalytics-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/youtube/analytics
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/youtubeanalytics/v2"
-// ...
-// ctx := context.Background()
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx)
+// import "google.golang.org/api/youtubeanalytics/v2"
+// ...
+// ctx := context.Background()
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithScopes(youtubeanalytics.YtAnalyticsReadonlyScope))
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithScopes(youtubeanalytics.YtAnalyticsReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithAPIKey("AIza..."))
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// youtubeanalyticsService, err := youtubeanalytics.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package youtubeanalytics // import "google.golang.org/api/youtubeanalytics/v2"
diff --git a/youtubereporting/v1/youtubereporting-gen.go b/youtubereporting/v1/youtubereporting-gen.go
index 067db30ce72..e1a39249660 100644
--- a/youtubereporting/v1/youtubereporting-gen.go
+++ b/youtubereporting/v1/youtubereporting-gen.go
@@ -8,35 +8,35 @@
//
// For product documentation, see: https://developers.google.com/youtube/reporting/v1/reports/
//
-// Creating a client
+// # Creating a client
//
// Usage example:
//
-// import "google.golang.org/api/youtubereporting/v1"
-// ...
-// ctx := context.Background()
-// youtubereportingService, err := youtubereporting.NewService(ctx)
+// import "google.golang.org/api/youtubereporting/v1"
+// ...
+// ctx := context.Background()
+// youtubereportingService, err := youtubereporting.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
-// Other authentication options
+// # Other authentication options
//
// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
//
-// youtubereportingService, err := youtubereporting.NewService(ctx, option.WithScopes(youtubereporting.YtAnalyticsReadonlyScope))
+// youtubereportingService, err := youtubereporting.NewService(ctx, option.WithScopes(youtubereporting.YtAnalyticsReadonlyScope))
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
-// youtubereportingService, err := youtubereporting.NewService(ctx, option.WithAPIKey("AIza..."))
+// youtubereportingService, err := youtubereporting.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
-// config := &oauth2.Config{...}
-// // ...
-// token, err := config.Exchange(ctx, ...)
-// youtubereportingService, err := youtubereporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
+// config := &oauth2.Config{...}
+// // ...
+// token, err := config.Exchange(ctx, ...)
+// youtubereportingService, err := youtubereporting.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package youtubereporting // import "google.golang.org/api/youtubereporting/v1"