Method: customers.policies.networks.defineCertificate
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি গ্রাহকের জন্য একটি নির্দিষ্ট OU এ একটি শংসাপত্র তৈরি করে৷
HTTP অনুরোধ
POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:defineCertificate
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
customer | string প্রয়োজন। যে গ্রাহকের জন্য সার্টিফিকেট আবেদন করা হবে। |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"targetResource": string,
"ceritificateName": string,
"certificate": string,
"settings": [
{
object (NetworkSetting )
}
]
} |
ক্ষেত্র |
---|
targetResource | string প্রয়োজন। এই শংসাপত্রটি প্রয়োগ করা হয়েছে এমন লক্ষ্য সংস্থান৷ নিম্নলিখিত সংস্থানগুলি সমর্থিত: * সাংগঠনিক ইউনিট ("orgunits/{orgunit_id}") |
ceritificateName | string ঐচ্ছিক। শংসাপত্রের ঐচ্ছিক নাম। উল্লেখ না থাকলে, সার্টিফিকেট প্রদানকারীর নাম হিসেবে ব্যবহার করা হবে। |
certificate | string প্রয়োজন। .PEM, .CRT, বা .CER ফাইলের কাঁচা বিষয়বস্তু। |
settings[] | object ( NetworkSetting ) ঐচ্ছিক। chrome.networks.certificates নামস্থানের মধ্যে শংসাপত্র সেটিংস৷ |
প্রতিক্রিয়া শরীর
একটি শংসাপত্র তৈরির জন্য প্রতিক্রিয়া বস্তু।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"settings": [
{
object (NetworkSetting )
}
],
"networkId": string,
"targetResource": string
} |
ক্ষেত্র |
---|
settings[] | object ( NetworkSetting ) শংসাপত্রের অধিভুক্ত সেটিংস (বাস্তবায়িত নয়) |
networkId | string ক্রিয়াকলাপের দ্বারা সৃষ্ট শংসাপত্রের নির্দেশিকা। |
targetResource | string যে সম্পদে শংসাপত্রটি সংজ্ঞায়িত করা হয়েছে। |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/chrome.management.policy
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eDefines a certificate at a specified organizational unit (OU) for a customer using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the certificate data, target resource, and optionally, a certificate name and settings.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful creation, the response includes the certificate's settings, network ID, and target resource.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.policy\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: customers.policies.networks.defineCertificate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.DefineCertificateResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a certificate at a specified OU for a customer.\n\n### HTTP request\n\n`POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:defineCertificate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|-----------------------------------------------------------------------|\n| `customer` | `string` Required. The customer for which the certificate will apply. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"targetResource\": string, \"ceritificateName\": string, \"certificate\": string, \"settings\": [ { object (/chrome/policy/reference/rest/v1/NetworkSetting) } ] } ``` |\n\n| Fields ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetResource` | `string` Required. The target resource on which this certificate is applied. The following resources are supported: \\* Organizational Unit (\"orgunits/{orgunit_id}\") |\n| `ceritificateName` | `string` Optional. The optional name of the certificate. If not specified, the certificate issuer will be used as the name. |\n| `certificate` | `string` Required. The raw contents of the .PEM, .CRT, or .CER file. |\n| `settings[]` | `object (`[NetworkSetting](/chrome/policy/reference/rest/v1/NetworkSetting)`)` Optional. Certificate settings within the chrome.networks.certificates namespace. |\n\n### Response body\n\nResponse object for creating a certificate.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"settings\": [ { object (/chrome/policy/reference/rest/v1/NetworkSetting) } ], \"networkId\": string, \"targetResource\": string } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| `settings[]` | `object (`[NetworkSetting](/chrome/policy/reference/rest/v1/NetworkSetting)`)` the affiliated settings of the certificate (NOT IMPLEMENTED) |\n| `networkId` | `string` The guid of the certificate created by the action. |\n| `targetResource` | `string` the resource at which the certificate is defined. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.policy`"]]