...

Package cloudprivatecatalogproducer

import "google.golang.org/api/cloudprivatecatalogproducer/v1beta1"
Overview
Index

Overview ▾

Package cloudprivatecatalogproducer provides access to the Cloud Private Catalog Producer API.

For product documentation, see: https://cloud.google.com/private-catalog/

Creating a client

Usage example:

import "google.golang.org/api/cloudprivatecatalogproducer/v1beta1"
...
ctx := context.Background()
cloudprivatecatalogproducerService, err := cloudprivatecatalogproducer.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

cloudprivatecatalogproducerService, err := cloudprivatecatalogproducer.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
cloudprivatecatalogproducerService, err := cloudprivatecatalogproducer.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index ▾

Constants
type CatalogsAssociationsCreateCall
    func (c *CatalogsAssociationsCreateCall) Context(ctx context.Context) *CatalogsAssociationsCreateCall
    func (c *CatalogsAssociationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Association, error)
    func (c *CatalogsAssociationsCreateCall) Fields(s ...googleapi.Field) *CatalogsAssociationsCreateCall
    func (c *CatalogsAssociationsCreateCall) Header() http.Header
type CatalogsAssociationsDeleteCall
    func (c *CatalogsAssociationsDeleteCall) Context(ctx context.Context) *CatalogsAssociationsDeleteCall
    func (c *CatalogsAssociationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *CatalogsAssociationsDeleteCall) Fields(s ...googleapi.Field) *CatalogsAssociationsDeleteCall
    func (c *CatalogsAssociationsDeleteCall) Header() http.Header
type CatalogsAssociationsGetCall
    func (c *CatalogsAssociationsGetCall) Context(ctx context.Context) *CatalogsAssociationsGetCall
    func (c *CatalogsAssociationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Association, error)
    func (c *CatalogsAssociationsGetCall) Fields(s ...googleapi.Field) *CatalogsAssociationsGetCall
    func (c *CatalogsAssociationsGetCall) Header() http.Header
    func (c *CatalogsAssociationsGetCall) IfNoneMatch(entityTag string) *CatalogsAssociationsGetCall
type CatalogsAssociationsListCall
    func (c *CatalogsAssociationsListCall) Context(ctx context.Context) *CatalogsAssociationsListCall
    func (c *CatalogsAssociationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse, error)
    func (c *CatalogsAssociationsListCall) Fields(s ...googleapi.Field) *CatalogsAssociationsListCall
    func (c *CatalogsAssociationsListCall) Header() http.Header
    func (c *CatalogsAssociationsListCall) IfNoneMatch(entityTag string) *CatalogsAssociationsListCall
    func (c *CatalogsAssociationsListCall) PageSize(pageSize int64) *CatalogsAssociationsListCall
    func (c *CatalogsAssociationsListCall) PageToken(pageToken string) *CatalogsAssociationsListCall
    func (c *CatalogsAssociationsListCall) Pages(ctx context.Context, f func(*GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse) error) error
type CatalogsAssociationsService
    func NewCatalogsAssociationsService(s *Service) *CatalogsAssociationsService
    func (r *CatalogsAssociationsService) Create(parent string, googlecloudprivatecatalogproducerv1beta1createassociationrequest *GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest) *CatalogsAssociationsCreateCall
    func (r *CatalogsAssociationsService) Delete(name string) *CatalogsAssociationsDeleteCall
    func (r *CatalogsAssociationsService) Get(name string) *CatalogsAssociationsGetCall
    func (r *CatalogsAssociationsService) List(parent string) *CatalogsAssociationsListCall
type CatalogsCreateCall
    func (c *CatalogsCreateCall) Context(ctx context.Context) *CatalogsCreateCall
    func (c *CatalogsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *CatalogsCreateCall) Fields(s ...googleapi.Field) *CatalogsCreateCall
    func (c *CatalogsCreateCall) Header() http.Header
type CatalogsDeleteCall
    func (c *CatalogsDeleteCall) Context(ctx context.Context) *CatalogsDeleteCall
    func (c *CatalogsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Catalog, error)
    func (c *CatalogsDeleteCall) Fields(s ...googleapi.Field) *CatalogsDeleteCall
    func (c *CatalogsDeleteCall) Force(force bool) *CatalogsDeleteCall
    func (c *CatalogsDeleteCall) Header() http.Header
type CatalogsGetCall
    func (c *CatalogsGetCall) Context(ctx context.Context) *CatalogsGetCall
    func (c *CatalogsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Catalog, error)
    func (c *CatalogsGetCall) Fields(s ...googleapi.Field) *CatalogsGetCall
    func (c *CatalogsGetCall) Header() http.Header
    func (c *CatalogsGetCall) IfNoneMatch(entityTag string) *CatalogsGetCall
