diff --git a/CHANGES.md b/CHANGES.md index f93436ac6f0..6de05aaace4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,44 @@ # Changes +## [0.94.0](https://github.com/googleapis/google-api-go-client/compare/v0.93.0...v0.94.0) (2022-08-23) + + +### Features + +* **all:** auto-regenerate discovery clients, refs [#1676](https://github.com/googleapis/google-api-go-client/issues/1676) [#1673](https://github.com/googleapis/google-api-go-client/issues/1673) [#1672](https://github.com/googleapis/google-api-go-client/issues/1672) [#1671](https://github.com/googleapis/google-api-go-client/issues/1671) [#1667](https://github.com/googleapis/google-api-go-client/issues/1667) + + +### Bug Fixes + +* **storage:** *int64 instead of int64 for Age cond ([#1598](https://github.com/googleapis/google-api-go-client/issues/1598)) ([9ea025d](https://github.com/googleapis/google-api-go-client/commit/9ea025dcfe9b67a95e08f4ec94ed4fb6a9767b8c)) + + +### Documentation + +* **option:** clarify behavior of WithScopes ([#1670](https://github.com/googleapis/google-api-go-client/issues/1670)) ([07ceb9d](https://github.com/googleapis/google-api-go-client/commit/07ceb9d607c85ffaa5bea97be66cf9d426ec55bb)), refs [#1644](https://github.com/googleapis/google-api-go-client/issues/1644) + +## [0.93.0](https://github.com/googleapis/google-api-go-client/compare/v0.92.0...v0.93.0) (2022-08-16) + + +### Features + +* **all:** auto-regenerate discovery clients, refs [#1664](https://github.com/googleapis/google-api-go-client/issues/1664) [#1662](https://github.com/googleapis/google-api-go-client/issues/1662) [#1661](https://github.com/googleapis/google-api-go-client/issues/1661) [#1652](https://github.com/googleapis/google-api-go-client/issues/1652) +* **google-api-go-generator:** Change field PaymentState to pointer ([#1663](https://github.com/googleapis/google-api-go-client/issues/1663)) ([d6ee425](https://github.com/googleapis/google-api-go-client/commit/d6ee425a65668ee28ff97c6fb70f3497865d6572)), refs [#727](https://github.com/googleapis/google-api-go-client/issues/727) + +## [0.92.0](https://github.com/googleapis/google-api-go-client/compare/v0.91.0...v0.92.0) (2022-08-10) + + +### Features + +* **all:** auto-regenerate discovery clients, refs [#1649](https://github.com/googleapis/google-api-go-client/issues/1649) [#1646](https://github.com/googleapis/google-api-go-client/issues/1646) [#1645](https://github.com/googleapis/google-api-go-client/issues/1645) [#1643](https://github.com/googleapis/google-api-go-client/issues/1643) [#1641](https://github.com/googleapis/google-api-go-client/issues/1641) + +## [0.91.0](https://github.com/googleapis/google-api-go-client/compare/v0.90.0...v0.91.0) (2022-08-01) + + +### Features + +* **all:** auto-regenerate discovery clients, refs [#1639](https://github.com/googleapis/google-api-go-client/issues/1639) [#1637](https://github.com/googleapis/google-api-go-client/issues/1637) + ## [0.90.0](https://github.com/googleapis/google-api-go-client/compare/v0.89.0...v0.90.0) (2022-07-28) 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: //
    -//
  1. [not set]: Requests that are pending or have active +// +//
  2. [not set]: Requests that are pending or have active +// // approvals.
  3. -//
  4. ALL: All requests.
  5. -//
  6. PENDING: Only pending requests.
  7. -//
  8. ACTIVE: Only active (i.e. currently approved) requests.
  9. -//
  10. DISMISSED: Only dismissed (including expired) requests.
  11. -//
  12. HISTORY: Active and dismissed (including expired) +// +//
  13. ALL: All requests.
  14. +//
  15. PENDING: Only pending requests.
  16. +//
  17. ACTIVE: Only active (i.e. currently approved) requests.
  18. +//
  19. DISMISSED: Only dismissed (including expired) requests.
  20. +//
  21. HISTORY: Active and dismissed (including expired) +// // requests.
  22. //
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: //
    -//
  1. [not set]: Requests that are pending or have active +// +//
  2. [not set]: Requests that are pending or have active +// // approvals.
  3. -//
  4. ALL: All requests.
  5. -//
  6. PENDING: Only pending requests.
  7. -//
  8. ACTIVE: Only active (i.e. currently approved) requests.
  9. -//
  10. DISMISSED: Only dismissed (including expired) requests.
  11. -//
  12. HISTORY: Active and dismissed (including expired) +// +//
  13. ALL: All requests.
  14. +//
  15. PENDING: Only pending requests.
  16. +//
  17. ACTIVE: Only active (i.e. currently approved) requests.
  18. +//
  19. DISMISSED: Only dismissed (including expired) requests.
  20. +//
  21. HISTORY: Active and dismissed (including expired) +// // requests.
  22. //
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: //
    -//
  1. [not set]: Requests that are pending or have active +// +//
  2. [not set]: Requests that are pending or have active +// // approvals.
  3. -//
  4. ALL: All requests.
  5. -//
  6. PENDING: Only pending requests.
  7. -//
  8. ACTIVE: Only active (i.e. currently approved) requests.
  9. -//
  10. DISMISSED: Only dismissed (including expired) requests.
  11. -//
  12. HISTORY: Active and dismissed (including expired) +// +//
  13. ALL: All requests.
  14. +//
  15. PENDING: Only pending requests.
  16. +//
  17. ACTIVE: Only active (i.e. currently approved) requests.
  18. +//
  19. DISMISSED: Only dismissed (including expired) requests.
  20. +//
  21. HISTORY: Active and dismissed (including expired) +// // requests.
  22. //
