Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#121)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Committer: @summer-ji-eng
PiperOrigin-RevId: 434859890

Source-Link: googleapis/googleapis@bc2432d

Source-Link: https://github.com/googleapis/googleapis-gen/commit/930b673103e92523f8cfed38decd7d3afae8ebe7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9

chore: update v2.14.1 gapic-generator-typescript
Committer: @summer-ji-eng
PiperOrigin-RevId: 433031262

Source-Link: googleapis/googleapis@2a55d13

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2fce3893ae9da47763e0872c4a3a87d9ff78771f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmZjZTM4OTNhZTlkYTQ3NzYzZTA4NzJjNGEzYTg3ZDlmZjc4NzcxZiJ9

docs: more details for ListFilesRequest parent field
PiperOrigin-RevId: 431979329

Source-Link: googleapis/googleapis@8febda4

Source-Link: https://github.com/googleapis/googleapis-gen/commit/1048231cea49f261c90ca361258c57636ca98c6d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTA0ODIzMWNlYTQ5ZjI2MWM5MGNhMzYxMjU4YzU3NjM2Y2E5OGM2ZCJ9

docs(samples): include metadata file, add exclusions for samples to handwritten libraries
PiperOrigin-RevId: 429395631

Source-Link: googleapis/googleapis@84594b3

Source-Link: https://github.com/googleapis/googleapis-gen/commit/ed74f970fd82914874e6b27b04763cfa66bafe9b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWQ3NGY5NzBmZDgyOTE0ODc0ZTZiMjdiMDQ3NjNjZmE2NmJhZmU5YiJ9
  • Loading branch information
