Show / Hide Table of Contents

Namespace Google.Apis.DriveLabels.v2beta.Data

Classes

GoogleAppsDriveLabelsV2betaBadgeColors

The color derived from BadgeConfig and changed to the closest recommended supported color.

GoogleAppsDriveLabelsV2betaBadgeConfig

Badge status of the label.

GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest

Deletes one of more Label Permissions.

GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest

Updates one or more Label Permissions.

GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse

Response for updating one or more Label Permissions.

GoogleAppsDriveLabelsV2betaDateLimits

Limits for date Field type.

GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest

Deletes a Label Permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest

The set of requests for updating aspects of a Label. If any request is not valid, no requests will be applied.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest

Request to create a Field within a Label.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest

Request to create a Selection Choice.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest

Request to delete the Field.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest

Request to delete a Choice.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest

Request to disable the Field.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest

Request to disable a Choice.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest

Request to enable the Field.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest

Request to enable a Choice.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest

A single kind of update to apply to a Label.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest

Request to update Field properties.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldTypeRequest

Request to change the type of a Field.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateLabelPropertiesRequest

Updates basic properties of a Label.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest

Request to update a Choice properties.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse

Response for Label update.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse

Response following Field create.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse

Response following Selection Choice create.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteFieldResponse

Response following Field delete.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteSelectionChoiceResponse

Response following Choice delete.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableFieldResponse

Response following Field disable.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableSelectionChoiceResponse

Response following Choice disable.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableFieldResponse

Response following Field enable.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableSelectionChoiceResponse

Response following Choice enable.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse

A single response from an update.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldPropertiesResponse

Response following update to Field properties.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldTypeResponse

Response following update to Field type.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateLabelPropertiesResponse

Response following update to Label properties.

GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse

Response following update to Selection Choice properties.

GoogleAppsDriveLabelsV2betaDisableLabelRequest

Request to deprecate a published Label.

GoogleAppsDriveLabelsV2betaEnableLabelRequest

Request to enable a label.

GoogleAppsDriveLabelsV2betaField

Defines a field that has a display name, data type, and other configuration options. This field defines the kind of metadata that may be set on a Drive item.

GoogleAppsDriveLabelsV2betaFieldAppliedCapabilities

The capabilities related to this field on applied metadata.

GoogleAppsDriveLabelsV2betaFieldDateOptions

Options for the date field type.

GoogleAppsDriveLabelsV2betaFieldDisplayHints

UI display hints for rendering a field.

GoogleAppsDriveLabelsV2betaFieldIntegerOptions

Options for the Integer field type.

GoogleAppsDriveLabelsV2betaFieldLimits

Field constants governing the structure of a Field; such as, the maximum title length, minimum and maximum field values or length, etc.

GoogleAppsDriveLabelsV2betaFieldListOptions

Options for a multi-valued variant of an associated field type.

GoogleAppsDriveLabelsV2betaFieldProperties

The basic properties of the field.

GoogleAppsDriveLabelsV2betaFieldSchemaCapabilities

The capabilities related to this field when editing the field.

GoogleAppsDriveLabelsV2betaFieldSelectionOptions

Options for the selection field type.

GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice

Selection field choice.

GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceAppliedCapabilities

The capabilities related to this choice on applied metadata.

GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceDisplayHints

UI display hints for rendering an option.

GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties

Basic properties of the choice.

GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities

The capabilities related to this choice when editing the choice.

GoogleAppsDriveLabelsV2betaFieldTextOptions

Options for the Text field type.

GoogleAppsDriveLabelsV2betaFieldUserOptions

Options for the user field type.

GoogleAppsDriveLabelsV2betaIntegerLimits

Limits for integer Field type.

GoogleAppsDriveLabelsV2betaLabel

A label defines a taxonomy that can be applied to Drive items in order to organize and search across items. Labels can be simple strings, or can contain fields that describe additional metadata that can be further used to organize and search Drive items.

GoogleAppsDriveLabelsV2betaLabelAppliedCapabilities

The capabilities a user has on this label's applied metadata.

GoogleAppsDriveLabelsV2betaLabelAppliedLabelPolicy

Behavior of this label when it's applied to Drive items.

GoogleAppsDriveLabelsV2betaLabelDisplayHints

UI display hints for rendering the label.

GoogleAppsDriveLabelsV2betaLabelLimits

Label constraints governing the structure of a Label; such as, the maximum number of Fields allowed and maximum length of the label title.

GoogleAppsDriveLabelsV2betaLabelLock

A Lock that can be applied to a Label, Field, or Choice.

GoogleAppsDriveLabelsV2betaLabelLockCapabilities

A description of a user's capabilities on a LabelLock.

GoogleAppsDriveLabelsV2betaLabelPermission

The permission that applies to a principal (user, group, audience) on a label.

GoogleAppsDriveLabelsV2betaLabelProperties

Basic properties of the label.

GoogleAppsDriveLabelsV2betaLabelSchemaCapabilities

The capabilities related to this label when editing the label.

GoogleAppsDriveLabelsV2betaLifecycle

The lifecycle state of an object, such as label, field, or choice. The lifecycle enforces the following transitions: * UNPUBLISHED_DRAFT (starting state) * UNPUBLISHED_DRAFT -> PUBLISHED * UNPUBLISHED_DRAFT -> (Deleted) * PUBLISHED -> DISABLED * DISABLED -> PUBLISHED * DISABLED -> (Deleted) The published and disabled states have some distinct characteristics: * Published—Some kinds of changes might be made to an object in this state, in which case has_unpublished_changes will be true. Also, some kinds of changes are not permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the label are rejected. * Disabled—When disabled, the configured DisabledPolicy takes effect.

GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy

The policy that governs how to treat a disabled label, field, or selection choice in different contexts.

GoogleAppsDriveLabelsV2betaListLabelLocksResponse

The response to a ListLabelLocksRequest.

GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse

Response for listing the permissions on a Label.

GoogleAppsDriveLabelsV2betaListLabelsResponse

Response for listing Labels.

GoogleAppsDriveLabelsV2betaListLimits

Limits for list-variant of a Field type.

GoogleAppsDriveLabelsV2betaLockStatus

Contains information about whether a label component should be considered locked.

GoogleAppsDriveLabelsV2betaLongTextLimits

Limits for long text Field type.

GoogleAppsDriveLabelsV2betaPublishLabelRequest

Request to publish a label.

GoogleAppsDriveLabelsV2betaSelectionLimits

Limits for selection Field type.

GoogleAppsDriveLabelsV2betaTextLimits

Limits for text Field type.

GoogleAppsDriveLabelsV2betaUpdateLabelCopyModeRequest

Request to update the CopyMode of the given Label. Changes to this policy are not revisioned, do not require publishing, and take effect immediately. \

GoogleAppsDriveLabelsV2betaUpdateLabelPermissionRequest

Updates a Label Permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

GoogleAppsDriveLabelsV2betaUserCapabilities

The capabilities of a user.

GoogleAppsDriveLabelsV2betaUserInfo

Information about a user.

GoogleAppsDriveLabelsV2betaUserLimits

Limits for Field.Type.USER.

GoogleAppsDriveLabelsV2betaWriteControl

Provides control over how write requests are executed. When not specified, the last write wins.

GoogleProtobufEmpty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

GoogleTypeColor

Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of java.awt.Color in Java; it can also be trivially provided to UIColor's +colorWithRed:green:blue:alpha method in iOS; and, with just a little work, it can be easily formatted into a CSS rgba() string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most 1e-5. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...

GoogleTypeDate

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

In this article
Back to top Generated by DocFX