REST Resource: projects.locations.services

Resource: Service

Message describing Service resource.

JSON representation
{
  "name": string,
  "title": string,
  "documentRequirement": {
    object (DocumentRequirement)
  },
  "productType": enum (ProductType)
}
Fields
name

string

Identifier. Name of resource.

title

string

Output only. Title of the service.

Not included for SERVICE_VIEW_BASIC.

documentRequirement

object (DocumentRequirement)

Output only. Document requirement for private offers on this service.

Constraints that apply to every service, such as the restriction against attaching both a standard and a custom EULA, are documented on PrivateOfferDocument and are not represented here.

productType

enum (ProductType)

Output only. Type of the product this service commercializes.

DocumentRequirement

Requirements and constraints for documents attached to private offers.

JSON representation
{
  "documentTypeRequirements": [
    {
      object (DocumentTypeRequirement)
    }
  ]
}
Fields
documentTypeRequirements[]

object (DocumentTypeRequirement)

Document requirements for private offers on this service.

Each document type appears at most once. The order of entries is not significant. A document type that is not present in this list is not permitted for private offers on this service.

DocumentTypeRequirement

Requirement specification for a specific document type.

JSON representation
{
  "documentType": enum (DocumentType),
  "requirementLevel": enum (RequirementLevel)
}
Fields
documentType

enum (DocumentType)

The document type.

requirementLevel

enum (RequirementLevel)

The requirement level for this document type.

RequirementLevel

Requirement level for the document type.

Enums
REQUIREMENT_LEVEL_UNSPECIFIED Unspecified requirement level. Do not use.
REQUIRED The document type is mandatory for private offers on this service. Exactly one document of this type must be attached.
OPTIONAL The document type is optional for private offers on this service. At most one document of this type may be attached.
NOT_ALLOWED

The document type is not permitted for private offers on this service. No document of this type may be attached.

A document type omitted from documentTypeRequirements is also not permitted. This value is used to state the restriction explicitly.

ProductType

The type of the product this service commercializes.

Every service has a type, but only the types listed below are exposed. A service whose type is not one of the listed values reports PRODUCT_TYPE_UNSPECIFIED.

Values may be added over time. Clients must handle unrecognized values. When new values are added, the ProductType for an existing service may change. Clients must also be able to handle a change in ProductType.

Enums
PRODUCT_TYPE_UNSPECIFIED The service has a type, but it is not one of the types exposed below.
SOFTWARE_AS_A_SERVICE Represents a software-as-a-service product. See https://docs.cloud.google.com/marketplace/docs/partners/integrated-saas
ANALYTICS_HUB_LISTING Represents a data product on BigQuery sharing (formerly Analytics Hub). See https://docs.cloud.google.com/marketplace/docs/partners/data
PROFESSIONAL_SERVICES Represents a professional services product. See https://docs.cloud.google.com/marketplace/docs/partners/professional-services

Methods

get

Gets details of a single Service.

list

Lists Services in a given project and location.