type CatalogsGetIamPolicyCall
    func (c *CatalogsGetIamPolicyCall) Context(ctx context.Context) *CatalogsGetIamPolicyCall
    func (c *CatalogsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
    func (c *CatalogsGetIamPolicyCall) Fields(s ...googleapi.Field) *CatalogsGetIamPolicyCall
    func (c *CatalogsGetIamPolicyCall) Header() http.Header
    func (c *CatalogsGetIamPolicyCall) IfNoneMatch(entityTag string) *CatalogsGetIamPolicyCall
    func (c *CatalogsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *CatalogsGetIamPolicyCall
type CatalogsListCall
    func (c *CatalogsListCall) Context(ctx context.Context) *CatalogsListCall
    func (c *CatalogsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse, error)
    func (c *CatalogsListCall) Fields(s ...googleapi.Field) *CatalogsListCall
    func (c *CatalogsListCall) Header() http.Header
    func (c *CatalogsListCall) IfNoneMatch(entityTag string) *CatalogsListCall
    func (c *CatalogsListCall) PageSize(pageSize int64) *CatalogsListCall
    func (c *CatalogsListCall) PageToken(pageToken string) *CatalogsListCall
    func (c *CatalogsListCall) Pages(ctx context.Context, f func(*GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse) error) error
    func (c *CatalogsListCall) Parent(parent string) *CatalogsListCall
type CatalogsPatchCall
    func (c *CatalogsPatchCall) Context(ctx context.Context) *CatalogsPatchCall
    func (c *CatalogsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Catalog, error)
    func (c *CatalogsPatchCall) Fields(s ...googleapi.Field) *CatalogsPatchCall
    func (c *CatalogsPatchCall) Header() http.Header
    func (c *CatalogsPatchCall) UpdateMask(updateMask string) *CatalogsPatchCall
type CatalogsProductsCopyCall
    func (c *CatalogsProductsCopyCall) Context(ctx context.Context) *CatalogsProductsCopyCall
    func (c *CatalogsProductsCopyCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *CatalogsProductsCopyCall) Fields(s ...googleapi.Field) *CatalogsProductsCopyCall
    func (c *CatalogsProductsCopyCall) Header() http.Header
type CatalogsProductsCreateCall
    func (c *CatalogsProductsCreateCall) Context(ctx context.Context) *CatalogsProductsCreateCall
    func (c *CatalogsProductsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Product, error)
    func (c *CatalogsProductsCreateCall) Fields(s ...googleapi.Field) *CatalogsProductsCreateCall
    func (c *CatalogsProductsCreateCall) Header() http.Header
type CatalogsProductsDeleteCall
    func (c *CatalogsProductsDeleteCall) Context(ctx context.Context) *CatalogsProductsDeleteCall
    func (c *CatalogsProductsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *CatalogsProductsDeleteCall) Fields(s ...googleapi.Field) *CatalogsProductsDeleteCall
    func (c *CatalogsProductsDeleteCall) Header() http.Header
type CatalogsProductsGetCall
    func (c *CatalogsProductsGetCall) Context(ctx context.Context) *CatalogsProductsGetCall
    func (c *CatalogsProductsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Product, error)
    func (c *CatalogsProductsGetCall) Fields(s ...googleapi.Field) *CatalogsProductsGetCall
    func (c *CatalogsProductsGetCall) Header() http.Header
    func (c *CatalogsProductsGetCall) IfNoneMatch(entityTag string) *CatalogsProductsGetCall
type CatalogsProductsIconsService
    func NewCatalogsProductsIconsService(s *Service) *CatalogsProductsIconsService
    func (r *CatalogsProductsIconsService) Upload(product string, googlecloudprivatecatalogproducerv1beta1uploadiconrequest *GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest) *CatalogsProductsIconsUploadCall
type CatalogsProductsIconsUploadCall
    func (c *CatalogsProductsIconsUploadCall) Context(ctx context.Context) *CatalogsProductsIconsUploadCall
    func (c *CatalogsProductsIconsUploadCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *CatalogsProductsIconsUploadCall) Fields(s ...googleapi.Field) *CatalogsProductsIconsUploadCall
    func (c *CatalogsProductsIconsUploadCall) Header() http.Header
type CatalogsProductsListCall
    func (c *CatalogsProductsListCall) Context(ctx context.Context) *CatalogsProductsListCall
    func (c *CatalogsProductsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse, error)
    func (c *CatalogsProductsListCall) Fields(s ...googleapi.Field) *CatalogsProductsListCall
    func (c *CatalogsProductsListCall) Filter(filter string) *CatalogsProductsListCall
    func (c *CatalogsProductsListCall) Header() http.Header
    func (c *CatalogsProductsListCall) IfNoneMatch(entityTag string) *CatalogsProductsListCall
    func (c *CatalogsProductsListCall) PageSize(pageSize int64) *CatalogsProductsListCall
    func (c *CatalogsProductsListCall) PageToken(pageToken string) *CatalogsProductsListCall
    func (c *CatalogsProductsListCall) Pages(ctx context.Context, f func(*GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse) error) error
type CatalogsProductsPatchCall
    func (c *CatalogsProductsPatchCall) Context(ctx context.Context) *CatalogsProductsPatchCall
    func (c *CatalogsProductsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Product, error)
    func (c *CatalogsProductsPatchCall) Fields(s ...googleapi.Field) *CatalogsProductsPatchCall
    func (c *CatalogsProductsPatchCall) Header() http.Header
    func (c *CatalogsProductsPatchCall) UpdateMask(updateMask string) *CatalogsProductsPatchCall
type CatalogsProductsService
    func NewCatalogsProductsService(s *Service) *CatalogsProductsService
    func (r *CatalogsProductsService) Copy(name string, googlecloudprivatecatalogproducerv1beta1copyproductrequest *GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest) *CatalogsProductsCopyCall
    func (r *CatalogsProductsService) Create(parent string, googlecloudprivatecatalogproducerv1beta1product *GoogleCloudPrivatecatalogproducerV1beta1Product) *CatalogsProductsCreateCall
    func (r *CatalogsProductsService) Delete(name string) *CatalogsProductsDeleteCall
    func (r *CatalogsProductsService) Get(name string) *CatalogsProductsGetCall
    func (r *CatalogsProductsService) List(parent string) *CatalogsProductsListCall
    func (r *CatalogsProductsService) Patch(nameid string, googlecloudprivatecatalogproducerv1beta1product *GoogleCloudPrivatecatalogproducerV1beta1Product) *CatalogsProductsPatchCall
type CatalogsProductsVersionsCreateCall
    func (c *CatalogsProductsVersionsCreateCall) Context(ctx context.Context) *CatalogsProductsVersionsCreateCall
    func (c *CatalogsProductsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *CatalogsProductsVersionsCreateCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsCreateCall
    func (c *CatalogsProductsVersionsCreateCall) Header() http.Header
type CatalogsProductsVersionsDeleteCall
    func (c *CatalogsProductsVersionsDeleteCall) Context(ctx context.Context) *CatalogsProductsVersionsDeleteCall
    func (c *CatalogsProductsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *CatalogsProductsVersionsDeleteCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsDeleteCall
    func (c *CatalogsProductsVersionsDeleteCall) Header() http.Header
type CatalogsProductsVersionsGetCall
    func (c *CatalogsProductsVersionsGetCall) Context(ctx context.Context) *CatalogsProductsVersionsGetCall
    func (c *CatalogsProductsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Version, error)
    func (c *CatalogsProductsVersionsGetCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsGetCall
    func (c *CatalogsProductsVersionsGetCall) Header() http.Header
    func (c *CatalogsProductsVersionsGetCall) IfNoneMatch(entityTag string) *CatalogsProductsVersionsGetCall
type CatalogsProductsVersionsListCall
    func (c *CatalogsProductsVersionsListCall) Context(ctx context.Context) *CatalogsProductsVersionsListCall
    func (c *CatalogsProductsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse, error)
    func (c *CatalogsProductsVersionsListCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsListCall
    func (c *CatalogsProductsVersionsListCall) Header() http.Header
    func (c *CatalogsProductsVersionsListCall) IfNoneMatch(entityTag string) *CatalogsProductsVersionsListCall
    func (c *CatalogsProductsVersionsListCall) PageSize(pageSize int64) *CatalogsProductsVersionsListCall
    func (c *CatalogsProductsVersionsListCall) PageToken(pageToken string) *CatalogsProductsVersionsListCall
    func (c *CatalogsProductsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse) error) error
type CatalogsProductsVersionsPatchCall
    func (c *CatalogsProductsVersionsPatchCall) Context(ctx context.Context) *CatalogsProductsVersionsPatchCall
    func (c *CatalogsProductsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Version, error)
    func (c *CatalogsProductsVersionsPatchCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsPatchCall
    func (c *CatalogsProductsVersionsPatchCall) Header() http.Header
    func (c *CatalogsProductsVersionsPatchCall) UpdateMask(updateMask string) *CatalogsProductsVersionsPatchCall
type CatalogsProductsVersionsService
    func NewCatalogsProductsVersionsService(s *Service) *CatalogsProductsVersionsService
    func (r *CatalogsProductsVersionsService) Create(parent string, googlecloudprivatecatalogproducerv1beta1version *GoogleCloudPrivatecatalogproducerV1beta1Version) *CatalogsProductsVersionsCreateCall
    func (r *CatalogsProductsVersionsService) Delete(name string) *CatalogsProductsVersionsDeleteCall
    func (r *CatalogsProductsVersionsService) Get(name string) *CatalogsProductsVersionsGetCall
    func (r *CatalogsProductsVersionsService) List(parent string) *CatalogsProductsVersionsListCall
    func (r *CatalogsProductsVersionsService) Patch(nameid string, googlecloudprivatecatalogproducerv1beta1version *GoogleCloudPrivatecatalogproducerV1beta1Version) *CatalogsProductsVersionsPatchCall
type CatalogsService
    func NewCatalogsService(s *Service) *CatalogsService
    func (r *CatalogsService) Create(googlecloudprivatecatalogproducerv1beta1catalog *GoogleCloudPrivatecatalogproducerV1beta1Catalog) *CatalogsCreateCall
    func (r *CatalogsService) Delete(name string) *CatalogsDeleteCall
    func (r *CatalogsService) Get(name string) *CatalogsGetCall
    func (r *CatalogsService) GetIamPolicy(resource string) *CatalogsGetIamPolicyCall
    func (r *CatalogsService) List() *CatalogsListCall
    func (r *CatalogsService) Patch(nameid string, googlecloudprivatecatalogproducerv1beta1catalog *GoogleCloudPrivatecatalogproducerV1beta1Catalog) *CatalogsPatchCall
    func (r *CatalogsService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *CatalogsSetIamPolicyCall
    func (r *CatalogsService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *CatalogsTestIamPermissionsCall
    func (r *CatalogsService) Undelete(name string, googlecloudprivatecatalogproducerv1beta1undeletecatalogrequest *GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest) *CatalogsUndeleteCall
type CatalogsSetIamPolicyCall
    func (c *CatalogsSetIamPolicyCall) Context(ctx context.Context) *CatalogsSetIamPolicyCall
    func (c *CatalogsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)
    func (c *CatalogsSetIamPolicyCall) Fields(s ...googleapi.Field) *CatalogsSetIamPolicyCall
    func (c *CatalogsSetIamPolicyCall) Header() http.Header
type CatalogsTestIamPermissionsCall
    func (c *CatalogsTestIamPermissionsCall) Context(ctx context.Context) *CatalogsTestIamPermissionsCall
    func (c *CatalogsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1TestIamPermissionsResponse, error)
    func (c *CatalogsTestIamPermissionsCall) Fields(s ...googleapi.Field) *CatalogsTestIamPermissionsCall
    func (c *CatalogsTestIamPermissionsCall) Header() http.Header
type CatalogsUndeleteCall
    func (c *CatalogsUndeleteCall) Context(ctx context.Context) *CatalogsUndeleteCall
    func (c *CatalogsUndeleteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Catalog, error)
    func (c *CatalogsUndeleteCall) Fields(s ...googleapi.Field) *CatalogsUndeleteCall
    func (c *CatalogsUndeleteCall) Header() http.Header
type GoogleCloudPrivatecatalogproducerV1beta1Association
    func (s *GoogleCloudPrivatecatalogproducerV1beta1Association) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1Catalog
    func (s *GoogleCloudPrivatecatalogproducerV1beta1Catalog) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest
    func (s *GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
    func (s *GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse
    func (s *GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse
    func (s *GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
    func (s *GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
    func (s *GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1Product
    func (s *GoogleCloudPrivatecatalogproducerV1beta1Product) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest
type GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
    func (s *GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest) MarshalJSON() ([]byte, error)
type GoogleCloudPrivatecatalogproducerV1beta1Version
    func (s *GoogleCloudPrivatecatalogproducerV1beta1Version) MarshalJSON() ([]byte, error)
type GoogleIamV1AuditConfig
    func (s *GoogleIamV1AuditConfig) MarshalJSON() ([]byte, error)
type GoogleIamV1AuditLogConfig
    func (s *GoogleIamV1AuditLogConfig) MarshalJSON() ([]byte, error)
type GoogleIamV1Binding
    func (s *GoogleIamV1Binding) MarshalJSON() ([]byte, error)
type GoogleIamV1Policy
    func (s *GoogleIamV1Policy) MarshalJSON() ([]byte, error)
type GoogleIamV1SetIamPolicyRequest
    func (s *GoogleIamV1SetIamPolicyRequest) MarshalJSON() ([]byte, error)
type GoogleIamV1TestIamPermissionsRequest
    func (s *GoogleIamV1TestIamPermissionsRequest) MarshalJSON() ([]byte, error)
type GoogleIamV1TestIamPermissionsResponse
    func (s *GoogleIamV1TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
type GoogleLongrunningCancelOperationRequest
type GoogleLongrunningListOperationsResponse
    func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error)
type GoogleLongrunningOperation
    func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error)
type GoogleProtobufEmpty
type GoogleRpcStatus
    func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error)
type GoogleTypeExpr
    func (s *GoogleTypeExpr) MarshalJSON() ([]byte, error)
type OperationsCancelCall
    func (c *OperationsCancelCall) Context(ctx context.Context) *OperationsCancelCall
    func (c *OperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *OperationsCancelCall) Fields(s ...googleapi.Field) *OperationsCancelCall
    func (c *OperationsCancelCall) Header() http.Header
type OperationsDeleteCall
    func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall
    func (c *OperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *OperationsDeleteCall) Fields(s ...googleapi.Field) *OperationsDeleteCall
    func (c *OperationsDeleteCall) Header() http.Header
type OperationsGetCall
    func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall
    func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall
    func (c *OperationsGetCall) Header() http.Header
    func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall
type OperationsListCall
    func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall
    func (c *OperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
    func (c *OperationsListCall) Fields(s ...googleapi.Field) *OperationsListCall
    func (c *OperationsListCall) Filter(filter string) *OperationsListCall
    func (c *OperationsListCall) Header() http.Header
    func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall
    func (c *OperationsListCall) Name(name string) *OperationsListCall
    func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall
    func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall
    func (c *OperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
type OperationsService
    func NewOperationsService(s *Service) *OperationsService
    func (r *OperationsService) Cancel(name string, googlelongrunningcanceloperationrequest *GoogleLongrunningCancelOperationRequest) *OperationsCancelCall
    func (r *OperationsService) Delete(name string) *OperationsDeleteCall
    func (r *OperationsService) Get(name string) *OperationsGetCall
    func (r *OperationsService) List() *OperationsListCall
type Service
    func New(client *http.Client) (*Service, error)
    func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

Package files

cloudprivatecatalogproducer-gen.go

Constants

OAuth2 scopes used by this API.

const (
    // View and manage your data across Google Cloud Platform services
    CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
)

type CatalogsAssociationsCreateCall

type CatalogsAssociationsCreateCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsAssociationsCreateCall) Context

func (c *CatalogsAssociationsCreateCall) Context(ctx context.Context) *CatalogsAssociationsCreateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsAssociationsCreateCall) Do

func (c *CatalogsAssociationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Association, error)

Do executes the "cloudprivatecatalogproducer.catalogs.associations.create" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Association or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Association.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsAssociationsCreateCall) Fields

func (c *CatalogsAssociationsCreateCall) Fields(s ...googleapi.Field) *CatalogsAssociationsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsAssociationsCreateCall) Header

func (c *CatalogsAssociationsCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsAssociationsDeleteCall

type CatalogsAssociationsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsAssociationsDeleteCall) Context

func (c *CatalogsAssociationsDeleteCall) Context(ctx context.Context) *CatalogsAssociationsDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsAssociationsDeleteCall) Do

func (c *CatalogsAssociationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudprivatecatalogproducer.catalogs.associations.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsAssociationsDeleteCall) Fields

func (c *CatalogsAssociationsDeleteCall) Fields(s ...googleapi.Field) *CatalogsAssociationsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsAssociationsDeleteCall) Header

func (c *CatalogsAssociationsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsAssociationsGetCall

type CatalogsAssociationsGetCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsAssociationsGetCall) Context

func (c *CatalogsAssociationsGetCall) Context(ctx context.Context) *CatalogsAssociationsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsAssociationsGetCall) Do

func (c *CatalogsAssociationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Association, error)

Do executes the "cloudprivatecatalogproducer.catalogs.associations.get" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Association or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Association.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsAssociationsGetCall) Fields

func (c *CatalogsAssociationsGetCall) Fields(s ...googleapi.Field) *CatalogsAssociationsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsAssociationsGetCall) Header

func (c *CatalogsAssociationsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsAssociationsGetCall) IfNoneMatch

func (c *CatalogsAssociationsGetCall) IfNoneMatch(entityTag string) *CatalogsAssociationsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type CatalogsAssociationsListCall

type CatalogsAssociationsListCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsAssociationsListCall) Context

func (c *CatalogsAssociationsListCall) Context(ctx context.Context) *CatalogsAssociationsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsAssociationsListCall) Do

func (c *CatalogsAssociationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse, error)

Do executes the "cloudprivatecatalogproducer.catalogs.associations.list" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse.Serv erResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsAssociationsListCall) Fields

func (c *CatalogsAssociationsListCall) Fields(s ...googleapi.Field) *CatalogsAssociationsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsAssociationsListCall) Header

func (c *CatalogsAssociationsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsAssociationsListCall) IfNoneMatch

func (c *CatalogsAssociationsListCall) IfNoneMatch(entityTag string) *CatalogsAssociationsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CatalogsAssociationsListCall) PageSize

