diff options
| author | n1c00o <n@nc0.fr> | 2023-02-05 11:29:53 +0100 | 
|---|---|---|
| committer | Nicolas <34602094+n1c00o@users.noreply.github.com> | 2023-02-06 22:35:54 +0100 | 
| commit | 24cd243c8768452d77df349b1f0988bcab497ff1 (patch) | |
| tree | ff49e4ee9a2378481d25b36c8fb8b037212598cd /third_party/googleapis/google/cloud/managedidentities | |
| parent | ad8afa40ffeea085e1705b455abf4379a06a5a83 (diff) | |
Deleting current code
Diffstat (limited to 'third_party/googleapis/google/cloud/managedidentities')
12 files changed, 0 insertions, 2334 deletions
diff --git a/third_party/googleapis/google/cloud/managedidentities/BUILD.bazel b/third_party/googleapis/google/cloud/managedidentities/BUILD.bazel deleted file mode 100644 index 2986838..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/BUILD.bazel +++ /dev/null @@ -1,40 +0,0 @@ -# This build file includes a target for the Ruby wrapper library for -# google-cloud-managed_identities. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -# Export yaml configs. -exports_files(glob(["*.yaml"])) - -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "ruby_cloud_gapic_library", -    "ruby_gapic_assembly_pkg", -) - -# Generates a Ruby wrapper client for managedidentities. -# Ruby wrapper clients are versionless, but are generated from source protos -# for a particular service version, v1 in this case. -ruby_cloud_gapic_library( -    name = "managedidentities_ruby_wrapper", -    srcs = ["//google/cloud/managedidentities/v1:managedidentities_proto_with_info"], -    extra_protoc_parameters = [ -        "ruby-cloud-gem-name=google-cloud-managed_identities", -        "ruby-cloud-env-prefix=MANAGED_IDENTITIES", -        "ruby-cloud-wrapper-of=v1:0.3", -        "ruby-cloud-product-url=https://cloud.google.com/managed-microsoft-ad/", -        "ruby-cloud-api-id=managedidentities.googleapis.com", -        "ruby-cloud-api-shortname=managedidentities", -    ], -    ruby_cloud_description = "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory.", -    ruby_cloud_title = "Managed Service for Microsoft Active Directory API", -) - -# Open Source package. -ruby_gapic_assembly_pkg( -    name = "google-cloud-managedidentities-ruby", -    deps = [ -        ":managedidentities_ruby_wrapper", -    ], -) diff --git a/third_party/googleapis/google/cloud/managedidentities/v1/BUILD.bazel b/third_party/googleapis/google/cloud/managedidentities/v1/BUILD.bazel deleted file mode 100644 index 38f60d1..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1/BUILD.bazel +++ /dev/null @@ -1,376 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: -# - names of *_gapic_assembly_* rules -# - certain parameters of *_gapic_library rules, including but not limited to: -#    * extra_protoc_parameters -#    * extra_protoc_file_parameters -# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -    name = "managedidentities_proto", -    srcs = [ -        "managed_identities_service.proto", -        "resource.proto", -    ], -    deps = [ -        "//google/api:annotations_proto", -        "//google/api:client_proto", -        "//google/api:field_behavior_proto", -        "//google/api:resource_proto", -        "//google/longrunning:operations_proto", -        "@com_google_protobuf//:field_mask_proto", -        "@com_google_protobuf//:timestamp_proto", -    ], -) - -proto_library_with_info( -    name = "managedidentities_proto_with_info", -    deps = [ -        ":managedidentities_proto", -        "//google/cloud:common_resources_proto", -    ], -) - -############################################################################## -# Java -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "java_gapic_assembly_gradle_pkg", -    "java_gapic_library", -    "java_gapic_test", -    "java_grpc_library", -    "java_proto_library", -) - -java_proto_library( -    name = "managedidentities_java_proto", -    deps = [":managedidentities_proto"], -) - -java_grpc_library( -    name = "managedidentities_java_grpc", -    srcs = [":managedidentities_proto"], -    deps = [":managedidentities_java_proto"], -) - -java_gapic_library( -    name = "managedidentities_java_gapic", -    srcs = [":managedidentities_proto_with_info"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    test_deps = [ -        ":managedidentities_java_grpc", -    ], -    deps = [ -        ":managedidentities_java_proto", -    ], -) - -java_gapic_test( -    name = "managedidentities_java_gapic_test_suite", -    test_classes = [ -        "com.google.cloud.managedidentities.v1.ManagedIdentitiesServiceClientTest", -    ], -    runtime_deps = [":managedidentities_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -    name = "google-cloud-managedidentities-v1-java", -    include_samples = True, -    deps = [ -        ":managedidentities_java_gapic", -        ":managedidentities_java_grpc", -        ":managedidentities_java_proto", -        ":managedidentities_proto", -    ], -) - -############################################################################## -# Go -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "go_gapic_assembly_pkg", -    "go_gapic_library", -    "go_proto_library", -    "go_test", -) - -go_proto_library( -    name = "managedidentities_go_proto", -    compilers = ["@io_bazel_rules_go//proto:go_grpc"], -    importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1", -    protos = [":managedidentities_proto"], -    deps = [ -        "//google/api:annotations_go_proto", -        "//google/longrunning:longrunning_go_proto", -    ], -) - -go_gapic_library( -    name = "managedidentities_go_gapic", -    srcs = [":managedidentities_proto_with_info"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    importpath = "cloud.google.com/go/managedidentities/apiv1;managedidentities", -    service_yaml = "managedidentities_v1.yaml", -    transport = "grpc+rest", -    deps = [ -        ":managedidentities_go_proto", -        "//google/longrunning:longrunning_go_proto", -        "@com_google_cloud_go//longrunning:go_default_library", -        "@com_google_cloud_go//longrunning/autogen:go_default_library", -    ], -) - -go_test( -    name = "managedidentities_go_gapic_test", -    srcs = [":managedidentities_go_gapic_srcjar_test"], -    embed = [":managedidentities_go_gapic"], -    importpath = "cloud.google.com/go/managedidentities/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -    name = "gapi-cloud-managedidentities-v1-go", -    deps = [ -        ":managedidentities_go_gapic", -        ":managedidentities_go_gapic_srcjar-test.srcjar", -        ":managedidentities_go_proto", -    ], -) - -############################################################################## -# Python -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "py_gapic_assembly_pkg", -    "py_gapic_library", -    "py_test", -) - -py_gapic_library( -    name = "managedidentities_py_gapic", -    srcs = [":managedidentities_proto"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    opt_args = ["warehouse-package-name=google-cloud-managed-identities"], -    transport = "grpc", -) - -py_test( -    name = "managedidentities_py_gapic_test", -    srcs = [ -        "managedidentities_py_gapic_pytest.py", -        "managedidentities_py_gapic_test.py", -    ], -    legacy_create_init = False, -    deps = [":managedidentities_py_gapic"], -) - -# Open Source Packages -py_gapic_assembly_pkg( -    name = "managedidentities-v1-py", -    deps = [ -        ":managedidentities_py_gapic", -    ], -) - -############################################################################## -# PHP -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "php_gapic_assembly_pkg", -    "php_gapic_library", -    "php_grpc_library", -    "php_proto_library", -) - -php_proto_library( -    name = "managedidentities_php_proto", -    deps = [":managedidentities_proto"], -) - -php_grpc_library( -    name = "managedidentities_php_grpc", -    srcs = [":managedidentities_proto"], -    deps = [":managedidentities_php_proto"], -) - -php_gapic_library( -    name = "managedidentities_php_gapic", -    srcs = [":managedidentities_proto_with_info"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    service_yaml = "managedidentities_v1.yaml", -    deps = [ -        ":managedidentities_php_grpc", -        ":managedidentities_php_proto", -    ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -    name = "google-cloud-managedidentities-v1-php", -    deps = [ -        ":managedidentities_php_gapic", -        ":managedidentities_php_grpc", -        ":managedidentities_php_proto", -    ], -) - -############################################################################## -# Node.js -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "nodejs_gapic_assembly_pkg", -    "nodejs_gapic_library", -) - -nodejs_gapic_library( -    name = "managedidentities_nodejs_gapic", -    package_name = "@google-cloud/managed-identities", -    src = ":managedidentities_proto_with_info", -    extra_protoc_parameters = ["metadata"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    package = "google.cloud.managedidentities.v1", -    service_yaml = "managedidentities_v1.yaml", -    deps = [], -) - -nodejs_gapic_assembly_pkg( -    name = "managedidentities-v1-nodejs", -    deps = [ -        ":managedidentities_nodejs_gapic", -        ":managedidentities_proto", -    ], -) - -############################################################################## -# Ruby -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "ruby_cloud_gapic_library", -    "ruby_gapic_assembly_pkg", -    "ruby_grpc_library", -    "ruby_proto_library", -) - -ruby_proto_library( -    name = "managedidentities_ruby_proto", -    deps = [":managedidentities_proto"], -) - -ruby_grpc_library( -    name = "managedidentities_ruby_grpc", -    srcs = [":managedidentities_proto"], -    deps = [":managedidentities_ruby_proto"], -) - -ruby_cloud_gapic_library( -    name = "managedidentities_ruby_gapic", -    srcs = [":managedidentities_proto_with_info"], -    extra_protoc_parameters = [ -        "ruby-cloud-gem-name=google-cloud-managed_identities-v1", -        "ruby-cloud-env-prefix=MANAGED_IDENTITIES", -        "ruby-cloud-product-url=https://cloud.google.com/managed-microsoft-ad/", -        "ruby-cloud-api-id=managedidentities.googleapis.com", -        "ruby-cloud-api-shortname=managedidentities", -    ], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    ruby_cloud_description = "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory.", -    ruby_cloud_title = "Managed Service for Microsoft Active Directory API V1", -    deps = [ -        ":managedidentities_ruby_grpc", -        ":managedidentities_ruby_proto", -    ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -    name = "google-cloud-managedidentities-v1-ruby", -    deps = [ -        ":managedidentities_ruby_gapic", -        ":managedidentities_ruby_grpc", -        ":managedidentities_ruby_proto", -    ], -) - -############################################################################## -# C# -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "csharp_gapic_assembly_pkg", -    "csharp_gapic_library", -    "csharp_grpc_library", -    "csharp_proto_library", -) - -csharp_proto_library( -    name = "managedidentities_csharp_proto", -    deps = [":managedidentities_proto"], -) - -csharp_grpc_library( -    name = "managedidentities_csharp_grpc", -    srcs = [":managedidentities_proto"], -    deps = [":managedidentities_csharp_proto"], -) - -csharp_gapic_library( -    name = "managedidentities_csharp_gapic", -    srcs = [":managedidentities_proto_with_info"], -    common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -    grpc_service_config = "managedidentities_grpc_service_config.json", -    service_yaml = "managedidentities_v1.yaml", -    deps = [ -        ":managedidentities_csharp_grpc", -        ":managedidentities_csharp_proto", -    ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -    name = "google-cloud-managedidentities-v1-csharp", -    deps = [ -        ":managedidentities_csharp_gapic", -        ":managedidentities_csharp_grpc", -        ":managedidentities_csharp_proto", -    ], -) - -############################################################################## -# C++ -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "cc_grpc_library", -    "cc_proto_library", -) - -cc_proto_library( -    name = "managedidentities_cc_proto", -    deps = [":managedidentities_proto"], -) - -cc_grpc_library( -    name = "managedidentities_cc_grpc", -    srcs = [":managedidentities_proto"], -    grpc_only = True, -    deps = [":managedidentities_cc_proto"], -) diff --git a/third_party/googleapis/google/cloud/managedidentities/v1/managed_identities_service.proto b/third_party/googleapis/google/cloud/managedidentities/v1/managed_identities_service.proto deleted file mode 100644 index 9112ac6..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1/managed_identities_service.proto +++ /dev/null @@ -1,422 +0,0 @@ -// Copyright 2019 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.cloud.managedidentities.v1; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/managedidentities/v1/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/timestamp.proto"; - -option csharp_namespace = "Google.Cloud.ManagedIdentities.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1;managedidentities"; -option java_multiple_files = true; -option java_outer_classname = "ManagedIdentitiesServiceProto"; -option java_package = "com.google.cloud.managedidentities.v1"; -option objc_class_prefix = "GCMI"; -option php_namespace = "Google\\Cloud\\ManagedIdentities\\V1"; -option ruby_package = "Google::Cloud::ManagedIdentities::V1"; - -// API Overview -// -// The `managedidentites.googleapis.com` service implements the Google Cloud -// Managed Identites API for identity services -// (e.g. Microsoft Active Directory). -// -// The Managed Identities service provides methods to manage -// (create/read/update/delete) domains, reset managed identities admin password, -// add/remove domain controllers in GCP regions and add/remove VPC peering. -// -// Data Model -// -// The Managed Identities service exposes the following resources: -// -// * Locations as global, named as follows: -//   `projects/{project_id}/locations/global`. -// -// * Domains, named as follows: -//   `/projects/{project_id}/locations/global/domain/{domain_name}`. -// -// The `{domain_name}` refers to fully qualified domain name in the customer -// project e.g. mydomain.myorganization.com, with the following restrictions: -// -//  * Must contain only lowercase letters, numbers, periods and hyphens. -//  * Must start with a letter. -//  * Must contain between 2-64 characters. -//  * Must end with a number or a letter. -//  * Must not start with period. -//  * First segement length (mydomain form example above) shouldn't exceed -//    15 chars. -//  * The last segment cannot be fully numeric. -//  * Must be unique within the customer project. -service ManagedIdentitiesService { -  option (google.api.default_host) = "managedidentities.googleapis.com"; -  option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - -  // Creates a Microsoft AD domain. -  rpc CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1/{parent=projects/*/locations/global}/domains" -      body: "domain" -    }; -    option (google.api.method_signature) = "parent,domain_name,domain"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Resets a domain's administrator password. -  rpc ResetAdminPassword(ResetAdminPasswordRequest) returns (ResetAdminPasswordResponse) { -    option (google.api.http) = { -      post: "/v1/{name=projects/*/locations/global/domains/*}:resetAdminPassword" -      body: "*" -    }; -    option (google.api.method_signature) = "name"; -  } - -  // Lists domains in a project. -  rpc ListDomains(ListDomainsRequest) returns (ListDomainsResponse) { -    option (google.api.http) = { -      get: "/v1/{parent=projects/*/locations/global}/domains" -    }; -    option (google.api.method_signature) = "parent"; -  } - -  // Gets information about a domain. -  rpc GetDomain(GetDomainRequest) returns (Domain) { -    option (google.api.http) = { -      get: "/v1/{name=projects/*/locations/global/domains/*}" -    }; -    option (google.api.method_signature) = "name"; -  } - -  // Updates the metadata and configuration of a domain. -  rpc UpdateDomain(UpdateDomainRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      patch: "/v1/{domain.name=projects/*/locations/global/domains/*}" -      body: "domain" -    }; -    option (google.api.method_signature) = "domain,update_mask"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Deletes a domain. -  rpc DeleteDomain(DeleteDomainRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      delete: "/v1/{name=projects/*/locations/global/domains/*}" -    }; -    option (google.api.method_signature) = "name"; -    option (google.longrunning.operation_info) = { -      response_type: "google.protobuf.Empty" -      metadata_type: "OpMetadata" -    }; -  } - -  // Adds an AD trust to a domain. -  rpc AttachTrust(AttachTrustRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1/{name=projects/*/locations/global/domains/*}:attachTrust" -      body: "*" -    }; -    option (google.api.method_signature) = "name,trust"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Updates the DNS conditional forwarder. -  rpc ReconfigureTrust(ReconfigureTrustRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1/{name=projects/*/locations/global/domains/*}:reconfigureTrust" -      body: "*" -    }; -    option (google.api.method_signature) = "name,target_domain_name,target_dns_ip_addresses"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Removes an AD trust. -  rpc DetachTrust(DetachTrustRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1/{name=projects/*/locations/global/domains/*}:detachTrust" -      body: "*" -    }; -    option (google.api.method_signature) = "name,trust"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Validates a trust state, that the target domain is reachable, and that the -  // target domain is able to accept incoming trust requests. -  rpc ValidateTrust(ValidateTrustRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1/{name=projects/*/locations/global/domains/*}:validateTrust" -      body: "*" -    }; -    option (google.api.method_signature) = "name,trust"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } -} - -// Represents the metadata of the long-running operation. -message OpMetadata { -  // Output only. The time the operation was created. -  google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The time the operation finished running. -  google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Server-defined resource path for the target of the operation. -  string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Name of the verb executed by the operation. -  string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Identifies whether the user has requested cancellation -  // of the operation. Operations that have successfully been cancelled -  // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, -  // corresponding to `Code.CANCELLED`. -  bool requested_cancellation = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. API version used to start the operation. -  string api_version = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Request message for -// [CreateMicrosoftAdDomain][google.cloud.managedidentities.v1.CreateMicrosoftAdDomain] -message CreateMicrosoftAdDomainRequest { -  // Required. The resource project name and location using the form: -  // `projects/{project_id}/locations/global` -  string parent = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      child_type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. The fully qualified domain name. -  // e.g. mydomain.myorganization.com, with the following restrictions: -  // -  //  * Must contain only lowercase letters, numbers, periods and hyphens. -  //  * Must start with a letter. -  //  * Must contain between 2-64 characters. -  //  * Must end with a number or a letter. -  //  * Must not start with period. -  //  * First segement length (mydomain form example above) shouldn't exceed -  //    15 chars. -  //  * The last segment cannot be fully numeric. -  //  * Must be unique within the customer project. -  string domain_name = 2 [(google.api.field_behavior) = REQUIRED]; - -  // Required. A Managed Identity domain resource. -  Domain domain = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword] -message ResetAdminPasswordRequest { -  // Required. The domain resource name using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; -} - -// Response message for -// [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword] -message ResetAdminPasswordResponse { -  // A random password. See [admin][google.cloud.managedidentities.v1.Domain.admin] for more information. -  string password = 1; -} - -// Request message for -// [ListDomains][google.cloud.managedidentities.v1.ListDomains] -message ListDomainsRequest { -  // Required. The resource name of the domain location using the form: -  // `projects/{project_id}/locations/global` -  string parent = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      child_type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Optional. The maximum number of items to return. -  // If not specified, a default value of 1000 will be used. -  // Regardless of the page_size value, the response may include a partial list. -  // Callers should rely on a response's -  // [next_page_token][google.cloud.managedidentities.v1.ListDomainsResponse.next_page_token] -  // to determine if there are additional results to list. -  int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - -  // Optional. The `next_page_token` value returned from a previous ListDomainsRequest -  // request, if any. -  string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - -  // Optional. A filter specifying constraints of a list operation. -  // For example, `Domain.fqdn="mydomain.myorginization"`. -  string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - -  // Optional. Specifies the ordering of results. See -  // [Sorting -  // order](https://cloud.google.com/apis/design/design_patterns#sorting_order) -  // for more information. -  string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for -// [ListDomains][google.cloud.managedidentities.v1.ListDomains] -message ListDomainsResponse { -  // A list of Managed Identities Service domains in the project. -  repeated Domain domains = 1; - -  // A token to retrieve the next page of results, or empty if there are no more -  // results in the list. -  string next_page_token = 2; - -  // A list of locations that could not be reached. -  repeated string unreachable = 3; -} - -// Request message for [GetDomain][google.cloud.managedidentities.v1.GetDomain] -message GetDomainRequest { -  // Required. The domain resource name using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; -} - -// Request message for -// [UpdateDomain][google.cloud.managedidentities.v1.UpdateDomain] -message UpdateDomainRequest { -  // Required. Mask of fields to update. At least one path must be supplied in this -  // field. The elements of the repeated paths field may only include -  // fields from [Domain][google.cloud.managedidentities.v1.Domain]: -  //  * `labels` -  //  * `locations` -  //  * `authorized_networks` -  google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; - -  // Required. Domain message with updated fields. Only supported fields specified in -  // update_mask are updated. -  Domain domain = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [DeleteDomain][google.cloud.managedidentities.v1.DeleteDomain] -message DeleteDomainRequest { -  // Required. The domain resource name using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; -} - -// Request message for -// [AttachTrust][google.cloud.managedidentities.v1.AttachTrust] -message AttachTrustRequest { -  // Required. The resource domain name, project name and location using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. The domain trust resource. -  Trust trust = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [ReconfigureTrust][google.cloud.managedidentities.v1.ReconfigureTrust] -message ReconfigureTrustRequest { -  // Required. The resource domain name, project name and location using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. The fully-qualified target domain name which will be in trust with current -  // domain. -  string target_domain_name = 2 [(google.api.field_behavior) = REQUIRED]; - -  // Required. The target DNS server IP addresses to resolve the remote domain involved -  // in the trust. -  repeated string target_dns_ip_addresses = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [DetachTrust][google.cloud.managedidentities.v1.DetachTrust] -message DetachTrustRequest { -  // Required. The resource domain name, project name, and location using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. The domain trust resource to removed. -  Trust trust = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [ValidateTrust][google.cloud.managedidentities.v1.ValidateTrust] -message ValidateTrustRequest { -  // Required. The resource domain name, project name, and location using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. The domain trust to validate trust state for. -  Trust trust = 2 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/cloud/managedidentities/v1/managedidentities_grpc_service_config.json b/third_party/googleapis/google/cloud/managedidentities/v1/managedidentities_grpc_service_config.json deleted file mode 100644 index 53a941b..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1/managedidentities_grpc_service_config.json +++ /dev/null @@ -1,49 +0,0 @@ -{ -  "methodConfig": [ -    { -      "name": [ -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "CreateMicrosoftAdDomain" -        }, -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "ResetAdminPassword" -        }, -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "ListDomains" -        }, -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "GetDomain" -        }, -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "UpdateDomain" -        }, -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "DeleteDomain" -        }, -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "AttachTrust" -        }, -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "ReconfigureTrust" -        }, -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "DetachTrust" -        }, -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService", -          "method": "ValidateTrust" -        } -      ], -      "timeout": "60s" -    } -  ] -} diff --git a/third_party/googleapis/google/cloud/managedidentities/v1/managedidentities_v1.yaml b/third_party/googleapis/google/cloud/managedidentities/v1/managedidentities_v1.yaml deleted file mode 100644 index 44548cc..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1/managedidentities_v1.yaml +++ /dev/null @@ -1,120 +0,0 @@ -type: google.api.Service -config_version: 3 -name: managedidentities.googleapis.com -title: Managed Service for Microsoft Active Directory API - -apis: -- name: google.cloud.managedidentities.v1.ManagedIdentitiesService - -types: -- name: google.cloud.managedidentities.v1.OpMetadata - -documentation: -  summary: |- -    The Managed Service for Microsoft Active Directory API is used for managing -    a highly available, hardened service running Microsoft Active Directory -    (AD). -  rules: -  - selector: google.cloud.location.Locations.GetLocation -    description: Gets information about a location. - -  - selector: google.cloud.location.Locations.ListLocations -    description: Lists information about the supported locations for this service. - -  - selector: google.iam.v1.IAMPolicy.GetIamPolicy -    description: |- -      Gets the access control policy for a resource. Returns an empty policy -      if the resource exists and does not have a policy set. - -  - selector: google.iam.v1.IAMPolicy.SetIamPolicy -    description: |- -      Sets the access control policy on the specified resource. Replaces -      any existing policy. - -      Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` -      errors. - -  - selector: google.iam.v1.IAMPolicy.TestIamPermissions -    description: |- -      Returns permissions that a caller has on the specified resource. If the -      resource does not exist, this will return an empty set of -      permissions, not a `NOT_FOUND` error. - -      Note: This operation is designed to be used for building -      permission-aware UIs and command-line tools, not for authorization -      checking. This operation may "fail open" without warning. - -backend: -  rules: -  - selector: google.cloud.location.Locations.GetLocation -    deadline: 60.0 -  - selector: google.cloud.location.Locations.ListLocations -    deadline: 60.0 -  - selector: 'google.cloud.managedidentities.v1.ManagedIdentitiesService.*' -    deadline: 60.0 -  - selector: 'google.iam.v1.IAMPolicy.*' -    deadline: 60.0 -  - selector: 'google.longrunning.Operations.*' -    deadline: 60.0 -  - selector: google.longrunning.Operations.GetOperation -    deadline: 5.0 - -http: -  rules: -  - selector: google.cloud.location.Locations.GetLocation -    get: '/v1/{name=projects/*/locations/*}' -  - selector: google.cloud.location.Locations.ListLocations -    get: '/v1/{name=projects/*}/locations' -  - selector: google.iam.v1.IAMPolicy.GetIamPolicy -    get: '/v1/{resource=projects/*/locations/global/domains/*}:getIamPolicy' -    additional_bindings: -    - get: '/v1/{resource=projects/*/locations/global/peerings/*}:getIamPolicy' -    - get: '/v1/{resource=projects/*/locations/global/domains/*/backups/*}:getIamPolicy' -  - selector: google.iam.v1.IAMPolicy.SetIamPolicy -    post: '/v1/{resource=projects/*/locations/global/domains/*}:setIamPolicy' -    body: '*' -    additional_bindings: -    - post: '/v1/{resource=projects/*/locations/global/peerings/*}:setIamPolicy' -      body: '*' -    - post: '/v1/{resource=projects/*/locations/global/domains/*/backups/*}:setIamPolicy' -      body: '*' -  - selector: google.iam.v1.IAMPolicy.TestIamPermissions -    post: '/v1/{resource=projects/*/locations/global/domains/*}:testIamPermissions' -    body: '*' -    additional_bindings: -    - post: '/v1/{resource=projects/*/locations/global/peerings/*}:testIamPermissions' -      body: '*' -    - post: '/v1/{resource=projects/*/locations/global/domains/*/backups/*}:testIamPermissions' -      body: '*' -  - selector: google.longrunning.Operations.CancelOperation -    post: '/v1/{name=projects/*/locations/global/operations/*}:cancel' -    body: '*' -  - selector: google.longrunning.Operations.DeleteOperation -    delete: '/v1/{name=projects/*/locations/global/operations/*}' -  - selector: google.longrunning.Operations.GetOperation -    get: '/v1/{name=projects/*/locations/global/operations/*}' -  - selector: google.longrunning.Operations.ListOperations -    get: '/v1/{name=projects/*/locations/global/operations}' - -authentication: -  rules: -  - selector: google.cloud.location.Locations.GetLocation -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform -  - selector: google.cloud.location.Locations.ListLocations -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform -  - selector: 'google.cloud.managedidentities.v1.ManagedIdentitiesService.*' -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform -  - selector: 'google.iam.v1.IAMPolicy.*' -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform -  - selector: 'google.longrunning.Operations.*' -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/cloud/managedidentities/v1/resource.proto b/third_party/googleapis/google/cloud/managedidentities/v1/resource.proto deleted file mode 100644 index abae9da..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1/resource.proto +++ /dev/null @@ -1,212 +0,0 @@ -// Copyright 2019 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.cloud.managedidentities.v1; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/timestamp.proto"; - -option csharp_namespace = "Google.Cloud.ManagedIdentities.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1;managedidentities"; -option java_multiple_files = true; -option java_outer_classname = "ResourceProto"; -option java_package = "com.google.cloud.managedidentities.v1"; -option php_namespace = "Google\\Cloud\\ManagedIdentities\\V1"; -option ruby_package = "Google::Cloud::ManagedIdentities::V1"; - -// Represents a managed Microsoft Active Directory domain. -message Domain { -  option (google.api.resource) = { -    type: "managedidentities.googleapis.com/Domain" -    pattern: "projects/{project}/locations/{location}/domains/{domain}" -  }; - -  // Represents the different states of a managed domain. -  enum State { -    // Not set. -    STATE_UNSPECIFIED = 0; - -    // The domain is being created. -    CREATING = 1; - -    // The domain has been created and is fully usable. -    READY = 2; - -    // The domain's configuration is being updated. -    UPDATING = 3; - -    // The domain is being deleted. -    DELETING = 4; - -    // The domain is being repaired and may be unusable. Details -    // can be found in the `status_message` field. -    REPAIRING = 5; - -    // The domain is undergoing maintenance. -    PERFORMING_MAINTENANCE = 6; - -    // The domain is not serving requests. -    UNAVAILABLE = 7; -  } - -  // Required. The unique name of the domain using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}`. -  string name = 1 [(google.api.field_behavior) = REQUIRED]; - -  // Optional. Resource labels that can contain user-provided metadata. -  map<string, string> labels = 2 [(google.api.field_behavior) = OPTIONAL]; - -  // Optional. The full names of the Google Compute Engine -  // [networks](/compute/docs/networks-and-firewalls#networks) the domain -  // instance is connected to. Networks can be added using UpdateDomain. -  // The domain is only available on networks listed in `authorized_networks`. -  // If CIDR subnets overlap between networks, domain creation will fail. -  repeated string authorized_networks = 3 [(google.api.field_behavior) = OPTIONAL]; - -  // Required. The CIDR range of internal addresses that are reserved for this -  // domain. Reserved networks must be /24 or larger. Ranges must be -  // unique and non-overlapping with existing subnets in -  // [Domain].[authorized_networks]. -  string reserved_ip_range = 4 [(google.api.field_behavior) = REQUIRED]; - -  // Required. Locations where domain needs to be provisioned. -  // [regions][compute/docs/regions-zones/] -  // e.g. us-west1 or us-east4 -  // Service supports up to 4 locations at once. Each location will use a /26 -  // block. -  repeated string locations = 5 [(google.api.field_behavior) = REQUIRED]; - -  // Optional. The name of delegated administrator account used to perform -  // Active Directory operations. If not specified, `setupadmin` will be used. -  string admin = 6 [(google.api.field_behavior) = OPTIONAL]; - -  // Output only. The fully-qualified domain name of the exposed domain used by -  // clients to connect to the service. Similar to what would be chosen for an -  // Active Directory set up on an internal network. -  string fqdn = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The time the instance was created. -  google.protobuf.Timestamp create_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The last update time. -  google.protobuf.Timestamp update_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The current state of this domain. -  State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Additional information about the current status of this -  // domain, if available. -  string status_message = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The current trusts associated with the domain. -  repeated Trust trusts = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Represents a relationship between two domains. This allows a controller in -// one domain to authenticate a user in another domain. -message Trust { -  // Represents the different states of a domain trust. -  enum State { -    // Not set. -    STATE_UNSPECIFIED = 0; - -    // The domain trust is being created. -    CREATING = 1; - -    // The domain trust is being updated. -    UPDATING = 2; - -    // The domain trust is being deleted. -    DELETING = 3; - -    // The domain trust is connected. -    CONNECTED = 4; - -    // The domain trust is disconnected. -    DISCONNECTED = 5; -  } - -  // Represents the different inter-forest trust types. -  enum TrustType { -    // Not set. -    TRUST_TYPE_UNSPECIFIED = 0; - -    // The forest trust. -    FOREST = 1; - -    // The external domain trust. -    EXTERNAL = 2; -  } - -  // Represents the direction of trust. -  // See -  // [System.DirectoryServices.ActiveDirectory.TrustDirection](https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices.activedirectory.trustdirection?view=netframework-4.7.2) -  // for more information. -  enum TrustDirection { -    // Not set. -    TRUST_DIRECTION_UNSPECIFIED = 0; - -    // The inbound direction represents the trusting side. -    INBOUND = 1; - -    // The outboud direction represents the trusted side. -    OUTBOUND = 2; - -    // The bidirectional direction represents the trusted / trusting side. -    BIDIRECTIONAL = 3; -  } - -  // Required. The fully qualified target domain name which will be in trust with the -  // current domain. -  string target_domain_name = 1 [(google.api.field_behavior) = REQUIRED]; - -  // Required. The type of trust represented by the trust resource. -  TrustType trust_type = 2 [(google.api.field_behavior) = REQUIRED]; - -  // Required. The trust direction, which decides if the current domain is trusted, -  // trusting, or both. -  TrustDirection trust_direction = 3 [(google.api.field_behavior) = REQUIRED]; - -  // Optional. The trust authentication type, which decides whether the trusted side has -  // forest/domain wide access or selective access to an approved set of -  // resources. -  bool selective_authentication = 4 [(google.api.field_behavior) = OPTIONAL]; - -  // Required. The target DNS server IP addresses which can resolve the remote domain -  // involved in the trust. -  repeated string target_dns_ip_addresses = 5 [(google.api.field_behavior) = REQUIRED]; - -  // Required. The trust secret used for the handshake with the target domain. This will -  // not be stored. -  string trust_handshake_secret = 6 [(google.api.field_behavior) = REQUIRED]; - -  // Output only. The time the instance was created. -  google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The last update time. -  google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The current state of the trust. -  State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Additional information about the current state of the trust, if available. -  string state_description = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The last heartbeat time when the trust was known to be connected. -  google.protobuf.Timestamp last_trust_heartbeat_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/cloud/managedidentities/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/managedidentities/v1beta1/BUILD.bazel deleted file mode 100644 index a8c1783..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1beta1/BUILD.bazel +++ /dev/null @@ -1,372 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: -# - names of *_gapic_assembly_* rules -# - certain parameters of *_gapic_library rules, including but not limited to: -#    * extra_protoc_parameters -#    * extra_protoc_file_parameters -# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -    name = "managedidentities_proto", -    srcs = [ -        "managed_identities_service.proto", -        "resource.proto", -    ], -    deps = [ -        "//google/api:annotations_proto", -        "//google/api:client_proto", -        "//google/api:field_behavior_proto", -        "//google/api:resource_proto", -        "//google/longrunning:operations_proto", -        "@com_google_protobuf//:field_mask_proto", -        "@com_google_protobuf//:timestamp_proto", -    ], -) - -proto_library_with_info( -    name = "managedidentities_proto_with_info", -    deps = [ -        ":managedidentities_proto", -        "//google/cloud:common_resources_proto", -    ], -) - -############################################################################## -# Java -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "java_gapic_assembly_gradle_pkg", -    "java_gapic_library", -    "java_gapic_test", -    "java_grpc_library", -    "java_proto_library", -) - -java_proto_library( -    name = "managedidentities_java_proto", -    deps = [":managedidentities_proto"], -) - -java_grpc_library( -    name = "managedidentities_java_grpc", -    srcs = [":managedidentities_proto"], -    deps = [":managedidentities_java_proto"], -) - -java_gapic_library( -    name = "managedidentities_java_gapic", -    srcs = [":managedidentities_proto_with_info"], -    gapic_yaml = "managedidentities_gapic.yaml", -    grpc_service_config = "managedidentities_grpc_service_config.json", -    service_yaml = "managedidentities_v1beta1.yaml", -    test_deps = [ -        ":managedidentities_java_grpc", -    ], -    deps = [ -        ":managedidentities_java_proto", -        "//google/api:api_java_proto", -    ], -) - -java_gapic_test( -    name = "managedidentities_java_gapic_test_suite", -    test_classes = [ -        "com.google.cloud.managedidentities.v1beta1.ManagedIdentitiesServiceClientTest", -    ], -    runtime_deps = [":managedidentities_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -    name = "google-cloud-managedidentities-v1beta1-java", -    include_samples = True, -    deps = [ -        ":managedidentities_java_gapic", -        ":managedidentities_java_grpc", -        ":managedidentities_java_proto", -        ":managedidentities_proto", -    ], -) - -############################################################################## -# Go -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "go_gapic_assembly_pkg", -    "go_gapic_library", -    "go_proto_library", -    "go_test", -) - -go_proto_library( -    name = "managedidentities_go_proto", -    compilers = ["@io_bazel_rules_go//proto:go_grpc"], -    importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1", -    protos = [":managedidentities_proto"], -    deps = [ -        "//google/api:annotations_go_proto", -        "//google/longrunning:longrunning_go_proto", -    ], -) - -go_gapic_library( -    name = "managedidentities_go_gapic", -    srcs = [":managedidentities_proto_with_info"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    importpath = "cloud.google.com/go/managedidentities/apiv1beta1;managedidentities", -    metadata = True, -    service_yaml = "managedidentities_v1beta1.yaml", -    transport = "grpc+rest", -    deps = [ -        ":managedidentities_go_proto", -        "//google/longrunning:longrunning_go_proto", -        "@com_google_cloud_go//longrunning:go_default_library", -        "@com_google_cloud_go//longrunning/autogen:go_default_library", -    ], -) - -go_test( -    name = "managedidentities_go_gapic_test", -    srcs = [":managedidentities_go_gapic_srcjar_test"], -    embed = [":managedidentities_go_gapic"], -    importpath = "cloud.google.com/go/managedidentities/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -    name = "gapi-cloud-managedidentities-v1beta1-go", -    deps = [ -        ":managedidentities_go_gapic", -        ":managedidentities_go_gapic_srcjar-metadata.srcjar", -        ":managedidentities_go_gapic_srcjar-test.srcjar", -        ":managedidentities_go_proto", -    ], -) - -############################################################################## -# Python -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "py_gapic_assembly_pkg", -    "py_gapic_library", -    "py_test", -) - -py_gapic_library( -    name = "managedidentities_py_gapic", -    srcs = [":managedidentities_proto"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    transport = "grpc", -) - -py_test( -    name = "managedidentities_py_gapic_test", -    srcs = [ -        "managedidentities_py_gapic_pytest.py", -        "managedidentities_py_gapic_test.py", -    ], -    legacy_create_init = False, -    deps = [":managedidentities_py_gapic"], -) - -# Open Source Packages -py_gapic_assembly_pkg( -    name = "managedidentities-v1beta1-py", -    deps = [ -        ":managedidentities_py_gapic", -    ], -) - -############################################################################## -# PHP -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "php_gapic_assembly_pkg", -    "php_gapic_library", -    "php_grpc_library", -    "php_proto_library", -) - -php_proto_library( -    name = "managedidentities_php_proto", -    deps = [":managedidentities_proto"], -) - -php_grpc_library( -    name = "managedidentities_php_grpc", -    srcs = [":managedidentities_proto"], -    deps = [":managedidentities_php_proto"], -) - -php_gapic_library( -    name = "managedidentities_php_gapic", -    srcs = [":managedidentities_proto_with_info"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    service_yaml = "managedidentities_v1beta1.yaml", -    deps = [ -        ":managedidentities_php_grpc", -        ":managedidentities_php_proto", -    ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -    name = "google-cloud-managedidentities-v1beta1-php", -    deps = [ -        ":managedidentities_php_gapic", -        ":managedidentities_php_grpc", -        ":managedidentities_php_proto", -    ], -) - -############################################################################## -# Node.js -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "nodejs_gapic_assembly_pkg", -    "nodejs_gapic_library", -) - -nodejs_gapic_library( -    name = "managedidentities_nodejs_gapic", -    package_name = "@google-cloud/managed-identities", -    src = ":managedidentities_proto_with_info", -    extra_protoc_parameters = ["metadata"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    package = "google.cloud.managedidentities.v1beta1", -    service_yaml = "managedidentities_v1beta1.yaml", -    deps = [], -) - -nodejs_gapic_assembly_pkg( -    name = "managedidentities-v1beta1-nodejs", -    deps = [ -        ":managedidentities_nodejs_gapic", -        ":managedidentities_proto", -    ], -) - -############################################################################## -# Ruby -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "ruby_cloud_gapic_library", -    "ruby_gapic_assembly_pkg", -    "ruby_grpc_library", -    "ruby_proto_library", -) - -ruby_proto_library( -    name = "managedidentities_ruby_proto", -    deps = [":managedidentities_proto"], -) - -ruby_grpc_library( -    name = "managedidentities_ruby_grpc", -    srcs = [":managedidentities_proto"], -    deps = [":managedidentities_ruby_proto"], -) - -ruby_cloud_gapic_library( -    name = "managedidentities_ruby_gapic", -    srcs = [":managedidentities_proto_with_info"], -    extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-managedidentities-v1beta1"], -    grpc_service_config = "managedidentities_grpc_service_config.json", -    deps = [ -        ":managedidentities_ruby_grpc", -        ":managedidentities_ruby_proto", -    ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -    name = "google-cloud-managedidentities-v1beta1-ruby", -    deps = [ -        ":managedidentities_ruby_gapic", -        ":managedidentities_ruby_grpc", -        ":managedidentities_ruby_proto", -    ], -) - -############################################################################## -# C# -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "csharp_gapic_assembly_pkg", -    "csharp_gapic_library", -    "csharp_grpc_library", -    "csharp_proto_library", -) - -csharp_proto_library( -    name = "managedidentities_csharp_proto", -    deps = [":managedidentities_proto"], -) - -csharp_grpc_library( -    name = "managedidentities_csharp_grpc", -    srcs = [":managedidentities_proto"], -    deps = [":managedidentities_csharp_proto"], -) - -csharp_gapic_library( -    name = "managedidentities_csharp_gapic", -    srcs = [":managedidentities_proto_with_info"], -    common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -    grpc_service_config = "managedidentities_grpc_service_config.json", -    service_yaml = "managedidentities_v1beta1.yaml", -    deps = [ -        ":managedidentities_csharp_grpc", -        ":managedidentities_csharp_proto", -    ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -    name = "google-cloud-managedidentities-v1beta1-csharp", -    deps = [ -        ":managedidentities_csharp_gapic", -        ":managedidentities_csharp_grpc", -        ":managedidentities_csharp_proto", -    ], -) - -############################################################################## -# C++ -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "cc_grpc_library", -    "cc_proto_library", -) - -cc_proto_library( -    name = "managedidentities_cc_proto", -    deps = [":managedidentities_proto"], -) - -cc_grpc_library( -    name = "managedidentities_cc_grpc", -    srcs = [":managedidentities_proto"], -    grpc_only = True, -    deps = [":managedidentities_cc_proto"], -) diff --git a/third_party/googleapis/google/cloud/managedidentities/v1beta1/managed_identities_service.proto b/third_party/googleapis/google/cloud/managedidentities/v1beta1/managed_identities_service.proto deleted file mode 100644 index 17bc165..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1beta1/managed_identities_service.proto +++ /dev/null @@ -1,389 +0,0 @@ -// Copyright 2021 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.cloud.managedidentities.v1beta1; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/managedidentities/v1beta1/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/timestamp.proto"; - -option csharp_namespace = "Google.Cloud.ManagedIdentities.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1;managedidentities"; -option java_multiple_files = true; -option java_outer_classname = "ManagedIdentitiesServiceProto"; -option java_package = "com.google.cloud.managedidentities.v1beta1"; -option objc_class_prefix = "GCMI"; -option php_namespace = "Google\\Cloud\\ManagedIdentities\\V1beta1"; -option ruby_package = "Google::Cloud::ManagedIdentities::V1beta1"; - -service ManagedIdentitiesService { -  option (google.api.default_host) = "managedidentities.googleapis.com"; -  option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - -  // Creates a Microsoft AD domain. -  rpc CreateMicrosoftAdDomain(CreateMicrosoftAdDomainRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1beta1/{parent=projects/*/locations/global}/domains" -      body: "domain" -    }; -    option (google.api.method_signature) = "parent,domain_name,domain"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Resets a domain's administrator password. -  rpc ResetAdminPassword(ResetAdminPasswordRequest) returns (ResetAdminPasswordResponse) { -    option (google.api.http) = { -      post: "/v1beta1/{name=projects/*/locations/global/domains/*}:resetAdminPassword" -      body: "*" -    }; -    option (google.api.method_signature) = "name"; -  } - -  // Lists domains in a project. -  rpc ListDomains(ListDomainsRequest) returns (ListDomainsResponse) { -    option (google.api.http) = { -      get: "/v1beta1/{parent=projects/*/locations/global}/domains" -    }; -    option (google.api.method_signature) = "parent"; -  } - -  // Gets information about a domain. -  rpc GetDomain(GetDomainRequest) returns (Domain) { -    option (google.api.http) = { -      get: "/v1beta1/{name=projects/*/locations/global/domains/*}" -    }; -    option (google.api.method_signature) = "name"; -  } - -  // Updates the metadata and configuration of a domain. -  rpc UpdateDomain(UpdateDomainRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      patch: "/v1beta1/{domain.name=projects/*/locations/global/domains/*}" -      body: "domain" -    }; -    option (google.api.method_signature) = "domain,update_mask"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Deletes a domain. -  rpc DeleteDomain(DeleteDomainRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      delete: "/v1beta1/{name=projects/*/locations/global/domains/*}" -    }; -    option (google.api.method_signature) = "name"; -    option (google.longrunning.operation_info) = { -      response_type: "google.protobuf.Empty" -      metadata_type: "OpMetadata" -    }; -  } - -  // Adds an AD trust to a domain. -  rpc AttachTrust(AttachTrustRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1beta1/{name=projects/*/locations/global/domains/*}:attachTrust" -      body: "*" -    }; -    option (google.api.method_signature) = "name,trust"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Updates the DNS conditional forwarder. -  rpc ReconfigureTrust(ReconfigureTrustRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1beta1/{name=projects/*/locations/global/domains/*}:reconfigureTrust" -      body: "*" -    }; -    option (google.api.method_signature) = "name,target_domain_name,target_dns_ip_addresses"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Removes an AD trust. -  rpc DetachTrust(DetachTrustRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1beta1/{name=projects/*/locations/global/domains/*}:detachTrust" -      body: "*" -    }; -    option (google.api.method_signature) = "name,trust"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } - -  // Validates a trust state, that the target domain is reachable, and that the -  // target domain is able to accept incoming trust requests. -  rpc ValidateTrust(ValidateTrustRequest) returns (google.longrunning.Operation) { -    option (google.api.http) = { -      post: "/v1beta1/{name=projects/*/locations/global/domains/*}:validateTrust" -      body: "*" -    }; -    option (google.api.method_signature) = "name,trust"; -    option (google.longrunning.operation_info) = { -      response_type: "Domain" -      metadata_type: "OpMetadata" -    }; -  } -} - -// Represents the metadata of the long-running operation. -message OpMetadata { -  // Output only. The time the operation was created. -  google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The time the operation finished running. -  google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Server-defined resource path for the target of the operation. -  string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Name of the verb executed by the operation. -  string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Identifies whether the user has requested cancellation -  // of the operation. Operations that have successfully been cancelled -  // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, -  // corresponding to `Code.CANCELLED`. -  bool requested_cancellation = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. API version used to start the operation. -  string api_version = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Request message for -// [CreateMicrosoftAdDomain][google.cloud.managedidentities.v1beta1.CreateMicrosoftAdDomain] -message CreateMicrosoftAdDomainRequest { -  // Required. The resource project name and location using the form: -  // `projects/{project_id}/locations/global` -  string parent = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      child_type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. A domain name, e.g. mydomain.myorg.com, with the following restrictions: -  //  * Must contain only lowercase letters, numbers, periods and hyphens. -  //  * Must start with a letter. -  //  * Must contain between 2-64 characters. -  //  * Must end with a number or a letter. -  //  * Must not start with period. -  //  * First segment length (mydomain form example above) shouldn't exceed -  //    15 chars. -  //  * The last segment cannot be fully numeric. -  //  * Must be unique within the customer project. -  string domain_name = 2 [(google.api.field_behavior) = REQUIRED]; - -  // Required. A Managed Identity domain resource. -  Domain domain = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [ResetAdminPassword][google.cloud.managedidentities.v1beta1.ResetAdminPassword] -message ResetAdminPasswordRequest { -  // Required. The domain resource name using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; -} - -// Response message for -// [ResetAdminPassword][google.cloud.managedidentities.v1beta1.ResetAdminPassword] -message ResetAdminPasswordResponse { -  // A random password. See [admin][google.cloud.managedidentities.v1beta1.Domain.admin] for more information. -  string password = 1; -} - -// Request message for -// [ListDomains][google.cloud.managedidentities.v1beta1.ListDomains] -message ListDomainsRequest { -  // Required. The resource name of the domain location using the form: -  // `projects/{project_id}/locations/global` -  string parent = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      child_type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Optional. The maximum number of items to return. -  // If not specified, a default value of 1000 will be used. -  // Regardless of the page_size value, the response may include a partial list. -  // Callers should rely on a response's -  // [next_page_token][google.cloud.managedidentities.v1beta1.ListDomainsResponse.next_page_token] -  // to determine if there are additional results to list. -  int32 page_size = 2; - -  // The `next_page_token` value returned from a previous ListDomainsRequest -  // request, if any. -  string page_token = 3; - -  // Optional. A filter specifying constraints of a list operation. -  // For example, `Domain.fqdn="mydomain.myorginization"`. -  string filter = 4; - -  // Optional. Specifies the ordering of results. See -  // [Sorting -  // order](https://cloud.google.com/apis/design/design_patterns#sorting_order) -  // for more information. -  string order_by = 5; -} - -// Response message for -// [ListDomains][google.cloud.managedidentities.v1beta1.ListDomains] -message ListDomainsResponse { -  // A list of Managed Identities Service domains in the project. -  repeated Domain domains = 1; - -  // A token to retrieve the next page of results, or empty if there are no more -  // results in the list. -  string next_page_token = 2; - -  // A list of locations that could not be reached. -  repeated string unreachable = 3; -} - -// Request message for -// [GetDomain][google.cloud.managedidentities.v1beta1.GetDomain] -message GetDomainRequest { -  // Required. The domain resource name using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; -} - -// Request message for -// [UpdateDomain][google.cloud.managedidentities.v1beta1.UpdateDomain] -message UpdateDomainRequest { -  // Required. Mask of fields to update. At least one path must be supplied in this -  // field. The elements of the repeated paths field may only include -  // fields from [Domain][google.cloud.managedidentities.v1beta1.Domain]: -  //  * `labels` -  //  * `locations` -  //  * `authorized_networks` -  //  * `audit_logs_enabled` -  google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; - -  // Required. Domain message with updated fields. Only supported fields specified in -  // update_mask are updated. -  Domain domain = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [DeleteDomain][google.cloud.managedidentities.v1beta1.DeleteDomain] -message DeleteDomainRequest { -  // Required. The domain resource name using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; -} - -// Request message for -// [AttachTrust][google.cloud.managedidentities.v1beta1.AttachTrust] -message AttachTrustRequest { -  // Required. The resource domain name, project name and location using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. The domain trust resource. -  Trust trust = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [ReconfigureTrust][google.cloud.managedidentities.v1beta1.ReconfigureTrust] -message ReconfigureTrustRequest { -  // Required. The resource domain name, project name and location using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. The fully-qualified target domain name which will be in trust with current -  // domain. -  string target_domain_name = 2 [(google.api.field_behavior) = REQUIRED]; - -  // Required. The target DNS server IP addresses to resolve the remote domain involved -  // in the trust. -  repeated string target_dns_ip_addresses = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [DetachTrust][google.cloud.managedidentities.v1beta1.DetachTrust] -message DetachTrustRequest { -  // Required. The resource domain name, project name, and location using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. The domain trust resource to removed. -  Trust trust = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// [ValidateTrust][google.cloud.managedidentities.v1beta1.ValidateTrust] -message ValidateTrustRequest { -  // Required. The resource domain name, project name, and location using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}` -  string name = 1 [ -    (google.api.field_behavior) = REQUIRED, -    (google.api.resource_reference) = { -      type: "managedidentities.googleapis.com/Domain" -    } -  ]; - -  // Required. The domain trust to validate trust state for. -  Trust trust = 2 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/cloud/managedidentities/v1beta1/managedidentities_gapic.yaml b/third_party/googleapis/google/cloud/managedidentities/v1beta1/managedidentities_gapic.yaml deleted file mode 100644 index 5ec5a8a..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1beta1/managedidentities_gapic.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -# The settings of generated code in a specific language. -language_settings: -  ruby: -    package_name: Google::Cloud::Managedidentities::V1beta1 diff --git a/third_party/googleapis/google/cloud/managedidentities/v1beta1/managedidentities_grpc_service_config.json b/third_party/googleapis/google/cloud/managedidentities/v1beta1/managedidentities_grpc_service_config.json deleted file mode 100644 index 29110c1..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1beta1/managedidentities_grpc_service_config.json +++ /dev/null @@ -1,12 +0,0 @@ -{ -  "methodConfig": [ -    { -      "name": [ -        { -          "service": "google.cloud.managedidentities.v1.ManagedIdentitiesService" -        } -      ], -      "timeout": "60s" -    } -  ] -} diff --git a/third_party/googleapis/google/cloud/managedidentities/v1beta1/managedidentities_v1beta1.yaml b/third_party/googleapis/google/cloud/managedidentities/v1beta1/managedidentities_v1beta1.yaml deleted file mode 100644 index aeaf78c..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1beta1/managedidentities_v1beta1.yaml +++ /dev/null @@ -1,120 +0,0 @@ -type: google.api.Service -config_version: 3 -name: managedidentities.googleapis.com -title: Managed Service for Microsoft Active Directory API - -apis: -- name: google.cloud.managedidentities.v1beta1.ManagedIdentitiesService - -types: -- name: google.cloud.managedidentities.v1beta1.OpMetadata - -documentation: -  summary: |- -    The Managed Service for Microsoft Active Directory API is used for managing -    a highly available, hardened service running Microsoft Active Directory -    (AD). -  rules: -  - selector: google.cloud.location.Locations.GetLocation -    description: Gets information about a location. - -  - selector: google.cloud.location.Locations.ListLocations -    description: Lists information about the supported locations for this service. - -  - selector: google.iam.v1.IAMPolicy.GetIamPolicy -    description: |- -      Gets the access control policy for a resource. Returns an empty policy -      if the resource exists and does not have a policy set. - -  - selector: google.iam.v1.IAMPolicy.SetIamPolicy -    description: |- -      Sets the access control policy on the specified resource. Replaces -      any existing policy. - -      Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` -      errors. - -  - selector: google.iam.v1.IAMPolicy.TestIamPermissions -    description: |- -      Returns permissions that a caller has on the specified resource. If the -      resource does not exist, this will return an empty set of -      permissions, not a `NOT_FOUND` error. - -      Note: This operation is designed to be used for building -      permission-aware UIs and command-line tools, not for authorization -      checking. This operation may "fail open" without warning. - -backend: -  rules: -  - selector: google.cloud.location.Locations.GetLocation -    deadline: 60.0 -  - selector: google.cloud.location.Locations.ListLocations -    deadline: 60.0 -  - selector: 'google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.*' -    deadline: 60.0 -  - selector: 'google.iam.v1.IAMPolicy.*' -    deadline: 60.0 -  - selector: 'google.longrunning.Operations.*' -    deadline: 60.0 -  - selector: google.longrunning.Operations.GetOperation -    deadline: 5.0 - -http: -  rules: -  - selector: google.cloud.location.Locations.GetLocation -    get: '/v1beta1/{name=projects/*/locations/*}' -  - selector: google.cloud.location.Locations.ListLocations -    get: '/v1beta1/{name=projects/*}/locations' -  - selector: google.iam.v1.IAMPolicy.GetIamPolicy -    get: '/v1beta1/{resource=projects/*/locations/global/domains/*}:getIamPolicy' -    additional_bindings: -    - get: '/v1beta1/{resource=projects/*/locations/global/peerings/*}:getIamPolicy' -    - get: '/v1beta1/{resource=projects/*/locations/global/domains/*/backups/*}:getIamPolicy' -  - selector: google.iam.v1.IAMPolicy.SetIamPolicy -    post: '/v1beta1/{resource=projects/*/locations/global/domains/*}:setIamPolicy' -    body: '*' -    additional_bindings: -    - post: '/v1beta1/{resource=projects/*/locations/global/peerings/*}:setIamPolicy' -      body: '*' -    - post: '/v1beta1/{resource=projects/*/locations/global/domains/*/backups/*}:setIamPolicy' -      body: '*' -  - selector: google.iam.v1.IAMPolicy.TestIamPermissions -    post: '/v1beta1/{resource=projects/*/locations/global/domains/*}:testIamPermissions' -    body: '*' -    additional_bindings: -    - post: '/v1beta1/{resource=projects/*/locations/global/peerings/*}:testIamPermissions' -      body: '*' -    - post: '/v1beta1/{resource=projects/*/locations/global/domains/*/backups/*}:testIamPermissions' -      body: '*' -  - selector: google.longrunning.Operations.CancelOperation -    post: '/v1beta1/{name=projects/*/locations/global/operations/*}:cancel' -    body: '*' -  - selector: google.longrunning.Operations.DeleteOperation -    delete: '/v1beta1/{name=projects/*/locations/global/operations/*}' -  - selector: google.longrunning.Operations.GetOperation -    get: '/v1beta1/{name=projects/*/locations/global/operations/*}' -  - selector: google.longrunning.Operations.ListOperations -    get: '/v1beta1/{name=projects/*/locations/global/operations}' - -authentication: -  rules: -  - selector: google.cloud.location.Locations.GetLocation -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform -  - selector: google.cloud.location.Locations.ListLocations -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform -  - selector: 'google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.*' -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform -  - selector: 'google.iam.v1.IAMPolicy.*' -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform -  - selector: 'google.longrunning.Operations.*' -    oauth: -      canonical_scopes: |- -        https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/cloud/managedidentities/v1beta1/resource.proto b/third_party/googleapis/google/cloud/managedidentities/v1beta1/resource.proto deleted file mode 100644 index a866b9e..0000000 --- a/third_party/googleapis/google/cloud/managedidentities/v1beta1/resource.proto +++ /dev/null @@ -1,216 +0,0 @@ -// Copyright 2021 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.cloud.managedidentities.v1beta1; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/timestamp.proto"; - -option csharp_namespace = "Google.Cloud.ManagedIdentities.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1;managedidentities"; -option java_multiple_files = true; -option java_outer_classname = "ResourceProto"; -option java_package = "com.google.cloud.managedidentities.v1beta1"; -option php_namespace = "Google\\Cloud\\ManagedIdentities\\V1beta1"; -option ruby_package = "Google::Cloud::ManagedIdentities::V1beta1"; - -// Represents a managed Microsoft Active Directory domain. -// If the domain is being changed, it will be placed into the UPDATING state, -// which indicates that the resource is being reconciled. At this point, Get -// will reflect an intermediate state. -message Domain { -  option (google.api.resource) = { -    type: "managedidentities.googleapis.com/Domain" -    pattern: "projects/{project}/locations/{location}/domains/{domain}" -  }; - -  // Represents the different states of a managed domain. -  enum State { -    // Not set. -    STATE_UNSPECIFIED = 0; - -    // The domain is being created. -    CREATING = 1; - -    // The domain has been created and is fully usable. -    READY = 2; - -    // The domain's configuration is being updated. -    UPDATING = 3; - -    // The domain is being deleted. -    DELETING = 4; - -    // The domain is being repaired and may be unusable. Details -    // can be found in the `status_message` field. -    REPAIRING = 5; - -    // The domain is undergoing maintenance. -    PERFORMING_MAINTENANCE = 6; - -    // The domain is not serving requests. -    UNAVAILABLE = 7; -  } - -  // Output only. The unique name of the domain using the form: -  // `projects/{project_id}/locations/global/domains/{domain_name}`. -  string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Optional. Resource labels that can contain user-provided metadata. -  map<string, string> labels = 2 [(google.api.field_behavior) = OPTIONAL]; - -  // Optional. The full names of the Google Compute Engine -  // [networks](/compute/docs/networks-and-firewalls#networks) the domain -  // instance is connected to. Networks can be added using UpdateDomain. -  // The domain is only available on networks listed in `authorized_networks`. -  // If CIDR subnets overlap between networks, domain creation will fail. -  repeated string authorized_networks = 3 [(google.api.field_behavior) = OPTIONAL]; - -  // Required. The CIDR range of internal addresses that are reserved for this -  // domain. Reserved networks must be /24 or larger. Ranges must be -  // unique and non-overlapping with existing subnets in -  // [Domain].[authorized_networks]. -  string reserved_ip_range = 4 [(google.api.field_behavior) = REQUIRED]; - -  // Required. Locations where domain needs to be provisioned. -  // [regions][compute/docs/regions-zones/] -  // e.g. us-west1 or us-east4 -  // Service supports up to 4 locations at once. Each location will use a /26 -  // block. -  repeated string locations = 5 [(google.api.field_behavior) = REQUIRED]; - -  // Optional. The name of delegated administrator account used to perform -  // Active Directory operations. If not specified, `setupadmin` will be used. -  string admin = 6 [(google.api.field_behavior) = OPTIONAL]; - -  // Output only. The fully-qualified domain name of the exposed domain used by -  // clients to connect to the service. Similar to what would be chosen for an -  // Active Directory set up on an internal network. -  string fqdn = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The time the instance was created. -  google.protobuf.Timestamp create_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The last update time. -  google.protobuf.Timestamp update_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The current state of this domain. -  State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Additional information about the current status of this -  // domain, if available. -  string status_message = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The current trusts associated with the domain. -  repeated Trust trusts = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Represents a relationship between two domains. This allows a controller in -// one domain to authenticate a user in another domain. -message Trust { -  // Represents the different states of a domain trust. -  enum State { -    // Not set. -    STATE_UNSPECIFIED = 0; - -    // The domain trust is being created. -    CREATING = 1; - -    // The domain trust is being updated. -    UPDATING = 2; - -    // The domain trust is being deleted. -    DELETING = 3; - -    // The domain trust is connected. -    CONNECTED = 4; - -    // The domain trust is disconnected. -    DISCONNECTED = 5; -  } - -  // Represents the different inter-forest trust types. -  enum TrustType { -    // Not set. -    TRUST_TYPE_UNSPECIFIED = 0; - -    // The forest trust. -    FOREST = 1; - -    // The external domain trust. -    EXTERNAL = 2; -  } - -  // Represents the direction of trust. -  // See -  // [System.DirectoryServices.ActiveDirectory.TrustDirection](https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices.activedirectory.trustdirection?view=netframework-4.7.2) -  // for more information. -  enum TrustDirection { -    // Not set. -    TRUST_DIRECTION_UNSPECIFIED = 0; - -    // The inbound direction represents the trusting side. -    INBOUND = 1; - -    // The outboud direction represents the trusted side. -    OUTBOUND = 2; - -    // The bidirectional direction represents the trusted / trusting side. -    BIDIRECTIONAL = 3; -  } - -  // The fully qualified target domain name which will be in trust with the -  // current domain. -  string target_domain_name = 1; - -  // The type of trust represented by the trust resource. -  TrustType trust_type = 2; - -  // The trust direction, which decides if the current domain is trusted, -  // trusting, or both. -  TrustDirection trust_direction = 3; - -  // The trust authentication type, which decides whether the trusted side has -  // forest/domain wide access or selective access to an approved set of -  // resources. -  bool selective_authentication = 4; - -  // The target DNS server IP addresses which can resolve the remote domain -  // involved in the trust. -  repeated string target_dns_ip_addresses = 5; - -  // Input only. The trust secret used for the handshake -  // with the target domain. It will not be stored. -  string trust_handshake_secret = 6 [(google.api.field_behavior) = INPUT_ONLY]; - -  // Output only. The time the instance was created. -  google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The last update time. -  google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The current state of the trust. -  State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. Additional information about the current state of the -  // trust, if available. -  string state_description = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - -  // Output only. The last heartbeat time when the trust was known to be -  // connected. -  google.protobuf.Timestamp last_trust_heartbeat_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; -}  | 
