Skip to content

Commit

Permalink
feat(clouddeploy): update the API
Browse files Browse the repository at this point in the history
#### clouddeploy:v1

The following keys were added:
- schemas.GkeCluster.properties.internalIp.description
- schemas.GkeCluster.properties.internalIp.type

The following keys were changed:
- schemas.AnthosCluster.properties.membership.description
- schemas.Date.description
- schemas.ExecutionConfig.properties.artifactStorage.description
- schemas.ExecutionConfig.properties.serviceAccount.description
  • Loading branch information
yoshi-automation authored and bcoe committed Mar 8, 2022
1 parent 3319848 commit e773621
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
14 changes: 9 additions & 5 deletions discovery/clouddeploy-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1201,15 +1201,15 @@
}
}
},
"revision": "20220124",
"revision": "20220223",
"rootUrl": "https://clouddeploy.googleapis.com/",
"schemas": {
"AnthosCluster": {
"description": "Information specifying an Anthos Cluster.",
"id": "AnthosCluster",
"properties": {
"membership": {
"description": "Membership of the GKE Hub registered cluster that the Skaffold configuration should be applied to. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.",
"description": "Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.",
"type": "string"
}
},
Expand Down Expand Up @@ -1348,7 +1348,7 @@
"type": "object"
},
"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 value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
"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 (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
"id": "Date",
"properties": {
"day": {
Expand Down Expand Up @@ -1454,7 +1454,7 @@
"id": "ExecutionConfig",
"properties": {
"artifactStorage": {
"description": "Optional. Cloud Storage location where execution outputs should be stored. This can either be a bucket (\"gs://my-bucket\") or a path within a bucket (\"gs://my-bucket/my-dir\"). If unspecified, a default bucket located in the same region will be used.",
"description": "Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket (\"gs://my-bucket\") or a path within a bucket (\"gs://my-bucket/my-dir\"). If unspecified, a default bucket located in the same region will be used.",
"type": "string"
},
"defaultPool": {
Expand All @@ -1466,7 +1466,7 @@
"description": "Optional. Use private Cloud Build pool."
},
"serviceAccount": {
"description": "Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) will be used.",
"description": "Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) is used.",
"type": "string"
},
"usages": {
Expand Down Expand Up @@ -1523,6 +1523,10 @@
"cluster": {
"description": "Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.",
"type": "string"
},
"internalIp": {
"description": "Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).",
"type": "boolean"
}
},
"type": "object"
Expand Down
12 changes: 8 additions & 4 deletions src/apis/clouddeploy/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export namespace clouddeploy_v1 {
*/
export interface Schema$AnthosCluster {
/**
* Membership of the GKE Hub registered cluster that the Skaffold configuration should be applied to. Format is `projects/{project\}/locations/{location\}/memberships/{membership_name\}`.
* Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format is `projects/{project\}/locations/{location\}/memberships/{membership_name\}`.
*/
membership?: string | null;
}
Expand Down Expand Up @@ -225,7 +225,7 @@ export namespace clouddeploy_v1 {
supportedVersions?: Schema$SkaffoldVersion[];
}
/**
* 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 value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
* 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 (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
*/
export interface Schema$Date {
/**
Expand Down Expand Up @@ -308,7 +308,7 @@ export namespace clouddeploy_v1 {
*/
export interface Schema$ExecutionConfig {
/**
* Optional. Cloud Storage location where execution outputs should be stored. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.
* Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.
*/
artifactStorage?: string | null;
/**
Expand All @@ -320,7 +320,7 @@ export namespace clouddeploy_v1 {
*/
privatePool?: Schema$PrivatePool;
/**
* Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) will be used.
* Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) is used.
*/
serviceAccount?: string | null;
/**
Expand Down Expand Up @@ -361,6 +361,10 @@ export namespace clouddeploy_v1 {
* Information specifying a GKE Cluster. Format is `projects/{project_id\}/locations/{location_id\}/clusters/{cluster_id\}.
*/
cluster?: string | null;
/**
* Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
*/
internalIp?: boolean | null;
}
/**
* The response object from `ListDeliveryPipelines`.
Expand Down

0 comments on commit e773621

Please sign in to comment.