func (c *CatalogsAssociationsListCall) PageSize(pageSize int64) *CatalogsAssociationsListCall

PageSize sets the optional parameter "pageSize": The maximum number of catalog associations to return.

func (*CatalogsAssociationsListCall) PageToken

func (c *CatalogsAssociationsListCall) PageToken(pageToken string) *CatalogsAssociationsListCall

PageToken sets the optional parameter "pageToken": A pagination token returned from the previous call to `ListAssociations`.

func (*CatalogsAssociationsListCall) Pages

func (c *CatalogsAssociationsListCall) Pages(ctx context.Context, f func(*GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type CatalogsAssociationsService

type CatalogsAssociationsService struct {
    // contains filtered or unexported fields
}

func NewCatalogsAssociationsService

func NewCatalogsAssociationsService(s *Service) *CatalogsAssociationsService

func (*CatalogsAssociationsService) Create

func (r *CatalogsAssociationsService) Create(parent string, googlecloudprivatecatalogproducerv1beta1createassociationrequest *GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest) *CatalogsAssociationsCreateCall

Create: Creates an Association instance under a given Catalog.

func (*CatalogsAssociationsService) Delete

func (r *CatalogsAssociationsService) Delete(name string) *CatalogsAssociationsDeleteCall

Delete: Deletes the given Association.

func (*CatalogsAssociationsService) Get

func (r *CatalogsAssociationsService) Get(name string) *CatalogsAssociationsGetCall

Get: Returns the requested Association resource.

func (*CatalogsAssociationsService) List

func (r *CatalogsAssociationsService) List(parent string) *CatalogsAssociationsListCall

List: Lists all Association resources under a catalog.

type CatalogsCreateCall

type CatalogsCreateCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsCreateCall) Context

func (c *CatalogsCreateCall) Context(ctx context.Context) *CatalogsCreateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsCreateCall) Do

func (c *CatalogsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudprivatecatalogproducer.catalogs.create" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsCreateCall) Fields

func (c *CatalogsCreateCall) Fields(s ...googleapi.Field) *CatalogsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsCreateCall) Header

func (c *CatalogsCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsDeleteCall

type CatalogsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsDeleteCall) Context

func (c *CatalogsDeleteCall) Context(ctx context.Context) *CatalogsDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsDeleteCall) Do

func (c *CatalogsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Catalog, error)

Do executes the "cloudprivatecatalogproducer.catalogs.delete" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Catalog or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Catalog.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsDeleteCall) Fields

func (c *CatalogsDeleteCall) Fields(s ...googleapi.Field) *CatalogsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsDeleteCall) Force

func (c *CatalogsDeleteCall) Force(force bool) *CatalogsDeleteCall

Force sets the optional parameter "force": Forces deletion of the `Catalog` and its `Association` resources. If the `Catalog` is still associated with other resources and force is not set to true, then the operation fails.

func (*CatalogsDeleteCall) Header

func (c *CatalogsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsGetCall

type CatalogsGetCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsGetCall) Context

func (c *CatalogsGetCall) Context(ctx context.Context) *CatalogsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsGetCall) Do

func (c *CatalogsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Catalog, error)

Do executes the "cloudprivatecatalogproducer.catalogs.get" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Catalog or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Catalog.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsGetCall) Fields

func (c *CatalogsGetCall) Fields(s ...googleapi.Field) *CatalogsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsGetCall) Header

func (c *CatalogsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsGetCall) IfNoneMatch

func (c *CatalogsGetCall) IfNoneMatch(entityTag string) *CatalogsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type CatalogsGetIamPolicyCall

type CatalogsGetIamPolicyCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsGetIamPolicyCall) Context

func (c *CatalogsGetIamPolicyCall) Context(ctx context.Context) *CatalogsGetIamPolicyCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsGetIamPolicyCall) Do

func (c *CatalogsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)

Do executes the "cloudprivatecatalogproducer.catalogs.getIamPolicy" call. Exactly one of *GoogleIamV1Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsGetIamPolicyCall) Fields

func (c *CatalogsGetIamPolicyCall) Fields(s ...googleapi.Field) *CatalogsGetIamPolicyCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsGetIamPolicyCall) Header

func (c *CatalogsGetIamPolicyCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsGetIamPolicyCall) IfNoneMatch

func (c *CatalogsGetIamPolicyCall) IfNoneMatch(entityTag string) *CatalogsGetIamPolicyCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CatalogsGetIamPolicyCall) OptionsRequestedPolicyVersion

func (c *CatalogsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *CatalogsGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The policy format version to be returned.

Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.

Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset.

type CatalogsListCall

type CatalogsListCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsListCall) Context

func (c *CatalogsListCall) Context(ctx context.Context) *CatalogsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsListCall) Do

func (c *CatalogsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse, error)

Do executes the "cloudprivatecatalogproducer.catalogs.list" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsListCall) Fields

func (c *CatalogsListCall) Fields(s ...googleapi.Field) *CatalogsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsListCall) Header

func (c *CatalogsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsListCall) IfNoneMatch

func (c *CatalogsListCall) IfNoneMatch(entityTag string) *CatalogsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CatalogsListCall) PageSize

func (c *CatalogsListCall) PageSize(pageSize int64) *CatalogsListCall

PageSize sets the optional parameter "pageSize": The maximum number of catalogs to return.

func (*CatalogsListCall) PageToken

func (c *CatalogsListCall) PageToken(pageToken string) *CatalogsListCall

PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListCatalogs that indicates where this listing should continue from. This field is optional.

func (*CatalogsListCall) Pages

func (c *CatalogsListCall) Pages(ctx context.Context, f func(*GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*CatalogsListCall) Parent

func (c *CatalogsListCall) Parent(parent string) *CatalogsListCall

Parent sets the optional parameter "parent": The resource name of the parent resource.

type CatalogsPatchCall

type CatalogsPatchCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsPatchCall) Context

