| /external/google-cloud-java/java-resourcemanager/ |
| D | .readme-partials.yaml | 6 …ult Credentials](https://developers.google.com/identity/protocols/application-default-credentials). 17 #### Getting a specific project 18 You can load a project if you know its project ID and have read permissions to the project. 19 To get a project, add the following import at the top of your file: 22 import com.google.cloud.resourcemanager.Project; 25 Then use the following code to get the project: 28 String projectId = "my-globally-unique-project-id"; // Change to a unique project ID 29 Project project = resourceManager.get(projectId); 32 #### Creating a project 33 All you need to create a project is a globally unique project ID. You can also optionally attach a [all …]
|
| D | README.md | 3 Java idiomatic client for [Resource Manager API][product-docs]. 5 [![Maven][maven-version-image]][maven-version-link] 6 ![Stability][stability-image] 8 - [Product Documentation][product-docs] 9 - [Client Library Documentation][javadocs] 15 If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: 22 <artifactId>libraries-bom</artifactId> 33 <artifactId>google-cloud-resourcemanager</artifactId> 39 <!-- {x-version-update-start:google-cloud-resourcemanager:released} --> 44 <artifactId>google-cloud-resourcemanager</artifactId> [all …]
|
| /external/google-cloud-java/google-cloud-examples/src/main/java/com/google/cloud/examples/resourcemanager/snippets/ |
| D | GetOrCreateProject.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 * the project's READMEs and package-info.java. 25 import com.google.cloud.resourcemanager.Project; 31 * A snippet for Google Cloud Resource Manager showing how to create a project if it does not exist. 40 String projectId = "my-globally-unique-project-id"; // Change to a unique project ID. in main() 41 // Get a project from the server. in main() 42 Project project = resourceManager.get(projectId); in main() local 43 if (project == null) { in main() 44 // Create a project. in main() 45 project = resourceManager.create(ProjectInfo.newBuilder(projectId).build()); in main() [all …]
|
| /external/sdk-platform-java/test/integration/goldens/storage/src/com/google/storage/v2/ |
| D | package-info.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 28 * <p>Resources are named as follows: - Projects are referred to as they are defined by the Resource 29 * Manager API, using strings like `projects/123456` or `projects/my-string-id`. - Buckets are named 30 * using string names of the form: `projects/{project}/buckets/{bucket}` For globally unique 31 * buckets, `_` may be substituted for the project. - Objects are uniquely identified by their name 34 * <p>ReadObjectRequest { bucket: 'projects/_/buckets/my-bucket' object: 'my-object' } Note that 43 * // - It may require correct/in-range values for request initialization. 44 * // - It may require specifying regional endpoints when creating the service client as shown in 47 * BucketName name = BucketName.of("[PROJECT]", "[BUCKET]"); 52 @Generated("by gapic-generator-java")
|
| /external/google-cloud-java/java-resourcemanager/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/ |
| D | package-info.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 18 * A client for Cloud Resource Manager - Centrally manage all your projects, IAM, and resource 21 * <p>Here's a simple usage example for using google-cloud from App/Compute Engine. This example 22 * creates a project if it does not exist. For the complete source code see <a 23 …* href="https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-examples/src/main… 28 * String projectId = "my-globally-unique-project-id"; // Change to a unique project ID. 29 * Project project = resourceManager.get(projectId); 30 * if (project == null) { 31 * project = resourceManager.create(ProjectInfo.builder(projectId).build()); 33 * System.out.println("Got project " + project.getProjectId() + " from the server."); [all …]
|
| /external/googleapis/google/logging/v2/ |
| D | log_entry.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 41 pattern: "projects/{project}/logs/{log}" 55 // A project number may be used in place of PROJECT_ID. The project number is 59 // `[LOG_ID]` must be URL-encoded within `log_name`. Example: 64 // forward-slash, underscore, hyphen, and period. 66 // For backward compatibility, if `log_name` begins with a forward-slash, such 68 // forward-slash is removed. Listing the log entry will not show the leading 86 // The following protocol buffer types are supported; user-defined types 93 // The log entry payload, represented as a Unicode string (UTF-8). 125 // Optional. A unique identifier for the log entry. If you provide a value, [all …]
|
| /external/google-cloud-java/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/ |
| D | analyze.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 // Environment represents a user-visible compute infrastructure for analytics 35 pattern: "projects/{project}/locations/{location}/lakes/{lake}/environments/{environment}" 50 // If max_node_count > node_count, then auto-scaling is enabled. 61 // For example, gs://bucket-name/my/path/to/file.jar 67 // For example, gs://bucket-name/my/path/to/lib.tar.gz 96 // auto-terminated at the end of this period. 100 // Optional. If True, this causes sessions to be pre-created and available 101 // for faster startup to enable interactive exploration use-cases. This 136 // Output only. System generated globally unique ID for the environment. This [all …]
|
| D | tasks.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 // A task represents a user-visible job. 34 pattern: "projects/{project}/locations/{location}/lakes/{lake}/tasks/{task}" 46 // If max_executors_count > executors_count, then auto-scaling is enabled. 58 // For example, gs://bucket-name/my/path/to/file.jar 63 // For example, gs://bucket-name/my/path/to/lib.tar.gz 71 // properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties). 81 // the Cloud VPC network named Default within the project is used. 84 // Optional. The Cloud VPC sub-network in which the job is run. 118 // The task runs one-time shortly after Task Creation. [all …]
|
| /external/googleapis/google/cloud/dataplex/v1/ |
| D | analyze.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 // Environment represents a user-visible compute infrastructure for analytics 35 pattern: "projects/{project}/locations/{location}/lakes/{lake}/environments/{environment}" 50 // If max_node_count > node_count, then auto-scaling is enabled. 61 // For example, gs://bucket-name/my/path/to/file.jar 67 // For example, gs://bucket-name/my/path/to/lib.tar.gz 96 // auto-terminated at the end of this period. 100 // Optional. If True, this causes sessions to be pre-created and available 101 // for faster startup to enable interactive exploration use-cases. This 136 // Output only. System generated globally unique ID for the environment. This [all …]
|
| D | tasks.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 // A task represents a user-visible job. 34 pattern: "projects/{project}/locations/{location}/lakes/{lake}/tasks/{task}" 46 // If max_executors_count > executors_count, then auto-scaling is enabled. 58 // For example, gs://bucket-name/my/path/to/file.jar 63 // For example, gs://bucket-name/my/path/to/lib.tar.gz 71 // properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties). 81 // the Cloud VPC network named Default within the project is used. 84 // Optional. The Cloud VPC sub-network in which the job is run. 118 // The task runs one-time shortly after Task Creation. [all …]
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | bigtableadmin_v2.projects.instances.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | bigtableadmin_v2.projects.instances.clusters.backups.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | spanner_v1.projects.instances.backups.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | accesscontextmanager_v1.accessPolicies.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | logging_v2.entries.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| /external/sdk-platform-java/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ |
| D | PolicyOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 30 * Immutable. The resource name of the `Policy`, which must be unique. Format: 32 * The attachment point is identified by its URL-encoded full resource name, 33 * which means that the forward-slash character, `/`, must be written as 35 …* `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-polic… 36 * For organizations and folders, use the numeric ID in the full resource 37 * name. For projects, requests can use the alphanumeric or the numeric ID. 38 * Responses always contain the numeric ID. 50 * Immutable. The resource name of the `Policy`, which must be unique. Format: 52 * The attachment point is identified by its URL-encoded full resource name, [all …]
|
| /external/sdk-platform-java/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ |
| D | PolicyOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 30 * Immutable. The resource name of the `Policy`, which must be unique. Format: 32 * The attachment point is identified by its URL-encoded full resource name, 33 * which means that the forward-slash character, `/`, must be written as 35 …* `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-polic… 36 * For organizations and folders, use the numeric ID in the full resource 37 * name. For projects, requests can use the alphanumeric or the numeric ID. 38 * Responses always contain the numeric ID. 50 * Immutable. The resource name of the `Policy`, which must be unique. Format: 52 * The attachment point is identified by its URL-encoded full resource name, [all …]
|
| /external/googleapis/google/iam/v2/ |
| D | policy.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; 75 // To update a policy, you should use a read-modify-write loop: 108 // Immutable. The resource name of the `Policy`, which must be unique. Format: 112 // The attachment point is identified by its URL-encoded full resource name, 113 // which means that the forward-slash character, `/`, must be written as 115 …// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-poli… 117 // For organizations and folders, use the numeric ID in the full resource 118 // name. For projects, requests can use the alphanumeric or the numeric ID. 119 // Responses always contain the numeric ID. [all …]
|
| /external/sdk-platform-java/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/ |
| D | policy.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; 75 // To update a policy, you should use a read-modify-write loop: 108 // Immutable. The resource name of the `Policy`, which must be unique. Format: 112 // The attachment point is identified by its URL-encoded full resource name, 113 // which means that the forward-slash character, `/`, must be written as 115 …// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-poli… 117 // For organizations and folders, use the numeric ID in the full resource 118 // name. For projects, requests can use the alphanumeric or the numeric ID. 119 // Responses always contain the numeric ID. [all …]
|
| /external/sdk-platform-java/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/ |
| D | policy.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; 75 // To update a policy, you should use a read-modify-write loop: 108 // Immutable. The resource name of the `Policy`, which must be unique. Format: 112 // The attachment point is identified by its URL-encoded full resource name, 113 // which means that the forward-slash character, `/`, must be written as 115 …// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-poli… 117 // For organizations and folders, use the numeric ID in the full resource 118 // name. For projects, requests can use the alphanumeric or the numeric ID. 119 // Responses always contain the numeric ID. [all …]
|
| /external/googleapis/google/iam/v2beta/ |
| D | policy.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; 75 // To update a policy, you should use a read-modify-write loop: 108 // Immutable. The resource name of the `Policy`, which must be unique. Format: 112 // The attachment point is identified by its URL-encoded full resource name, 113 // which means that the forward-slash character, `/`, must be written as 115 …// `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-poli… 117 // For organizations and folders, use the numeric ID in the full resource 118 // name. For projects, requests can use the alphanumeric or the numeric ID. 119 // Responses always contain the numeric ID. [all …]
|
| /external/python/google-api-python-client/googleapiclient/discovery_cache/documents/ |
| D | firebase.v1beta1.json | 5 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform.read-only": { 24 …bles programmatic setup and management of Firebase projects, including a project's Firebase resour… 29 "x16": "http://www.google.com/images/icons/product/search-16.gif", 30 "x32": "http://www.google.com/images/icons/product/search-32.gif" 32 "id": "firebase:v1beta1", string 66 "Responses with Content-Type of application/json", 67 "Media download with context-dependent Content-Type", 68 "Responses with Content-Type of application/x-protobuf" 84 …"description": "API key. Your API key identifies your project and provides you with API access, qu… [all …]
|
| /external/python/google-api-python-client/tests/data/ |
| D | logging.json | 2 "id": "logging:v2", string 6 "https://www.googleapis.com/auth/cloud-platform": { 9 "https://www.googleapis.com/auth/cloud-platform.read-only": { 33 "id": "logging.folders.logs.list", string 45 …": "Optional. The maximum number of results to return from this request. Non-positive values are i… 65 "https://www.googleapis.com/auth/cloud-platform", 66 "https://www.googleapis.com/auth/cloud-platform.read-only", 72 "id": "logging.folders.logs.delete", string 84 …RGANIZATION_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-… 93 "https://www.googleapis.com/auth/cloud-platform", [all …]
|
| /external/googleapis/google/cloud/gkemulticloud/v1/ |
| D | azure_resources.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 37 pattern: "projects/{project}/locations/{location}/azureClusters/{azure_cluster}" 71 // `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. 78 // Cannot be longer than 255 UTF-8 encoded bytes. 89 // Required. The ARM ID of the resource group where the cluster resources are 91 // `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>` 96 // authentication configuration for how the Anthos Multi-Cloud API connects to 102 // project and region as the `AzureCluster`. 105 // `projects/<project-number>/locations/<region>/azureClients/<client-id>`. 111 // Required. Cluster-wide networking configuration. [all …]
|
| /external/google-cloud-java/google-cloud-examples/ |
| D | README.md | 4 Examples for google-cloud (Java idiomatic client for [Google Cloud Platform][cloud-platform] servic… 7 https://github.com/googleapis/google-cloud-java/tree/main_202208/google-cloud-examples) 9 The old branch has pom.xml to build the project. 11 …rcleci.com/gh/googleapis/google-cloud-java/tree/master.svg?style=shield)](https://circleci.com/gh/… 12 …veralls.io/repos/googleapis/google-cloud-java/badge.svg?branch=master)](https://coveralls.io/r/goo… 13 …elds.io/maven-central/v/com.google.cloud/google-cloud-examples.svg)]( https://img.shields.io/maven… 14 …(https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.… 17 - [Examples](https://googleapis.dev/java/google-cloud-clients/latest/index.html?com/google/cloud/e… 20 ---------- 22 [//]: # ({x-version-update-start:google-cloud-examples:released}) [all …]
|