gcf-owl-bot[bot] authored Mar 16, 2022
1 parent 07c6f00 commit 7788daa
Show file tree
Hide file tree
Showing 50 changed files with 19,606 additions and 8,001 deletions.
10 changes: 8 additions & 2 deletions linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io"
"img.shields.io",
"https://console.cloud.google.com/cloudshell",
"https://support.google.com"
],
"silent": true,
"concurrency": 5
"concurrency": 5,
"retry": true,
"retryErrors": true,
"retryErrorsCount": 5,
"retryErrorsJitter": 3000
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"prelint": "cd samples; npm link ../; npm i"
},
"dependencies": {
"google-gax": "^2.24.1"
"google-gax": "^2.30.1"
},
"devDependencies": {
"@types/mocha": "^8.0.4",
Expand Down
117 changes: 117 additions & 0 deletions protos/google/devtools/artifactregistry/v1beta2/apt_artifact.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

package google.devtools.artifactregistry.v1beta2;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/longrunning/operations.proto";
import "google/rpc/status.proto";

option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
option java_multiple_files = true;
option java_outer_classname = "AptArtifactProto";
option java_package = "com.google.devtools.artifactregistry.v1beta2";
option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";

// A detailed representation of an Apt artifact. Information in the record
// is derived from the archive's control file.
// See https://www.debian.org/doc/debian-policy/ch-controlfields.html
message AptArtifact {
option (google.api.resource) = {
type: "artifactregistry.googleapis.com/AptArtifact"
pattern: "projects/{project}/locations/{location}/repositories/{repository}/aptArtifacts/{apt_artifact}"
};

// Package type is either binary or source.
enum PackageType {
// Package type is not specified.
PACKAGE_TYPE_UNSPECIFIED = 0;

// Binary package.
BINARY = 1;

// Source package.
SOURCE = 2;
}

// Output only. The Artifact Registry resource name of the artifact.
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. The Apt package name of the artifact.
string package_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. An artifact is a binary or source package.
PackageType package_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Operating system architecture of the artifact.
string architecture = 4 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Repository component of the artifact.
string component = 5 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. Contents of the artifact's control metadata file.
bytes control_file = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Google Cloud Storage location where the artifacts currently reside.
message ImportAptArtifactsGcsSource {
// Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;

// Supports URI wildcards for matching multiple objects from a single URI.
bool use_wildcards = 2;
}

// The request to import new apt artifacts.
message ImportAptArtifactsRequest {
// The source location of the package binaries.
oneof source {
// Google Cloud Storage location where input content is located.
ImportAptArtifactsGcsSource gcs_source = 2;
}

// The name of the parent resource where the artifacts will be imported.
string parent = 1;
}

// Error information explaining why a package was not imported.
message ImportAptArtifactsErrorInfo {
// The source that was not imported.
oneof source {
// Google Cloud Storage location requested.
ImportAptArtifactsGcsSource gcs_source = 1;
}

// The detailed error status.
google.rpc.Status error = 2;
}

// The response message from importing APT artifacts.
message ImportAptArtifactsResponse {
// The Apt artifacts imported.
repeated AptArtifact apt_artifacts = 1;

// Detailed error info for artifacts that were not imported.
repeated ImportAptArtifactsErrorInfo errors = 2;
}

// The operation metadata for importing artifacts.
message ImportAptArtifactsMetadata {
}
11 changes: 8 additions & 3 deletions protos/google/devtools/artifactregistry/v1beta2/file.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ syntax = "proto3";

package google.devtools.artifactregistry.v1beta2;

import "google/api/annotations.proto";
import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
Expand All @@ -37,6 +37,9 @@ message Hash {

// SHA256 hash.
SHA256 = 1;

// MD5 hash.
MD5 = 2;
}

// The algorithm used to compute the hash value.
Expand All @@ -54,7 +57,8 @@ message File {
};

// The name of the file, for example:
// "projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt".
// "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
// If the file ID part contains slashes, they are escaped.
string name = 1;

// The size of the File in bytes.
Expand All @@ -75,7 +79,8 @@ message File {

// The request to list files.
message ListFilesRequest {
// The name of the parent resource whose files will be listed.
// The name of the repository whose files will be listed. For example:
// "projects/p1/locations/us-central1/repositories/repo1
string parent = 1;

// An expression for filtering the results of the request. Filter rules are
Expand Down
92 changes: 80 additions & 12 deletions protos/google/devtools/artifactregistry/v1beta2/repository.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ syntax = "proto3";

package google.devtools.artifactregistry.v1beta2;

import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "google/api/annotations.proto";

option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
Expand All @@ -36,13 +37,61 @@ message Repository {
pattern: "projects/{project}/locations/{location}/repositories/{repository}"
};

// MavenRepositoryConfig is maven related repository details.
// Provides additional configuration details for repositories of the maven
// format type.
message MavenRepositoryConfig {
// VersionPolicy is the version policy for the repository.
enum VersionPolicy {
// VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
// When the version policy is not defined, no validation is performed
// for the versions.
VERSION_POLICY_UNSPECIFIED = 0;

// RELEASE - repository will accept only Release versions.
RELEASE = 1;

// SNAPSHOT - repository will accept only Snapshot versions.
SNAPSHOT = 2;
}

// The repository with this flag will allow publishing
// the same snapshot versions.
bool allow_snapshot_overwrites = 1;

// Version policy defines the versions that the registry will accept.
VersionPolicy version_policy = 2;
}

// A package format.
enum Format {
// Unspecified package format.
FORMAT_UNSPECIFIED = 0;

// Docker package format.
DOCKER = 1;

// Maven package format.
MAVEN = 2;

// NPM package format.
NPM = 3;

// APT package format.
APT = 5;

// YUM package format.
YUM = 6;

// Python package format.
PYTHON = 8;
}

// Repository-specific configurations.
oneof format_config {
// Maven repository config contains repository level configuration
// for the repositories of maven type.
MavenRepositoryConfig maven_config = 9;
}

// The name of the repository, for example:
Expand Down Expand Up @@ -77,11 +126,15 @@ message Repository {

// The request to list repositories.
message ListRepositoriesRequest {
// The name of the parent resource whose repositories will be listed.
string parent = 1;

// The maximum number of repositories to return.
// Maximum page size is 10,000.
// Required. The name of the parent resource whose repositories will be listed.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "artifactregistry.googleapis.com/Repository"
}
];

// The maximum number of repositories to return. Maximum page size is 1,000.
int32 page_size = 2;

// The next_page_token value returned from a previous list request, if any.
Expand All @@ -100,14 +153,24 @@ message ListRepositoriesResponse {

// The request to retrieve a repository.
message GetRepositoryRequest {
// The name of the repository to retrieve.
string name = 1;
// Required. The name of the repository to retrieve.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "artifactregistry.googleapis.com/Repository"
}
];
}

// The request to create a new repository.
message CreateRepositoryRequest {
// The name of the parent resource where the repository will be created.
string parent = 1;
// Required. The name of the parent resource where the repository will be created.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "artifactregistry.googleapis.com/Repository"
}
];

// The repository id to use for this repository.
string repository_id = 2;
Expand All @@ -129,6 +192,11 @@ message UpdateRepositoryRequest {

// The request to delete a repository.
message DeleteRepositoryRequest {
// The name of the repository to delete.
string name = 1;
// Required. The name of the repository to delete.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "artifactregistry.googleapis.com/Repository"
}
];
}
Loading

0 comments on commit 7788daa

Please sign in to comment.