func (c *CatalogsPatchCall) Context(ctx context.Context) *CatalogsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsPatchCall) Do

func (c *CatalogsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Catalog, error)

Do executes the "cloudprivatecatalogproducer.catalogs.patch" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Catalog or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Catalog.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsPatchCall) Fields

func (c *CatalogsPatchCall) Fields(s ...googleapi.Field) *CatalogsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsPatchCall) Header

func (c *CatalogsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsPatchCall) UpdateMask

func (c *CatalogsPatchCall) UpdateMask(updateMask string) *CatalogsPatchCall

UpdateMask sets the optional parameter "updateMask": Field mask that controls which fields of the catalog should be updated.

type CatalogsProductsCopyCall

type CatalogsProductsCopyCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsCopyCall) Context

func (c *CatalogsProductsCopyCall) Context(ctx context.Context) *CatalogsProductsCopyCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsCopyCall) Do

func (c *CatalogsProductsCopyCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.copy" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsCopyCall) Fields

func (c *CatalogsProductsCopyCall) Fields(s ...googleapi.Field) *CatalogsProductsCopyCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsCopyCall) Header

func (c *CatalogsProductsCopyCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsProductsCreateCall

type CatalogsProductsCreateCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsCreateCall) Context

func (c *CatalogsProductsCreateCall) Context(ctx context.Context) *CatalogsProductsCreateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsCreateCall) Do

func (c *CatalogsProductsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Product, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.create" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Product or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Product.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsCreateCall) Fields

func (c *CatalogsProductsCreateCall) Fields(s ...googleapi.Field) *CatalogsProductsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsCreateCall) Header

func (c *CatalogsProductsCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsProductsDeleteCall

type CatalogsProductsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsDeleteCall) Context

func (c *CatalogsProductsDeleteCall) Context(ctx context.Context) *CatalogsProductsDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsDeleteCall) Do

func (c *CatalogsProductsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsDeleteCall) Fields

func (c *CatalogsProductsDeleteCall) Fields(s ...googleapi.Field) *CatalogsProductsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsDeleteCall) Header

func (c *CatalogsProductsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsProductsGetCall

type CatalogsProductsGetCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsGetCall) Context

func (c *CatalogsProductsGetCall) Context(ctx context.Context) *CatalogsProductsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsGetCall) Do

func (c *CatalogsProductsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Product, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.get" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Product or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Product.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsGetCall) Fields

func (c *CatalogsProductsGetCall) Fields(s ...googleapi.Field) *CatalogsProductsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsGetCall) Header

func (c *CatalogsProductsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsProductsGetCall) IfNoneMatch

func (c *CatalogsProductsGetCall) IfNoneMatch(entityTag string) *CatalogsProductsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type CatalogsProductsIconsService

type CatalogsProductsIconsService struct {
    // contains filtered or unexported fields
}

func NewCatalogsProductsIconsService

func NewCatalogsProductsIconsService(s *Service) *CatalogsProductsIconsService

func (*CatalogsProductsIconsService) Upload

func (r *CatalogsProductsIconsService) Upload(product string, googlecloudprivatecatalogproducerv1beta1uploadiconrequest *GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest) *CatalogsProductsIconsUploadCall

Upload: Creates an Icon instance under a given Product. If Product only has a default icon, a new Icon instance is created and associated with the given Product. If Product already has a non-default icon, the action creates a new Icon instance, associates the newly created Icon with the given Product and deletes the old icon.

type CatalogsProductsIconsUploadCall

type CatalogsProductsIconsUploadCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsIconsUploadCall) Context

func (c *CatalogsProductsIconsUploadCall) Context(ctx context.Context) *CatalogsProductsIconsUploadCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsIconsUploadCall) Do

func (c *CatalogsProductsIconsUploadCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.icons.upload" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsIconsUploadCall) Fields

func (c *CatalogsProductsIconsUploadCall) Fields(s ...googleapi.Field) *CatalogsProductsIconsUploadCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsIconsUploadCall) Header

func (c *CatalogsProductsIconsUploadCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsProductsListCall

type CatalogsProductsListCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsListCall) Context

func (c *CatalogsProductsListCall) Context(ctx context.Context) *CatalogsProductsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsListCall) Do

func (c *CatalogsProductsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.list" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsListCall) Fields

func (c *CatalogsProductsListCall) Fields(s ...googleapi.Field) *CatalogsProductsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsListCall) Filter

func (c *CatalogsProductsListCall) Filter(filter string) *CatalogsProductsListCall

Filter sets the optional parameter "filter": A filter expression used to restrict the returned results based upon properties of the product.

func (*CatalogsProductsListCall) Header

func (c *CatalogsProductsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsProductsListCall) IfNoneMatch

func (c *CatalogsProductsListCall) IfNoneMatch(entityTag string) *CatalogsProductsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CatalogsProductsListCall) PageSize

func (c *CatalogsProductsListCall) PageSize(pageSize int64) *CatalogsProductsListCall

PageSize sets the optional parameter "pageSize": The maximum number of products to return.

func (*CatalogsProductsListCall) PageToken

func (c *CatalogsProductsListCall) PageToken(pageToken string) *CatalogsProductsListCall

PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListProducts that indicates where this listing should continue from. This field is optional.

func (*CatalogsProductsListCall) Pages

func (c *CatalogsProductsListCall) Pages(ctx context.Context, f func(*GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type CatalogsProductsPatchCall

type CatalogsProductsPatchCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsPatchCall) Context

func (c *CatalogsProductsPatchCall) Context(ctx context.Context) *CatalogsProductsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsPatchCall) Do

func (c *CatalogsProductsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Product, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.patch" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Product or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Product.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsPatchCall) Fields

func (c *CatalogsProductsPatchCall) Fields(s ...googleapi.Field) *CatalogsProductsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsPatchCall) Header

func (c *CatalogsProductsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsProductsPatchCall) UpdateMask

func (c *CatalogsProductsPatchCall) UpdateMask(updateMask string) *CatalogsProductsPatchCall

UpdateMask sets the optional parameter "updateMask": Field mask that controls which fields of the product should be updated.

type CatalogsProductsService

type CatalogsProductsService struct {
    Icons *CatalogsProductsIconsService

    Versions *CatalogsProductsVersionsService
    // contains filtered or unexported fields
}

func NewCatalogsProductsService

func NewCatalogsProductsService(s *Service) *CatalogsProductsService

func (*CatalogsProductsService) Copy

func (r *CatalogsProductsService) Copy(name string, googlecloudprivatecatalogproducerv1beta1copyproductrequest *GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest) *CatalogsProductsCopyCall

Copy: Copies a Product under another Catalog.

func (*CatalogsProductsService) Create

func (r *CatalogsProductsService) Create(parent string, googlecloudprivatecatalogproducerv1beta1product *GoogleCloudPrivatecatalogproducerV1beta1Product) *CatalogsProductsCreateCall

Create: Creates a Product instance under a given Catalog.

func (*CatalogsProductsService) Delete

func (r *CatalogsProductsService) Delete(name string) *CatalogsProductsDeleteCall

Delete: Hard deletes a Product.

func (*CatalogsProductsService) Get

func (r *CatalogsProductsService) Get(name string) *CatalogsProductsGetCall

Get: Returns the requested Product resource.

func (*CatalogsProductsService) List

func (r *CatalogsProductsService) List(parent string) *CatalogsProductsListCall

List: Lists Product resources that the producer has access to, within the scope of the parent catalog.

func (*CatalogsProductsService) Patch

func (r *CatalogsProductsService) Patch(nameid string, googlecloudprivatecatalogproducerv1beta1product *GoogleCloudPrivatecatalogproducerV1beta1Product) *CatalogsProductsPatchCall

Patch: Updates a specific Product resource.

type CatalogsProductsVersionsCreateCall

type CatalogsProductsVersionsCreateCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsVersionsCreateCall) Context

func (c *CatalogsProductsVersionsCreateCall) Context(ctx context.Context) *CatalogsProductsVersionsCreateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsVersionsCreateCall) Do

func (c *CatalogsProductsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.versions.create" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsVersionsCreateCall) Fields

func (c *CatalogsProductsVersionsCreateCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsVersionsCreateCall) Header

func (c *CatalogsProductsVersionsCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsProductsVersionsDeleteCall

type CatalogsProductsVersionsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsVersionsDeleteCall) Context

func (c *CatalogsProductsVersionsDeleteCall) Context(ctx context.Context) *CatalogsProductsVersionsDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsVersionsDeleteCall) Do

func (c *CatalogsProductsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.versions.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsVersionsDeleteCall) Fields

func (c *CatalogsProductsVersionsDeleteCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsVersionsDeleteCall) Header

func (c *CatalogsProductsVersionsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsProductsVersionsGetCall

type CatalogsProductsVersionsGetCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsVersionsGetCall) Context

func (c *CatalogsProductsVersionsGetCall) Context(ctx context.Context) *CatalogsProductsVersionsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsVersionsGetCall) Do

func (c *CatalogsProductsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Version, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.versions.get" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Version.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsVersionsGetCall) Fields

func (c *CatalogsProductsVersionsGetCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsVersionsGetCall) Header

func (c *CatalogsProductsVersionsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsProductsVersionsGetCall) IfNoneMatch

func (c *CatalogsProductsVersionsGetCall) IfNoneMatch(entityTag string) *CatalogsProductsVersionsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type CatalogsProductsVersionsListCall

type CatalogsProductsVersionsListCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsVersionsListCall) Context

func (c *CatalogsProductsVersionsListCall) Context(ctx context.Context) *CatalogsProductsVersionsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsVersionsListCall) Do

