Skip to content

Commit

Permalink
Generate set-unset golden output for gkehubfeaturemembership from DCL
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyue-101 committed Nov 13, 2024
1 parent e7aa122 commit ea86016
Show file tree
Hide file tree
Showing 13 changed files with 2,576 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json
Content-Type: application/json
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1

404 Not Found
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"error": {
"code": 404,
"message": "feature \"projects/${projectId}/locations/global/features/configmanagement\" not found",
"status": "NOT_FOUND"
}
}

---

GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json
Content-Type: application/json
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1

404 Not Found
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"error": {
"code": 404,
"message": "feature \"projects/${projectId}/locations/global/features/configmanagement\" not found",
"status": "NOT_FOUND"
}
}

---

GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json
Content-Type: application/json
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1

404 Not Found
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"error": {
"code": 404,
"message": "feature \"projects/${projectId}/locations/global/features/configmanagement\" not found",
"status": "NOT_FOUND"
}
}

---

POST https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features?alt=json&featureId=configmanagement
Content-Type: application/json
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1

{
"labels": {
"managed-by-cnrm": "true"
},
"name": "projects/${projectId}/locations/global/features/configmanagement"
}

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"metadata": {
"@type": "type.googleapis.com/google.cloud.gkehub.v1beta.OperationMetadata",
"createTime": "2024-04-01T12:34:56.123456Z",
"endTime": "2024-04-01T12:34:56.123456Z",
"target": "projects/${projectId}/locations/global/features/configmanagement"
},
"name": "projects/${projectId}/locations/global/features/configmanagement/operations/${operationID}"
}

---

GET https://gkehub.googleapis.com/v1beta1/projects/${projectId}/locations/global/features/configmanagement/operations/${operationID}?alt=json
Content-Type: application/json
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"done": true,
"metadata": {
"@type": "type.googleapis.com/google.cloud.gkehub.v1beta.OperationMetadata",
"createTime": "2024-04-01T12:34:56.123456Z",
"endTime": "2024-04-01T12:34:56.123456Z",
"target": "projects/${projectId}/locations/global/features/configmanagement"
},
"name": "projects/${projectId}/locations/global/features/configmanagement/operations/${operationID}",
"response": {
"@type": "type.googleapis.com/google.cloud.gkehub.v1beta.Feature",
"createTime": "2024-04-01T12:34:56.123456Z",
"labels": {
"managed-by-cnrm": "true"
},
"name": "projects/${projectId}/locations/global/features/configmanagement",
"resourceState": {
"state": "ACTIVE"
},
"updateTime": "2024-04-01T12:34:56.123456Z"
}
}

---

GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json
Content-Type: application/json
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"labels": {
"managed-by-cnrm": "true"
},
"name": "projects/${projectId}/locations/global/features/configmanagement"
}

---

GET https://gkehub.googleapis.com/v1beta/projects/${projectId}/locations/global/features/configmanagement?alt=json
Content-Type: application/json
User-Agent: kcc/controller-manager DeclarativeClientLib/0.0.1

200 OK
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"labels": {
"managed-by-cnrm": "true"
},
"name": "projects/${projectId}/locations/global/features/configmanagement"
}
Loading

0 comments on commit ea86016

Please sign in to comment.