{
  "documentationLink": "https://developers.google.com/cloud-crm-partners",
  "version_module": true,
  "discoveryVersion": "v1",
  "batchPath": "batch",
  "rootUrl": "https://cloudcrmpartners.googleapis.com/",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "baseUrl": "https://cloudcrmpartners.googleapis.com/",
  "resources": {
    "partners": {
      "resources": {
        "leads": {
          "methods": {
            "create": {
              "id": "cloudcrmpartners.partners.leads.create",
              "path": "v1/{+parent}/leads",
              "flatPath": "v1/partners/{partnersId}/leads",
              "httpMethod": "POST",
              "parameters": {
                "parent": {
                  "description": "Required. The parent resource name where the Lead is to be created. Format: “partners/{partner_id}\".",
                  "pattern": "^partners/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "parent"
              ],
              "request": {
                "$ref": "Lead"
              },
              "response": {
                "$ref": "Lead"
              },
              "description": "Creates a Lead for a Partner."
            },
            "get": {
              "id": "cloudcrmpartners.partners.leads.get",
              "path": "v1/{+name}",
              "flatPath": "v1/partners/{partnersId}/leads/{leadsId}",
              "httpMethod": "GET",
              "parameters": {
                "name": {
                  "description": "Required. Format: \"partners/{partner_id}/leads/{lead_id}\"",
                  "pattern": "^partners/[^/]+/leads/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "Lead"
              },
              "description": "Gets a Lead."
            }
          }
        },
        "opportunities": {
          "methods": {
            "get": {
              "id": "cloudcrmpartners.partners.opportunities.get",
              "path": "v1/{+name}",
              "flatPath": "v1/partners/{partnersId}/opportunities/{opportunitiesId}",
              "httpMethod": "GET",
              "parameters": {
                "name": {
                  "description": "Required. Format: \"partners/{partner_id}/opportunities/{opportunity_id}\"",
                  "pattern": "^partners/[^/]+/opportunities/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                }
              },
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "Opportunity"
              },
              "description": "Gets an Opportunity."
            },
            "patch": {
              "id": "cloudcrmpartners.partners.opportunities.patch",
              "path": "v1/{+name}",
              "flatPath": "v1/partners/{partnersId}/opportunities/{opportunitiesId}",
              "httpMethod": "PATCH",
              "parameters": {
                "name": {
                  "description": "Format: partners/{partner_id}/opportunities/{opportunity_id}",
                  "pattern": "^partners/[^/]+/opportunities/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                },
                "updateMask": {
                  "description": "The update mask applies to the resource.",
                  "location": "query",
                  "type": "string",
                  "format": "google-fieldmask"
                }
              },
              "parameterOrder": [
                "name"
              ],
              "request": {
                "$ref": "Opportunity"
              },
              "response": {
                "$ref": "Opportunity"
              },
              "description": "Updates an Opportunity for a Partner."
            }
          }
        }
      }
    }
  },
  "protocol": "rest",
  "ownerName": "Google",
  "kind": "discovery#restDescription",
  "name": "cloudcrmpartners",
  "title": "Cloud CRM Partners API",
  "parameters": {
    "access_token": {
      "type": "string",
      "description": "OAuth access token.",
      "location": "query"
    },
    "alt": {
      "type": "string",
      "description": "Data format for response.",
      "default": "json",
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "location": "query"
    },
    "callback": {
      "type": "string",
      "description": "JSONP",
      "location": "query"
    },
    "fields": {
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response.",
      "location": "query"
    },
    "key": {
      "type": "string",
      "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.",
      "location": "query"
    },
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "prettyPrint": {
      "type": "boolean",
      "description": "Returns response with indentations and line breaks.",
      "default": "true",
      "location": "query"
    },
    "quotaUser": {
      "type": "string",
      "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.",
      "location": "query"
    },
    "upload_protocol": {
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "location": "query"
    },
    "uploadType": {
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "location": "query"
    },
    "$.xgafv": {
      "type": "string",
      "description": "V1 error format.",
      "enum": [
        "1",
        "2"
      ],
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "location": "query"
    }
  },
  "description": "cloudcrmpartners.googleapis.com API.",
  "revision": "20260517",
  "schemas": {
    "Lead": {
      "id": "Lead",
      "description": "Resource representing a Lead for a Google Cloud Partner.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Output only. Resource name of the Lead. Format: partners/{partner_id}/leads/{lead_id}",
          "readOnly": true,
          "type": "string"
        },
        "engagementModel": {
          "description": "Required. Partner Engagement Model.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Represents a Build Partner.",
            "Represents a Service Partner."
          ],
          "enum": [
            "ENGAGEMENT_MODEL_UNSPECIFIED",
            "ENGAGEMENT_MODEL_BUILD",
            "ENGAGEMENT_MODEL_SERVICE"
          ]
        },
        "dealTransactionType": {
          "description": "Required. Type of Deal Transaction.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Represents Deal Submission."
          ],
          "enum": [
            "DEAL_TRANSACTION_TYPE_UNSPECIFIED",
            "DEAL_TRANSACTION_TYPE_DEAL_SUBMISSION"
          ]
        },
        "customer": {
          "description": "Required. Represents Customer Account.",
          "$ref": "Customer"
        },
        "partnerAnnualContractValue": {
          "description": "Required. Estimated Partner Annual Contract Value (ACV).",
          "type": "number",
          "format": "double"
        },
        "leadCurrencyCode": {
          "description": "Required. Lead currency code.",
          "type": "string"
        },
        "estimatedCloseDate": {
          "description": "Required. Estimated Deal close date.",
          "$ref": "Date"
        },
        "dealTerm": {
          "description": "Required. Deal term.",
          "type": "string"
        },
        "opportunitySummary": {
          "description": "Required. Summary of the Opportunity.",
          "type": "string"
        },
        "supportLevel": {
          "description": "Required. Level of support required for the lead.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Technical support.",
            "Transaction related support (POC/GCP Marketplace/Procurement).",
            "Up-selling/Renewal/Cross-selling support.",
            "Align sales/account strategy.",
            "Already in touch with the Google Cloud Sales Team.",
            "Other (Please use “Summary of the Opportunity” field for explanation)."
          ],
          "enum": [
            "SUPPORT_LEVEL_UNSPECIFIED",
            "SUPPORT_LEVEL_TECHNICAL_SUPPORT",
            "SUPPORT_LEVEL_TRANSACTION_RELATED",
            "SUPPORT_LEVEL_UP_SELLING_OR_CROSS_SELLING",
            "SUPPORT_LEVEL_ALIGN_SALES_OR_ACCOUNT_STRATEGY",
            "SUPPORT_LEVEL_ALREADY_IN_TOUCH_WITH_CLOUD_SALES",
            "SUPPORT_LEVEL_OTHER"
          ]
        },
        "productInterests": {
          "description": "Required. Primary product(s) of interest. Only a single value is supported at this time.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "None specified.",
              "Chrome enterprise.",
              "Google Cloud Platform.",
              "Google Maps Platform.",
              "Google Workspace.",
              "Professional Services Organization."
            ],
            "enum": [
              "PRODUCT_FAMILY_UNSPECIFIED",
              "PRODUCT_FAMILY_CHROME_ENTERPRISE",
              "PRODUCT_FAMILY_GOOGLE_CLOUD_PLATFORM",
              "PRODUCT_FAMILY_GOOGLE_MAPS_PLATFORM",
              "PRODUCT_FAMILY_GOOGLE_WORKSPACE",
              "PRODUCT_FAMILY_PROFESSIONAL_SERVICES_ORGANIZATION"
            ]
          }
        },
        "leadStatus": {
          "description": "Output only. Status of the Lead.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Lead is submitted.",
            "Lead is being reviewed.",
            "Lead is converted to an Opportunity.",
            "Lead is newly created."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "STATE_SUBMITTED",
            "STATE_REVIEWED",
            "STATE_CONVERTED",
            "STATE_NEW"
          ]
        },
        "leadApprovalStatus": {
          "description": "Output only. Approval Status of the Lead.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Lead approval is in process.",
            "Lead is approved.",
            "Lead is not approved.",
            "More information is required to approve the Lead."
          ],
          "enum": [
            "APPROVAL_STATE_UNSPECIFIED",
            "APPROVAL_STATE_IN_PROCESS",
            "APPROVAL_STATE_APPROVED",
            "APPROVAL_STATE_NOT_APPROVED",
            "APPROVAL_STATE_MORE_INFO_REQUIRED"
          ]
        },
        "submitterEmail": {
          "description": "Required. Email of the partner user who is submitting the Lead;",
          "type": "string"
        },
        "submittedTime": {
          "description": "Output only. The time at which the lead was submitted.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "rejectionComments": {
          "description": "Output only. Comments for rejecting the Lead.",
          "readOnly": true,
          "type": "string"
        },
        "approvalNotes": {
          "description": "Output only. Notes for approving the Lead.",
          "readOnly": true,
          "type": "string"
        },
        "externalSystemId": {
          "description": "Required. External ID of Lead.",
          "type": "string"
        },
        "description": {
          "description": "Required. Description of Lead.",
          "type": "string"
        },
        "title": {
          "description": "Output only. A human-readable name to identify the Lead.",
          "readOnly": true,
          "type": "string"
        },
        "customerContactRequested": {
          "description": "Required. Has Customer requested to be contacted.",
          "type": "boolean"
        },
        "deliveryModel": {
          "description": "Required. Delivery Model.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "VM on customer tenancy.",
            "SaaS on GCP.",
            "Other."
          ],
          "enum": [
            "DELIVERY_MODEL_UNSPECIFIED",
            "DELIVERY_MODEL_VM_ON_CUSTOMER_TENANCY",
            "DELIVERY_MODEL_SAAS_ON_GCP",
            "DELIVERY_MODEL_OTHER"
          ]
        },
        "contractVehicle": {
          "description": "Required. Contract Vehicle.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Marketplace.",
            "Not known at this time.",
            "Partner Contract."
          ],
          "enum": [
            "CONTRACT_VEHICLE_UNSPECIFIED",
            "CONTRACT_VEHICLE_MARKETPLACE",
            "CONTRACT_VEHICLE_NOT_KNOWN_AT_THIS_TIME",
            "CONTRACT_VEHICLE_PARTNER_CONTRACT"
          ]
        },
        "isvSolutionConnectDeal": {
          "description": "Required. Indicates if this is an ISV Solution connect deal.",
          "type": "boolean"
        },
        "rejectionReason": {
          "description": "Output only. Reason to reject the Lead.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Duplicate in the system.",
            "Does not meet minimum eligibility criteria.",
            "Additional Info Not received within 30 days."
          ],
          "enum": [
            "REJECTION_REASON_UNSPECIFIED",
            "REJECTION_REASON_DUPLICATE_LEAD",
            "REJECTION_REASON_DOES_NOT_MEET_ELIGIBILITY_CRITERIA",
            "REJECTION_REASON_ADDITIONAL_INFO_NOT_RECEIVED"
          ]
        },
        "leadSource": {
          "description": "Lead source.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "WorkSpan."
          ],
          "enum": [
            "LEAD_SOURCE_UNSPECIFIED",
            "LEAD_SOURCE_WORKSPAN"
          ]
        },
        "createDate": {
          "description": "Output only. Created date.",
          "readOnly": true,
          "$ref": "Date"
        },
        "budget": {
          "description": "Optional. Budget.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Budget exists; not specified.",
            "Exact budget given.",
            "Refuse to disclose.",
            "Confirmed NO budget."
          ],
          "enum": [
            "BUDGET_UNSPECIFIED",
            "BUDGET_EXISTS_BUT_NOT_SPECIFIED",
            "EXACT_BUDGET_GIVEN",
            "REFUSE_TO_DISCLOSE",
            "CONFIRMED_NO_BUDGET"
          ]
        },
        "timeline": {
          "description": "Optional. Timeline.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Specific decision - dates given.",
            "Vague decision - dates given.",
            "Refused to give date.",
            "Confirmed NO decision date."
          ],
          "enum": [
            "TIMELINE_UNSPECIFIED",
            "SPECIFIC_DECISION_DATES_GIVEN",
            "VAGUE_DECISION_DATES_GIVEN",
            "REFUSE_TO_GIVE_DATE",
            "CONFIRMED_NO_DECISION_DATE"
          ]
        },
        "authority": {
          "description": "Optional. Authority.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Have clearly identified process & people.",
            "Have vague understanding.",
            "Don't know.",
            "Confirmed NO authority decided."
          ],
          "enum": [
            "AUTHORITY_UNSPECIFIED",
            "HAVE_CLEARLY_IDENTIFIED_PROCESS",
            "HAVE_VAGUE_UNDERSTANDING",
            "DONT_KNOW",
            "CONFIRMED_NO_AUTHORITY_DECIDED"
          ]
        },
        "need": {
          "description": "Optional. Need.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Compelling need.",
            "Clear need.",
            "No need."
          ],
          "enum": [
            "NEED_UNSPECIFIED",
            "COMELLING_NEED",
            "CLEAR_NEED",
            "NO_NEED"
          ]
        },
        "isPublicTender": {
          "description": "Optional. Determines whether the Lead is a response to RFP, Public Tender, Competitive Bid. \"Yes\" indicates your customer is a public sector organization and requires competing offers from multiple vendors",
          "type": "boolean"
        },
        "isConfidential": {
          "description": "Optional. Indicates whether the Lead is confidential.",
          "type": "boolean"
        }
      }
    },
    "Customer": {
      "id": "Customer",
      "description": "Resource representing a Lead for a Google Cloud Partner.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Output only. Resource ID of the customer. Format: customers/{customer}",
          "readOnly": true,
          "type": "string"
        },
        "company": {
          "description": "Customer company name.",
          "type": "string"
        },
        "googleAccountDomain": {
          "description": "Google Account domain for the customer company.",
          "type": "string"
        },
        "totalEmployees": {
          "description": "Number of employees in company.",
          "type": "integer",
          "format": "int32"
        },
        "industry": {
          "description": "Customer Industry.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Advertising & Marketing.",
            "Agriculture.",
            "Automotive.",
            "Business & Professional Services.",
            "Consumer Packaged Goods.",
            "Education.",
            "Electrical & Electronics.",
            "Energy & Utilities.",
            "Financial Services.",
            "Food, Beverage & Restaurants.",
            "Gaming.",
            "Healthcare & Life Sciences.",
            "Industrial Goods & Manufacturing.",
            "Law & Government.",
            "Logistics & Transportation.",
            "Manufacturing, Industrial & Transportation.",
            "Media & Entertainment.",
            "Non-Profit.",
            "Other.",
            "Public Sector & EDU.",
            "Retail & Consumer.",
            "Retail & Wholesale.",
            "Software & Internet.",
            "Telecommunications.",
            "Telecommunications, Media & Gaming.",
            "Tourism & Leisure."
          ],
          "enum": [
            "INDUSTRY_UNSPECIFIED",
            "INDUSTRY_ADVERTISING_AND_MARKETING",
            "INDUSTRY_AGRICULTURE",
            "INDUSTRY_AUTOMOTIVE",
            "INDUSTRY_BUSINESS_AND_PROFESSIONAL_SERVICES",
            "INDUSTRY_CONSUMER_PACKAGED_GOODS",
            "INDUSTRY_EDUCATION",
            "INDUSTRY_ELECTRICAL_AND_ELECTRONICS",
            "INDUSTRY_ENERGY_AND_UTILITIES",
            "INDUSTRY_FINANCIAL_SERVICES",
            "INDUSTRY_FOOD_BEVERAGE_AND_RESTAURANTS",
            "INDUSTRY_GAMING",
            "INDUSTRY_HEALTHCARE_AND_LIFE_SCIENCES",
            "INDUSTRY_INDUSTRIAL_GOODS_AND_MANUFACTURING",
            "INDUSTRY_LAW_AND_GOVERNMENT",
            "INDUSTRY_LOGISTICS_AND_TRANSPORTATION",
            "INDUSTRY_MANUFACTURING_INDUSTRIAL_AND_TRANSPORTATION",
            "INDUSTRY_MEDIA_AND_ENTERTAINMENT",
            "INDUSTRY_NON_PROFIT",
            "INDUSTRY_OTHER",
            "INDUSTRY_PUBLIC_SECTOR_AND_EDU",
            "INDUSTRY_RETAIL_AND_CONSUMER",
            "INDUSTRY_RETAIL_AND_WHOLESALE",
            "INDUSTRY_SOFTWARE_AND_INTERNET",
            "INDUSTRY_TELECOMMUNICATIONS",
            "INDUSTRY_TELECOMMUNICATIONS_MEDIA_AND_GAMING",
            "INDUSTRY_TOURISM_AND_LEISURE"
          ]
        },
        "customerAddress": {
          "description": "Customer Address.",
          "$ref": "CustomerAddress"
        },
        "customerContacts": {
          "description": "Contacts related to Customer.",
          "type": "array",
          "items": {
            "$ref": "CustomerContact"
          }
        }
      }
    },
    "CustomerAddress": {
      "id": "CustomerAddress",
      "description": "Represents address details for the customer.",
      "type": "object",
      "properties": {
        "street": {
          "description": "Street.",
          "type": "string"
        },
        "city": {
          "description": "City.",
          "type": "string"
        },
        "regionCode": {
          "description": "The CLDR country/region of the address.",
          "type": "string"
        },
        "state": {
          "description": "State.",
          "type": "string"
        },
        "zip": {
          "description": "Zip code.",
          "type": "string"
        }
      }
    },
    "CustomerContact": {
      "id": "CustomerContact",
      "description": "Represents a contact person for a Customer account.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Resource ID for the custmer contact.",
          "type": "string"
        },
        "givenName": {
          "description": "First name.",
          "type": "string"
        },
        "familyName": {
          "description": "Last name.",
          "type": "string"
        },
        "email": {
          "description": "Email. Must match with Customer.google_account_domain.",
          "type": "string"
        },
        "phoneNumber": {
          "description": "Phone number.",
          "type": "string"
        }
      }
    },
    "Date": {
      "id": "Date",
      "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
      "type": "object",
      "properties": {
        "year": {
          "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
          "type": "integer",
          "format": "int32"
        },
        "month": {
          "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
          "type": "integer",
          "format": "int32"
        },
        "day": {
          "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "Opportunity": {
      "id": "Opportunity",
      "description": "Resource representing a Opportunity for a Google Cloud Partner.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Format: partners/{partner_id}/opportunities/{opportunity_id}",
          "type": "string"
        },
        "lead": {
          "description": "Output only. Lead corresponding to Opportunity.",
          "readOnly": true,
          "type": "string"
        },
        "owner": {
          "description": "Output only. Opportunity owner contact details.",
          "readOnly": true,
          "$ref": "ContactDetails"
        },
        "notes": {
          "description": "Notes on Opportunity.",
          "type": "string"
        },
        "nextSteps": {
          "description": "Next steps need to be taken on Opportunity.",
          "type": "string"
        },
        "dealSize": {
          "description": "Optional. Total deal size Amount in value.",
          "type": "number",
          "format": "double"
        },
        "dealCurrencyCode": {
          "description": "Output only. Currency of deal size.",
          "readOnly": true,
          "type": "string"
        },
        "closeDate": {
          "description": "Optional. Close date assigned to Opportunity.",
          "$ref": "Date"
        },
        "sourceSystem": {
          "description": "Output only. Source of Opportunity.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Partner as Source.",
            "Google as Source System.",
            "Sourced by Google BDR(Buyside Display Reporting) Team.",
            "Sourced Programmatically, loaded by DataOps Team."
          ],
          "enum": [
            "SOURCE_SYSTEM_UNSPECIFIED",
            "SOURCE_SYSTEM_PARTNER",
            "SOURCE_SYSTEM_GOOGLE",
            "SOURCE_SYSTEM_GOOGLE_BDR",
            "SOURCE_SYSTEM_GOOGLE_PROGRAMMATIC"
          ]
        },
        "salesStage": {
          "description": "Sales stage of Opportunity.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Sales is in Qualify stage.",
            "Sales is in Refine Stage.",
            "Sales is in Tech Evaluation/Solution Dev stage.",
            "Sales is in Proposal/Negotiation stage.",
            "Sales is in Migration Implementation stage.",
            "Sales is in Closed Lost stage.",
            "Sales is Closed by admin."
          ],
          "enum": [
            "SALES_STAGE_UNSPECIFIED",
            "SALES_STAGE_QUALIFY",
            "SALES_STAGE_REFINE",
            "SALES_STAGE_TECH_EVAL_SOLUTION_DEV",
            "SALES_STAGE_PROPOSAL_NEGOTIATION",
            "SALES_STAGE_MIGRATION_IMPLEMENTATION",
            "SALES_STAGE_CLOSED_LOST",
            "SALES_STAGE_CLOSED_ADMIN"
          ]
        },
        "winProbability": {
          "description": "Output only. Probability percentage of winning the Opportunity.",
          "readOnly": true,
          "type": "string",
          "format": "int64"
        },
        "productFamily": {
          "description": "Output only. Product Family associated with Opportunity.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Chrome enterprise.",
            "Google Cloud Platform.",
            "Google Maps Platform.",
            "Google Workspace.",
            "Professional Services Organization."
          ],
          "enum": [
            "PRODUCT_FAMILY_UNSPECIFIED",
            "PRODUCT_FAMILY_CHROME_ENTERPRISE",
            "PRODUCT_FAMILY_GOOGLE_CLOUD_PLATFORM",
            "PRODUCT_FAMILY_GOOGLE_MAPS_PLATFORM",
            "PRODUCT_FAMILY_GOOGLE_WORKSPACE",
            "PRODUCT_FAMILY_PROFESSIONAL_SERVICES_ORGANIZATION"
          ]
        },
        "termMonths": {
          "description": "Optional. Term in months of Opportunity.",
          "type": "string",
          "format": "int64"
        },
        "customer": {
          "description": "Output only. Represents Customer Account.",
          "readOnly": true,
          "$ref": "Customer"
        },
        "qualificationState": {
          "description": "Represents Qualification State.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Opportunity Approved.",
            "Opportunity Rejected."
          ],
          "enum": [
            "QUALIFICATION_STATE_UNSPECIFIED",
            "QUALIFICATION_STATE_APPROVED",
            "QUALIFICATION_STATE_REJECTED"
          ]
        },
        "externalSystemId": {
          "description": "External ID of Opportunity.",
          "type": "string"
        },
        "createDate": {
          "description": "Output only. Created date.",
          "readOnly": true,
          "$ref": "Date"
        },
        "submitDate": {
          "description": "Output only. Submitted date.",
          "readOnly": true,
          "$ref": "Date"
        },
        "isConfidential": {
          "description": "Optional. Indicates whether the Opportunity is confidential.",
          "type": "boolean"
        },
        "decisionPhase": {
          "description": "Optional. Decision Phase of Opportunity.",
          "type": "string",
          "enumDescriptions": [
            "None specified.",
            "Initial research and information gathering.",
            "Currently in-trial or looking to trial/pilot.",
            "Final decision."
          ],
          "enum": [
            "DECISION_PHASE_UNSPECIFIED",
            "INITIAL_RESEARCH_AND_INFO_GATHERING",
            "CURRENTLY_IN_TRIAL_OR_LOOKING_TO_TRIAL_OR_PILOT",
            "FINAL_DECISION"
          ]
        }
      }
    },
    "ContactDetails": {
      "id": "ContactDetails",
      "description": "Represents Contact Details.",
      "type": "object",
      "properties": {
        "givenName": {
          "description": "Given name of Contact.",
          "type": "string"
        },
        "familyName": {
          "description": "Family name of Contact.",
          "type": "string"
        },
        "email": {
          "description": "Primary Email of Contact.",
          "type": "string"
        },
        "phone": {
          "description": "Primary Phone of Contact.",
          "type": "string"
        }
      }
    }
  },
  "mtlsRootUrl": "https://cloudcrmpartners.mtls.googleapis.com/",
  "id": "cloudcrmpartners:v1",
  "fullyEncodeReservedExpansion": true,
  "canonicalName": "Cloud CRM Partners",
  "version": "v1",
  "basePath": "",
  "ownerDomain": "google.com",
  "servicePath": ""
}