func (c *CatalogsProductsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.versions.list" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsVersionsListCall) Fields

func (c *CatalogsProductsVersionsListCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsVersionsListCall) Header

func (c *CatalogsProductsVersionsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsProductsVersionsListCall) IfNoneMatch

func (c *CatalogsProductsVersionsListCall) IfNoneMatch(entityTag string) *CatalogsProductsVersionsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*CatalogsProductsVersionsListCall) PageSize

func (c *CatalogsProductsVersionsListCall) PageSize(pageSize int64) *CatalogsProductsVersionsListCall

PageSize sets the optional parameter "pageSize": The maximum number of versions to return.

func (*CatalogsProductsVersionsListCall) PageToken

func (c *CatalogsProductsVersionsListCall) PageToken(pageToken string) *CatalogsProductsVersionsListCall

PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListVersions that indicates where this listing should continue from. This field is optional.

func (*CatalogsProductsVersionsListCall) Pages

func (c *CatalogsProductsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type CatalogsProductsVersionsPatchCall

type CatalogsProductsVersionsPatchCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsProductsVersionsPatchCall) Context

func (c *CatalogsProductsVersionsPatchCall) Context(ctx context.Context) *CatalogsProductsVersionsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsProductsVersionsPatchCall) Do

func (c *CatalogsProductsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Version, error)

Do executes the "cloudprivatecatalogproducer.catalogs.products.versions.patch" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Version.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsProductsVersionsPatchCall) Fields

func (c *CatalogsProductsVersionsPatchCall) Fields(s ...googleapi.Field) *CatalogsProductsVersionsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsProductsVersionsPatchCall) Header

func (c *CatalogsProductsVersionsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*CatalogsProductsVersionsPatchCall) UpdateMask

func (c *CatalogsProductsVersionsPatchCall) UpdateMask(updateMask string) *CatalogsProductsVersionsPatchCall

UpdateMask sets the optional parameter "updateMask": Field mask that controls which fields of the version should be updated.

type CatalogsProductsVersionsService

type CatalogsProductsVersionsService struct {
    // contains filtered or unexported fields
}

func NewCatalogsProductsVersionsService

func NewCatalogsProductsVersionsService(s *Service) *CatalogsProductsVersionsService

func (*CatalogsProductsVersionsService) Create

func (r *CatalogsProductsVersionsService) Create(parent string, googlecloudprivatecatalogproducerv1beta1version *GoogleCloudPrivatecatalogproducerV1beta1Version) *CatalogsProductsVersionsCreateCall

Create: Creates a Version instance under a given Product.

func (*CatalogsProductsVersionsService) Delete

func (r *CatalogsProductsVersionsService) Delete(name string) *CatalogsProductsVersionsDeleteCall

Delete: Hard deletes a Version.

func (*CatalogsProductsVersionsService) Get

func (r *CatalogsProductsVersionsService) Get(name string) *CatalogsProductsVersionsGetCall

Get: Returns the requested Version resource.

func (*CatalogsProductsVersionsService) List

func (r *CatalogsProductsVersionsService) List(parent string) *CatalogsProductsVersionsListCall

List: Lists Version resources that the producer has access to, within the scope of the parent Product.

func (*CatalogsProductsVersionsService) Patch

func (r *CatalogsProductsVersionsService) Patch(nameid string, googlecloudprivatecatalogproducerv1beta1version *GoogleCloudPrivatecatalogproducerV1beta1Version) *CatalogsProductsVersionsPatchCall

Patch: Updates a specific Version resource.

type CatalogsService

type CatalogsService struct {
    Associations *CatalogsAssociationsService

    Products *CatalogsProductsService
    // contains filtered or unexported fields
}

func NewCatalogsService

func NewCatalogsService(s *Service) *CatalogsService

func (*CatalogsService) Create

func (r *CatalogsService) Create(googlecloudprivatecatalogproducerv1beta1catalog *GoogleCloudPrivatecatalogproducerV1beta1Catalog) *CatalogsCreateCall

Create: Creates a new Catalog resource.

func (*CatalogsService) Delete

func (r *CatalogsService) Delete(name string) *CatalogsDeleteCall

Delete: Soft deletes an existing Catalog and all resources under it. The catalog can only be deleted if there is no associations under it or DeleteCatalogRequest.force is true. The delete operation can be recovered by the PrivateCatalogProducer.UndeleteCatalog method.

func (*CatalogsService) Get

func (r *CatalogsService) Get(name string) *CatalogsGetCall

Get: Returns the requested Catalog resource.

func (*CatalogsService) GetIamPolicy

func (r *CatalogsService) GetIamPolicy(resource string) *CatalogsGetIamPolicyCall

GetIamPolicy: Gets IAM policy for the specified Catalog.

func (*CatalogsService) List

func (r *CatalogsService) List() *CatalogsListCall

List: Lists Catalog resources that the producer has access to, within the scope of the parent resource.

func (*CatalogsService) Patch

func (r *CatalogsService) Patch(nameid string, googlecloudprivatecatalogproducerv1beta1catalog *GoogleCloudPrivatecatalogproducerV1beta1Catalog) *CatalogsPatchCall

Patch: Updates a specific Catalog resource.

func (*CatalogsService) SetIamPolicy

func (r *CatalogsService) SetIamPolicy(resource string, googleiamv1setiampolicyrequest *GoogleIamV1SetIamPolicyRequest) *CatalogsSetIamPolicyCall

SetIamPolicy: Sets the IAM policy for the specified Catalog.

func (*CatalogsService) TestIamPermissions

func (r *CatalogsService) TestIamPermissions(resource string, googleiamv1testiampermissionsrequest *GoogleIamV1TestIamPermissionsRequest) *CatalogsTestIamPermissionsCall

TestIamPermissions: Tests the IAM permissions for the specified Catalog.

func (*CatalogsService) Undelete

func (r *CatalogsService) Undelete(name string, googlecloudprivatecatalogproducerv1beta1undeletecatalogrequest *GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest) *CatalogsUndeleteCall

Undelete: Undeletes a deleted Catalog and all resources under it.

type CatalogsSetIamPolicyCall

type CatalogsSetIamPolicyCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsSetIamPolicyCall) Context

func (c *CatalogsSetIamPolicyCall) Context(ctx context.Context) *CatalogsSetIamPolicyCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsSetIamPolicyCall) Do

func (c *CatalogsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1Policy, error)

Do executes the "cloudprivatecatalogproducer.catalogs.setIamPolicy" call. Exactly one of *GoogleIamV1Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsSetIamPolicyCall) Fields

func (c *CatalogsSetIamPolicyCall) Fields(s ...googleapi.Field) *CatalogsSetIamPolicyCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsSetIamPolicyCall) Header

func (c *CatalogsSetIamPolicyCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsTestIamPermissionsCall

type CatalogsTestIamPermissionsCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsTestIamPermissionsCall) Context

func (c *CatalogsTestIamPermissionsCall) Context(ctx context.Context) *CatalogsTestIamPermissionsCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsTestIamPermissionsCall) Do

func (c *CatalogsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*GoogleIamV1TestIamPermissionsResponse, error)

Do executes the "cloudprivatecatalogproducer.catalogs.testIamPermissions" call. Exactly one of *GoogleIamV1TestIamPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsTestIamPermissionsCall) Fields

func (c *CatalogsTestIamPermissionsCall) Fields(s ...googleapi.Field) *CatalogsTestIamPermissionsCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsTestIamPermissionsCall) Header

func (c *CatalogsTestIamPermissionsCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CatalogsUndeleteCall

type CatalogsUndeleteCall struct {
    // contains filtered or unexported fields
}

func (*CatalogsUndeleteCall) Context

func (c *CatalogsUndeleteCall) Context(ctx context.Context) *CatalogsUndeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*CatalogsUndeleteCall) Do

func (c *CatalogsUndeleteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPrivatecatalogproducerV1beta1Catalog, error)

Do executes the "cloudprivatecatalogproducer.catalogs.undelete" call. Exactly one of *GoogleCloudPrivatecatalogproducerV1beta1Catalog or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudPrivatecatalogproducerV1beta1Catalog.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*CatalogsUndeleteCall) Fields

func (c *CatalogsUndeleteCall) Fields(s ...googleapi.Field) *CatalogsUndeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*CatalogsUndeleteCall) Header

