Package com.google.cloud (2.33.0)

GitHub Repository

Classes

Class Description
com.google.cloud.AsyncPageImpl Base implementation for asynchronously consuming Google Cloud paginated results.
com.google.cloud.BaseService Base class for service objects.
com.google.cloud.BaseServiceException.Error
com.google.cloud.BaseServiceException.ExceptionData
com.google.cloud.BaseServiceException.ExceptionData.Builder
com.google.cloud.BaseWriteChannel Base implementation for a WriteChannel.
com.google.cloud.BaseWriteChannel.BaseState
com.google.cloud.BaseWriteChannel.BaseState.Builder Base builder for a write channel's state. Users are not supposed to access this class directly.
com.google.cloud.BaseWriteChannel.BaseState.ValueHolder
com.google.cloud.BatchResult This class holds a single result of a batch call. The class is not thread-safe.
com.google.cloud.Binding Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access settings for Cloud Platform resources. A policy is a list of bindings. A binding assigns a set of identities to a role, where the identities can be user accounts, Google groups, Google domains, and service accounts. A role is a named list of permissions defined by IAM.
com.google.cloud.Binding.Builder
com.google.cloud.ByteArray An immutable byte array holder.
com.google.cloud.Condition Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access settings for Cloud Platform resources. A policy is a list of bindings. A binding assigns a set of identities to a role, where the identities can be user accounts, Google groups, Google domains, and service accounts. A role is a named list of permissions defined by IAM.
com.google.cloud.Condition.Builder
com.google.cloud.Date Represents a Date without time, such as 2017-03-17. Date is timezone independent.
com.google.cloud.ExceptionHandler Exception retry algorithm implementation used by RetryHelper.
com.google.cloud.ExceptionHandler.Builder ExceptionHandler builder.
com.google.cloud.ExtendedOperationsProto
com.google.cloud.FieldSelector.Helper A helper class used to build composite selectors given a number of fields. This class is not supposed to be used directly by users.
com.google.cloud.GcpLaunchStage A qualifier indicating what level of access and support can be expected of a particular Google Cloud Platform feature. The "GeneralAvailability" qualifier is not provided since the vast majority of features are in this category. Note that features may be in a later launch stage than the client library annotation indicates.
com.google.cloud.Identity An identity in a Policy. The following types of identities are permitted in IAM policies:
  • Google account
com.google.cloud.Identity.Type The types of IAM identities.
com.google.cloud.MetadataConfig Retrieves Google Cloud project-id and a limited set of instance attributes from Metadata server. See Also: https://cloud.google.com/compute/docs/storing-retrieving-metadata
com.google.cloud.MonitoredResource Objects of this class represent a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its
com.google.cloud.MonitoredResource.Builder A builder for MonitoredResource objects.
com.google.cloud.MonitoredResourceDescriptor This class describes the schema of Cloud monitored resources. Monitored resource descriptors contain a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of gce_instance and specifies the use of the labels instance_id and zone to identify particular VM instances.
com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor This class describes a label for a monitored resource. Label descriptors contain the key for the label, the type of data that the label can hold and an optional description.
com.google.cloud.NoCredentials A placeholder for credentials to signify that requests sent to the server should not be authenticated. This is typically useful when using local service emulators.
com.google.cloud.PageImpl Base implementation for Google Cloud paginated results.
com.google.cloud.PlatformInformation
com.google.cloud.Policy Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access settings for Cloud Platform resources. A policy is a list of bindings. A binding assigns a set of identities to a role, where the identities can be user accounts, Google groups, Google domains, and service accounts. A role is a named list of permissions defined by IAM.
com.google.cloud.Policy.Builder A builder for Policy objects.
com.google.cloud.Policy.DefaultMarshaller
com.google.cloud.Policy.Marshaller
com.google.cloud.RetryHelper Utility class for retrying operations. For more details about the parameters, see RetrySettings. In case if retrying is unsuccessful, RetryHelperException will be thrown.
com.google.cloud.RetryOption This class represents an options wrapper around the RetrySettings class and is an alternative way of initializing it. The retry options are usually provided in a form of varargs for methods that wait for changes in the status of a resource, do poll operations or retry on failures.
com.google.cloud.Role A role in a IAM Policy. Project owners can grant access to team members to access project's resources and APIs by granting IAM roles to team members. See Also: Viewing the Grantable Roles on Resources, Understanding Roles
com.google.cloud.ServiceOptions Abstract class representing service options.
com.google.cloud.ServiceOptions.Builder Builder for ServiceOptions.
com.google.cloud.StringEnumType This represents a concept having a known set of acceptable String values, which can expand later due to new API features.
com.google.cloud.StringEnumValue This represents a specific instance of a concept having a known set of acceptable String values, which can expand later due to new API features. Standard Java enums can't be used in such a context.
com.google.cloud.Structs This class contains static utility methods that operate on or return protobuf's Struct objects. This is considered an internal class and implementation detail.
com.google.cloud.Timestamp Represents a timestamp with nanosecond precision. Timestamps cover the range [0001-01-01, 9999-12-31].

Timestamp instances are immutable.

com.google.cloud.Tuple

Interfaces

Interface Description
com.google.cloud.AsyncPageImpl.NextPageFetcher Interface for asynchronously fetching the next page of results from the service.
com.google.cloud.BatchResult.Callback An interface for the batch callbacks.
com.google.cloud.ExceptionHandler.Interceptor
com.google.cloud.FieldSelector Interface for Google Cloud resource's fields. Implementations of this interface can be used to select only desired fields from a returned Google Cloud resource.
com.google.cloud.GcpLaunchStage.Alpha Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects whitelisted. Alpha releases don’t have to be feature complete, no SLAs are
com.google.cloud.GcpLaunchStage.Beta Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release, and charges may be waived in some cases. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.
com.google.cloud.GcpLaunchStage.Deprecated Deprecated features are scheduled to be shut down and removed. For more information, see the “Deprecation Policy” section of our Terms of Service and the Google Cloud Platform Subject to the Deprecation Policy documentation.
com.google.cloud.GcpLaunchStage.EarlyAccess Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.
com.google.cloud.PageImpl.NextPageFetcher Interface for fetching the next page of results from the service.
com.google.cloud.ReadChannel A channel for reading data from a Google Cloud object.

Implementations of this class may buffer data internally to reduce remote calls. This interface implements Restorable to allow saving the reader's state to continue reading

com.google.cloud.Restorable Implementation of this interface can persist their state and restore from it.

A typical capture usage:

com.google.cloud.RestorableState A common interface for restorable states. Implementations of RestorableState are capable of saving the state of an object to restore it for later use.

Implementations of this class must implement java.io.Serializable to ensure that the

com.google.cloud.Service Interface for service objects.
com.google.cloud.ServiceDefaults
com.google.cloud.ServiceFactory A base interface for all service factories.

Implementation must provide a public no-arg constructor. Loading of a factory implementation is done via java.util.ServiceLoader.

com.google.cloud.ServiceRpc
com.google.cloud.TransportOptions An abstraction for transport-specific options, e.g. for http1.1 vs grpc.
com.google.cloud.WriteChannel A channel for writing data to Google Cloud services.

Implementations of this class may further buffer data internally to reduce remote calls. Written data might not be visible until calling #close(). This interface implements

Enums

Enum Description
com.google.cloud.ExceptionHandler.Interceptor.RetryResult
com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType Value types that can be used as label values.
com.google.cloud.OperationResponseMapping

Exceptions

Exception Description
com.google.cloud.BaseServiceException Base class for all service exceptions.
com.google.cloud.RetryHelper.RetryHelperException