UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 57.5 kB
{"openapi":"3.0.0","servers":[{"url":"https://cloudprivatecatalogproducer.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com"},"description":"Enables cloud users to manage and share enterprise catalogs intheir organizations.","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Cloud Private Catalog Producer","version":"v1beta1","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"converter":{"url":"https://github.com/lucybot/api-spec-converter","version":"2.7.31"},"format":"google","url":"https://cloudprivatecatalogproducer.googleapis.com/$discovery/rest?version=v1beta1","version":"v1"}],"x-providerName":"googleapis.com","x-serviceName":"cloudprivatecatalogproducer"},"externalDocs":{"url":"https://cloud.google.com/private-catalog/"},"tags":[{"name":"operations"},{"name":"catalogs"}],"paths":{"/v1beta1/catalogs":{"get":{"description":"Lists Catalog resources that the producer has access to, within the\nscope of the parent resource.","operationId":"cloudprivatecatalogproducer.catalogs.list","parameters":[{"description":"The maximum number of catalogs to return.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A pagination token returned from a previous call to ListCatalogs\nthat indicates where this listing should continue from.\nThis field is optional.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"The resource name of the parent resource.","in":"query","name":"parent","schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Creates a new Catalog resource.","operationId":"cloudprivatecatalogproducer.catalogs.create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Catalog"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}},"/v1beta1/operations":{"get":{"description":"Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.","operationId":"cloudprivatecatalogproducer.operations.list","parameters":[{"description":"The standard list filter.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The name of the operation's parent resource.","in":"query","name":"name","schema":{"type":"string"}},{"description":"The standard list page size.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"The standard list page token.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningListOperationsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["operations"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}]},"/v1beta1/{name}":{"delete":{"description":"Hard deletes a Version.","operationId":"cloudprivatecatalogproducer.catalogs.products.versions.delete","parameters":[{"description":"The resource name of the version.","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-reservedExpansion":true},{"description":"Forces deletion of the `Catalog` and its `Association` resources.\nIf the `Catalog` is still associated with other resources and\nforce is not set to true, then the operation fails.","in":"query","name":"force","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleProtobufEmpty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]},"get":{"description":"Returns the requested Version resource.","operationId":"cloudprivatecatalogproducer.catalogs.products.versions.get","parameters":[{"description":"The resource name of the version.","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Version"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"patch":{"description":"Updates a specific Version resource.","operationId":"cloudprivatecatalogproducer.catalogs.products.versions.patch","parameters":[{"description":"Required. The resource name of the version, in the format\n`catalogs/{catalog_id}/products/{product_id}/versions/a-z*[a-z0-9]'.\n\nA unique identifier for the version under a product, which can't\nbe changed after the version is created. The final segment of the name must\nbetween 1 and 63 characters in length.","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-reservedExpansion":true},{"description":"Field mask that controls which fields of the version should be updated.","in":"query","name":"updateMask","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Version"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Version"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}},"/v1beta1/{name}:cancel":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.","operationId":"cloudprivatecatalogproducer.operations.cancel","parameters":[{"description":"The name of the operation resource to be cancelled.","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningCancelOperationRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleProtobufEmpty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["operations"]}},"/v1beta1/{name}:copy":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Copies a Product under another Catalog.","operationId":"cloudprivatecatalogproducer.catalogs.products.copy","parameters":[{"description":"The resource name of the current product that is copied from.","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}},"/v1beta1/{name}:undelete":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Undeletes a deleted Catalog and all resources under it.","operationId":"cloudprivatecatalogproducer.catalogs.undelete","parameters":[{"description":"The resource name of the catalog.","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Catalog"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}},"/v1beta1/{parent}/associations":{"get":{"description":"Lists all Association resources under a catalog.","operationId":"cloudprivatecatalogproducer.catalogs.associations.list","parameters":[{"description":"The resource name of the `Catalog` whose `Associations` are\nbeing retrieved. In the format `catalogs/<catalog>`.","in":"path","name":"parent","required":true,"schema":{"type":"string"},"x-reservedExpansion":true},{"description":"The maximum number of catalog associations to return.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A pagination token returned from the previous call to\n`ListAssociations`.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Creates an Association instance under a given Catalog.","operationId":"cloudprivatecatalogproducer.catalogs.associations.create","parameters":[{"description":"The `Catalog` resource's name.","in":"path","name":"parent","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Association"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}},"/v1beta1/{parent}/products":{"get":{"description":"Lists Product resources that the producer has access to, within the\nscope of the parent catalog.","operationId":"cloudprivatecatalogproducer.catalogs.products.list","parameters":[{"description":"The resource name of the parent resource.","in":"path","name":"parent","required":true,"schema":{"type":"string"},"x-reservedExpansion":true},{"description":"A filter expression used to restrict the returned results based\nupon properties of the product.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of products to return.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A pagination token returned from a previous call to ListProducts\nthat indicates where this listing should continue from.\nThis field is optional.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Creates a Product instance under a given Catalog.","operationId":"cloudprivatecatalogproducer.catalogs.products.create","parameters":[{"description":"The catalog name of the new product's parent.","in":"path","name":"parent","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Product"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Product"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}},"/v1beta1/{parent}/versions":{"get":{"description":"Lists Version resources that the producer has access to, within the\nscope of the parent Product.","operationId":"cloudprivatecatalogproducer.catalogs.products.versions.list","parameters":[{"description":"The resource name of the parent resource.","in":"path","name":"parent","required":true,"schema":{"type":"string"},"x-reservedExpansion":true},{"description":"The maximum number of versions to return.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A pagination token returned from a previous call to ListVersions\nthat indicates where this listing should continue from.\nThis field is optional.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Creates a Version instance under a given Product.","operationId":"cloudprivatecatalogproducer.catalogs.products.versions.create","parameters":[{"description":"The product name of the new version's parent.","in":"path","name":"parent","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Version"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleLongrunningOperation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}},"/v1beta1/{product}/icons:upload":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Creates an Icon instance under a given Product.\nIf Product only has a default icon, a new Icon\ninstance is created and associated with the given Product.\nIf Product already has a non-default icon, the action creates\na new Icon instance, associates the newly created\nIcon with the given Product and deletes the old icon.","operationId":"cloudprivatecatalogproducer.catalogs.products.icons.upload","parameters":[{"description":"The resource name of the product.","in":"path","name":"product","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleProtobufEmpty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}},"/v1beta1/{resource}:getIamPolicy":{"get":{"description":"Gets IAM policy for the specified Catalog.","operationId":"cloudprivatecatalogproducer.catalogs.getIamPolicy","parameters":[{"description":"REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.","in":"path","name":"resource","required":true,"schema":{"type":"string"},"x-reservedExpansion":true},{"description":"Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.","in":"query","name":"options.requestedPolicyVersion","schema":{"type":"integer"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleIamV1Policy"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}]},"/v1beta1/{resource}:setIamPolicy":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Sets the IAM policy for the specified Catalog.","operationId":"cloudprivatecatalogproducer.catalogs.setIamPolicy","parameters":[{"description":"REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.","in":"path","name":"resource","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIamV1SetIamPolicyRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleIamV1Policy"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}},"/v1beta1/{resource}:testIamPermissions":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/callback"}],"post":{"description":"Tests the IAM permissions for the specified Catalog.","operationId":"cloudprivatecatalogproducer.catalogs.testIamPermissions","parameters":[{"description":"REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.","in":"path","name":"resource","required":true,"schema":{"type":"string"},"x-reservedExpansion":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIamV1TestIamPermissionsRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GoogleIamV1TestIamPermissionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["catalogs"]}}},"components":{"parameters":{"_.xgafv":{"description":"V1 error format.","in":"query","name":"$.xgafv","schema":{"enum":["1","2"],"type":"string"}},"access_token":{"description":"OAuth access token.","in":"query","name":"access_token","schema":{"type":"string"}},"alt":{"description":"Data format for response.","in":"query","name":"alt","schema":{"default":"json","enum":["json","media","proto"],"type":"string"}},"callback":{"description":"JSONP","in":"query","name":"callback","schema":{"type":"string"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"default":true,"type":"boolean"}},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","in":"query","name":"uploadType","schema":{"type":"string"}},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","in":"query","name":"upload_protocol","schema":{"type":"string"}}},"requestBodies":{"GoogleCloudPrivatecatalogproducerV1beta1Version":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Version"}}}}},"schemas":{"GoogleCloudPrivatecatalogproducerV1beta1Association":{"description":"An association tuple that pairs a `Catalog` to a resource\nthat can use the `Catalog`. After association, a\ngoogle.cloud.privatecatalog.v1beta1.Catalog becomes available to\nconsumers under specified Association.resource and all of its child\nnodes.\nUsers who have the `cloudprivatecatalog.targets.get` permission on any of\nthe resource nodes can access the catalog and child products under the node.\n\nFor example, suppose the cloud resource hierarchy is as follows:\n\n* organizations/example.com\n * folders/team\n * projects/test\n\nAfter creating an association with `organizations/example.com`, the catalog\n`catalogs/1` is accessible from the following paths:\n\n* organizations/example.com\n* folders/team\n* projects/test\n\nUsers can access them by\ngoogle.cloud.v1beta1.PrivateCatalog.SearchCatalogs action.","properties":{"createTime":{"description":"The creation time of the association.","format":"google-datetime","type":"string"},"name":{"description":"Output only. The resource name of the catalog association, in the format\n`catalogs/{catalog_id}/associations/{association_id}'.\n\nA unique identifier for the catalog association, which is\ngenerated by catalog service.","type":"string"},"resource":{"description":"Required. The user-supplied fully qualified name of the `Resource`\nassociated to the `Catalog`. It supports `Organization`, `Folder`,\nand `Project`. Values are of the form\n\n* `//cloudresourcemanager.googleapis.com/projects/{product_number}`\n* `//cloudresourcemanager.googleapis.com/folders/{folder_id}`\n* `//cloudresourcemanager.googleapis.com/organizations/{organization_id}`","type":"string"}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1Catalog":{"description":"The producer representation of a catalog which is a curated collection of\nsolutions that can be managed, controlled, and shared by cloud admins.","properties":{"createTime":{"description":"Output only. The time when the catalog was created.","format":"google-datetime","type":"string"},"description":{"description":"Required. The user-supplied description of the catalog. Maximum of 512\ncharacters.","type":"string"},"displayName":{"description":"Required. The user-supplied descriptive name of the catalog as it appears\nin UIs. Maximum 256 characters in length.","type":"string"},"name":{"description":"Output only. The resource name of the catalog, in the format\n`catalogs/{catalog_id}'.\n\nA unique identifier for the catalog, which is generated\nby catalog service.","type":"string"},"parent":{"description":"Required. The parent resource name of the catalog, which can't be changed\nafter a catalog is created. It can only be an organization. Values are of\nthe form `//cloudresourcemanager.googleapis.com/organizations/<id>`.\nMaximum 256 characters in length.","type":"string"},"updateTime":{"description":"Output only. The time when the catalog was last updated.","format":"google-datetime","type":"string"}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest":{"properties":{"destinationProductName":{"description":"The resource name of the destination product that is copied to.","type":"string"}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest":{"properties":{"association":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Association","description":"The user-supplied `Association` that is going to be created.\n\nIf the `resource` field is set, the\n`privatecatalogproducer.catalogTargets.associate` permission is checked on\nthe target resource."}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse":{"properties":{"associations":{"description":"The returned `Association` resources from the list call.","items":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Association"},"type":"array"},"nextPageToken":{"description":"A pagination token returned from a previous call to\n`ListAssociations` that indicates where the listing should continue from.\nThis field is optional.","type":"string"}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse":{"properties":{"catalogs":{"description":"The `Catalogs` returned from the list call.","items":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Catalog"},"type":"array"},"nextPageToken":{"description":"A pagination token returned from a previous call to ListCatalogs\nthat indicates where the listing should continue from.\nThis field is optional.","type":"string"}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse":{"properties":{"nextPageToken":{"description":"A pagination token returned from a previous call to ListProducts\nthat indicates where the listing should continue from.\nThis field is optional.","type":"string"},"products":{"description":"The `Product` returned from the list call.","items":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Product"},"type":"array"}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse":{"properties":{"nextPageToken":{"description":"A pagination token returned from a previous call to ListProducts\nthat indicates where the listing should continue from.\nThis field is optional.","type":"string"},"versions":{"description":"The `VersiVersionon` returned from the list call.","items":{"$ref":"#/components/schemas/GoogleCloudPrivatecatalogproducerV1beta1Version"},"type":"array"}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1Product":{"description":"The producer representation of a product which is a child resource of\n`Catalog` with display metadata and a list of `Version` resources.","properties":{"assetType":{"description":"Required. The type of the product asset, which cannot be changed after the\nproduct is created. It supports the values\n`google.deploymentmanager.Template` and\n`google.cloudprivatecatalog.ListingOnly`. Other values will be\nrejected by the server. Read only after creation.\n\nThe following fields or resource types have different validation rules\nunder each `asset_type` values:\n\n* Product.display_metadata has different validation schema for each\nasset type value. See its comment for details.\n* Version resource isn't allowed to be added under the\n`google.cloudprivatecatalog.ListingOnly` type.","type":"string"},"createTime":{"description":"Output only. The time when the product was created.","format":"google-datetime","type":"string"},"displayMetadata":{"additionalProperties":{"description":"Properties of the object."},"description":"The user-supplied display metadata to describe the product.\nThe JSON schema of the metadata differs by Product.asset_type.\nWhen the type is `google.deploymentmanager.Template`, the schema is as\nfollows:\n\n```\n\"$schema\": http://json-schema.org/draft-04/schema#\ntype: object\nproperties:\n name:\n type: string\n minLength: 1\n maxLength: 64\n description:\n type: string\n minLength: 1\n maxLength: 2048\n tagline:\n type: string\n minLength: 1\n maxLength: 100\n support_info:\n type: string\n minLength: 1\n maxLength: 2048\n creator:\n type: string\n minLength: 1\n maxLength: 100\n documentation:\n type: array\n items:\n type: object\n properties:\n url:\n type: string\n pattern:\n \"^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]\"\n title:\n type: string\n minLength: 1\n maxLength: 64\n description:\n type: string\n minLength: 1\n maxLength: 2048\nrequired:\n- name\n- description\nadditionalProperties: false\n\n```\n\nWhen the asset type is `google.cloudprivatecatalog.ListingOnly`, the schema\nis as follows:\n\n```\n\"$schema\": http://json-schema.org/draft-04/schema#\ntype: object\nproperties:\n name:\n type: string\n minLength: 1\n maxLength: 64\n description:\n type: string\n minLength: 1\n maxLength: 2048\n tagline:\n type: string\n minLength: 1\n maxLength: 100\n support_info:\n type: string\n minLength: 1\n maxLength: 2048\n creator:\n type: string\n minLength: 1\n maxLength: 100\n documentation:\n type: array\n items:\n type: object\n properties:\n url:\n type: string\n pattern:\n \"^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]\"\n title:\n type: string\n minLength: 1\n maxLength: 64\n description:\n type: string\n minLength: 1\n maxLength: 2048\n signup_url:\n type: string\n pattern:\n \"^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]\"\nrequired:\n- name\n- description\n- signup_url\nadditionalProperties: false\n```","type":"object"},"iconUri":{"description":"Output only. The public accessible URI of the icon uploaded by\nPrivateCatalogProducer.UploadIcon.\n\nIf no icon is uploaded, it will be the default icon's URI.","type":"string"},"name":{"description":"Required. The resource name of the product in the format\n`catalogs/{catalog_id}/products/a-z*[a-z0-9]'.\n\nA unique identifier for the product under a catalog, which cannot\nbe changed after the product is created. The final\nsegment of the name must between 1 and 256 characters in length.","type":"string"},"updateTime":{"description":"Output only. The time when the product was last updated.","format":"google-datetime","type":"string"}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest":{"properties":{},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest":{"properties":{"icon":{"description":"The raw icon bytes user-supplied to be uploaded to the product. The format\nof the icon can only be PNG or JPEG. The minimum allowed dimensions are\n130x130 pixels and the maximum dimensions are 10000x10000 pixels.\nRequired.","format":"byte","type":"string"}},"type":"object"},"GoogleCloudPrivatecatalogproducerV1beta1Version":{"description":"The producer representation of a version, which is a child resource under a\n`Product` with asset data.","properties":{"asset":{"additionalProperties":{"description":"Properties of the object."},"description":"Output only. The asset which has been validated and is ready to be\nprovisioned. See Version.original_asset for the schema.","type":"object"},"createTime":{"description":"Output only. The time when the version was created.","format":"google-datetime","type":"string"},"description":{"description":"The user-supplied description of the version. Maximum of 256 characters.","type":"string"},"name":{"description":"Required. The resource name of the version, in the format\n`catalogs/{catalog_id}/products/{product_id}/versions/a-z*[a-z0-9]'.\n\nA unique identifier for the version under a product, which can't\nbe changed after the version is created. The final segment of the name must\nbetween 1 and 63 characters in length.","type":"string"},"originalAsset":{"additionalProperties":{"description":"Properties of the object."},"description":"The user-supplied asset payload. The maximum size of the payload is 2MB.\nThe JSON schema of the payload is defined as:\n\n```\ntype: object\nproperties:\n mainTemplate:\n type: string\n description: The file name of the main template and name prefix of\n schema file. The content of the main template should be set in the\n imports list. The schema file name is expected to be\n <mainTemplate>.schema in the imports list. required: true\n imports:\n type: array\n description: Import template and schema file contents. Required to have\n both <mainTemplate> and <mainTemplate>.schema files. required: true\n minItems: 2\n items:\n type: object\n properties:\n name:\n type: string\n content:\n type: string\n```","type":"object"},"updateTime":{"description":"Output only. The time when the version was last updated.","format":"google-datetime","type":"string"}},"type":"object"},"GoogleIamV1AuditConfig":{"description":"Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.","properties":{"auditLogConfigs":{"description":"The configuration for logging of each type of permission.","items":{"$ref":"#/components/schemas/GoogleIamV1AuditLogConfig"},"type":"array"},"service":{"description":"Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.","type":"string"}},"type":"object"},"GoogleIamV1AuditLogConfig":{"description":"Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.","properties":{"exemptedMembers":{"description":"Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.","items":{"type":"string"},"type":"array"},"logType":{"description":"The log type that this config enables.","enum":["LOG_TYPE_UNSPECIFIED","ADMIN_READ","DATA_WRITE","DATA_READ"],"type":"string"}},"type":"object"},"GoogleIamV1Binding":{"description":"Associates `members` with a `role`.","properties":{"condition":{"$ref":"#/components/schemas/GoogleTypeExpr","description":"The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."},"members":{"description":"Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.\n\n","items":{"type":"string"},"type":"array"},"role":{"description":"Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.","type":"string"}},"type":"object"},"GoogleIamV1Policy":{"description":"An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).","properties":{"auditConfigs":{"description":"Specifies cloud audit logging configuration for this policy.","items":{"$ref":"#/components/schemas/GoogleIamV1AuditConfig"},"type":"array"},"bindings":{"description":"Associates a list of `members` to a `role`. Optionally, may specify a\n`condition` that determines how and when the `bindings` are applied. Each\nof the `bindings` must contain at least one member.","items":{"$ref":"#/components/schemas/GoogleIamV1Binding"},"type":"array"},"etag":{"description":"`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.","format":"byte","type":"string"},"version":{"description":"Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call