func (c *CatalogsUndeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type GoogleCloudPrivatecatalogproducerV1beta1Association

GoogleCloudPrivatecatalogproducerV1beta1Association: An association tuple that pairs a `Catalog` to a resource that can use the `Catalog`. After association, a google.cloud.privatecatalog.v1beta1.Catalog becomes available to consumers under specified Association.resource and all of its child nodes. Users who have the `cloudprivatecatalog.targets.get` permission on any of the resource nodes can access the catalog and child products under the node.

For example, suppose the cloud resource hierarchy is as follows:

* organizations/example.com

After creating an association with `organizations/example.com`, the catalog `catalogs/1` is accessible from the following paths:

* organizations/example.com * folders/team * projects/test

Users can access them by google.cloud.v1beta1.PrivateCatalog.SearchCatalogs action.

type GoogleCloudPrivatecatalogproducerV1beta1Association struct {
    // CreateTime: The creation time of the association.
    CreateTime string `json:"createTime,omitempty"`

    // Name: Output only. The resource name of the catalog association, in
    // the format
    // `catalogs/{catalog_id}/associations/{association_id}'.
    //
    // A unique identifier for the catalog association, which is
    // generated by catalog service.
    Name string `json:"name,omitempty"`

    // Resource: Required. The user-supplied fully qualified name of the
    // `Resource`
    // associated to the `Catalog`. It supports `Organization`,
    // `Folder`,
    // and `Project`. Values are of the form
    //
    // * `//cloudresourcemanager.googleapis.com/projects/{product_number}`
    // * `//cloudresourcemanager.googleapis.com/folders/{folder_id}`
    // *
    // `//cloudresourcemanager.googleapis.com/organizations/{organization_id}
    // `
    Resource string `json:"resource,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "CreateTime") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "CreateTime") 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 (*GoogleCloudPrivatecatalogproducerV1beta1Association) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1Association) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1Catalog

GoogleCloudPrivatecatalogproducerV1beta1Catalog: The producer representation of a catalog which is a curated collection of solutions that can be managed, controlled, and shared by cloud admins.

type GoogleCloudPrivatecatalogproducerV1beta1Catalog struct {
    // CreateTime: Output only. The time when the catalog was created.
    CreateTime string `json:"createTime,omitempty"`

    // Description: Required. The user-supplied description of the catalog.
    // Maximum of 512
    // characters.
    Description string `json:"description,omitempty"`

    // DisplayName: Required. The user-supplied descriptive name of the
    // catalog as it appears
    // in UIs. Maximum 256 characters in length.
    DisplayName string `json:"displayName,omitempty"`

    // Name: Output only. The resource name of the catalog, in the
    // format
    // `catalogs/{catalog_id}'.
    //
    // A unique identifier for the catalog, which is generated
    // by catalog service.
    Name string `json:"name,omitempty"`

    // Parent: Required. The parent resource name of the catalog, which
    // can't be changed
    // after a catalog is created. It can only be an organization. Values
    // are of
    // the form
    // `//cloudresourcemanager.googleapis.com/organizations/<id>`.
    // Maximum 256 characters in length.
    Parent string `json:"parent,omitempty"`

    // UpdateTime: Output only. The time when the catalog was last updated.
    UpdateTime string `json:"updateTime,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "CreateTime") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "CreateTime") 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 (*GoogleCloudPrivatecatalogproducerV1beta1Catalog) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1Catalog) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest

type GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest struct {
    // DestinationProductName: The resource name of the destination product
    // that is copied to.
    DestinationProductName string `json:"destinationProductName,omitempty"`

    // ForceSendFields is a list of field names (e.g.
    // "DestinationProductName") to unconditionally include in API requests.
    // By default, fields with empty 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. "DestinationProductName")
    // 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 (*GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest

type GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest struct {
    // Association: The user-supplied `Association` that is going to be
    // created.
    //
    // If the `resource` field is set,
    // the
    // `privatecatalogproducer.catalogTargets.associate` permission is
    // checked on
    // the target resource.
    Association *GoogleCloudPrivatecatalogproducerV1beta1Association `json:"association,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Association") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Association") 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 (*GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse

type GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse struct {
    // Associations: The returned `Association` resources from the list
    // call.
    Associations []*GoogleCloudPrivatecatalogproducerV1beta1Association `json:"associations,omitempty"`

    // NextPageToken: A pagination token returned from a previous call
    // to
    // `ListAssociations` that indicates where the listing should continue
    // from.
    // This field is optional.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Associations") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Associations") 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 (*GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse

type GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse struct {
    // Catalogs: The `Catalogs` returned from the list call.
    Catalogs []*GoogleCloudPrivatecatalogproducerV1beta1Catalog `json:"catalogs,omitempty"`

    // NextPageToken: A pagination token returned from a previous call to
    // ListCatalogs
    // that indicates where the listing should continue from.
    // This field is optional.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Catalogs") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Catalogs") 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 (*GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse

type GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse struct {
    // NextPageToken: A pagination token returned from a previous call to
    // ListProducts
    // that indicates where the listing should continue from.
    // This field is optional.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // Products: The `Product` returned from the list call.
    Products []*GoogleCloudPrivatecatalogproducerV1beta1Product `json:"products,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "NextPageToken") 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 (*GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse

type GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse struct {
    // NextPageToken: A pagination token returned from a previous call to
    // ListProducts
    // that indicates where the listing should continue from.
    // This field is optional.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // Versions: The `VersiVersionon` returned from the list call.
    Versions []*GoogleCloudPrivatecatalogproducerV1beta1Version `json:"versions,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "NextPageToken") 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 (*GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1Product

GoogleCloudPrivatecatalogproducerV1beta1Product: The producer representation of a product which is a child resource of `Catalog` with display metadata and a list of `Version` resources.

type GoogleCloudPrivatecatalogproducerV1beta1Product struct {
    // AssetType: Required. The type of the product asset, which cannot be
    // changed after the
    // product is created. It supports the
    // values
    // `google.deploymentmanager.Template`
    // and
    // `google.cloudprivatecatalog.ListingOnly`. Other values will
    // be
    // rejected by the server. Read only after creation.
    //
    // The following fields or resource types have different validation
    // rules
    // under each `asset_type` values:
    //
    // * Product.display_metadata has different validation schema for
    // each
    // asset type value. See its comment for details.
    // * Version resource isn't allowed to be added under
    // the
    // `google.cloudprivatecatalog.ListingOnly` type.
    AssetType string `json:"assetType,omitempty"`

    // CreateTime: Output only. The time when the product was created.
    CreateTime string `json:"createTime,omitempty"`

    // DisplayMetadata: The user-supplied display metadata to describe the
    // product.
    // The JSON schema of the metadata differs by Product.asset_type.
    // When the type is `google.deploymentmanager.Template`, the schema is
    // as
    // follows:
    //
    // ```
    // "$schema": http://json-schema.org/draft-04/schema#
    // type: object
    // properties:
    //   name:
    //     type: string
    //     minLength: 1
    //     maxLength: 64
    //   description:
    //     type: string
    //     minLength: 1
    //     maxLength: 2048
    //   tagline:
    //     type: string
    //     minLength: 1
    //     maxLength: 100
    //   support_info:
    //     type: string
    //     minLength: 1
    //     maxLength: 2048
    //   creator:
    //     type: string
    //     minLength: 1
    //     maxLength: 100
    //   documentation:
    //     type: array
    //     items:
    //       type: object
    //       properties:
    //         url:
    //           type: string
    //           pattern:
    //
    // "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
    //         title:
    //           type: string
    //           minLength: 1
    //           maxLength: 64
    //         description:
    //           type: string
    //           minLength: 1
    //           maxLength: 2048
    // required:
    // - name
    // - description
    // additionalProperties: false
    //
    // ```
    //
    // When the asset type is `google.cloudprivatecatalog.ListingOnly`, the
    // schema
    // is as follows:
    //
    // ```
    // "$schema": http://json-schema.org/draft-04/schema#
    // type: object
    // properties:
    //   name:
    //     type: string
    //     minLength: 1
    //     maxLength: 64
    //   description:
    //     type: string
    //     minLength: 1
    //     maxLength: 2048
    //   tagline:
    //     type: string
    //     minLength: 1
    //     maxLength: 100
    //   support_info:
    //     type: string
    //     minLength: 1
    //     maxLength: 2048
    //   creator:
    //     type: string
    //     minLength: 1
    //     maxLength: 100
    //   documentation:
    //     type: array
    //     items:
    //       type: object
    //       properties:
    //         url:
    //           type: string
    //           pattern:
    //
    // "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
    //         title:
    //           type: string
    //           minLength: 1
    //           maxLength: 64
    //         description:
    //           type: string
    //           minLength: 1
    //           maxLength: 2048
    //   signup_url:
    //     type: string
    //     pattern:
    //
    // "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
    // requ
    // ired:
    // - name
    // - description
    // - signup_url
    // additionalProperties: false
    // ```
    DisplayMetadata googleapi.RawMessage `json:"displayMetadata,omitempty"`

    // IconUri: Output only. The public accessible URI of the icon uploaded
    // by
    // PrivateCatalogProducer.UploadIcon.
    //
    // If no icon is uploaded, it will be the default icon's URI.
    IconUri string `json:"iconUri,omitempty"`

    // Name: Required. The resource name of the product in the
    // format
    // `catalogs/{catalog_id}/products/a-z*[a-z0-9]'.
    //
    // A unique identifier for the product under a catalog, which cannot
    // be changed after the product is created. The final
    // segment of the name must between 1 and 256 characters in length.
    Name string `json:"name,omitempty"`

    // UpdateTime: Output only. The time when the product was last updated.
    UpdateTime string `json:"updateTime,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AssetType") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "AssetType") 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 (*GoogleCloudPrivatecatalogproducerV1beta1Product) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1Product) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest

type GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest struct {
}

type GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest

type GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest struct {
    // Icon: The raw icon bytes user-supplied to be uploaded to the product.
    // The format
    // of the icon can only be PNG or JPEG. The minimum allowed dimensions
    // are
    // 130x130 pixels and the maximum dimensions are 10000x10000
    // pixels.
    // Required.
    Icon string `json:"icon,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Icon") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Icon") 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 (*GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest) MarshalJSON() ([]byte, error)

type GoogleCloudPrivatecatalogproducerV1beta1Version

GoogleCloudPrivatecatalogproducerV1beta1Version: The producer representation of a version, which is a child resource under a `Product` with asset data.

type GoogleCloudPrivatecatalogproducerV1beta1Version struct {
    // Asset: Output only. The asset which has been validated and is ready
    // to be
    // provisioned. See Version.original_asset for the schema.
    Asset googleapi.RawMessage `json:"asset,omitempty"`

    // CreateTime: Output only. The time when the version was created.
    CreateTime string `json:"createTime,omitempty"`

    // Description: The user-supplied description of the version. Maximum of
    // 256 characters.
    Description string `json:"description,omitempty"`

    // Name: Required. The resource name of the version, in the
    // format
    // `catalogs/{catalog_id}/products/{product_id}/versions/a-z*[a-z0
    // -9]'.
    //
    // A unique identifier for the version under a product, which can't
    // be changed after the version is created. The final segment of the
    // name must
    // between 1 and 63 characters in length.
    Name string `json:"name,omitempty"`

    // OriginalAsset: The user-supplied asset payload. The maximum size of
    // the payload is 2MB.
    // The JSON schema of the payload is defined as:
    //
    // ```
    // type: object
    // properties:
    //   mainTemplate:
    //     type: string
    //     description: The file name of the main template and name prefix
    // of
    //     schema file. The content of the main template should be set in
    // the
    //     imports list. The schema file name is expected to be
    //     <mainTemplate>.schema in the imports list. required: true
    //   imports:
    //     type: array
    //     description: Import template and schema file contents. Required
    // to have
    //     both <mainTemplate> and <mainTemplate>.schema files. required:
    // true
    //     minItems: 2
    //     items:
    //       type: object
    //       properties:
    //         name:
    //           type: string
    //         content:
    //           type: string
    // ```
    OriginalAsset googleapi.RawMessage `json:"originalAsset,omitempty"`

    // UpdateTime: Output only. The time when the version was last updated.
    UpdateTime string `json:"updateTime,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Asset") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Asset") 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 (*GoogleCloudPrivatecatalogproducerV1beta1Version) MarshalJSON

func (s *GoogleCloudPrivatecatalogproducerV1beta1Version) MarshalJSON() ([]byte, error)

type GoogleIamV1AuditConfig

GoogleIamV1AuditConfig: Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.

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

Example Policy with multiple AuditConfigs:

{
  "audit_configs": [
    {
      "service": "allServices"
      "audit_log_configs": [
        {
          "log_type": "DATA_READ",
          "exempted_members": [
            "user:jose@example.com"
          ]
        },
        {
          "log_type": "DATA_WRITE",
        },
        {
          "log_type": "ADMIN_READ",
        }
      ]
    },
    {
      "service": "sampleservice.googleapis.com"
      "audit_log_configs": [
        {
          "log_type": "DATA_READ",
        },
        {
          "log_type": "DATA_WRITE",
          "exempted_members": [
            "user:aliya@example.com"
          ]
        }
      ]
    }
  ]
}

For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.

type GoogleIamV1AuditConfig struct {
    // AuditLogConfigs: The configuration for logging of each type of
    // permission.
    AuditLogConfigs []*GoogleIamV1AuditLogConfig `json:"auditLogConfigs,omitempty"`

    // Service: Specifies a service that will be enabled for audit
    // logging.
    // For example, `storage.googleapis.com`,
    // `cloudsql.googleapis.com`.
    // `allServices` is a special value that covers all services.
    Service string `json:"service,omitempty"`

    // ForceSendFields is a list of field names (e.g. "AuditLogConfigs") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "AuditLogConfigs") 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 (*GoogleIamV1AuditConfig) MarshalJSON

func (s *GoogleIamV1AuditConfig) MarshalJSON() ([]byte, error)

type GoogleIamV1AuditLogConfig

GoogleIamV1AuditLogConfig: Provides the configuration for logging a type of permissions. Example:

{
  "audit_log_configs": [
    {
      "log_type": "DATA_READ",
      "exempted_members": [
        "user:jose@example.com"
      ]
    },
    {
      "log_type": "DATA_WRITE",
    }
  ]
}

This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

type GoogleIamV1AuditLogConfig struct {
    // ExemptedMembers: Specifies the identities that do not cause logging
    // for this type of
    // permission.
    // Follows the same format of Binding.members.
    ExemptedMembers []string `json:"exemptedMembers,omitempty"`

    // LogType: The log type that this config enables.
    //
    // Possible values:
    //   "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this.
    //   "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy
    //   "DATA_WRITE" - Data writes. Example: CloudSQL Users create
    //   "DATA_READ" - Data reads. Example: CloudSQL Users list
    LogType string `json:"logType,omitempty"`

    // ForceSendFields is a list of field names (e.g. "ExemptedMembers") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "ExemptedMembers") 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 (*GoogleIamV1AuditLogConfig) MarshalJSON

func (s *GoogleIamV1AuditLogConfig) MarshalJSON() ([]byte, error)

type GoogleIamV1Binding

GoogleIamV1Binding: Associates `members` with a `role`.

type GoogleIamV1Binding struct {
    // Condition: The condition that is associated with this binding.
    // NOTE: An unsatisfied condition will not allow user access via
    // current
    // binding. Different bindings, including their conditions, are
    // examined
    // independently.
    Condition *GoogleTypeExpr `json:"condition,omitempty"`

    // Members: Specifies the identities requesting access for a Cloud
    // Platform resource.
    // `members` can have the following values:
    //
    // * `allUsers`: A special identifier that represents anyone who is
    //    on the internet; with or without a Google account.
    //
    // * `allAuthenticatedUsers`: A special identifier that represents
    // anyone
    //    who is authenticated with a Google account or a service
    // account.
    //
    // * `user:{emailid}`: An email address that represents a specific
    // Google
    //    account. For example, `alice@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`.
    //
    //
    Members []string `json:"members,omitempty"`

    // Role: Role that is assigned to `members`.
    // For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    Role string `json:"role,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Condition") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Condition") 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 (*GoogleIamV1Binding) MarshalJSON

func (s *GoogleIamV1Binding) MarshalJSON() ([]byte, error)

type GoogleIamV1Policy

GoogleIamV1Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.

A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role.

Optionally, a `binding` can specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both.

**JSON example:**

{
  "bindings": [
    {
      "role": "roles/resourcemanager.organizationAdmin",
      "members": [
        "user:mike@example.com",
        "group:admins@example.com",
        "domain:google.com",

"serviceAccount:my-project-id@appspot.gserviceaccount.com"

  ]
},
{
  "role": "roles/resourcemanager.organizationViewer",
  "members": ["user:eve@example.com"],
  "condition": {
    "title": "expirable access",
    "description": "Does not grant access after Sep 2020",
    "expression": "request.time <

timestamp('2020-10-01T00:00:00.000Z')",

      }
    }
  ],
  "etag": "BwWWja0YfJA=",
  "version": 3
}

**YAML example:**

bindings:
- members:
  - user:mike@example.com
  - group:admins@example.com
  - domain:google.com
  - serviceAccount:my-project-id@appspot.gserviceaccount.com
  role: roles/resourcemanager.organizationAdmin
- members:
  - user:eve@example.com
  role: roles/resourcemanager.organizationViewer
  condition:
    title: expirable access
    description: Does not grant access after Sep 2020
    expression: request.time <

timestamp('2020-10-01T00:00:00.000Z')

For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).

type GoogleIamV1Policy struct {
    // AuditConfigs: Specifies cloud audit logging configuration for this
    // policy.
    AuditConfigs []*GoogleIamV1AuditConfig `json:"auditConfigs,omitempty"`

    // Bindings: Associates a list of `members` to a `role`. Optionally, may
    // specify a
    // `condition` that determines how and when the `bindings` are applied.
    // Each
    // of the `bindings` must contain at least one member.
    Bindings []*GoogleIamV1Binding `json:"bindings,omitempty"`

    // Etag: `etag` is used for optimistic concurrency control as a way to
    // help
    // prevent simultaneous updates of a policy from overwriting each
    // other.
    // It is strongly suggested that systems make use of the `etag` in
    // the
    // read-modify-write cycle to perform policy updates in order to avoid
    // race
    // conditions: An `etag` is returned in the response to `getIamPolicy`,
    // and
    // systems are expected to put that etag in the request to
    // `setIamPolicy` to
    // ensure that their change will be applied to the same version of the
    // policy.
    //
    // **Important:** If you use IAM Conditions, you must include the `etag`
    // field
    // whenever you call `setIamPolicy`. If you omit this field, then IAM
    // allows
    // you to overwrite a version `3` policy with a version `1` policy, and
    // all of
    // the conditions in the version `3` policy are lost.
    Etag string `json:"etag,omitempty"`

    // Version: Specifies the format of the policy.
    //
    // Valid values are `0`, `1`, and `3`. Requests that specify an invalid
    // value
    // are rejected.
    //
    // Any operation that affects conditional role bindings must specify
    // version
    // `3`. This requirement applies to the following operations:
    //
    // * Getting a policy that includes a conditional role binding
    // * Adding a conditional role binding to a policy
    // * Changing a conditional role binding in a policy
    // * Removing any role binding, with or without a condition, from a
    // policy
    //   that includes conditions
    //
    // **Important:** If you use IAM Conditions, you must include the `etag`
    // field
    // whenever you call `setIamPolicy`. If you omit this field, then IAM
    // allows
    // you to overwrite a version `3` policy with a version `1` policy, and
    // all of
    // the conditions in the version `3` policy are lost.
    //
    // If a policy does not include any conditions, operations on that
    // policy may
    // specify any valid version or leave the field unset.
    Version int64 `json:"version,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AuditConfigs") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "AuditConfigs") 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 (*GoogleIamV1Policy) MarshalJSON

func (s *GoogleIamV1Policy) MarshalJSON() ([]byte, error)

type GoogleIamV1SetIamPolicyRequest

GoogleIamV1SetIamPolicyRequest: Request message for `SetIamPolicy` method.

type GoogleIamV1SetIamPolicyRequest struct {
    // Policy: REQUIRED: The complete policy to be applied to the
    // `resource`. The size of
    // the policy is limited to a few 10s of KB. An empty policy is a
    // valid policy but certain Cloud Platform services (such as
    // Projects)
    // might reject them.
    Policy *GoogleIamV1Policy `json:"policy,omitempty"`

    // UpdateMask: OPTIONAL: A FieldMask specifying which fields of the
    // policy to modify. Only
    // the fields in the mask will be modified. If no mask is provided,
    // the
    // following default mask is used:
    // paths: "bindings, etag"
    // This field is only used by Cloud IAM.
    UpdateMask string `json:"updateMask,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Policy") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Policy") 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 (*GoogleIamV1SetIamPolicyRequest) MarshalJSON

func (s *GoogleIamV1SetIamPolicyRequest) MarshalJSON() ([]byte, error)

type GoogleIamV1TestIamPermissionsRequest

GoogleIamV1TestIamPermissionsRequest: Request message for `TestIamPermissions` method.

type GoogleIamV1TestIamPermissionsRequest struct {
    // Permissions: The set of permissions to check for the `resource`.
    // Permissions with
    // wildcards (such as '*' or 'storage.*') are not allowed. For
    // more
    // information see
    // [IAM
    // Overview](https://cloud.google.com/iam/docs/overview#permissions).
    Permissions []string `json:"permissions,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Permissions") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Permissions") 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 (*GoogleIamV1TestIamPermissionsRequest) MarshalJSON

func (s *GoogleIamV1TestIamPermissionsRequest) MarshalJSON() ([]byte, error)

type GoogleIamV1TestIamPermissionsResponse

GoogleIamV1TestIamPermissionsResponse: Response message for `TestIamPermissions` method.

type GoogleIamV1TestIamPermissionsResponse struct {
    // Permissions: A subset of `TestPermissionsRequest.permissions` that
    // the caller is
    // allowed.
    Permissions []string `json:"permissions,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Permissions") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Permissions") 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 (*GoogleIamV1TestIamPermissionsResponse) MarshalJSON

func (s *GoogleIamV1TestIamPermissionsResponse) MarshalJSON() ([]byte, error)

type GoogleLongrunningCancelOperationRequest

GoogleLongrunningCancelOperationRequest: The request message for Operations.CancelOperation.

type GoogleLongrunningCancelOperationRequest struct {
}

type GoogleLongrunningListOperationsResponse

GoogleLongrunningListOperationsResponse: The response message for Operations.ListOperations.

type GoogleLongrunningListOperationsResponse struct {
    // NextPageToken: The standard List next-page token.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // Operations: A list of operations that matches the specified filter in
    // the request.
    Operations []*GoogleLongrunningOperation `json:"operations,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "NextPageToken") 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 (*GoogleLongrunningListOperationsResponse) MarshalJSON

func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error)

type GoogleLongrunningOperation

GoogleLongrunningOperation: This resource represents a long-running operation that is the result of a network API call.

type GoogleLongrunningOperation struct {
    // Done: If the value is `false`, it means the operation is still in
    // progress.
    // If `true`, the operation is completed, and either `error` or
    // `response` is
    // available.
    Done bool `json:"done,omitempty"`

    // Error: The error result of the operation in case of failure or
    // cancellation.
    Error *GoogleRpcStatus `json:"error,omitempty"`

    // Metadata: Service-specific metadata associated with the operation.
    // It typically
    // contains progress information and common metadata such as create
    // time.
    // Some services might not provide such metadata.  Any method that
    // returns a
    // long-running operation should document the metadata type, if any.
    Metadata googleapi.RawMessage `json:"metadata,omitempty"`

    // Name: The server-assigned name, which is only unique within the same
    // service that
    // originally returns it. If you use the default HTTP mapping,
    // the
    // `name` should be a resource name ending with
    // `operations/{unique_id}`.
    Name string `json:"name,omitempty"`

    // Response: The normal response of the operation in case of success.
    // If the original
    // method returns no data on success, such as `Delete`, the response
    // is
    // `google.protobuf.Empty`.  If the original method is
    // standard
    // `Get`/`Create`/`Update`, the response should be the resource.  For
    // other
    // methods, the response should have the type `XxxResponse`, where
    // `Xxx`
    // is the original method name.  For example, if the original method
    // name
    // is `TakeSnapshot()`, the inferred response type
    // is
    // `TakeSnapshotResponse`.
    Response googleapi.RawMessage `json:"response,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Done") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Done") 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 (*GoogleLongrunningOperation) MarshalJSON

func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error)

type GoogleProtobufEmpty

GoogleProtobufEmpty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:

service Foo {
  rpc Bar(google.protobuf.Empty) returns

(google.protobuf.Empty);

}

The JSON representation for `Empty` is empty JSON object `{}`.

type GoogleProtobufEmpty struct {
    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`
}

type GoogleRpcStatus

GoogleRpcStatus: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details.

You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

type GoogleRpcStatus struct {
    // Code: The status code, which should be an enum value of
    // google.rpc.Code.
    Code int64 `json:"code,omitempty"`

    // Details: A list of messages that carry the error details.  There is a
    // common set of
    // message types for APIs to use.
    Details []googleapi.RawMessage `json:"details,omitempty"`

    // Message: A developer-facing error message, which should be in
    // English. Any
    // user-facing error message should be localized and sent in
    // the
    // google.rpc.Status.details field, or localized by the client.
    Message string `json:"message,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Code") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Code") 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 (*GoogleRpcStatus) MarshalJSON

func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error)

type GoogleTypeExpr

GoogleTypeExpr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.

Example (Comparison):

title: "Summary size limit"
description: "Determines if a summary is less than 100 chars"
expression: "document.summary.size() < 100"

Example (Equality):

title: "Requestor is owner"
description: "Determines if requestor is the document owner"
expression: "document.owner ==

request.auth.claims.email"

Example (Logic):

title: "Public documents"
description: "Determine whether the document should be publicly

visible"

expression: "document.type != 'private' && document.type !=

'internal'"

Example (Data Manipulation):

title: "Notification string"
description: "Create a notification string with a timestamp."
expression: "'New message received at ' +

string(document.create_time)"

The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

type GoogleTypeExpr struct {
    // Description: Optional. Description of the expression. This is a
    // longer text which
    // describes the expression, e.g. when hovered over it in a UI.
    Description string `json:"description,omitempty"`

    // Expression: Textual representation of an expression in Common
    // Expression Language
    // syntax.
    Expression string `json:"expression,omitempty"`

    // Location: Optional. String indicating the location of the expression
    // for error
    // reporting, e.g. a file name and a position in the file.
    Location string `json:"location,omitempty"`

    // Title: Optional. Title for the expression, i.e. a short string
    // describing
    // its purpose. This can be used e.g. in UIs which allow to enter
    // the
    // expression.
    Title string `json:"title,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Description") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Description") 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 (*GoogleTypeExpr) MarshalJSON

func (s *GoogleTypeExpr) MarshalJSON() ([]byte, error)

type OperationsCancelCall

type OperationsCancelCall struct {
    // contains filtered or unexported fields
}

func (*OperationsCancelCall) Context

func (c *OperationsCancelCall) Context(ctx context.Context) *OperationsCancelCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*OperationsCancelCall) Do

func (c *OperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudprivatecatalogproducer.operations.cancel" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*OperationsCancelCall) Fields

func (c *OperationsCancelCall) Fields(s ...googleapi.Field) *OperationsCancelCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*OperationsCancelCall) Header

func (c *OperationsCancelCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type OperationsDeleteCall

type OperationsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*OperationsDeleteCall) Context

func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*OperationsDeleteCall) Do

func (c *OperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudprivatecatalogproducer.operations.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*OperationsDeleteCall) Fields

func (c *OperationsDeleteCall) Fields(s ...googleapi.Field) *OperationsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*OperationsDeleteCall) Header

func (c *OperationsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type OperationsGetCall

type OperationsGetCall struct {
    // contains filtered or unexported fields
}

func (*OperationsGetCall) Context

func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*OperationsGetCall) Do

func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudprivatecatalogproducer.operations.get" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*OperationsGetCall) Fields

func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*OperationsGetCall) Header

func (c *OperationsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*OperationsGetCall) IfNoneMatch

func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type OperationsListCall

type OperationsListCall struct {
    // contains filtered or unexported fields
}

func (*OperationsListCall) Context

func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*OperationsListCall) Do

func (c *OperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)

Do executes the "cloudprivatecatalogproducer.operations.list" call. Exactly one of *GoogleLongrunningListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*OperationsListCall) Fields

func (c *OperationsListCall) Fields(s ...googleapi.Field) *OperationsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*OperationsListCall) Filter

func (c *OperationsListCall) Filter(filter string) *OperationsListCall

Filter sets the optional parameter "filter": The standard list filter.

func (*OperationsListCall) Header

func (c *OperationsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*OperationsListCall) IfNoneMatch

func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*OperationsListCall) Name

func (c *OperationsListCall) Name(name string) *OperationsListCall

Name sets the optional parameter "name": The name of the operation's parent resource.

func (*OperationsListCall) PageSize

func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall

PageSize sets the optional parameter "pageSize": The standard list page size.

func (*OperationsListCall) PageToken

func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall

PageToken sets the optional parameter "pageToken": The standard list page token.

func (*OperationsListCall) Pages

func (c *OperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type OperationsService

type OperationsService struct {
    // contains filtered or unexported fields
}

func NewOperationsService

func NewOperationsService(s *Service) *OperationsService

func (*OperationsService) Cancel

func (r *OperationsService) Cancel(name string, googlelongrunningcanceloperationrequest *GoogleLongrunningCancelOperationRequest) *OperationsCancelCall

Cancel: Starts asynchronous cancellation on a long-running operation.

The server

makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.

func (*OperationsService) Delete

func (r *OperationsService) Delete(name string) *OperationsDeleteCall

Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

func (*OperationsService) Get

func (r *OperationsService) Get(name string) *OperationsGetCall

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

func (*OperationsService) List

func (r *OperationsService) List() *OperationsListCall

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

type Service

type Service struct {
    BasePath  string // API endpoint base URL
    UserAgent string // optional additional User-Agent fragment

    Catalogs *CatalogsService

    Operations *OperationsService
    // contains filtered or unexported fields
}

func New

func New(client *http.Client) (*Service, error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.