func (c *ProjectsApprovalRequestsListCall) Filter(filter string) *ProjectsApprovalRequestsListCall { diff --git a/accesscontextmanager/v1/accesscontextmanager-api.json b/accesscontextmanager/v1/accesscontextmanager-api.json index b79f8270695..3044f42266f 100644 --- a/accesscontextmanager/v1/accesscontextmanager-api.json +++ b/accesscontextmanager/v1/accesscontextmanager-api.json @@ -1083,7 +1083,7 @@ } } }, - "revision": "20220620", + "revision": "20220806", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessContextManagerOperationMetadata": { @@ -1250,7 +1250,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, diff --git a/accesscontextmanager/v1/accesscontextmanager-gen.go b/accesscontextmanager/v1/accesscontextmanager-gen.go index 8b1bafbf5b0..35fd9cdd46d 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" @@ -531,16 +531,20 @@ type Binding struct { // who is authenticated with a Google account or a service account. * // `user:{emailid}`: An email address that represents a specific Google // account. For example, `alice@example.com` . * - // `serviceAccount:{emailid}`: An email address that represents a + // `serviceAccount:{emailid}`: An email address that represents a Google // service account. For example, - // `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An - // email address that represents a Google group. For example, - // `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An - // email address (plus unique identifier) representing a user that has - // been recently deleted. For example, - // `alice@example.com?uid=123456789012345678901`. If the user is - // recovered, this value reverts to `user:{emailid}` and the recovered - // user retains the role in the binding. * + // `my-other-app@appspot.gserviceaccount.com`. * + // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: + // An identifier for a Kubernetes service account + // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). + // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. + // * `group:{emailid}`: An email address that represents a Google group. + // For example, `admins@example.com`. * + // `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus + // unique identifier) representing a user that has been recently + // deleted. For example, `alice@example.com?uid=123456789012345678901`. + // If the user is recovered, this value reverts to `user:{emailid}` and + // the recovered user retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address // (plus unique identifier) representing a service account that has been // recently deleted. For example, @@ -2430,8 +2434,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 +2568,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 +2716,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 +3053,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 +3213,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 +3361,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 +3509,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 +3653,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 +3787,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 +3804,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 +3974,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 +3988,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 +4208,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 +4375,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 +4521,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 +4678,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 +4826,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 +4970,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 +5105,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 +5253,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 +5451,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 +5617,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 +5763,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 +6703,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 +6837,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 +7183,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-api.json b/admin/directory/v1/admin-api.json index 124a8e4f7e5..6107a240a9b 100644 --- a/admin/directory/v1/admin-api.json +++ b/admin/directory/v1/admin-api.json @@ -493,7 +493,7 @@ ], "parameters": { "customerId": { - "description": "Immutable ID of the Google Workspace account", + "description": "Immutable. ID of the Google Workspace account", "location": "path", "required": true, "type": "string" @@ -626,13 +626,13 @@ ], "parameters": { "customerId": { - "description": "Immutable. Immutable ID of the Google Workspace account.", + "description": "Immutable. ID of the Google Workspace account.", "location": "path", "required": true, "type": "string" }, "deviceId": { - "description": "Immutable. Immutable ID of Chrome OS Device.", + "description": "Immutable. ID of Chrome OS Device.", "location": "path", "required": true, "type": "string" @@ -665,20 +665,20 @@ ], "parameters": { "commandId": { - "description": "Immutable. Immutable ID of Chrome OS Device Command.", + "description": "Immutable. ID of Chrome OS Device Command.", "format": "int64", "location": "path", "required": true, "type": "string" }, "customerId": { - "description": "Immutable. Immutable ID of the Google Workspace account.", + "description": "Immutable. ID of the Google Workspace account.", "location": "path", "required": true, "type": "string" }, "deviceId": { - "description": "Immutable. Immutable ID of Chrome OS Device.", + "description": "Immutable. ID of Chrome OS Device.", "location": "path", "required": true, "type": "string" @@ -1648,7 +1648,7 @@ ] }, "hasMember": { - "description": "Checks whether the given user is a member of the group. Membership can be direct or nested.", + "description": "Checks whether the given user is a member of the group. Membership can be direct or nested, but if nested, the `memberKey` and `groupKey` must be entities in the same domain or an `Invalid input` error is returned. To check for nested memberships that include entities outside of the group's domain, use the [`checkTransitiveMembership()`](https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/checkTransitiveMembership) method in the Cloud Identity Groups API.", "flatPath": "admin/directory/v1/groups/{groupKey}/hasMember/{memberKey}", "httpMethod": "GET", "id": "directory.members.hasMember", @@ -4407,7 +4407,7 @@ } } }, - "revision": "20220621", + "revision": "20220816", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -4873,7 +4873,7 @@ "additionalProperties": { "type": "string" }, - "description": "Additional parameters controlling delivery channel behavior. Optional.", + "description": "Additional parameters controlling delivery channel behavior. Optional. For example, `params.ttl` specifies the time-to-live in seconds for the notification channel, where the default is 2 hours and the maximum TTL is 2 days.", "type": "object" }, "payload": { @@ -5131,6 +5131,10 @@ "description": "The Chrome device's firmware version.", "type": "string" }, + "firstEnrollmentTime": { + "description": "Date and time for the first time the device was enrolled.", + "type": "string" + }, "kind": { "default": "admin#directory#chromeosdevice", "description": "The type of resource. For the Chromeosdevices resource, the value is `admin#directory#chromeosdevice`.", @@ -5196,6 +5200,10 @@ "description": "The full parent path with the organizational unit's name associated with the device. Path names are case insensitive. If the parent organizational unit is the top-level organization, it is represented as a forward slash, `/`. This property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For more information about how to create an organizational structure for your device, see the [administration help center](https://support.google.com/a/answer/182433).", "type": "string" }, + "osUpdateStatus": { + "$ref": "OsUpdateStatus", + "description": "The status of the OS updates for the device." + }, "osVersion": { "description": "The Chrome device's operating system version.", "type": "string" @@ -5325,6 +5333,7 @@ "type": "object" }, "ChromeOsDeviceAction": { + "description": "The data regarding an action to update the status of a Chrome OS device.", "id": "ChromeOsDeviceAction", "properties": { "action": { @@ -5914,7 +5923,7 @@ "type": "boolean" }, "aliases": { - "description": "Read-only. A list of a group's alias email addresses.", + "description": "Read-only. A list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request, the edit is ignored.", "items": { "type": "string" }, @@ -5956,7 +5965,7 @@ "type": "string" }, "nonEditableAliases": { - "description": "Read-only. A list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by the group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored by the API service.", + "description": "Read-only. A list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by the group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.", "items": { "type": "string" }, @@ -5965,6 +5974,33 @@ }, "type": "object" }, + "GroupAlias": { + "description": "The Directory API manages aliases, which are alternative email addresses.", + "id": "GroupAlias", + "properties": { + "alias": { + "description": "The alias email address.", + "type": "string" + }, + "etag": { + "description": "ETag of the resource.", + "type": "string" + }, + "id": { + "description": "The unique ID of the group.", + "type": "string" + }, + "kind": { + "description": "The type of the API resource. For Alias resources, the value is `admin#directory#alias`.", + "type": "string" + }, + "primaryEmail": { + "description": "The primary email address of the group.", + "type": "string" + } + }, + "type": "object" + }, "Groups": { "id": "Groups", "properties": { @@ -6426,6 +6462,49 @@ }, "type": "object" }, + "OsUpdateStatus": { + "description": "Contains information regarding the current OS update status.", + "id": "OsUpdateStatus", + "properties": { + "rebootTime": { + "description": "Date and time of the last reboot.", + "type": "string" + }, + "state": { + "description": "The update state of an OS update.", + "enum": [ + "updateStateUnspecified", + "updateStateNotStarted", + "updateStateDownloadInProgress", + "updateStateNeedReboot" + ], + "enumDescriptions": [ + "The update state is unspecified.", + "There is an update pending but it hasn't started.", + "The pending update is being downloaded.", + "The device is ready to install the update, but it just needs to reboot." + ], + "type": "string" + }, + "targetKioskAppVersion": { + "description": "New required platform version from the pending updated kiosk app.", + "type": "string" + }, + "targetOsVersion": { + "description": "New platform version of the OS image being downloaded and applied. It is only set when update status is UPDATE_STATUS_DOWNLOAD_IN_PROGRESS or UPDATE_STATUS_NEED_REBOOT. Note this could be a dummy \"0.0.0.0\" for UPDATE_STATUS_NEED_REBOOT for some edge cases, e.g. update engine is restarted without a reboot.", + "type": "string" + }, + "updateCheckTime": { + "description": "Date and time of the last update check.", + "type": "string" + }, + "updateTime": { + "description": "Date and time of the last successful OS update.", + "type": "string" + } + }, + "type": "object" + }, "Printer": { "description": "Printer configuration.", "id": "Printer", @@ -6999,7 +7078,7 @@ "type": "any" }, "hashFunction": { - "description": "Stores the hash format of the `password` property. The following `hashFunction` values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA1` - Accepts simple hex-encoded values. * `crypt` - Compliant with the [C crypt library](https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 (hash prefix `$1$`), SHA-256 (hash prefix `$5$`), and SHA-512 (hash prefix `$6$`) hash algorithms. If rounds are specified as part of the prefix, they must be 10,000 or fewer.", + "description": "Stores the hash format of the `password` property. The following `hashFunction` values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA-1` - Accepts simple hex-encoded values. * `crypt` - Compliant with the [C crypt library](https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 (hash prefix `$1$`), SHA-256 (hash prefix `$5$`), and SHA-512 (hash prefix `$6$`) hash algorithms. If rounds are specified as part of the prefix, they must be 10,000 or fewer.", "type": "string" }, "id": { @@ -7238,6 +7317,33 @@ }, "type": "object" }, + "UserAlias": { + "description": "The Directory API manages aliases, which are alternative email addresses.", + "id": "UserAlias", + "properties": { + "alias": { + "description": "The alias email address.", + "type": "string" + }, + "etag": { + "description": "ETag of the resource.", + "type": "string" + }, + "id": { + "description": "The unique ID for the user.", + "type": "string" + }, + "kind": { + "description": "The type of the API resource. For Alias resources, the value is `admin#directory#alias`.", + "type": "string" + }, + "primaryEmail": { + "description": "The user's primary email address.", + "type": "string" + } + }, + "type": "object" + }, "UserCustomProperties": { "additionalProperties": { "type": "any" diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index 3edac477b1d..62af1d8edf9 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" @@ -1326,7 +1326,9 @@ type Channel struct { Kind string `json:"kind,omitempty"` // Params: Additional parameters controlling delivery channel behavior. - // Optional. + // Optional. For example, `params.ttl` specifies the time-to-live in + // seconds for the notification channel, where the default is 2 hours + // and the maximum TTL is 2 days. Params map[string]string `json:"params,omitempty"` // Payload: A Boolean value to indicate whether payload is wanted. @@ -1449,6 +1451,10 @@ type ChromeOsDevice struct { // FirmwareVersion: The Chrome device's firmware version. FirmwareVersion string `json:"firmwareVersion,omitempty"` + // FirstEnrollmentTime: Date and time for the first time the device was + // enrolled. + FirstEnrollmentTime string `json:"firstEnrollmentTime,omitempty"` + // Kind: The type of resource. For the Chromeosdevices resource, the // value is `admin#directory#chromeosdevice`. Kind string `json:"kind,omitempty"` @@ -1521,6 +1527,9 @@ type ChromeOsDevice struct { // center (https://support.google.com/a/answer/182433). OrgUnitPath string `json:"orgUnitPath,omitempty"` + // OsUpdateStatus: The status of the OS updates for the device. + OsUpdateStatus *OsUpdateStatus `json:"osUpdateStatus,omitempty"` + // OsVersion: The Chrome device's operating system version. OsVersion string `json:"osVersion,omitempty"` @@ -2062,6 +2071,8 @@ func (s *ChromeOsDeviceTpmVersionInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ChromeOsDeviceAction: The data regarding an action to update the +// status of a Chrome OS device. type ChromeOsDeviceAction struct { // Action: Action to be taken on the Chrome OS device. Action string `json:"action,omitempty"` @@ -2993,7 +3004,10 @@ type Group struct { // an administrator rather than a user. AdminCreated bool `json:"adminCreated,omitempty"` - // Aliases: Read-only. A list of a group's alias email addresses. + // Aliases: Read-only. A list of a group's alias email addresses. To + // add, update, or remove a group's aliases, use the `groups.aliases` + // methods. If edited in a group's POST or PUT request, the edit is + // ignored. Aliases []string `json:"aliases,omitempty"` // Description: An extended description to help users determine the @@ -3036,7 +3050,7 @@ type Group struct { // domain or subdomains. These are functioning email addresses used by // the group. This is a read-only property returned in the API's // response for a group. If edited in a group's POST or PUT request, the - // edit is ignored by the API service. + // edit is ignored. NonEditableAliases []string `json:"nonEditableAliases,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -3066,6 +3080,48 @@ func (s *Group) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GroupAlias: The Directory API manages aliases, which are alternative +// email addresses. +type GroupAlias struct { + // Alias: The alias email address. + Alias string `json:"alias,omitempty"` + + // Etag: ETag of the resource. + Etag string `json:"etag,omitempty"` + + // Id: The unique ID of the group. + Id string `json:"id,omitempty"` + + // Kind: The type of the API resource. For Alias resources, the value is + // `admin#directory#alias`. + Kind string `json:"kind,omitempty"` + + // PrimaryEmail: The primary email address of the group. + PrimaryEmail string `json:"primaryEmail,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Alias") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GroupAlias) MarshalJSON() ([]byte, error) { + type NoMethod GroupAlias + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type Groups struct { // Etag: ETag of the resource. Etag string `json:"etag,omitempty"` @@ -3766,6 +3822,64 @@ func (s *OrgUnits) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// OsUpdateStatus: Contains information regarding the current OS update +// status. +type OsUpdateStatus struct { + // RebootTime: Date and time of the last reboot. + RebootTime string `json:"rebootTime,omitempty"` + + // State: The update state of an OS update. + // + // Possible values: + // "updateStateUnspecified" - The update state is unspecified. + // "updateStateNotStarted" - There is an update pending but it hasn't + // started. + // "updateStateDownloadInProgress" - The pending update is being + // downloaded. + // "updateStateNeedReboot" - The device is ready to install the + // update, but it just needs to reboot. + State string `json:"state,omitempty"` + + // TargetKioskAppVersion: New required platform version from the pending + // updated kiosk app. + TargetKioskAppVersion string `json:"targetKioskAppVersion,omitempty"` + + // TargetOsVersion: New platform version of the OS image being + // downloaded and applied. It is only set when update status is + // UPDATE_STATUS_DOWNLOAD_IN_PROGRESS or UPDATE_STATUS_NEED_REBOOT. Note + // this could be a dummy "0.0.0.0" for UPDATE_STATUS_NEED_REBOOT for + // some edge cases, e.g. update engine is restarted without a reboot. + TargetOsVersion string `json:"targetOsVersion,omitempty"` + + // UpdateCheckTime: Date and time of the last update check. + UpdateCheckTime string `json:"updateCheckTime,omitempty"` + + // UpdateTime: Date and time of the last successful OS update. + UpdateTime string `json:"updateTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "RebootTime") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "RebootTime") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *OsUpdateStatus) MarshalJSON() ([]byte, error) { + type NoMethod OsUpdateStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Printer: Printer configuration. type Printer struct { // AuxiliaryMessages: Output only. Auxiliary messages about issues with @@ -4556,7 +4670,7 @@ type User struct { // HashFunction: Stores the hash format of the `password` property. The // following `hashFunction` values are allowed: * `MD5` - Accepts simple - // hex-encoded values. * `SHA1` - Accepts simple hex-encoded values. * + // hex-encoded values. * `SHA-1` - Accepts simple hex-encoded values. * // `crypt` - Compliant with the C crypt library // (https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 // (hash prefix `$1$`), SHA-256 (hash prefix `$5$`), and SHA-512 (hash @@ -4848,6 +4962,48 @@ func (s *UserAddress) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// UserAlias: The Directory API manages aliases, which are alternative +// email addresses. +type UserAlias struct { + // Alias: The alias email address. + Alias string `json:"alias,omitempty"` + + // Etag: ETag of the resource. + Etag string `json:"etag,omitempty"` + + // Id: The unique ID for the user. + Id string `json:"id,omitempty"` + + // Kind: The type of the API resource. For Alias resources, the value is + // `admin#directory#alias`. + Kind string `json:"kind,omitempty"` + + // PrimaryEmail: The user's primary email address. + PrimaryEmail string `json:"primaryEmail,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Alias") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *UserAlias) MarshalJSON() ([]byte, error) { + type NoMethod UserAlias + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // UserEmail: JSON template for an email. type UserEmail struct { // Address: Email id of the user. @@ -5713,10 +5869,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 @@ -5831,10 +5987,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 @@ -5989,9 +6145,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 @@ -6248,14 +6404,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 @@ -6378,14 +6534,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 @@ -6398,9 +6554,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 @@ -6567,11 +6726,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 @@ -6598,18 +6757,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